From patchwork Wed Nov 23 14:17:28 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Jurgens X-Patchwork-Id: 9443487 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 8CDE9600BA for ; Wed, 23 Nov 2016 14:30:15 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7DF3526C9B for ; Wed, 23 Nov 2016 14:30:15 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 70C8126D05; Wed, 23 Nov 2016 14:30:15 +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=-1.9 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 Received: from emsm-gh1-uea10.nsa.gov (smtp.nsa.gov [8.44.101.8]) (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 86EE826C9B for ; Wed, 23 Nov 2016 14:30:14 +0000 (UTC) X-IronPort-AV: E=Sophos;i="5.31,538,1473120000"; d="scan'208";a="1250087" IronPort-PHdr: =?us-ascii?q?9a23=3Afg07GxFOiq/loDyo82Gbr51GYnF86YWxBRYc798d?= =?us-ascii?q?s5kLTJ79o8S5bnLW6fgltlLVR4KTs6sC0LuN9fq/EjJZqb+681k6OKRWUBEEjc?= =?us-ascii?q?hE1ycBO+WiTXPBEfjxciYhF95DXlI2t1uyMExSBdqsLwaK+i764jEdAAjwOhRo?= =?us-ascii?q?LerpBIHSk9631+ev8JHPfglEnjSwbLd8IRmsswnctMYajIp/Jq0s1hbHv3xEdv?= =?us-ascii?q?hMy2h1P1yThRH85smx/J5n7Stdvu8q+tBDX6vnYak2VKRUAzs6PW874s3rrgTD?= =?us-ascii?q?QhCU5nQASGUWkwFHDBbD4RrnQ5r+qCr6tu562CmHIc37SK0/VDq+46t3ThLjlS?= =?us-ascii?q?kINyQ98GrKlMJ+iqxVqw+lqxBm3oLYfISZOfxjda3fYNwaX3JMUMZPWSJcDI2y?= =?us-ascii?q?bIwBAOgPPeZArYTxulUDohSiCgejGuzv0SRFhmP00KAgz+gsCx3K0BImEtkTsH?= =?us-ascii?q?rUttL1NKIKXO671qbIyyjIYfdL2Tfn54jHbBYhoeqRVr93bMXe008vFwLbgVWU?= =?us-ascii?q?q4zoJDaV2foJs2if9eVgU+WvimE9pw5tpTivw94hh4/UjYwW0lDJ7Th1zYk6KN?= =?us-ascii?q?GiSEN3fMSoHIVfui2ELYd6X9suT3xstSs00LELtpy2cDIXxJkmxxPTceGLf5aM?= =?us-ascii?q?7x/lSe2fOy13hGh/d7K6nxuy9E+gxfDiWcSsy1ZKqzZFksHLtnAQyxzf8siHRe?= =?us-ascii?q?V5/kemwTuPyxrc6vtFIUApjqrXMYIhw74smZoTtkTPBCn2l1ntjKCKbEkk/+mo?= =?us-ascii?q?6+D/brXnoJ+TKZN0hxnjPqkhlcGzG+Q1PhUUU2SF9umwyqfv8VDhTLVPlPI2k6?= =?us-ascii?q?3ZsJ7AJcQco660GxRV3Zgn6xa+CTemzdsZkWAcI1JCZRKHiZTmNE/VIP3jEfe+?= =?us-ascii?q?g0ijkDdsx/zcOL3hGY/CImLMkLfmY7Zx81RcxxYrzdBD+5JUDakMIfLyW0/2st?= =?us-ascii?q?zVFRo5Mwitz+bmDtVxzIUeVniVAq+aMaPSr0GH6vgpI+aSeI8foCz9JOQ95/7y?= =?us-ascii?q?kX85nkcQcrKy0pcQbHC4H+9mI1mCYXb2mdcOD3sFshAlTOP0jF2CUDhTZ2u9Xq?= =?us-ascii?q?8n+j46CJimD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sgeXEipdAgpiAKp5V3kyKhf?= =?us-ascii?q?paR/KXTTQEhTcijtN2FiU62wtruebM5U8p8otztYUPika1CAVrH9uwca0z/kH2?= =?us-ascii?q?ZG3jA7cDWqupHnkBxglG2dK3hyoWHCecFt2Rjf/8bQRflL3joJXCN4kyXYBkCg?= =?us-ascii?q?P9m1+tWZj4/DvfqjV2KlTJFcazPnwpiHtCu/+W1qBhu/kuu2mtH7Fwg61jP028?= =?us-ascii?q?NsVSrWsBb2epPr2LiiMeJ7YkloA0fx689+Go1njIQwgood2WYEiZWR+XoIj33z?= =?us-ascii?q?Pc9d2a3gcHoHXSQLzMLN4Aj5xE1jKWqEx4HnWXWb2ctsfNq6bX0Q2iIm6cBFFr?= =?us-ascii?q?uU4KZDnStvrVqytRjRbuRlnjcB1fsu72YXg/kTtwowyiWSHKgSElNePSzwiRuI?= =?us-ascii?q?9cuzrLhMZGmxa7iwz1ByncumDLGfuAFTRGj2epklHS9q4cVwLkjA0Hvt5YH4YN?= =?us-ascii?q?PQd84ctgWIkxfciOhYMIwxlvwXiid8J2L9u2Aqy+4hgRxow566oJCNK39x86Kh?= =?us-ascii?q?Hh5YKjr1atsL+j73kKZemt2b0JyuHpV9GjQHRZXoQuiuED4IsvTnLQmOGiUmqn?= =?us-ascii?q?iHAbrfAROf6EB+onLME5GrM2+YKWIczdVlShmdKlJQgBwIXDU6mZ45Ex6lyNbn?= =?us-ascii?q?cEhn+jAb/kT4pQdUyuJ0Kxn/VX/SpAmyZTcyVJifKx9W4xpM50jLLMOe6fhzED?= =?us-ascii?q?tA/p27qwyNKHKUaBhUDW0TXUyEHV/jNKG05dbc6+iYGva+L/zWbLWBqexRS+2I?= =?us-ascii?q?xJK30ot6+DaBLcOPMWd+D/0gxkVMR2h5FNrDlzUJVSMXizrHb9SHqxek5i13ss?= =?us-ascii?q?e//ez2VwLp/4SCEKZdMdN19ByshqeDLeGQjj5jKTlEzpMM2WPIyL8H0V4IkS1v?= =?us-ascii?q?eSOhEbEa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4Z88xnFGKRZPpVmNhX1jdGrSVJgBiTj?= =?us-ascii?q?eMHVeB0uuPCVxusW4OVxKVH+ZYkFLRIA0b767mBVTgR2Qr7solmZRf4RZMdhSP?= =?us-ascii?q?7csnBV85xvK6sVM1ibupPntSpHqFE5AA8odL8/tCdaeVPUnA1IQar0vqAPihcE?= =?us-ascii?q?W95jpUBMAX6wOH455zffWqRalrORB+IJ8jWTVaEOV0RoMj9gTBO1wppuZqCpke?= =?us-ascii?q?pBsmxYgiN3uOIq3CB+RBugpS3soLoA2T0+97G+qDUBvntFQuKFkyjWDVVDzfIK?= =?us-ascii?q?jboTCnv57VyzfmMDbYvo77V9I8Tv65Uh6WwlYRo/Zy0GQfigCybogqOOA4yArN?= =?us-ascii?q?VchBqXt8XVd7OzLC8SNrMmyRL4XHV91wfTnRly/GsMWDWg48cuJJ+hNsY92iqo?= =?us-ascii?q?BW/beU4D4qxVq8vxrkcHQvY5Z11nwWVj1NWHRyIWSczAHmY6lA4kZntefJJE8x?= =?us-ascii?q?8aGLEigiyUsale4gEUfDDUH5yn+onXncfI32MxQstqxmLSu62Km5Ir0Hxjm9Nv?= =?us-ascii?q?7S6OuW8fd/LZU89yGHfz0ppQye3ka/WrrO8HVJNsyK69X/8aLsmj5Wy21Y1rWk?= =?us-ascii?q?+73LseGUG0MOsexrjGUielTnaYVf6Mc2iWkDYzKlTy6gWwLl0rdMdKqFcwMunc?= =?us-ascii?q?iZ5SmQ3hVah5RyuKql/d0mMjLfkWdwQot4e7YwYKVvIeZ/CAJegyx/0zEFQMb3?= =?us-ascii?q?vOHSp4FeC2tVqtkZNgO3Vn50X6YPji/hrgMNSMBhkOCZTaoYJp+fymWmKBPmdt?= =?us-ascii?q?zB9yPEh07+ffEFAxtu5Ac5mPhtXQgtV70fIfd/hzKyE9vcQTmo1744mOzMiKaQ?= =?us-ascii?q?3Rzor1JdzNvviYAvjfwl82emFbTrUZYh3654EgMt4/RbLTAaNTvQ4ACqgiXJwh?= =?us-ascii?q?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4UimOuW/oGbFZsATM/50+K/xPybsIauczJQW9R6KcMQ5IHLPY08InXJL?= =?us-ascii?q?cQwPEx0TJ9riw6tjmSAlJegw+e7arfArh8xrxD5Gk/+fF6REePTC3DcmLf0Iqp?= =?us-ascii?q?F9pPxTtyoXDjz8fUvOdtNL1ep4xiBVcFHz95Jt7a/TBbTW77xhG+vxClEzSCc3?= =?us-ascii?q?ol52MAJTYEbfld1Ohmq1PTcdKH7lmf8+o5oVavIR6CF77x3ZtMEMyv3gK9LWFQ?= =?us-ascii?q?fS6DC4F9qvELks0bJ6wge8z2DkjINAnlJhqRoSEX7BzjqbntCtBFhi0SlqggJt?= =?us-ascii?q?bzU6EQANXZ1S0+yHFNgNIUwGSXRNPSaIHow81+GXwKcJK6TD2jYJvNeS/1r/0F?= =?us-ascii?q?yYspHEW6Z+ATPWYduJkzxUnwaFb91Y72tg2QNK61cyfxbM0HNpWlj2tmh6vFMo?= =?us-ascii?q?ro4OwEAn0Cq/tvwfjcvGzT/2zPKe28eWXzl1BwbhA=3D?= X-IPAS-Result: =?us-ascii?q?A2EWBQCYpzVY/wHyM5BeHgYMGQYMgw0BAQEBAR+BWqRalnM?= =?us-ascii?q?kgk6FUlMBAQEBAQEBAQIBAl8ogjMaghwCBAECJBMUIAsDAwkBARcIIQgIAwEtF?= =?us-ascii?q?REHBwsFGASITASxHj0qAos8AQEIAQEBASOPMgIRAYV9AQSaT5ECihyGE41qhAx?= =?us-ascii?q?VXjYegzEcgV9whggPF4IXAQEB?= Received: from unknown (HELO tarius.tycho.ncsc.mil) ([144.51.242.1]) by emsm-gh1-uea10.nsa.gov with ESMTP; 23 Nov 2016 14:30:03 +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 uANETsjQ024537; Wed, 23 Nov 2016 09:29:55 -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 uANEPKhf047383 for ; Wed, 23 Nov 2016 09:25:20 -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 uANEPCo1023074 for ; Wed, 23 Nov 2016 09:25:20 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A1CxBAB7pjVY/4GlL8FeHgYMgzgBAQEBAYF5pFqSZYQVgmuDNgKCbQECAQEBAQECYiiEaQIEJ1IQGAgxVwcSiHGxJD2LaAEBAQcCJY8yhhEFmk+RApAvjWqEDFWBFINPHIFfPDSGCII9AQEB X-IPAS-Result: A1CxBAB7pjVY/4GlL8FeHgYMgzgBAQEBAYF5pFqSZYQVgmuDNgKCbQECAQEBAQECYiiEaQIEJ1IQGAgxVwcSiHGxJD2LaAEBAQcCJY8yhhEFmk+RApAvjWqEDFWBFINPHIFfPDSGCII9AQEB X-IronPort-AV: E=Sophos;i="5.31,538,1473134400"; d="scan'208";a="5840661" 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:25:19 -0500 IronPort-PHdr: =?us-ascii?q?9a23=3AePnVLBXbXQDPmjYNR7Mt05RQRaHV8LGtZVwlr6E/?= =?us-ascii?q?grcLSJyIuqrYbBGDt8tkgFKBZ4jH8fUM07OQ6PG7HzZfqsjY+Fk5M7V0Hycfjs?= =?us-ascii?q?sXmwFySOWkMmbcaMDQUiohAc5ZX0Vk9XzoeWJcGcL5ekGA6ibqtW1aFRrwLxd6?= =?us-ascii?q?KfroEYDOkcu3y/qy+5rOaAlUmTaxe71/IRG4oAnLqMUbg4RuJ6csxhDUvnZGZu?= =?us-ascii?q?NayH9yK1mOhRj8/MCw/JBi8yRUpf0s8tNLXLv5caolU7FWFSwqPG8p6sLlsxnD?= =?us-ascii?q?VhaP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0wvrWLmA=3D=3D?= X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0GyBABapjVY/4GlL8FeHgYMGQYMgw0BA?= =?us-ascii?q?QEBAYF5pFqSZYQVgmuDNgKCbQEBAQEBAQEBAgECXyiCMxoBghsCBCdSEBgIMVc?= =?us-ascii?q?HEohxsSQ9i2gBAQEHAiWPMoYRBZpPkQKQL41qhAxVgRSDTxyBXzw0hgiCPQEBA?= =?us-ascii?q?Q?= X-IPAS-Result: =?us-ascii?q?A0GyBABapjVY/4GlL8FeHgYMGQYMgw0BAQEBAYF5pFqSZYQ?= =?us-ascii?q?VgmuDNgKCbQEBAQEBAQEBAgECXyiCMxoBghsCBCdSEBgIMVcHEohxsSQ9i2gBA?= =?us-ascii?q?QEHAiWPMoYRBZpPkQKQL41qhAxVgRSDTxyBXzw0hgiCPQEBAQ?= X-IronPort-AV: E=Sophos;i="5.31,538,1473120000"; d="scan'208";a="1249741" 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:25:17 +0000 Received: from Internal Mail-Server by MTLPINE1 (envelope-from danielj@mellanox.com) with ESMTPS (AES256-SHA encrypted); 23 Nov 2016 16:18:32 +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 uANEHdrQ021742; Wed, 23 Nov 2016 16:18:29 +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 6/9] selinux: Allocate and free infiniband security hooks Date: Wed, 23 Nov 2016 16:17:28 +0200 Message-Id: <1479910651-43246-7-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:27: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 Implement and attach hooks to allocate and free Infiniband object security structures. Signed-off-by: Daniel Jurgens --- v2: - Use void * blobs for security structs. Paul Moore - Shorten ib_end_port to ib_port. Paul Moore - Allocate memory for security struct with GFP_KERNEL. Yuval Shaia --- security/selinux/hooks.c | 25 ++++++++++++++++++++++++- security/selinux/include/objsec.h | 5 +++++ 2 files changed, 29 insertions(+), 1 deletion(-) diff --git a/security/selinux/hooks.c b/security/selinux/hooks.c index 2d7a7c1..d87e29d 100644 --- a/security/selinux/hooks.c +++ b/security/selinux/hooks.c @@ -17,6 +17,7 @@ * Paul Moore * Copyright (C) 2007 Hitachi Software Engineering Co., Ltd. * Yuichi Nakamura + * Copyright (C) 2016 Mellanox Technologies * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2, @@ -6082,7 +6083,26 @@ static int selinux_key_getsecurity(struct key *key, char **_buffer) *_buffer = context; return rc; } +#endif + +#ifdef CONFIG_SECURITY_INFINIBAND +static int selinux_ib_alloc_security(void **ib_sec) +{ + struct ib_security_struct *sec; + + sec = kzalloc(sizeof(*sec), GFP_KERNEL); + if (!sec) + return -ENOMEM; + sec->sid = current_sid(); + + *ib_sec = sec; + return 0; +} +static void selinux_ib_free_security(void *ib_sec) +{ + kfree(ib_sec); +} #endif static struct security_hook_list selinux_hooks[] = { @@ -6269,7 +6289,10 @@ static struct security_hook_list selinux_hooks[] = { LSM_HOOK_INIT(tun_dev_attach_queue, selinux_tun_dev_attach_queue), 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_alloc_security, selinux_ib_alloc_security), + LSM_HOOK_INIT(ib_free_security, selinux_ib_free_security), +#endif #ifdef CONFIG_SECURITY_NETWORK_XFRM LSM_HOOK_INIT(xfrm_policy_alloc_security, selinux_xfrm_policy_alloc), LSM_HOOK_INIT(xfrm_policy_clone_security, selinux_xfrm_policy_clone), diff --git a/security/selinux/include/objsec.h b/security/selinux/include/objsec.h index c21e135..8e7db43 100644 --- a/security/selinux/include/objsec.h +++ b/security/selinux/include/objsec.h @@ -10,6 +10,7 @@ * * Copyright (C) 2001,2002 Networks Associates Technology, Inc. * Copyright (C) 2003 Red Hat, Inc., James Morris + * Copyright (C) 2016 Mellanox Technologies * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2, @@ -128,6 +129,10 @@ struct key_security_struct { u32 sid; /* SID of key */ }; +struct ib_security_struct { + u32 sid; /* SID of the queue pair or MAD agent */ +}; + extern unsigned int selinux_checkreqprot; #endif /* _SELINUX_OBJSEC_H_ */