Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 32921
b: refs/heads/master
c: 851f8a6
h: refs/heads/master
i:
  32919: b5ce645
v: v3
  • Loading branch information
Venkat Yekkirala authored and Linus Torvalds committed Jul 31, 2006
1 parent 2b11e53 commit bf4c194
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: ddccef3b5ec906ff181171e8ffad4fcb996792fd
refs/heads/master: 851f8a6906b71f7a19043d4d722dd4ffab7aeafc
4 changes: 2 additions & 2 deletions trunk/security/selinux/ss/services.c
Original file line number Diff line number Diff line change
Expand Up @@ -833,6 +833,8 @@ static int security_compute_sid(u32 ssid,
goto out;
}

context_init(&newcontext);

POLICY_RDLOCK;

scontext = sidtab_search(&sidtab, ssid);
Expand All @@ -850,8 +852,6 @@ static int security_compute_sid(u32 ssid,
goto out_unlock;
}

context_init(&newcontext);

/* Set the user identity. */
switch (specified) {
case AVTAB_TRANSITION:
Expand Down

0 comments on commit bf4c194

Please sign in to comment.