Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 285027
b: refs/heads/master
c: 02f5daa
h: refs/heads/master
i:
  285025: 329bee6
  285023: f797c2f
v: v3
  • Loading branch information
James Morris authored and Eric Paris committed Jan 5, 2012
1 parent d02331e commit c761a24
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 6 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: e8a65a3f67f8a85802c0a0250e48c4c4652d0da0
refs/heads/master: 02f5daa563456c1ff3c3422aa3ec00e67460f762
1 change: 0 additions & 1 deletion trunk/security/selinux/hooks.c
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@

#define NUM_SEL_MNT_OPTS 5

extern int selinux_nlmsg_lookup(u16 sclass, u16 nlmsg_type, u32 *perm);
extern struct security_operations *security_ops;

/* SECMARK reference count */
Expand Down
3 changes: 3 additions & 0 deletions trunk/security/selinux/include/security.h
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,9 @@ extern int selinux_disable(void);
extern void exit_sel_fs(void);
extern struct dentry *selinux_null;
extern struct vfsmount *selinuxfs_mount;
extern void selnl_notify_setenforce(int val);
extern void selnl_notify_policyload(u32 seqno);
extern int selinux_nlmsg_lookup(u16 sclass, u16 nlmsg_type, u32 *perm);

#endif /* _SELINUX_SECURITY_H_ */

2 changes: 2 additions & 0 deletions trunk/security/selinux/netlink.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
#include <linux/selinux_netlink.h>
#include <net/net_namespace.h>

#include "security.h"

static struct sock *selnl;

static int selnl_msglen(int msgtype)
Expand Down
1 change: 1 addition & 0 deletions trunk/security/selinux/nlmsgtab.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@

#include "flask.h"
#include "av_permissions.h"
#include "security.h"

struct nlmsg_perm {
u16 nlmsg_type;
Expand Down
2 changes: 0 additions & 2 deletions trunk/security/selinux/selinuxfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,6 @@ static char policy_opened;
/* global data for policy capabilities */
static struct dentry *policycap_dir;

extern void selnl_notify_setenforce(int val);

/* Check whether a task is allowed to use a security operation. */
static int task_has_security(struct task_struct *tsk,
u32 perms)
Expand Down
2 changes: 0 additions & 2 deletions trunk/security/selinux/ss/services.c
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,6 @@
#include "ebitmap.h"
#include "audit.h"

extern void selnl_notify_policyload(u32 seqno);

int selinux_policycap_netpeer;
int selinux_policycap_openperm;

Expand Down

0 comments on commit c761a24

Please sign in to comment.