diff options
| author | Linux Build Service Account <lnxbuild@quicinc.com> | 2017-10-29 20:59:53 -0700 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2017-10-29 20:59:53 -0700 |
| commit | d2c583756f87f031e16c4886984569c42dc917fe (patch) | |
| tree | 79248b3da53917e4e71a7c4e34a25fac4e14b9f4 /security/selinux/hooks.c | |
| parent | 31c9729a258a6495a344e2ec692e43fab9a0db87 (diff) | |
| parent | f5ada1fa7a011500cac199f550e0583208448e61 (diff) | |
Merge "security: Extend SELinux to support CAN sockets"
Diffstat (limited to 'security/selinux/hooks.c')
| -rw-r--r-- | security/selinux/hooks.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/security/selinux/hooks.c b/security/selinux/hooks.c index d0221769ba52..d2eff7173dab 100644 --- a/security/selinux/hooks.c +++ b/security/selinux/hooks.c @@ -1246,6 +1246,8 @@ static inline u16 socket_type_to_security_class(int family, int type, int protoc return SECCLASS_KEY_SOCKET; case PF_APPLETALK: return SECCLASS_APPLETALK_SOCKET; + case PF_CAN: + return SECCLASS_CAN_SOCKET; } return SECCLASS_SOCKET; |
