Bugzilla – Attachment 2652 Details for
Bug 2361
seccomp filter (not only) for aarch64
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
jump past accumulator reload
seccomp-opt.diff (text/plain), 569 bytes, created by
Damien Miller
on 2015-06-17 11:09:30 AEST
(
hide
)
Description:
jump past accumulator reload
Filename:
MIME Type:
Creator:
Damien Miller
Created:
2015-06-17 11:09:30 AEST
Size:
569 bytes
patch
obsolete
>diff --git a/sandbox-seccomp-filter.c b/sandbox-seccomp-filter.c >index badfee2..c1fe1f3 100644 >--- a/sandbox-seccomp-filter.c >+++ b/sandbox-seccomp-filter.c >@@ -81,7 +81,7 @@ > BPF_JUMP(BPF_JMP+BPF_JEQ+BPF_K, __NR_ ## _nr, 0, 1), \ > BPF_STMT(BPF_RET+BPF_K, SECCOMP_RET_ALLOW) > #define SC_ALLOW_ARG(_nr, _arg_nr, _arg_val) \ >- BPF_JUMP(BPF_JMP+BPF_JEQ+BPF_K, __NR_ ## _nr, 0, 3), \ >+ BPF_JUMP(BPF_JMP+BPF_JEQ+BPF_K, __NR_ ## _nr, 0, 4), \ > /* load first syscall argument */ \ > BPF_STMT(BPF_LD+BPF_W+BPF_ABS, \ > offsetof(struct seccomp_data, args[(_arg_nr)])), \
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
dtucker
:
ok+
Actions:
View
|
Diff
Attachments on
bug 2361
:
2561
|
2601
|
2648
|
2649
|
2650
|
2651
| 2652 |
2655