Todd C. Miller
b643b190a7
Prepare sudoers module messages for translation.
2011-05-16 16:32:05 -04:00
Todd C. Miller
353f31751d
Avoid a NULL deref on unrecognized escapes.
...
Collapse %% -> % like strftime() does.
2011-03-28 12:54:41 -04:00
Todd C. Miller
6e2778eb22
Move sessid out of sudo_user.
2011-03-11 14:07:26 -05:00
Todd C. Miller
383aef00b1
Log the TSID even if it is not a simple session ID.
2011-03-11 12:11:05 -05:00
Todd C. Miller
f7f8b6867e
Update copyright year to 2011
2011-01-20 16:46:56 -05:00
Todd C. Miller
d2596e3f7b
Quiest a bogus compiler warning.
2011-01-06 10:23:20 -05:00
Todd C. Miller
f09bbcb6bb
Protect call to setlocale() with HAVE_SETLOCALE
2011-01-05 16:27:44 -05:00
Todd C. Miller
b76c798856
Reset slashp if we allocate a new buffer for strftime()
2010-12-31 10:55:49 -05:00
Todd C. Miller
1bb3518b33
Add extra out parameter to expand_iolog_path() to allow the caller
...
to split the path into dir and file components if needed.
2010-12-31 09:55:40 -05:00
Todd C. Miller
7f580397e2
Trim leading slashes from iolog_file and trailing slashes from iolog_dir
2010-12-30 18:05:53 -05:00
Todd C. Miller
25036d7a75
Pass a single I/O log file name in command_details instead of
...
separate dir + file parameters.
2010-12-30 17:09:01 -05:00
Todd C. Miller
36d8fbb900
Fix typo
2010-12-27 13:49:06 -05:00
Todd C. Miller
fba58fa3f7
Allow sudoers to specify the iolog file in addition to the iolog dir.
...
Add escape sequence support to iolog file and dir: sequence number,
user, group, runas_user, runas_group, hostname and command in
addition to any escape sequence recognized by strftime(3).
2010-12-27 12:18:32 -05:00