Read path section of sudo.conf for sudo_conf_intercept_path().
This commit is contained in:
@@ -230,8 +230,8 @@ sudo_interposer_init(void)
|
|||||||
debug_return;
|
debug_return;
|
||||||
initialized = true;
|
initialized = true;
|
||||||
|
|
||||||
/* Read debug section of sudo.conf and init debugging. */
|
/* Read debug and path section of sudo.conf and init debugging. */
|
||||||
if (sudo_conf_read(NULL, SUDO_CONF_DEBUG) != -1) {
|
if (sudo_conf_read(NULL, SUDO_CONF_DEBUG|SUDO_CONF_PATHS) != -1) {
|
||||||
sudo_debug_register("sudo_intercept.so", NULL, NULL,
|
sudo_debug_register("sudo_intercept.so", NULL, NULL,
|
||||||
sudo_conf_debug_files("sudo_intercept.so"), INTERCEPT_FD_MIN);
|
sudo_conf_debug_files("sudo_intercept.so"), INTERCEPT_FD_MIN);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user