Searched refs:def_runcwd (Results 1 – 6 of 6) sorted by relevance
/dports/security/sudo/sudo-1.9.8p2/plugins/sudoers/regress/fuzz/ |
H A D | fuzz_sudoers.c | 361 if (def_runcwd != NULL && strcmp(def_runcwd, "*") != 0) { in LLVMFuzzerTestOneInput() 362 expand_tilde(&def_runcwd, runas_pw->pw_name); in LLVMFuzzerTestOneInput()
|
/dports/security/sudo/sudo-1.9.8p2/plugins/sudoers/ |
H A D | sudoers.c | 348 def_runcwd ? def_runcwd : "none", user_runcwd ? user_runcwd : "none", in check_user_runcwd() 352 if (def_runcwd == NULL || strcmp(def_runcwd, "*") != 0) { in check_user_runcwd() 359 free(def_runcwd); in check_user_runcwd() 360 if ((def_runcwd = strdup(user_runcwd)) == NULL) { in check_user_runcwd()
|
H A D | policy.c | 682 if (def_runcwd && strcmp(def_runcwd, "*") != 0) { in sudoers_policy_store_result() 684 if (!expand_tilde(&def_runcwd, runas_pw->pw_name)) { in sudoers_policy_store_result() 685 sudo_warnx(U_("invalid working directory: %s"), def_runcwd); in sudoers_policy_store_result() 688 if ((command_info[info_len++] = sudo_new_key_val("cwd", def_runcwd)) == NULL) in sudoers_policy_store_result()
|
H A D | logging.c | 764 if (def_runcwd && strcmp(def_runcwd, "*") != 0) { in sudoers_to_eventlog() 765 evlog->runcwd = def_runcwd; in sudoers_to_eventlog()
|
H A D | parse.c | 286 free(def_runcwd); in apply_cmndspec() 287 def_runcwd = strdup(cs->runcwd); in apply_cmndspec() 288 if (def_runcwd == NULL) { in apply_cmndspec() 294 "def_runcwd -> %s", def_runcwd); in apply_cmndspec()
|
H A D | def_data.h | 260 #define def_runcwd (sudo_defs_table[I_RUNCWD].sd_un.str) macro
|