From patchwork Wed Nov 23 14:17:30 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Jurgens X-Patchwork-Id: 9443459 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 4E23B60235 for ; Wed, 23 Nov 2016 14:23:35 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3E8FF268AE for ; Wed, 23 Nov 2016 14:23:35 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 33427269A3; Wed, 23 Nov 2016 14:23:35 +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]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 07740268AE for ; Wed, 23 Nov 2016 14:23:32 +0000 (UTC) X-IronPort-AV: E=Sophos;i="5.31,538,1473120000"; d="scan'208";a="1013562" IronPort-PHdr: =?us-ascii?q?9a23=3Asdy25RJuV041mAH9IdmcpTZWNBhigK39O0sv0rFi?= =?us-ascii?q?tYgQLvT4rarrMEGX3/hxlliBBdydsKMfzbCJ+P65EUU7or+5+EgYd5JNUxJXwe?= =?us-ascii?q?43pCcHRPC/NEvgMfTxZDY7FskRHHVs/nW8LFQHUJ2mPw6arXK99yMdFQviPgRp?= =?us-ascii?q?OOv1BpTSj8Oq3Oyu5pHfeQtFiT6zbL9oMhm7rwrdu8gLj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sLpSvj9wAW0iodQcpngO/5Unm36hb?= =?us-ascii?q?uLh/L27LTEdQZSf2MmViXrGqubaYeMFP75cosTlQUOS6el2aT6Lxox0d0yz/BW?= =?us-ascii?q?dewi40dy2ysJXjgxN6kH6dLGp0rHfBfMFwwQ7T68LaRfNKwDoJWi14iT3JCVim?= =?us-ascii?q?JdWp+8ubl4vbuOCkS22hToFTcTXszY6Ytyu0+2tqAQakkvCwhNLnFxM60Snl2N?= =?us-ascii?q?l2TynIqwz8Yobz3aSgLe1nZlVoBEP768diAoFxiJYwhJUO1ngCnJqV+2YHnnnp?= =?us-ascii?q?MdhAxKL+d2QCRSQQw9LP+wjl31BjLmiVyI3nWHWdxdFhZ9akbW8M3CIy8dxKAr?= =?us-ascii?q?+O7LNYhSt1vka4rQXJbPhjmDcS1OAj6GAcg+4UuAoh1COdDa4OHUNAJyzjiwyI?= =?us-ascii?q?78yirKVQfGuvaaK/1Fd6nd26EL6Cox1cWXbgdpcsByBw6N9zMFXW0H388ovkYs?= =?us-ascii?q?XfbcoPth2IlBfNl+tVKZI1lvUUnidnPGX9vXMry+ElkRxuwZG6vI+CK2pz5q65?= =?us-ascii?q?BABXNiHtbcMJ5j7tlbpentqR3423EJVuADMLXIfvTfKtCz8Su+roOBuJED0msH?= =?us-ascii?q?ibAaDfHQid6Eh4s33PD4qnN3aNJHkW1d9iXgWSJFRDgAAIWzU3hpE5FgC2y8z7?= =?us-ascii?q?cEZ5/iwR5lnjpxtK1O1oKwL/XXvFqwewdDg4Up6fIwRK7gta/UfaLdSe7v5vHy?= =?us-ascii?q?Ff5pCusQqNJXaAagtVC2EGQFaIB1f5Prmh/dPA6fSXBvKiL/vSZrWDsfZeWOqV?= =?us-ascii?q?yp+03Ytm+jmNOt+JPnZ8E/0xwlBDUmxhG8TFhzUPTDQalzjXY8+Vvhu8/zd4rs?= =?us-ascii?q?S48PXrQw/g/5eAC75IPdVo4RC2jr+JN/SMiyZhNTZYypQMyGfOyLgFxlESkzlu?= =?us-ascii?q?eiKjEbQBry7NV77QmqFWDx4dcSxzMtdH76Mm0QlJI8Lbjcn11rFghP4vF1hFTU?= =?us-ascii?q?Dhmt2uZcESPm69L03IC1yENLScPzLL3dr6YbimRr1TkeVUrQe/tSyfE0/+ODSM?= =?us-ascii?q?jSPpWwmzMeFLjyGaPBtetJu7chlzFWjpVMjmZQGjMN9rkT02xqU5iWjLNW4TNj?= =?us-ascii?q?h8dVhAoaCO4ixDg/VwAWpB4mBiLemelCaT9/PYJYoOsft3HiR0kPpX7241y7RP?= =?us-ascii?q?8iFLWud4mCzKrtFwpVGml/OAyjtjUBVVrTZKi5iHvUJ4OaXW7pNAQ2rL/AoR7W?= =?us-ascii?q?WMDBQHv8dlCtrqu6xK0NjPk6PyJylE893P58scANbbKMGcPXU9NhrpHSLbAxEe?= =?us-ascii?q?TT63L23fgVJSkO2K/H2Pspc6soTsmIYJSrJDVFw1CvMaCkNgHNMYO5d6RTYkkb?= =?us-ascii?q?+HjM4S+3Wyth7RRN9VvprfTPKdHe3vKCqFjblDfxYIx633Ip4XNoDg2ExibUJ6?= =?us-ascii?q?nJjQFErWRtBNoSxhYhUyoEpT7Hh0Vncz1F79agOx/H8TEua5ngQohQtlf+si7i?= =?us-ascii?q?3s7Es3JlfRvyQwkVMxlsjigTCfaD7xNrm/XIFMByryqUcxLovxQxxpYg2qgUxk?= =?us-ascii?q?KDDESqpMgLR6a2BriRLTuYBUFPFGV61EehgQxP+MZ/o2zVtctz+nxU5b5erFE5?= =?us-ascii?q?dikhUlcYK0pXJaxw1jdMI1JbDXJKdRwFhQnLyBsTKz1u8rxg8eO0EN8HiJdSES?= =?us-ascii?q?pEMIM6MqJy2y/uxj8QaCgSdMeHAQV/o2pfJn7kc9O+Oazy3+1b5CK0exOveQL6?= =?us-ascii?q?OfpmjMj8mIQkk/1kkQjUlK4aB20ds/c0qTT00v16WeFxAINcrENAFUYNFf+2TU?= =?us-ascii?q?fSaLrerC24l1P5mnGuDuU+COqL4egli4EwYxA4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-ascii?q?OHvp9KFoMANzdRbcZLqqjcnup+KLfoVbqmTX71IxKSfcvgMMyuawTQNldZyqgG?= =?us-ascii?q?/yIJ8oTDJbs9JtEgdmHJdIG84YoQunG4SUmKCnhNCv4E56vu4KsbbqCv/Uzti5?= =?us-ascii?q?2J9xX5dC70yRIDnRHLVrglhijumqhffA1of+BNj6edMATud7WXLFar7aEYWjMD?= =?us-ascii?q?KBJNzzd1RA87GCzLJzSg+RazzhX6qaqC2kM+1p4UE6yox+YerSwyUh77Xa2Nvp?= =?us-ascii?q?e2FbvTyurX+TO5tZ61zGH+veXwhbSfCd6mZqAbUXbZfo9OcJKdEi28aT4w1y7D?= =?us-ascii?q?REzcuELK+toEDQ2kJ7a53bNlXm2z4jVoQRIxSwL1EsgWnHpXTZGntcM8ekJdNq?= =?us-ascii?q?gNaPARzn/1Nxln01Zm5dBmroQs+cOWwa28KleA2H7wNKD88Fn+GtY0I4sLO9Sf?= =?us-ascii?q?VwMJVfheqqrKkHkcpuKyzXQchVJT3fLL93PjpXCeXCv0YoYh8Cs7crXoc1ZJ6O?= =?us-ascii?q?IF4IMUuaziPy1wTC21Xud9OwzKaJPDoW8nJfwrLHyzdMpA65tu2Cj83+VrDZcJ?= =?us-ascii?q?H2XPnPMCoqVjGaWS4+EUC39le4o/AEpuaXIX8DolAIZSKfEBUcqbtoodjUD2/T?= =?us-ascii?q?gvFjfIYQiPCBRS//VDd0lLEsCSZPtECMRecDFAbNYnD9gGtcohGiJuRW8XPrdb?= =?us-ascii?q?KY2rFVW+sQAodWdf2ZWdTYc+hEJzg0jjUZJPq8f9rEorY2yF3HVnEZE6jW+12a?= =?us-ascii?q?V0OWXPicyCjwXYUUoog4oCwo9czMniVvCaTHI66fpyKy8o6/lCuYu+jeVm43Y0?= =?us-ascii?q?wvgeICG3KMwB9aJ2EBFd4VuVvhQqmaZ0ZDzHgpk/5h2wcQeARvVX1jymNZnPS6?= =?us-ascii?q?Gs1ZT14Ul2SuQPsdYVB4FjMw4FGK7RPoYdAav8DcWXNe/KMWSYUBNPko9JXXOK?= =?us-ascii?q?wIzfYy0jJmpTA1viSeAl5GkAKK7bDQHKN9x71F42k05fd2UV+TQznHaGjI1pKm?= =?us-ascii?q?C95TxSdpuX3k1c3UvuZpNLZBooF2HkoFASxxJtDH4T9OT3v42A2ssBanT3yiJ2?= =?us-ascii?q?cS4CwKPjMtbeFo1KpgtxKOcczOrQuIvr8lgFOiFALOD72zwpENAcbskU2jZTJj?= =?us-ascii?q?bSSgF5cwrO1E0tkVf+dvaJC3GVHaBhD3FAODoyQF/xWspa6kSYJGxmgSnKI2JP?= =?us-ascii?q?nzUoUKBMWf1zZ9hz5TyZMJi22cDM/OTpz/98F8Q3oJM931SXDvJojOJDj0r+wE?= =?us-ascii?q?2ZQGGEObaeFcN2Ve4LAskWK/Q1qusaXt5CCAKLrwITCwPsADNJaAjmRKhq/HMZ?= =?us-ascii?q?Oo7PtHXylUtZMggN/N4CiN4g+XZsy6Kzqnmhg=3D?= X-IPAS-Result: =?us-ascii?q?A2HXBAAzpTVY/wHyM5BeHAEBBAEBCgEBFwEBBAEBCgEBgw0?= =?us-ascii?q?BAQEBAR+BWqRalnMkiCBTAQEBAQEBAQECAQJfKIIzGoIcAgQBAiQTFCALAwMJA?= =?us-ascii?q?QEXCCEICAMBLRURBwcLBRgEiEwEsSs9KgKLPAEBCAEBAQEjjzQRAYV9AQSObYt?= =?us-ascii?q?ikQKKHIYTkXZVXjYegzEcgV9whheCLgEBAQ?= Received: from unknown (HELO tarius.tycho.ncsc.mil) ([144.51.242.1]) by emsm-gh1-uea11.nsa.gov with ESMTP; 23 Nov 2016 14:23:20 +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 uANENJ36022312; Wed, 23 Nov 2016 09:23:20 -0500 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 uANEIk8K047352 for ; Wed, 23 Nov 2016 09:18:46 -0500 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 uANEIdEZ020402 for ; Wed, 23 Nov 2016 09:18:46 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A1B4BAD5ozVY/4GlL8FeHAEBBAEBCgEBgzgBAQEBAYF5pFqSZYQVhiECgm0BAgEBAQEBAmIohGkCBCdSEBgIMVcHEohxsS89i2gBAQEHAiWVQwWObYtikQKQL5F2VYEUg08cgV88NIhFAQEB X-IPAS-Result: A1B4BAD5ozVY/4GlL8FeHAEBBAEBCgEBgzgBAQEBAYF5pFqSZYQVhiECgm0BAgEBAQEBAmIohGkCBCdSEBgIMVcHEohxsS89i2gBAQEHAiWVQwWObYtikQKQL5F2VYEUg08cgV88NIhFAQEB X-IronPort-AV: E=Sophos;i="5.31,538,1473134400"; d="scan'208";a="5840635" Received: from emsm-gh1-uea10.corp.nsa.gov (HELO emsm-gh1-uea10.nsa.gov) ([10.208.41.36]) by goalie.tycho.ncsc.mil with ESMTP; 23 Nov 2016 09:18:45 -0500 IronPort-PHdr: =?us-ascii?q?9a23=3ALtbRvhNqs0i/8lScMZol6mtUPXoX/o7sNwtQ0KIM?= =?us-ascii?q?zox0Ivn/rarrMEGX3/hxlliBBdydsKMfzbCJ+P65EUU7or+5+EgYd5JNUxJXwe?= =?us-ascii?q?43pCcHRPC/NEvgMfTxZDY7FskRHHVs/nW8LFQHUJ2mPw6arXK99yMdFQviPgRp?= =?us-ascii?q?OOv1BpTSj8Oq3Oyu5pHfeQtFiT6zbL9oMhm7rwrdu8gLjYB/Nqs/1xzFr2dSde?= =?us-ascii?q?9L321oP1WTnxj95se04pFu9jlbtuwi+cBdT6j0Zrw0QrNEAjsoNWA1/9DrugLY?= =?us-ascii?q?TQST/HscU34ZnQRODgPY8Rz1RJb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-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0F4BAD5ozVY/4GlL8FeHAEBBAEBCgEBF?= =?us-ascii?q?wEBBAEBCgEBgw0BAQEBAYF5pFqSZYQVhiECgm0BAQEBAQEBAQIBAl8ogjMaAYI?= =?us-ascii?q?bAgQnUhAYCDFXBxKIcbEvPYtoAQEBBwIllUMFjm2LYpECkC+RdlWBFINPHIFfP?= =?us-ascii?q?DSIRQEBAQ?= X-IPAS-Result: =?us-ascii?q?A0F4BAD5ozVY/4GlL8FeHAEBBAEBCgEBFwEBBAEBCgEBgw0?= =?us-ascii?q?BAQEBAYF5pFqSZYQVhiECgm0BAQEBAQEBAQIBAl8ogjMaAYIbAgQnUhAYCDFXB?= =?us-ascii?q?xKIcbEvPYtoAQEBBwIllUMFjm2LYpECkC+RdlWBFINPHIFfPDSIRQEBAQ?= X-IronPort-AV: E=Sophos;i="5.31,538,1473120000"; d="scan'208";a="1249428" Received: from mail-il-dmz.mellanox.com (HELO mellanox.co.il) ([193.47.165.129]) by emsm-gh1-uea10.nsa.gov with ESMTP; 23 Nov 2016 14:18:43 +0000 Received: from Internal Mail-Server by MTLPINE1 (envelope-from danielj@mellanox.com) with ESMTPS (AES256-SHA encrypted); 23 Nov 2016 16:18:41 +0200 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 uANEHdrS021742; Wed, 23 Nov 2016 16:18:35 +0200 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 v6 8/9] selinux: Add IB Port SMP access vector Date: Wed, 23 Nov 2016 16:17:30 +0200 Message-Id: <1479910651-43246-9-git-send-email-danielj@mellanox.com> X-Mailer: git-send-email 1.7.1 In-Reply-To: <1479910651-43246-1-git-send-email-danielj@mellanox.com> References: <1479910651-43246-1-git-send-email-danielj@mellanox.com> X-Mailman-Approved-At: Wed, 23 Nov 2016 09:19:03 -0500 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 MIME-Version: 1.0 Errors-To: selinux-bounces@tycho.nsa.gov Sender: "Selinux" X-Virus-Scanned: ClamAV using ClamSMTP From: Daniel Jurgens Add a type for Infiniband ports and an access vector for subnet management packets. Implement the ib_port_smp hook to check that the caller has permission to send and receive SMPs on the end port specified by the device name and port. Add interface to query the SID for a IB port, which walks the IB_PORT ocontexts to find an entry for the given name and port. Signed-off-by: Daniel Jurgens --- v2: - Shorted ib_end_port. Paul Moore - Pass void blobs to security hooks. Paul Moore - Log specific IB port info in audit log. Paul Moore - Don't create a new intial sid, use unlabeled. Stephen Smalley - Changed "smp" to "manage_subnet". Paul Moore v3: - ib_port -> ib_endport. Paul Moore - Don't log device name as untrusted string. Paul Moore - Reorder parameters of LSM hook. Paul Moore v6: - Remove brakets around single statement else. James Morris --- include/linux/lsm_audit.h | 8 ++++++++ security/lsm_audit.c | 5 +++++ security/selinux/hooks.c | 25 ++++++++++++++++++++++ security/selinux/include/classmap.h | 2 ++ security/selinux/include/security.h | 2 ++ security/selinux/ss/services.c | 41 +++++++++++++++++++++++++++++++++++++ 6 files changed, 83 insertions(+) diff --git a/include/linux/lsm_audit.h b/include/linux/lsm_audit.h index 402b770..7047b4c 100644 --- a/include/linux/lsm_audit.h +++ b/include/linux/lsm_audit.h @@ -21,6 +21,7 @@ #include #include #include +#include struct lsm_network_audit { int netif; @@ -50,6 +51,11 @@ struct lsm_pkey_audit { u16 pkey; }; +struct lsm_ib_endport_audit { + char dev_name[IB_DEVICE_NAME_MAX]; + u8 port_num; +}; + /* Auxiliary data to use in generating the audit record. */ struct common_audit_data { char type; @@ -66,6 +72,7 @@ struct common_audit_data { #define LSM_AUDIT_DATA_IOCTL_OP 11 #define LSM_AUDIT_DATA_FILE 12 #define LSM_AUDIT_DATA_PKEY 13 +#define LSM_AUDIT_DATA_IB_ENDPORT 14 union { struct path path; struct dentry *dentry; @@ -84,6 +91,7 @@ struct common_audit_data { struct lsm_ioctlop_audit *op; struct file *file; struct lsm_pkey_audit *pkey; + struct lsm_ib_endport_audit *ib_endport; } u; /* this union contains LSM specific data */ union { diff --git a/security/lsm_audit.c b/security/lsm_audit.c index 8911360..d8d58ec 100644 --- a/security/lsm_audit.c +++ b/security/lsm_audit.c @@ -421,6 +421,11 @@ static void dump_common_audit_data(struct audit_buffer *ab, a->u.pkey->pkey, &sbn_pfx); break; } + case LSM_AUDIT_DATA_IB_ENDPORT: + audit_log_format(ab, " device=%s port_num=%u", + a->u.ib_endport->dev_name, + a->u.ib_endport->port_num); + break; } /* switch (a->type) */ } diff --git a/security/selinux/hooks.c b/security/selinux/hooks.c index 94eef1b..55b18b3 100644 --- a/security/selinux/hooks.c +++ b/security/selinux/hooks.c @@ -6107,6 +6107,29 @@ static int selinux_ib_pkey_access(void *ib_sec, u64 subnet_prefix, u16 pkey_val) INFINIBAND_PKEY__ACCESS, &ad); } +static int selinux_ib_endport_manage_subnet(void *ib_sec, const char *dev_name, + u8 port_num) +{ + struct common_audit_data ad; + int err; + u32 sid = 0; + struct ib_security_struct *sec = ib_sec; + struct lsm_ib_endport_audit ib_endport; + + err = security_ib_endport_sid(dev_name, port_num, &sid); + + if (err) + return err; + + ad.type = LSM_AUDIT_DATA_IB_ENDPORT; + strncpy(ib_endport.dev_name, dev_name, sizeof(ib_endport.dev_name)); + ib_endport.port_num = port_num; + ad.u.ib_endport = &ib_endport; + return avc_has_perm(sec->sid, sid, + SECCLASS_INFINIBAND_ENDPORT, + INFINIBAND_ENDPORT__MANAGE_SUBNET, &ad); +} + static int selinux_ib_alloc_security(void **ib_sec) { struct ib_security_struct *sec; @@ -6312,6 +6335,8 @@ static struct security_hook_list selinux_hooks[] = { 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_endport_manage_subnet, + selinux_ib_endport_manage_subnet), 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 d42dd4d..f93b64b 100644 --- a/security/selinux/include/classmap.h +++ b/security/selinux/include/classmap.h @@ -167,5 +167,7 @@ struct security_class_mapping secclass_map[] = { { COMMON_CAP2_PERMS, NULL } }, { "infiniband_pkey", { "access", NULL } }, + { "infiniband_endport", + { "manage_subnet", NULL } }, { NULL } }; diff --git a/security/selinux/include/security.h b/security/selinux/include/security.h index 17afb7c..8a6e5e7 100644 --- a/security/selinux/include/security.h +++ b/security/selinux/include/security.h @@ -178,6 +178,8 @@ int security_port_sid(u8 protocol, u16 port, u32 *out_sid); int security_pkey_sid(u64 subnet_prefix, u16 pkey_num, u32 *out_sid); +int security_ib_endport_sid(const char *dev_name, u8 port_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 9215cf6..2e54285 100644 --- a/security/selinux/ss/services.c +++ b/security/selinux/ss/services.c @@ -2243,6 +2243,47 @@ int security_pkey_sid(u64 subnet_prefix, u16 pkey_num, u32 *out_sid) } /** + * security_ib_endport_sid - Obtain the SID for a subnet management interface. + * @dev_name: device name + * @port: port number + * @out_sid: security identifier + */ +int security_ib_endport_sid(const char *dev_name, u8 port_num, u32 *out_sid) +{ + struct ocontext *c; + int rc = 0; + + read_lock(&policy_rwlock); + + c = policydb.ocontexts[OCON_IB_ENDPORT]; + while (c) { + if (c->u.ib_endport.port_num == port_num && + !strncmp(c->u.ib_endport.dev_name, + dev_name, + IB_DEVICE_NAME_MAX)) + 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