diff options
author | Todd C. Miller <Todd.Miller@sudo.ws> | 2022-06-07 10:50:59 -0600 |
---|---|---|
committer | Todd C. Miller <Todd.Miller@sudo.ws> | 2022-06-07 10:50:59 -0600 |
commit | 1e31f3a22a9535ba61dfd5f0aa33789b2f09aed9 (patch) | |
tree | e50116006be64b3330fe917a1c05c2fb266b4af5 /configure.ac | |
parent | 6d381f27a535618b7baec7da4912a7cc8cb2b524 (diff) | |
download | sudo-1e31f3a22a9535ba61dfd5f0aa33789b2f09aed9.tar.gz |
Check for SECCOMP_MODE_FILTER not SECCOMP_SET_MODE_FILTER.
This matches the actual prctl() call we use.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index 4d4278f81..d4d5647a4 100644 --- a/configure.ac +++ b/configure.ac @@ -2065,8 +2065,8 @@ case "$host" in *-*-linux*|*-*-k*bsd*-gnu) shadow_funcs="getspnam" test -z "$with_pam" && AUTH_EXCL_DEF="PAM" - # Check for SECCOMP_SET_MODE_FILTER in linux/seccomp.h - AC_CHECK_DECLS([SECCOMP_SET_MODE_FILTER], [], [], [ + # Check for SECCOMP_MODE_FILTER in linux/seccomp.h + AC_CHECK_DECLS([SECCOMP_MODE_FILTER], [], [], [ #include <sys/types.h> #include <sys/prctl.h> #include <asm/unistd.h> |