linux-next: manual merge of the audit tree with Linus' tree
Hi Paul,
Today's linux-next merge of the audit tree got a conflict in:
include/linux/lsm_audit.h
between commit:
671a2781ff01 ("security: add ioctl specific auditing to lsm_audit")
from Linus' tree and commit:
43cfd5e38587 ("audit: constify parts of common_audit_data and lsm_network_audit")
from the audit tree.
I fixed it up (see below) and can carry the fix as necessary (no action is required).
Signature · 33 lines
Cheers, Stephen Rothwell [email protected] diff --cc include/linux/lsm_audit.h index ffb9c9da4f39,6c4c7acd0e5e..000000000000 --- a/include/linux/lsm_audit.h +++ b/include/linux/lsm_audit.h @@@ -58,10 -53,9 +58,10 @@@ 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; + const struct dentry *dentry; struct inode *inode; struct lsm_network_audit *net; int cap; @@@ -70,11 -64,10 +70,11 @@@ #ifdef CONFIG_KEYS struct { key_serial_t key; - char *key_desc; + const char *key_desc; } key_struct; #endif - char *kmod_name; + const char *kmod_name; + struct lsm_ioctlop_audit *op; } u; /* this union contains LSM specific data */ union {
Quoted 12 lines · Stephen Rothwell
Hi Paul,
Today's linux-next merge of the audit tree got a conflict in:
include/linux/lsm_audit.hbetween commit:
671a2781ff01("security: add ioctl specific auditing tolsm_audit")from Linus' tree and commit:
Quoted 7 lines
43cfd5e38587("audit: constify parts ofcommon_audit_dataandlsm_network_audit")from the audit tree.
I fixed it up (see below) and can carry the fix as necessary (no action is required).
Thanks, that patch looks correct, although I'm going to drop the patch causing this problem for the time being as there are some oddities with the build warning that you posted which aren't immediately obvious to me. Something weird is causing it to work in audit#next but throw a warning when applied on top of Linus' current ... I'll reapply the patch once I've resolved the issue.
Signature · 2 lines
paul moore www.paul-moore.com