diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2015-07-17 11:46:13 +1000 |
---|---|---|
committer | Stephen Rothwell <sfr@canb.auug.org.au> | 2015-07-17 11:46:13 +1000 |
commit | 0a5e0b368361dad026b1bab75623bf17a69ef5c3 (patch) | |
tree | 1de0db928eb9ee94e1900f67f4995506e1b6e4b3 /include | |
parent | ca142ac43501d5531ebf5bef2c705d8e7c9e3d3b (diff) | |
parent | fda4d578ed0a7e1d116f56a15efea0e4ba78acad (diff) |
Merge remote-tracking branch 'selinux/next'
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/lsm_audit.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/linux/lsm_audit.h b/include/linux/lsm_audit.h index 1cc89e9df480..ffb9c9da4f39 100644 --- a/include/linux/lsm_audit.h +++ b/include/linux/lsm_audit.h @@ -40,6 +40,11 @@ struct lsm_network_audit { } fam; }; +struct lsm_ioctlop_audit { + struct path path; + u16 cmd; +}; + /* Auxiliary data to use in generating the audit record. */ struct common_audit_data { char type; @@ -53,6 +58,7 @@ struct common_audit_data { #define LSM_AUDIT_DATA_KMOD 8 #define LSM_AUDIT_DATA_INODE 9 #define LSM_AUDIT_DATA_DENTRY 10 +#define LSM_AUDIT_DATA_IOCTL_OP 11 union { struct path path; struct dentry *dentry; @@ -68,6 +74,7 @@ struct common_audit_data { } key_struct; #endif char *kmod_name; + struct lsm_ioctlop_audit *op; } u; /* this union contains LSM specific data */ union { |