aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2017-07-24 12:41:11 +1000
committerStephen Rothwell <sfr@canb.auug.org.au>2017-07-24 12:41:11 +1000
commit0c6465613db4a0d26957ac2d617d32450f3dbd27 (patch)
tree6cccd4694a2636ecbb23be0ce60ffb54df118e60
parent922648e3dacb3d024c8c6f63abaa4eaf685792bd (diff)
parent12f6dc2696a56778db380420597529098d9f7dd3 (diff)
Merge remote-tracking branch 'selinux/next'
-rw-r--r--security/selinux/hooks.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/security/selinux/hooks.c b/security/selinux/hooks.c
index 33fd061305c4..00ad46e166f6 100644
--- a/security/selinux/hooks.c
+++ b/security/selinux/hooks.c
@@ -1303,6 +1303,7 @@ static inline u16 socket_type_to_security_class(int family, int type, int protoc
case SOCK_SEQPACKET:
return SECCLASS_UNIX_STREAM_SOCKET;
case SOCK_DGRAM:
+ case SOCK_RAW:
return SECCLASS_UNIX_DGRAM_SOCKET;
}
break;