aboutsummaryrefslogtreecommitdiffstats
path: root/security/selinux/hooks.c
diff options
context:
space:
mode:
Diffstat (limited to 'security/selinux/hooks.c')
-rw-r--r--security/selinux/hooks.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/security/selinux/hooks.c b/security/selinux/hooks.c
index cf7b62ca886a..41b6f5d31945 100644
--- a/security/selinux/hooks.c
+++ b/security/selinux/hooks.c
@@ -696,6 +696,8 @@ static inline u16 socket_type_to_security_class(int family, int type, int protoc
696 return SECCLASS_PACKET_SOCKET; 696 return SECCLASS_PACKET_SOCKET;
697 case PF_KEY: 697 case PF_KEY:
698 return SECCLASS_KEY_SOCKET; 698 return SECCLASS_KEY_SOCKET;
699 case PF_APPLETALK:
700 return SECCLASS_APPLETALK_SOCKET;
699 } 701 }
700 702
701 return SECCLASS_SOCKET; 703 return SECCLASS_SOCKET;