diff options
| author | James Morris <james.l.morris@oracle.com> | 2015-08-15 06:29:57 +0300 |
|---|---|---|
| committer | James Morris <james.l.morris@oracle.com> | 2015-08-15 06:29:57 +0300 |
| commit | 3e5f206c00f73f535c914eedc8b91f424c5a14ab (patch) | |
| tree | 209f621fc8a9b84053bb4feda619185e17242982 /include/linux | |
| parent | 0e38c35815f50e5a347977d76fb5eb4c3bf020b5 (diff) | |
| parent | fda4d578ed0a7e1d116f56a15efea0e4ba78acad (diff) | |
| download | linux-3e5f206c00f73f535c914eedc8b91f424c5a14ab.tar.xz | |
Merge branch 'next' of git://git.infradead.org/users/pcmoore/selinux into next
Diffstat (limited to 'include/linux')
| -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 { |
