2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-22 01:49:11 +00:00

Fix typo introduced in last commit

This commit is contained in:
Todd C. Miller 2025-08-14 17:17:07 -06:00
parent c37eb11db8
commit 2df8f2ca9e

View File

@ -1193,7 +1193,7 @@ set_exec_filter(void)
# endif /* SECCOMP_AUDIT_ARCH_COMPAT */ # endif /* SECCOMP_AUDIT_ARCH_COMPAT */
/* Kill the process unless the (native) architecture matches. */ /* Kill the process unless the (native) architecture matches. */
BPF_JUMP(BPF_JMP | BPF_JEQ | BPF_K, SECCOMP_AUDIT_ARCH, 1, 0), BPF_JUMP(BPF_JMP | BPF_JEQ | BPF_K, SECCOMP_AUDIT_ARCH, 1, 0),
BPF_STMT(BPF_RET | BPF_K, SECCOMP_RET_KILL_PROCESS) BPF_STMT(BPF_RET | BPF_K, SECCOMP_RET_KILL_PROCESS),
/* Load syscall number into the accumulator. */ /* Load syscall number into the accumulator. */
BPF_STMT(BPF_LD | BPF_W | BPF_ABS, offsetof(struct seccomp_data, nr)), BPF_STMT(BPF_LD | BPF_W | BPF_ABS, offsetof(struct seccomp_data, nr)),
/* Jump to trace for execve(2)/execveat(2), else allow. */ /* Jump to trace for execve(2)/execveat(2), else allow. */