From da8c8b4b44cf372d139d0f3beeffbd9f1968ce91 Mon Sep 17 00:00:00 2001 From: Eric Paris Date: Fri, 18 Apr 2008 17:38:26 -0400 Subject: [PATCH] --- yaml --- r: 91707 b: refs/heads/master c: bfff3aa49765eb10053b58ee220949cfcc7a1a80 h: refs/heads/master i: 91705: 0b0f23a8833bfa3d47906faa95d20c929dceaf8b 91703: d693e0dd9b9588a11e18db05e186849fdc9c0350 v: v3 --- [refs] | 2 +- trunk/security/selinux/nlmsgtab.c | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/[refs] b/[refs] index 977f8fd5441f..d029e6060c37 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 7b6b239c805ab372145c8a43ffa25529923d2658 +refs/heads/master: bfff3aa49765eb10053b58ee220949cfcc7a1a80 diff --git a/trunk/security/selinux/nlmsgtab.c b/trunk/security/selinux/nlmsgtab.c index eddc7b420109..ff59c0c4804b 100644 --- a/trunk/security/selinux/nlmsgtab.c +++ b/trunk/security/selinux/nlmsgtab.c @@ -23,8 +23,7 @@ #include "flask.h" #include "av_permissions.h" -struct nlmsg_perm -{ +struct nlmsg_perm { u16 nlmsg_type; u32 perm; }; @@ -159,7 +158,7 @@ int selinux_nlmsg_lookup(u16 sclass, u16 nlmsg_type, u32 *perm) if ((nlmsg_type >= AUDIT_FIRST_USER_MSG && nlmsg_type <= AUDIT_LAST_USER_MSG) || (nlmsg_type >= AUDIT_FIRST_USER_MSG2 && - nlmsg_type <= AUDIT_LAST_USER_MSG2)) { + nlmsg_type <= AUDIT_LAST_USER_MSG2)) { *perm = NETLINK_AUDIT_SOCKET__NLMSG_RELAY; } else { err = nlmsg_perm(nlmsg_type, perm, nlmsg_audit_perms,