linux-next: manual merge of the selinux tree with the keys tree
Hi all,
Today's linux-next merge of the selinux tree got a conflict in:
include/linux/lsm_audit.h
between commit:
59336b0f8000 ("smack: Implement the watch_key and post_notification hooks")
from the keys tree and commit:
59438b46471a ("security,lockdown,selinux: implement SELinux lockdown")
from the selinux tree.
I fixed it up (see below) and can carry the fix as necessary. This is now fixed as far as linux-next is concerned, but any non trivial conflicts should be mentioned to your upstream maintainer when your tree is submitted for merging. You may also want to consider cooperating with the maintainer of the conflicting tree to minimise any particularly complex conflicts.
Signature · 17 lines
Cheers,
Stephen Rothwell
diff --cc include/linux/lsm_audit.h
index 734d67889826,99d629fd9944..000000000000
--- a/include/linux/lsm_audit.h
+++ b/include/linux/lsm_audit.h
@@@ -74,7 -74,7 +74,8 @@@ struct common_audit_data
#define LSM_AUDIT_DATA_FILE 12
#define LSM_AUDIT_DATA_IBPKEY 13
#define LSM_AUDIT_DATA_IBENDPORT 14
-#define LSM_AUDIT_DATA_LOCKDOWN 15
+#define LSM_AUDIT_DATA_NOTIFICATION 15
++#define LSM_AUDIT_DATA_LOCKDOWN 16
union {
struct path path;
struct dentry *dentry;Quoted 32 lines · Stephen Rothwell
Hi all,
Today's linux-next merge of the selinux tree got a conflict in:
include/linux/lsm_audit.hbetween commit:
59336b0f8000("smack: Implement thewatch_keyandpost_notificationhooks")from the keys tree and commit:
59438b46471a("security,lockdown,selinux: implement SELinux lockdown")from the selinux tree.
I fixed it up (see below) and can carry the fix as necessary. This is now fixed as far as linux-next is concerned, but any non trivial conflicts should be mentioned to your upstream maintainer when your tree is submitted for merging. You may also want to consider cooperating with the maintainer of the conflicting tree to minimise any particularly complex conflicts.
--
Cheers,
Stephen Rothwellinclude/linux/lsm_audit.h +0
-0
include/linux/lsm_audit.h
Quoted 9 lines
include/linux/lsm_audit.h +1
-0@@@ -74,7 -74,7 +74,8 @@@ struct common_audit_data#define LSM_AUDIT_DATA_FILE 12#define LSM_AUDIT_DATA_IBPKEY 13#define LSM_AUDIT_DATA_IBENDPORT 14 -#define LSM_AUDIT_DATA_LOCKDOWN 15 +#define LSM_AUDIT_DATA_NOTIFICATION 15 ++#define LSM_AUDIT_DATA_LOCKDOWN 16union {struct path path;struct dentry *dentry;
That should be fine, thanks.
Signature · 2 lines
paul moore www.paul-moore.com
Hi all,
Quoted 31 lines · On Tue, 10 Dec 2019 10:50:37 +1100 Stephen Rothwell <[email protected]>…
Today's linux-next merge of the selinux tree got a conflict in:
include/linux/lsm_audit.hbetween commit:
59336b0f8000("smack: Implement thewatch_keyandpost_notificationhooks")from the keys tree and commit:
59438b46471a("security,lockdown,selinux: implement SELinux lockdown")from the selinux tree.
I fixed it up (see below) and can carry the fix as necessary. This is now fixed as far as linux-next is concerned, but any non trivial conflicts should be mentioned to your upstream maintainer when your tree is submitted for merging. You may also want to consider cooperating with the maintainer of the conflicting tree to minimise any particularly complex conflicts.
Signature · 2 lines
Cheers, Stephen Rothwellinclude/linux/lsm_audit.h +0
-0
include/linux/lsm_audit.h
Quoted 9 lines
include/linux/lsm_audit.h +1
-0@@@ -74,7 -74,7 +74,8 @@@ struct common_audit_data#define LSM_AUDIT_DATA_FILE 12#define LSM_AUDIT_DATA_IBPKEY 13#define LSM_AUDIT_DATA_IBENDPORT 14 -#define LSM_AUDIT_DATA_LOCKDOWN 15 +#define LSM_AUDIT_DATA_NOTIFICATION 15 ++#define LSM_AUDIT_DATA_LOCKDOWN 16union {struct path path;struct dentry *dentry;
This is now a conflict between the keys tree and Linus' tree.
Signature · 2 lines
Cheers, Stephen Rothwell
Quoted 1 line · Stephen Rothwell
Hi all,
Hello.
Quoted 11 lines
Quoted 11 lines
I fixed it up (see below) and can carry the fix as necessary. This is now fixed as far as linux-next is concerned, but any non trivial conflicts should be mentioned to your upstream maintainer when your tree is submitted for merging. You may also want to consider cooperating with the maintainer of the conflicting tree to minimise any particularly complex conflicts.
--
Cheers,
Stephen Rothwell
Quoted 16 lines
Quoted 5 lines
include/linux/lsm_audit.h +0
-0include/linux/lsm_audit.h
Quoted 9 lines
include/linux/lsm_audit.h +1
-0@@@ -74,7 -74,7 +74,8 @@@ struct common_audit_data#define LSM_AUDIT_DATA_FILE 12#define LSM_AUDIT_DATA_IBPKEY 13#define LSM_AUDIT_DATA_IBENDPORT 14 -#define LSM_AUDIT_DATA_LOCKDOWN 15 +#define LSM_AUDIT_DATA_NOTIFICATION 15 ++#define LSM_AUDIT_DATA_LOCKDOWN 16union {struct path path;struct dentry *dentry;This is now a conflict between the keys tree and Linus' tree.
Presumably it basically the same as above? If so, it should be okay to renumber the LSM_AUDIT_DATA_xxx defines as needed, they aren't visible to userspace in any way, and really shouldn't be visible outside of security/.
Signature · 2 lines
paul moore www.paul-moore.com