seccomp.2: wfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2017-11-09 12:52:39 +01:00
parent cb453c80f4
commit 29aa163b97
1 changed files with 1 additions and 1 deletions

View File

@ -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),