Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 91707
b: refs/heads/master
c: bfff3aa
h: refs/heads/master
i:
  91705: 0b0f23a
  91703: d693e0d
v: v3
  • Loading branch information
Eric Paris authored and James Morris committed Apr 21, 2008
1 parent e7c74ec commit da8c8b4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7b6b239c805ab372145c8a43ffa25529923d2658
refs/heads/master: bfff3aa49765eb10053b58ee220949cfcc7a1a80
5 changes: 2 additions & 3 deletions trunk/security/selinux/nlmsgtab.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@
#include "flask.h"
#include "av_permissions.h"

struct nlmsg_perm
{
struct nlmsg_perm {
u16 nlmsg_type;
u32 perm;
};
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit da8c8b4

Please sign in to comment.