Change I/O log API to pass in command info to the I/O log open function.

Add iolog_file and iolog_dir parameters to command info.
This allows the policy plugin to specify the I/O log pathname.
Add convenience functions for calling plugin functions that
handle ABI backwards compatibility.
This commit is contained in:
Todd C. Miller
2010-12-20 16:20:11 -05:00
parent 30797ab8ae
commit 9948dae706
4 changed files with 93 additions and 14 deletions

View File

@@ -138,6 +138,8 @@ struct command_details {
const char *chroot;
const char *selinux_role;
const char *selinux_type;
const char *iolog_dir;
const char *iolog_file;
};
/* Status passed between parent and child via socketpair */