2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-09-05 16:55:57 +00:00

Do not compile intercept code if --disable-intercept is specified.

This commit is contained in:
Todd C. Miller
2021-09-01 13:35:47 -06:00
parent 5c2f1ebbcf
commit 38d884a62d
7 changed files with 38 additions and 29 deletions

View File

@@ -51,6 +51,13 @@
#include "sudo_util.h"
#include "pathnames.h"
#ifndef _PATH_SUDO_INTERCEPT
# define _PATH_SUDO_INTERCEPT NULL
#endif
#ifndef _PATH_SUDO_NOEXEC
# define _PATH_SUDO_NOEXEC NULL
#endif
struct sudo_conf_table {
const char *name;
unsigned int namelen;