From ef874440a5d3c2cfa0dcaf487db25878b66c524e Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Fri, 24 Sep 2004 17:11:14 +0000 Subject: [PATCH] Add trace option --- def_data.c | 4 ++++ def_data.h | 2 ++ def_data.in | 3 +++ 3 files changed, 9 insertions(+) diff --git a/def_data.c b/def_data.c index b54f262a2..b18a20976 100644 --- a/def_data.c +++ b/def_data.c @@ -255,6 +255,10 @@ struct sudo_defs_types sudo_defs_table[] = { "ignore_local_sudoers", T_FLAG, "If LDAP directory is up, do we ignore local sudoers file", NULL, + }, { + "trace", T_FLAG, + "Trace children of cmnd and apply sudoers restrictions to them", + NULL, }, { NULL, 0, NULL } diff --git a/def_data.h b/def_data.h index 40cdb8fc7..716a39104 100644 --- a/def_data.h +++ b/def_data.h @@ -114,6 +114,8 @@ #define I_ENV_KEEP 56 #define def_ignore_local_sudoers (sudo_defs_table[57].sd_un.flag) #define I_IGNORE_LOCAL_SUDOERS 57 +#define def_trace (sudo_defs_table[58].sd_un.flag) +#define I_TRACE 58 enum def_tupple { never, diff --git a/def_data.in b/def_data.in index 2c1b7a4f2..2fe2f1af0 100644 --- a/def_data.in +++ b/def_data.in @@ -185,3 +185,6 @@ env_keep ignore_local_sudoers T_FLAG "If LDAP directory is up, do we ignore local sudoers file" +trace + T_FLAG + "Trace children of cmnd and apply sudoers restrictions to them" -- 2.40.0