Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 1168
b: refs/heads/master
c: 4c443d1
h: refs/heads/master
v: v3
  • Loading branch information
Stephen Smalley authored and Linus Torvalds committed May 17, 2005
1 parent 997c7b8 commit ead48e6
Show file tree
Hide file tree
Showing 2 changed files with 6 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: b81074800b98ac50b64d4c8d34e8abf0fda5e3d1
refs/heads/master: 4c443d1b558b21520bd8fd6140b85cee0756becd
8 changes: 5 additions & 3 deletions trunk/security/selinux/ss/services.c
Original file line number Diff line number Diff line change
Expand Up @@ -476,8 +476,8 @@ int security_compute_av(u32 ssid,
int rc = 0;

if (!ss_initialized) {
avd->allowed = requested;
avd->decided = requested;
avd->allowed = 0xffffffff;
avd->decided = 0xffffffff;
avd->auditallow = 0;
avd->auditdeny = 0xffffffff;
avd->seqno = latest_granting;
Expand Down Expand Up @@ -1196,9 +1196,11 @@ int security_load_policy(void *data, size_t len)
}
policydb_loaded_version = policydb.policyvers;
ss_initialized = 1;

seqno = ++latest_granting;
LOAD_UNLOCK;
selinux_complete_init();
avc_ss_reset(seqno);
selnl_notify_policyload(seqno);
return 0;
}

Expand Down

0 comments on commit ead48e6

Please sign in to comment.