Skip to contentSkip to conversation

linux-next: manual merge of the audit tree with Linus' tree

DISCUSSION Stephen Rothwell 2 participants 2 messages Aug 7, 2015 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi Paul,

Today's linux-next merge of the audit tree got a conflict in:

kernel/audit.c

between commit:

5985de6754a6 ("audit: code clean up")

from Linus' tree and commit:

84cb777e6781 ("audit: use macros for unset inode and device values")

from the audit tree.

I fixed it up (see below) and can carry the fix as necessary (no action is required).

Signature · 17 lines
Cheers,
Stephen Rothwell                    [email protected]

diff --cc kernel/audit.c
index f9e6065346db,060153dc47d4..000000000000
--- a/kernel/audit.c
+++ b/kernel/audit.c
@@@ -1761,7 -1759,7 +1761,7 @@@ void audit_log_name(struct audit_contex
  	} else
  		audit_log_format(ab, " name=(null)");
  
- 	if (n->ino != (unsigned long)-1)
 -	if (n->ino != AUDIT_INO_UNSET) {
++	if (n->ino != AUDIT_INO_UNSET)
  		audit_log_format(ab, " inode=%lu"
  				 " dev=%02x:%02x mode=%#ho"
  				 " ouid=%u ogid=%u rdev=%02x:%02x",
#1 lore raw
Quoted 1 line · Stephen Rothwell

Hi Paul,

Hi Stephen,

Quoted 8 lines

Today's linux-next merge of the audit tree got a conflict in:

kernel/audit.c

between commit:

5985de6754a6 ("audit: code clean up")

Quoted 8 lines

from Linus' tree and commit:

84cb777e6781 ("audit: use macros for unset inode and device values")

from the audit tree.

I fixed it up (see below) and can carry the fix as necessary (no action is required).

Yup, looks good, thanks! :)

Quoted 9 lines
Signature · 2 lines
Cheers,
Stephen Rothwell                    [email protected]
kernel/audit.c +0 -0
diff --cc kernel/audit.c
index f9e6065346db,060153dc47d4..000000000000

kernel/audit.c

Quoted 9 lines
kernel/audit.c +1 -1
@@@ -1761,7 -1759,7 +1761,7 @@@ void audit_log_name(struct audit_contex
  	} else
  		audit_log_format(ab, " name=(null)");
 
- 	if (n->ino != (unsigned long)-1)
 -	if (n->ino != AUDIT_INO_UNSET) {
++	if (n->ino != AUDIT_INO_UNSET)
  		audit_log_format(ab, " inode=%lu"
  				 " dev=%02x:%02x mode=%#ho"
  				 " ouid=%u ogid=%u rdev=%02x:%02x",

- RGB

--
Richard Guy Briggs <[email protected]>
Senior Software Engineer, Kernel Security, AMER ENG Base Operating Systems, Red Hat Remote, Ottawa, Canada
Voice: +1.647.777.2635, Internal: (81) 32635, Alt: +1.613.693.0684x3545