Home
last modified time | relevance | path

Searched refs:user_cwd (Results 1 – 5 of 5) sorted by relevance

/dports/security/sudo/sudo-1.9.8p2/plugins/sudoers/
H A Dpolicy.c398 free(user_cwd); in sudoers_policy_deserialize_info()
399 if ((user_cwd = strdup(*cur + sizeof("cwd=") - 1)) == NULL) in sudoers_policy_deserialize_info()
499 if (user_cwd == NULL) { in sudoers_policy_deserialize_info()
500 if ((user_cwd = strdup("unknown")) == NULL) in sudoers_policy_deserialize_info()
505 user_runcwd = user_cwd; in sudoers_policy_deserialize_info()
H A Dsudoers.c349 user_cwd ? user_cwd : "none"); in check_user_runcwd()
351 if (strcmp(user_cwd, user_runcwd) != 0) { in check_user_runcwd()
1729 free(user_cwd); in sudo_user_free()
H A Dlogging.c760 evlog->cwd = user_cwd; in sudoers_to_eventlog()
769 evlog->runcwd = user_cwd; in sudoers_to_eventlog()
H A Dsudoers.h229 #define user_cwd (sudo_user.cwd) macro
/dports/security/sudo/sudo-1.9.8p2/
H A DChangeLog27994 Make user_cwd and user_tty dynamically allocated even for the
32207 Make user_cwd const since it is either a string literal or passed in