Add maxseq sudoers option to limit the max number of I/O log files.

This commit is contained in:
Todd C. Miller
2013-02-18 15:06:23 -05:00
parent 618871a331
commit b9159ecb26
10 changed files with 191 additions and 123 deletions

View File

@@ -582,6 +582,9 @@ init_vars(char * const envp[])
/* Set locale callback. */
sudo_defs_table[I_SUDOERS_LOCALE].callback = cb_sudoers_locale;
/* Set maxseq callback. */
sudo_defs_table[I_MAXSEQ].callback = io_set_max_sessid;
/* It is now safe to use log_fatal() and set_perms() */
debug_return;
}