projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
libata: during revalidation, check n_sectors after device is configured
[powerpc.git]
/
kernel
/
audit.c
diff --git
a/kernel/audit.c
b/kernel/audit.c
index
4e9d208
..
d13276d
100644
(file)
--- a/
kernel/audit.c
+++ b/
kernel/audit.c
@@
-515,8
+515,8
@@
static int audit_netlink_ok(struct sk_buff *skb, u16 msg_type)
err = -EPERM;
break;
case AUDIT_USER:
err = -EPERM;
break;
case AUDIT_USER:
- case AUDIT_FIRST_USER_MSG
...
AUDIT_LAST_USER_MSG:
- case AUDIT_FIRST_USER_MSG2
...
AUDIT_LAST_USER_MSG2:
+ case AUDIT_FIRST_USER_MSG
...
AUDIT_LAST_USER_MSG:
+ case AUDIT_FIRST_USER_MSG2
...
AUDIT_LAST_USER_MSG2:
if (security_netlink_recv(skb, CAP_AUDIT_WRITE))
err = -EPERM;
break;
if (security_netlink_recv(skb, CAP_AUDIT_WRITE))
err = -EPERM;
break;
@@
-614,8
+614,8
@@
static int audit_receive_msg(struct sk_buff *skb, struct nlmsghdr *nlh)
loginuid, sid);
break;
case AUDIT_USER:
loginuid, sid);
break;
case AUDIT_USER:
- case AUDIT_FIRST_USER_MSG
...
AUDIT_LAST_USER_MSG:
- case AUDIT_FIRST_USER_MSG2
...
AUDIT_LAST_USER_MSG2:
+ case AUDIT_FIRST_USER_MSG
...
AUDIT_LAST_USER_MSG:
+ case AUDIT_FIRST_USER_MSG2
...
AUDIT_LAST_USER_MSG2:
if (!audit_enabled && msg_type != AUDIT_USER_AVC)
return 0;
if (!audit_enabled && msg_type != AUDIT_USER_AVC)
return 0;