Make sudoedit_checkdir the default and update the documentation accordingly.

This commit is contained in:
Todd C. Miller
2016-01-19 14:16:25 -07:00
parent e719d954e7
commit de0208a01b
8 changed files with 135 additions and 107 deletions

View File

@@ -586,6 +586,7 @@ command_info_to_details(char * const info[], struct command_details *details)
memset(details, 0, sizeof(*details));
details->closefrom = -1;
details->execfd = -1;
details->flags = CD_SUDOEDIT_CHECKDIR;
TAILQ_INIT(&details->preserved_fds);
#define SET_STRING(s, n) \