diff options
author | Todd C. Miller <Todd.Miller@courtesan.com> | 2017-05-30 10:44:11 -0600 |
---|---|---|
committer | Todd C. Miller <Todd.Miller@courtesan.com> | 2017-05-30 10:44:11 -0600 |
commit | 3163ef63455138cad68fdc0b89fcbf7bf69b49bb (patch) | |
tree | 3955f899a08b07d69e7bf5709c8bd26c5aca2a17 /pathnames.h.in | |
parent | 5d03d461606c43654cb3c82cd5673590b6516a37 (diff) | |
download | sudo-3163ef63455138cad68fdc0b89fcbf7bf69b49bb.tar.gz |
Add a new "devsearch" Path setting to sudo.conf for configuring the
/dev paths to traverse instead of hard-coding a list in ttyname.c
The default value can be set at configure time.
Diffstat (limited to 'pathnames.h.in')
-rw-r--r-- | pathnames.h.in | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pathnames.h.in b/pathnames.h.in index 9ce3d9b07..7979f1129 100644 --- a/pathnames.h.in +++ b/pathnames.h.in @@ -123,6 +123,10 @@ # undef _PATH_SUDO_PLUGIN_DIR #endif /* _PATH_SUDO_PLUGIN_DIR */ +#ifndef _PATH_SUDO_DEVSEARCH +# undef _PATH_SUDO_DEVSEARCH +#endif /* _PATH_SUDO_DEVSEARCH */ + #ifndef _PATH_VI # undef _PATH_VI #endif /* _PATH_VI */ |