Enable ptrace intercept on powerpc.

Tested on ppc64 and ppc64le.
This commit is contained in:
Todd C. Miller
2022-05-11 20:07:59 -06:00
parent 040e75a07b
commit 31e8506c82
3 changed files with 72 additions and 22 deletions

View File

@@ -96,7 +96,7 @@ union sudo_token_un {
*/
#if defined(_PATH_SUDO_INTERCEPT) && defined(__linux__)
# if defined(HAVE_DECL_SECCOMP_SET_MODE_FILTER) && HAVE_DECL_SECCOMP_SET_MODE_FILTER
# if defined(__amd64__) || defined(__i386__) || defined(__aarch64__)
# if defined(__amd64__) || defined(__i386__) || defined(__aarch64__) || defined(__powerpc__)
# ifndef HAVE_PTRACE_INTERCEPT
# define HAVE_PTRACE_INTERCEPT 1
# endif /* HAVE_PTRACE_INTERCEPT */