summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorTodd C. Miller <Todd.Miller@sudo.ws>2022-06-07 10:50:59 -0600
committerTodd C. Miller <Todd.Miller@sudo.ws>2022-06-07 10:50:59 -0600
commit1e31f3a22a9535ba61dfd5f0aa33789b2f09aed9 (patch)
treee50116006be64b3330fe917a1c05c2fb266b4af5 /configure.ac
parent6d381f27a535618b7baec7da4912a7cc8cb2b524 (diff)
downloadsudo-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.ac4
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>