From f10c4ebdc2a4ccb3a33c1b152e21c25416905e42 Mon Sep 17 00:00:00 2001 From: "Robert P. J. Day" Date: Tue, 8 May 2007 00:29:20 -0700 Subject: [PATCH] --- yaml --- r: 54666 b: refs/heads/master c: 039b6b3ed84e45a6f8316358dd2bfdc83d59fc45 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/kernel/audit.c | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/[refs] b/[refs] index f48bd519efb3..5e317125f684 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: b2bbe383ef7e792e92a5f53be955e71bd253ab32 +refs/heads/master: 039b6b3ed84e45a6f8316358dd2bfdc83d59fc45 diff --git a/trunk/kernel/audit.c b/trunk/kernel/audit.c index 4e9d20829681..d13276d41410 100644 --- a/trunk/kernel/audit.c +++ b/trunk/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: - 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; @@ -614,8 +614,8 @@ static int audit_receive_msg(struct sk_buff *skb, struct nlmsghdr *nlh) 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;