Searched refs:user_cwd (Results 1 – 5 of 5) sorted by relevance
398 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()
349 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()
760 evlog->cwd = user_cwd; in sudoers_to_eventlog()769 evlog->runcwd = user_cwd; in sudoers_to_eventlog()
229 #define user_cwd (sudo_user.cwd) macro
27994 Make user_cwd and user_tty dynamically allocated even for the32207 Make user_cwd const since it is either a string literal or passed in