Add back io logging (transcript) support. Currently, the open function

runs too early and it is not possible to use the io module independently
of the policy module.
This commit is contained in:
Todd C. Miller
2010-03-27 20:19:40 -04:00
parent 681c6faf3e
commit 05e8023e78
5 changed files with 352 additions and 13 deletions

View File

@@ -1300,14 +1300,12 @@ struct policy_plugin sudoers_policy = {
sudoers_policy_invalidate
};
#ifdef notyet
struct io_plugin sudoers_io = {
SUDO_IO_PLUGIN,
SUDO_API_VERSION,
io_open,
io_close,
io_version,
io_log_input,
io_log_output
sudoers_io_open,
sudoers_io_close,
sudoers_io_version,
NULL,
sudoers_io_log_output
};
#endif