diff options
author | Jeff Garzik <jeff@garzik.org> | 2006-04-27 04:55:26 -0400 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2006-04-27 04:55:26 -0400 |
commit | 9a375e93f88269bb770fb2eaa57554c975449c88 (patch) | |
tree | 4c8f6d77f0aa94fc69c5b9e75d51db1451bdf66f /security/selinux/ss/mls.c | |
parent | b2b4b9a7c09ad66e095b13c97946a96f2dc8284e (diff) | |
parent | acc696d93dcf993dec123d69d599979e1456ffec (diff) |
Merge branch 'upstream' into max-sect
Diffstat (limited to 'security/selinux/ss/mls.c')
-rw-r--r-- | security/selinux/ss/mls.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/security/selinux/ss/mls.c b/security/selinux/ss/mls.c index 640d0bfdbc68..84047f69f9c1 100644 --- a/security/selinux/ss/mls.c +++ b/security/selinux/ss/mls.c | |||
@@ -264,7 +264,7 @@ int mls_context_to_sid(char oldc, | |||
264 | 264 | ||
265 | if (!selinux_mls_enabled) { | 265 | if (!selinux_mls_enabled) { |
266 | if (def_sid != SECSID_NULL && oldc) | 266 | if (def_sid != SECSID_NULL && oldc) |
267 | *scontext += strlen(*scontext); | 267 | *scontext += strlen(*scontext)+1; |
268 | return 0; | 268 | return 0; |
269 | } | 269 | } |
270 | 270 | ||