Add directory writability checks for sudoedit.

This commit is contained in:
Todd C. Miller
2015-10-23 14:04:35 -06:00
parent 54a10726c0
commit c50cead833
15 changed files with 232 additions and 18 deletions

View File

@@ -128,6 +128,7 @@ struct user_details {
#define CD_EXEC_BG 0x04000
#define CD_SUDOEDIT_COPY 0x08000
#define CD_SUDOEDIT_FOLLOW 0x10000
#define CD_SUDOEDIT_CHECKDIR 0x20000
struct preserved_fd {
TAILQ_ENTRY(preserved_fd) entries;