diff options
author | Eric Paris <eparis@redhat.com> | 2011-05-26 17:20:14 -0400 |
---|---|---|
committer | Eric Paris <eparis@redhat.com> | 2011-05-26 17:20:14 -0400 |
commit | ea77f7a2e8561012cf100c530170f12351c3b53e (patch) | |
tree | 7302ac1064f4e364aadda84020a176804fb86e22 /security/selinux/ss | |
parent | 7a627e3b9a2bd0f06945bbe64bcf403e788ecf6e (diff) | |
parent | 61c4f2c81c61f73549928dfd9f3e8f26aa36a8cf (diff) |
Merge commit 'v2.6.39' into 20110526
Conflicts:
lib/flex_array.c
security/selinux/avc.c
security/selinux/hooks.c
security/selinux/ss/policydb.c
security/smack/smack_lsm.c
Diffstat (limited to 'security/selinux/ss')
-rw-r--r-- | security/selinux/ss/services.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/security/selinux/ss/services.c b/security/selinux/ss/services.c index e11b4b038f4a..c3e4b52699f4 100644 --- a/security/selinux/ss/services.c +++ b/security/selinux/ss/services.c | |||
@@ -2814,7 +2814,7 @@ int selinux_audit_rule_init(u32 field, u32 op, char *rulestr, void **vrule) | |||
2814 | case AUDIT_SUBJ_CLR: | 2814 | case AUDIT_SUBJ_CLR: |
2815 | case AUDIT_OBJ_LEV_LOW: | 2815 | case AUDIT_OBJ_LEV_LOW: |
2816 | case AUDIT_OBJ_LEV_HIGH: | 2816 | case AUDIT_OBJ_LEV_HIGH: |
2817 | /* we do not allow a range, indicated by the presense of '-' */ | 2817 | /* we do not allow a range, indicated by the presence of '-' */ |
2818 | if (strchr(rulestr, '-')) | 2818 | if (strchr(rulestr, '-')) |
2819 | return -EINVAL; | 2819 | return -EINVAL; |
2820 | break; | 2820 | break; |
@@ -3083,7 +3083,7 @@ static void security_netlbl_cache_add(struct netlbl_lsm_secattr *secattr, | |||
3083 | * Description: | 3083 | * Description: |
3084 | * Convert the given NetLabel security attributes in @secattr into a | 3084 | * Convert the given NetLabel security attributes in @secattr into a |
3085 | * SELinux SID. If the @secattr field does not contain a full SELinux | 3085 | * SELinux SID. If the @secattr field does not contain a full SELinux |
3086 | * SID/context then use SECINITSID_NETMSG as the foundation. If possibile the | 3086 | * SID/context then use SECINITSID_NETMSG as the foundation. If possible the |
3087 | * 'cache' field of @secattr is set and the CACHE flag is set; this is to | 3087 | * 'cache' field of @secattr is set and the CACHE flag is set; this is to |
3088 | * allow the @secattr to be used by NetLabel to cache the secattr to SID | 3088 | * allow the @secattr to be used by NetLabel to cache the secattr to SID |
3089 | * conversion for future lookups. Returns zero on success, negative values on | 3089 | * conversion for future lookups. Returns zero on success, negative values on |