2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-31 22:35:10 +00:00

Make the I/O log file/dir permissions and owner configurable.

This commit is contained in:
Todd C. Miller
2016-10-29 12:45:55 -06:00
parent b058ac5299
commit 271a07ff00
10 changed files with 325 additions and 72 deletions

View File

@@ -328,6 +328,9 @@ bool get_boottime(struct timespec *);
/* iolog.c */
bool io_nextid(char *iolog_dir, char *iolog_dir_fallback, char sessid[7]);
bool cb_maxseq(const union sudo_defs_val *sd_un);
bool cb_iolog_user(const union sudo_defs_val *sd_un);
bool cb_iolog_group(const union sudo_defs_val *sd_un);
bool cb_iolog_mode(const union sudo_defs_val *sd_un);
/* iolog_path.c */
char *expand_iolog_path(const char *prefix, const char *dir, const char *file,