Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 26693
b: refs/heads/master
c: 0cccca0
h: refs/heads/master
i:
  26691: e8227c8
v: v3
  • Loading branch information
Serge E. Hallyn authored and Linus Torvalds committed May 15, 2006
1 parent 0d803d7 commit c5e6606
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 9be2f7c38e0bd64e8a0f74ea68df1e73e2ddfcc3
refs/heads/master: 0cccca06f9870eb6daa89357b8a99ad041865553
4 changes: 4 additions & 0 deletions trunk/security/selinux/ss/services.c
Original file line number Diff line number Diff line change
Expand Up @@ -594,6 +594,10 @@ int security_sid_to_context(u32 sid, char **scontext, u32 *scontext_len)

*scontext_len = strlen(initial_sid_to_string[sid]) + 1;
scontextp = kmalloc(*scontext_len,GFP_ATOMIC);
if (!scontextp) {
rc = -ENOMEM;
goto out;
}
strcpy(scontextp, initial_sid_to_string[sid]);
*scontext = scontextp;
goto out;
Expand Down

0 comments on commit c5e6606

Please sign in to comment.