mirror of https://github.com/mkerrisk/man-pages
seccomp.2: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
cb453c80f4
commit
29aa163b97
|
@ -772,7 +772,7 @@ install_filter(int syscall_nr, int t_arch, int f_errno)
|
|||
(offsetof(struct seccomp_data, nr))),
|
||||
|
||||
/* [3] Check ABI - only needed for x86-64 in blacklist use
|
||||
cases. Use JGT instead of checking against the bit
|
||||
cases. Use BPF_JGT instead of checking against the bit
|
||||
mask to avoid having to reload the syscall number. */
|
||||
BPF_JUMP(BPF_JMP | BPF_JGT | BPF_K, upper_nr_limit, 3, 0),
|
||||
|
||||
|
|
Loading…
Reference in New Issue