aboutsummaryrefslogtreecommitdiffstats
path: root/security/selinux/ss/mls.c
diff options
context:
space:
mode:
authorwzt.wzt@gmail.com <wzt.wzt@gmail.com>2010-04-09 19:30:29 +0800
committerJames Morris <jmorris@namei.org>2010-04-09 15:13:48 +1000
commitc1a7368a6f0b18b10fdec87972da680ebdf03794 (patch)
tree17a8d306fe2332093e0e11e5fbb03199df011037 /security/selinux/ss/mls.c
parente2902eb79fdea3c3bf679a8f15f3432b393cb2c0 (diff)
downloadmrst-s0i3-test-c1a7368a6f0b18b10fdec87972da680ebdf03794.tar.gz
mrst-s0i3-test-c1a7368a6f0b18b10fdec87972da680ebdf03794.tar.xz
mrst-s0i3-test-c1a7368a6f0b18b10fdec87972da680ebdf03794.zip
Security: Fix coding style in security/
Fix coding style in security/ Signed-off-by: Zhitong Wang <zhitong.wangzt@alibaba-inc.com> Signed-off-by: James Morris <jmorris@namei.org>
Diffstat (limited to 'security/selinux/ss/mls.c')
-rw-r--r--security/selinux/ss/mls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/selinux/ss/mls.c b/security/selinux/ss/mls.c
index 372b773f821..b4eff7a60c5 100644
--- a/security/selinux/ss/mls.c
+++ b/security/selinux/ss/mls.c
@@ -255,7 +255,7 @@ int mls_context_to_sid(struct policydb *pol,
if (!pol->mls_enabled) {
if (def_sid != SECSID_NULL && oldc)
- *scontext += strlen(*scontext)+1;
+ *scontext += strlen(*scontext) + 1;
return 0;
}