diff options
author | Jeremy Kerr <jk@codeconstruct.com.au> | 2021-07-29 10:20:39 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-07-29 15:06:49 +0100 |
commit | bc49d8169aa72295104f1558830c568efb946315 (patch) | |
tree | cb1b56399be174e051d8022f50af3be962a62b9f /security/selinux/include | |
parent | 658e6b1612c6cc680381b6827dca9c3ee8862ee6 (diff) | |
download | linux-bc49d8169aa72295104f1558830c568efb946315.tar.gz linux-bc49d8169aa72295104f1558830c568efb946315.tar.bz2 linux-bc49d8169aa72295104f1558830c568efb946315.zip |
mctp: Add MCTP base
Add basic Kconfig, an initial (empty) af_mctp source object, and
{AF,PF}_MCTP definitions, and the required definitions for a new
protocol type.
Signed-off-by: Jeremy Kerr <jk@codeconstruct.com.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'security/selinux/include')
-rw-r--r-- | security/selinux/include/classmap.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/security/selinux/include/classmap.h b/security/selinux/include/classmap.h index 62d19bccf3de..084757ff4390 100644 --- a/security/selinux/include/classmap.h +++ b/security/selinux/include/classmap.h @@ -246,6 +246,8 @@ struct security_class_mapping secclass_map[] = { NULL } }, { "xdp_socket", { COMMON_SOCK_PERMS, NULL } }, + { "mctp_socket", + { COMMON_SOCK_PERMS, NULL } }, { "perf_event", { "open", "cpu", "kernel", "tracepoint", "read", "write", NULL } }, { "lockdown", @@ -255,6 +257,6 @@ struct security_class_mapping secclass_map[] = { { NULL } }; -#if PF_MAX > 45 +#if PF_MAX > 46 #error New address family defined, please update secclass_map. #endif |