aboutsummaryrefslogtreecommitdiffstats
path: root/security/smack/smack_access.c
diff options
context:
space:
mode:
Diffstat (limited to 'security/smack/smack_access.c')
-rw-r--r--security/smack/smack_access.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/security/smack/smack_access.c b/security/smack/smack_access.c
index 23e5808a0970..356e3764cad9 100644
--- a/security/smack/smack_access.c
+++ b/security/smack/smack_access.c
@@ -36,11 +36,6 @@ struct smack_known smack_known_floor = {
36 .smk_secid = 5, 36 .smk_secid = 5,
37}; 37};
38 38
39struct smack_known smack_known_invalid = {
40 .smk_known = "",
41 .smk_secid = 6,
42};
43
44struct smack_known smack_known_web = { 39struct smack_known smack_known_web = {
45 .smk_known = "@", 40 .smk_known = "@",
46 .smk_secid = 7, 41 .smk_secid = 7,
@@ -615,7 +610,7 @@ struct smack_known *smack_from_secid(const u32 secid)
615 * of a secid that is not on the list. 610 * of a secid that is not on the list.
616 */ 611 */
617 rcu_read_unlock(); 612 rcu_read_unlock();
618 return &smack_known_invalid; 613 return &smack_known_huh;
619} 614}
620 615
621/* 616/*