From patchwork Fri May 19 12:48:57 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Jurgens X-Patchwork-Id: 9737147 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 03E966034C for ; Fri, 19 May 2017 12:52:17 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EC0A028929 for ; Fri, 19 May 2017 12:52:16 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E0A0528930; Fri, 19 May 2017 12:52:16 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 Received: from emsm-gh1-uea11.nsa.gov (smtp.nsa.gov [8.44.101.9]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id F39FA28929 for ; Fri, 19 May 2017 12:52:15 +0000 (UTC) X-IronPort-AV: E=Sophos;i="5.38,364,1491264000"; d="scan'208";a="5934041" IronPort-PHdr: =?us-ascii?q?9a23=3ANATSTByNJhLhnAPXCy+O+j09IxM/srCxBDY+r6Qd?= =?us-ascii?q?1esfLfad9pjvdHbS+e9qxAeQG96KtLQe0qGL7ujJYi8p2d65qncMcZhBBVcuqP?= =?us-ascii?q?49uEgeOvODElDxN/XwbiY3T4xoXV5h+GynYwAOQJ6tL1LdrWev4jEMBx7xKRR6?= =?us-ascii?q?JvjvGo7Vks+7y/2+94fdbghMhjexe61+IAi5oQjRtsQdnJdvJLs2xhbVuHVDZv?= =?us-ascii?q?5YxXlvJVKdnhb84tm/8Zt++ClOuPwv6tBNX7zic6s3UbJ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L2FlSqawqLuCbNJT6JMvqyVbSvizYVCdSr77rBsXyCfjH2?= =?us-ascii?q?pYxD8hbTGqvY/1nxtgiGKSNHxztmbWedlsxRfD49zRXfpR3jsdRClkkDXXHUaz?= =?us-ascii?q?P92o/dWSipfCvfuzV3m5Vp1SdynrzJ+PtDCh6W1sHxK/g+i5msf7HggizS/7y9?= =?us-ascii?q?5qWD3SrBb7Zonr07q1Mfh7cUlvCl7x8NF6GpxinYsrnp0Q3mIahpqN93odjWjz?= =?us-ascii?q?Kclb2b75bHcVXT4E2cPV4Az/1EJ5NH6G3IX5VnGBwstmYdm3eWYW1j4778BNFK?= =?us-ascii?q?iY9rpEkjVpolCgtwLefeB9nisByfsp8HMagP8GuAw2ziiGAbAdA09YPTfqlxuW?= =?us-ascii?q?89CytqJXZHygcbKozkpxgcihDK2eogFbQHv5Yo0tHTJ07sphKFLDynvz6p36d9?= =?us-ascii?q?nKdt8TqwaUnAnaj+hOMp4xjf0KhTd9OW3ho3Ilxek7jQZh3Z6kpoSHLXti/L6h?= =?us-ascii?q?CB5CKjL1f98T+i3qjatGgMaW2Z2gE45/GjUNQZToTeikEDQMuvT7LwyOCiEzqm?= =?us-ascii?q?+HGbrDGg+S8F9moGjSE5CvLHyYOHgZzcliRRWEKkxQmgYUUC89np4jGQCg3Nbh?= =?us-ascii?q?f1th5jAN+l74rQNByuFoNhn7TGjSvwKoajA6SJiRMhVW8h1C50fSMcyb8O1/BS?= =?us-ascii?q?dY8YO9rAaVMGyUexxIDX0VWkyDH13jMKOh5d/c8+ifA+qzNPXObquTpuxZTfeH?= =?us-ascii?q?34qv0pFh/zaOKMqAImViA+c82kpZUnBzA97ZlCkXSywLiyLNaNaWpA2h9SJqtc?= =?us-ascii?q?2///HrWQ316YuJFbRSLc1l+wqqjqebK+6QmCF5JC5C1p8Wy37E0r0f00QWiyFp?= =?us-ascii?q?dzigCq4PujLITK7Kna9XFREbYTtpNMRU96I8whVNOcnDh9P7zL53kOM6C0xfWl?= =?us-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RRZBKLjDAHrtm7zJ9wx4lSODcdAGR6MSis6bbXoBIqjOCEXNcs?= =?us-ascii?q?bXcQRpEEOW4uWM2mhy5ZuGxNDCKp3eIdyQiC6SL8pyvLATbgaNpjYeubagl3CN?= =?us-ascii?q?Gq4zk/9ba5iULP+JXEO276LchiusPI6e4CupmIF/ZUTb57s0fAhoVVXGKqXHDV?= =?us-ascii?q?Ed60JpnwbI8sYcbyCnmkTly1kyg1QNvpPNaxMqiIhhnlRYVOsIibxj8jM9O9Fj?= =?us-ascii?q?EFFhd/oOED/L5zaRcFY5UlfR7irx4+OLCnIAeEztWuRH6gKSdXT/layuW6e7xX?= =?us-ascii?q?zio3Y+CnyXshTos1wPKt/U4LWp4KkgnUxey/aIlGTSjzBntddh3ApSojjWdhMP?= =?us-ascii?q?oyz/w+wBPPv1gcNSyLdOx3Z2xFudE8GU2dIW9sBmo+WVCckZLJ4hSw0LAK4ytd?= =?us-ascii?q?g9FU3PVfv3j6v5/QfCyjV7SuqZTVtSogat4mrLdqPIP4I8uJrpXekiXRTJnNqA?= =?us-ascii?q?GFVjC1F+ZCkNhKPC1YWOVImX0iOcEeooVO90wxW9wkKLNSFqkjuKqqaSF+Ai4I?= =?us-ascii?q?zS4VTYSA3CYNgu2kwbvVig+QcIg+MBwDqJhCmN0dUy9qbSMeo6+jU57WmXedRG?= =?us-ascii?q?YWOgke8QNC6RkcmY93e+Dq/JDHTIRQyzJMpfJ7TDfLHIFy91TnUmGWnUT4SPK5?= =?us-ascii?q?nuO13wJd1u7j38IHVx54DUhdw+dWmVUyKLFrNaYfoo7KviWPdUPgs2Ln0PGmK0?= =?us-ascii?q?VJyc3Ia134C5LItXDmXS0G/n0bXpRCyG3FFZsIjQp2dqIrpFRKIICpfkb+5jMk?= =?us-ascii?q?x4R1H7m2T8+r3VMloWwARyi0D9pLE/tmv07PWD15f5Crr43oOptITmBM+J2dql?= =?us-ascii?q?JZkER3PC660pdcKt9C7SASUzRVpjWdptSyQtVZ2cBqF58MPst/u3DlFaNcP5iR?= =?us-ascii?q?p2c5uqbhy3/e/zA8vky3xDC0G6+/VOJW4XERGh8uJ2SFsUkvDu0s8mjI/lDKqF?= =?us-ascii?q?B08P9RBqKTgkVpvDZ9ApdOCy5T2nC/MlRzSmNKs+ZBJaTUcsxcQuUyagS1Nxw4?= =?us-ascii?q?C/Emw1SD/Vtoknfhfyxyqgxa9jjBXwkzUCkYmavtlSEbqs68IzMaTYxHbSk5ZS?= =?us-ascii?q?ffNw2bgTxXvApYa0xyW5AWGMxF9Ksf3YRJ5cfNVFijKTkdXBN8MgI3z+BfmVRE?= =?us-ascii?q?sEWCdiDXFRCoeurXsh1rYceRq9akLPb+/AhZkY7orf43974dSH28hQ2iX83Ro5?= =?us-ascii?q?X6ttKUqkuEbL34PPGkYX/dUDjMigi9iqwqD5bW4yTeMhdXJpdhxHU4ZpjhDHLE?= =?us-ascii?q?Mg5dJ6IHPUZbU751acleqOBAe8BkYLoJ+bNqBh+fXBPgBpGgrPlcIVbPXjneKy?= =?us-ascii?q?KB8vKhro7N8bPdTvXvadKWy3bBXa13Io9w6SPnFLfyzY9e5k321+919kNhVVjJ?= =?us-ascii?q?KT2OrMj6KwMQ48mia1HisYE3EjPQHJdwimDixkVae8oQWS2q/4wSyIlF53boVe?= =?us-ascii?q?J4zk/zvfVO97l+94Y4/a1mxNypJafWNfRaq1VoAgaVBgVt8pUiHnR/S3pWYu8L?= =?us-ascii?q?J/fbZb4Zgtz2q+DrC6wX7wWY++lDZtvDI0HOhNW/Ci2GRhNehwoBryAVLheH1/?= =?us-ascii?q?GZgaB0UdiqqfL/2k0z/1i0NgQGw6x15YeY5qqIo/fabxnLwrgeXajqXcfzoa4y?= =?us-ascii?q?u06J4P0kiboOenB0YwK7EegSTMgdxnz6waAt1yIsHNvJH6j89/5bS3I5gjXglo?= =?us-ascii?q?h/H1oMHPMUE6CL/YNDkWgmgOHZKscZcqZZmmaIDxKkFKENyWKz4SuNPGZlmg3O?= =?us-ascii?q?0w33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16BcxtD+QWhYE1g8=3D?= X-IPAS-Result: =?us-ascii?q?A2HfAQC46R5Z/wHyM5BcGgEBAQECAQEBAQgBAQEBFQEBAQE?= =?us-ascii?q?CAQEBAQgBAQEBgyqBbo55kH2XfiiLfFcBAQEBAQEBAQIBAmgogjMkgkIGAQIkU?= =?us-ascii?q?gMDCQEBFwgpCAMBUwcSBYofBLFYOiYCiyiIPY1wAQSQKIEBjGyTHosZhlOURli?= =?us-ascii?q?BCk8hFYU9HIFmc4kcAQEB?= Received: from unknown (HELO tarius.tycho.ncsc.mil) ([144.51.242.1]) by emsm-gh1-uea11.nsa.gov with ESMTP; 19 May 2017 12:52:14 +0000 Received: from prometheus.infosec.tycho.ncsc.mil (prometheus [192.168.25.40]) by tarius.tycho.ncsc.mil (8.14.4/8.14.4) with ESMTP id v4JCqC7F007726; Fri, 19 May 2017 08:52:13 -0400 Received: from tarius.tycho.ncsc.mil (tarius.infosec.tycho.ncsc.mil [144.51.242.1]) by prometheus.infosec.tycho.ncsc.mil (8.15.2/8.15.2) with ESMTP id v4JCnhfp092309 for ; Fri, 19 May 2017 08:49:43 -0400 Received: from goalie.tycho.ncsc.mil (goalie [144.51.242.250]) by tarius.tycho.ncsc.mil (8.14.4/8.14.4) with ESMTP id v4JCncwI005898 for ; Fri, 19 May 2017 08:49:42 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A1B7AgCA6R5Z/4GlL8FcGwEBAQMBAQEJAQEBhUOOeZB9mAUchggChk4BAgEBAQEBAmsohRkGJ1IQGAgxVwcSiiixWDqLHgEBCCiIPY1wBZAogQGMbJMekWyURleBCk8hFYU9HIFmPTaJHAEBAQ X-IPAS-Result: A1B7AgCA6R5Z/4GlL8FcGwEBAQMBAQEJAQEBhUOOeZB9mAUchggChk4BAgEBAQEBAmsohRkGJ1IQGAgxVwcSiiixWDqLHgEBCCiIPY1wBZAogQGMbJMekWyURleBCk8hFYU9HIFmPTaJHAEBAQ X-IronPort-AV: E=Sophos;i="5.38,364,1491278400"; d="scan'208";a="6059114" Received: from emsm-gh1-uea11.corp.nsa.gov (HELO emsm-gh1-uea11.nsa.gov) ([10.208.41.37]) by goalie.tycho.ncsc.mil with ESMTP; 19 May 2017 08:49:36 -0400 IronPort-PHdr: =?us-ascii?q?9a23=3AZgp6ixEMlGzR0b9mqpQseZ1GYnF86YWxBRYc798d?= =?us-ascii?q?s5kLTJ7zosiwAkXT6L1XgUPTWs2DsrQf2rWQ6fmrBDFIyK3CmUhKSIZLWR4BhJ?= =?us-ascii?q?detC0bK+nBN3fGKuX3ZTcxBsVIWQwt1Xi6NU9IBJS2PAWK8TW94jEIBxrwKxd+?= =?us-ascii?q?KPjrFY7OlcS30P2594HObwlSijewZbF/IA+ooQnMucUbgYtvIbstxxXUpXdFZ/?= =?us-ascii?q?5Yzn5yK1KJmBb86Maw/Jp9/ClVpvks6c1OX7jkcqohVbBXAygoPG4z5M3wqBnM?= =?us-ascii?q?VhCP6WcGUmUXiRVHHQ7I5wznU5jrsyv6su192DSGPcDzULs5Vyiu47ttRRT1ky?= =?us-ascii?q?oMKSI3/3/LhcxxlKJboQyupxpjw47PfYqZMONycr7Bcd8GQGZMWNtaWS5cDYOm?= =?us-ascii?q?d4YBD/QPM/tWoYf+oFUBrxW+CBKwCO/z0DJEmmX70bEm3+knDArI3BYgH9ULsH?= =?us-ascii?q?nMotv6LqESWv2xwqnV1zXDYO1Z2THm6IPVdR0uvOuDXbRxccXPzUkvFRjIjlCO?= =?us-ascii?q?pozhOzOazOINs2+U7uZ6Se2vjGsnphh3rzOyxckskpHEip8Rx13K7yl0z4Q4Kc?= =?us-ascii?q?elREN6YdOoCoZcuz+eOoZwX8gsWXtnuDwgxb0DoZO7fDYFyJAgxxPHbvyIbYyI?= =?us-ascii?q?4hb5W+aXJjd5i2hpd664hxqo8EigzvXwVsiy0FlUsipIisTAu3QD2hDJ5cWKSO?= =?us-ascii?q?Fx8lqg1DuPzQzf9/9ILEQsmareMZEhw7owlpQJsUTEGy/7gFj5g7WQdkUl5Oeo?= =?us-ascii?q?7+bnb67jppCCM490jhvxMqIpms2wG+g3Lg8OX22D9eSmyLLj5VH5QKlNjvAuia?= =?us-ascii?q?nWrpTaJcUdpq6kDA5YyZoj6hajADem19QUh38HLElfdx6dgIjpPE/Oc7jECqK0?= =?us-ascii?q?g06tiyhD3PfbJfj6BZGLKWLM1P/5dKt5w1ZV1Q52yNdY/Z8SAbYEZLroVlTZqM?= =?us-ascii?q?3TDhh/NRe9hengFpE125sXQ2OUKreQKqLJqVuB7e9pJPODIMcZvDvxJf8/69b0?= =?us-ascii?q?gHM5kENbdq6smdMMZXm+WPRrLVmISXvqntoFV2wNu052TOXuzkeFSjNVfGq1VK?= =?us-ascii?q?EU6TQyCYbgBoDGFa63h7nU8C69Vr9LfG9LDEvERXvhcYSJX/UkbS+WJsZnlSxC?= =?us-ascii?q?Xr+kHdxynSqyvRP3nuI0ZtHf/TcV4Ne6jIB4?= X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0H0AQCP6B5Z/4GlL8FcGwEBAQMBAQEJA?= =?us-ascii?q?QEBFgEBAQMBAQEJAQEBhRiOeZB9mAUchggChk4BAQEBAQEBAQIBAmgogjMkAYJ?= =?us-ascii?q?BBidSEBgIMVcHEooosVM6ix4BAQgoiD2NcAWQKIEBjGyTHpFslEZYgQpPIRWFP?= =?us-ascii?q?RyBZj02iRwBAQE?= X-IPAS-Result: =?us-ascii?q?A0H0AQCP6B5Z/4GlL8FcGwEBAQMBAQEJAQEBFgEBAQMBAQE?= =?us-ascii?q?JAQEBhRiOeZB9mAUchggChk4BAQEBAQEBAQIBAmgogjMkAYJBBidSEBgIMVcHE?= =?us-ascii?q?ooosVM6ix4BAQgoiD2NcAWQKIEBjGyTHpFslEZYgQpPIRWFPRyBZj02iRwBAQE?= X-IronPort-AV: E=Sophos;i="5.38,364,1491264000"; d="scan'208";a="5933918" X-IronPort-Outbreak-Status: No, level 0, Unknown - Unknown Received: from mail-il-dmz.mellanox.com (HELO mellanox.co.il) ([193.47.165.129]) by emsm-gh1-uea11.nsa.gov with ESMTP; 19 May 2017 12:49:35 +0000 Received: from Internal Mail-Server by MTLPINE1 (envelope-from danielj@mellanox.com) with ESMTPS (AES256-SHA encrypted); 19 May 2017 15:49:30 +0300 Received: from x-vnc01.mtx.labs.mlnx. (x-vnc01.mtx.labs.mlnx [10.12.150.16]) by labmailer.mlnx (8.13.8/8.13.8) with ESMTP id v4JCn8HV027204; Fri, 19 May 2017 15:49:28 +0300 From: Dan Jurgens To: chrisw@sous-sol.org, paul@paul-moore.com, sds@tycho.nsa.gov, eparis@parisplace.org, dledford@redhat.com, sean.hefty@intel.com, hal.rosenstock@gmail.com Subject: [PATCH v7 7/9] selinux: Implement Infiniband PKey "Access" access vector Date: Fri, 19 May 2017 15:48:57 +0300 Message-Id: <1495198139-69993-8-git-send-email-danielj@mellanox.com> X-Mailer: git-send-email 1.7.1 In-Reply-To: <1495198139-69993-1-git-send-email-danielj@mellanox.com> References: <1495198139-69993-1-git-send-email-danielj@mellanox.com> X-Mailman-Approved-At: Fri, 19 May 2017 08:50:48 -0400 X-BeenThere: selinux@tycho.nsa.gov X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Security-Enhanced Linux \(SELinux\) mailing list" List-Post: List-Help: Cc: linux-rdma@vger.kernel.org, linux-security-module@vger.kernel.org, selinux@tycho.nsa.gov Errors-To: selinux-bounces@tycho.nsa.gov Sender: "Selinux" X-Virus-Scanned: ClamAV using ClamSMTP From: Daniel Jurgens Add a type and access vector for PKeys. Implement the ib_pkey_access hook to check that the caller has permission to access the PKey on the given subnet prefix. Add an interface to get the PKey SID. Walk the PKey ocontexts to find an entry for the given subnet prefix and pkey. Signed-off-by: Daniel Jurgens Reviewed-by: James Morris --- v2: - Use void* blobs for security structs. Paul Moore - Add pkey specific data to the audit log. Paul Moore - Don't introduce a new initial sid, use unlabeled. Stephen Smalley v3: - Reorder parameters to pkey_access hook. Paul Moore v6: - Remove blank lines and brackets on single statement else. James Morris v7: - Synch ocontext naming with userspace. Also changed the LSM audit structure to be of the same style. Stephen Smalley - changed security_pkey_sid function to security_ib_pkey_sid. include/linux/lsm_audit.h | 7 +++++++ security/lsm_audit.c | 11 ++++++++++ security/selinux/hooks.c | 22 ++++++++++++++++++++ security/selinux/include/classmap.h | 2 ++ security/selinux/include/security.h | 2 ++ security/selinux/ss/services.c | 40 +++++++++++++++++++++++++++++++++++++ 6 files changed, 84 insertions(+) diff --git a/include/linux/lsm_audit.h b/include/linux/lsm_audit.h index e58e577..0df5639 100644 --- a/include/linux/lsm_audit.h +++ b/include/linux/lsm_audit.h @@ -45,6 +45,11 @@ struct lsm_ioctlop_audit { u16 cmd; }; +struct lsm_ibpkey_audit { + u64 subnet_prefix; + u16 pkey; +}; + /* Auxiliary data to use in generating the audit record. */ struct common_audit_data { char type; @@ -60,6 +65,7 @@ struct common_audit_data { #define LSM_AUDIT_DATA_DENTRY 10 #define LSM_AUDIT_DATA_IOCTL_OP 11 #define LSM_AUDIT_DATA_FILE 12 +#define LSM_AUDIT_DATA_IBPKEY 13 union { struct path path; struct dentry *dentry; @@ -77,6 +83,7 @@ struct common_audit_data { char *kmod_name; struct lsm_ioctlop_audit *op; struct file *file; + struct lsm_ibpkey_audit *ibpkey; } u; /* this union contains LSM specific data */ union { diff --git a/security/lsm_audit.c b/security/lsm_audit.c index 37f04da..c22c99f 100644 --- a/security/lsm_audit.c +++ b/security/lsm_audit.c @@ -410,6 +410,17 @@ static void dump_common_audit_data(struct audit_buffer *ab, audit_log_format(ab, " kmod="); audit_log_untrustedstring(ab, a->u.kmod_name); break; + case LSM_AUDIT_DATA_IBPKEY: { + struct in6_addr sbn_pfx; + + memset(&sbn_pfx.s6_addr, 0, + sizeof(sbn_pfx.s6_addr)); + memcpy(&sbn_pfx.s6_addr, &a->u.ibpkey->subnet_prefix, + sizeof(a->u.ibpkey->subnet_prefix)); + audit_log_format(ab, " pkey=0x%x subnet_prefix=%pI6c", + a->u.ibpkey->pkey, &sbn_pfx); + break; + } } /* switch (a->type) */ } diff --git a/security/selinux/hooks.c b/security/selinux/hooks.c index d580268..b8add3a 100644 --- a/security/selinux/hooks.c +++ b/security/selinux/hooks.c @@ -6160,6 +6160,27 @@ static int selinux_key_getsecurity(struct key *key, char **_buffer) #endif #ifdef CONFIG_SECURITY_INFINIBAND +static int selinux_ib_pkey_access(void *ib_sec, u64 subnet_prefix, u16 pkey_val) +{ + struct common_audit_data ad; + int err; + u32 sid = 0; + struct ib_security_struct *sec = ib_sec; + struct lsm_ibpkey_audit ibpkey; + + err = security_ib_pkey_sid(subnet_prefix, pkey_val, &sid); + if (err) + return err; + + ad.type = LSM_AUDIT_DATA_IBPKEY; + ibpkey.subnet_prefix = subnet_prefix; + ibpkey.pkey = pkey_val; + ad.u.ibpkey = &ibpkey; + return avc_has_perm(sec->sid, sid, + SECCLASS_INFINIBAND_PKEY, + INFINIBAND_PKEY__ACCESS, &ad); +} + static int selinux_ib_alloc_security(void **ib_sec) { struct ib_security_struct *sec; @@ -6364,6 +6385,7 @@ static struct security_hook_list selinux_hooks[] __lsm_ro_after_init = { LSM_HOOK_INIT(tun_dev_attach, selinux_tun_dev_attach), LSM_HOOK_INIT(tun_dev_open, selinux_tun_dev_open), #ifdef CONFIG_SECURITY_INFINIBAND + LSM_HOOK_INIT(ib_pkey_access, selinux_ib_pkey_access), LSM_HOOK_INIT(ib_alloc_security, selinux_ib_alloc_security), LSM_HOOK_INIT(ib_free_security, selinux_ib_free_security), #endif diff --git a/security/selinux/include/classmap.h b/security/selinux/include/classmap.h index 3e49a78..0fec1c5 100644 --- a/security/selinux/include/classmap.h +++ b/security/selinux/include/classmap.h @@ -231,6 +231,8 @@ struct security_class_mapping secclass_map[] = { { COMMON_SOCK_PERMS, NULL } }, { "smc_socket", { COMMON_SOCK_PERMS, NULL } }, + { "infiniband_pkey", + { "access", NULL } }, { NULL } }; diff --git a/security/selinux/include/security.h b/security/selinux/include/security.h index e202448..b04b438 100644 --- a/security/selinux/include/security.h +++ b/security/selinux/include/security.h @@ -179,6 +179,8 @@ int security_get_user_sids(u32 callsid, char *username, int security_port_sid(u8 protocol, u16 port, u32 *out_sid); +int security_ib_pkey_sid(u64 subnet_prefix, u16 pkey_num, u32 *out_sid); + int security_netif_sid(char *name, u32 *if_sid); int security_node_sid(u16 domain, void *addr, u32 addrlen, diff --git a/security/selinux/ss/services.c b/security/selinux/ss/services.c index 60d9b02..7c86b86 100644 --- a/security/selinux/ss/services.c +++ b/security/selinux/ss/services.c @@ -2210,6 +2210,46 @@ int security_port_sid(u8 protocol, u16 port, u32 *out_sid) } /** + * security_pkey_sid - Obtain the SID for a pkey. + * @subnet_prefix: Subnet Prefix + * @pkey_num: pkey number + * @out_sid: security identifier + */ +int security_ib_pkey_sid(u64 subnet_prefix, u16 pkey_num, u32 *out_sid) +{ + struct ocontext *c; + int rc = 0; + + read_lock(&policy_rwlock); + + c = policydb.ocontexts[OCON_IBPKEY]; + while (c) { + if (c->u.ibpkey.low_pkey <= pkey_num && + c->u.ibpkey.high_pkey >= pkey_num && + c->u.ibpkey.subnet_prefix == subnet_prefix) + break; + + c = c->next; + } + + if (c) { + if (!c->sid[0]) { + rc = sidtab_context_to_sid(&sidtab, + &c->context[0], + &c->sid[0]); + if (rc) + goto out; + } + *out_sid = c->sid[0]; + } else + *out_sid = SECINITSID_UNLABELED; + +out: + read_unlock(&policy_rwlock); + return rc; +} + +/** * security_netif_sid - Obtain the SID for a network interface. * @name: interface name * @if_sid: interface SID