]> granicus.if.org Git - sudo/commitdiff
Add trace option
authorTodd C. Miller <Todd.Miller@courtesan.com>
Fri, 24 Sep 2004 17:11:14 +0000 (17:11 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Fri, 24 Sep 2004 17:11:14 +0000 (17:11 +0000)
def_data.c
def_data.h
def_data.in

index b54f262a27a50c0272b9daa419b783f506d6ff69..b18a20976e920c003e83b82329f430d50d16d72a 100644 (file)
@@ -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
     }
index 40cdb8fc76ea7712b372164902d433b82a00c9c7..716a391042cb208f816f5e9497d4d4e53f5a2421 100644 (file)
 #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,
index 2c1b7a4f2065837d2526167371132c5a6cf8d8e6..2fe2f1af017a163179ecbf9e9262bca583c91b57 100644 (file)
@@ -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"