From patchwork Thu Mar 8 01:52:27 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Casey Schaufler X-Patchwork-Id: 10268007 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 8DD12602C8 for ; Thu, 8 Mar 2018 13:01:49 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7A982298E8 for ; Thu, 8 Mar 2018 13:01:49 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6EA1429909; Thu, 8 Mar 2018 13:01:49 +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=-3.3 required=2.0 tests=BAYES_00,DKIM_SIGNED, NO_RDNS_DOTCOM_HELO,RCVD_IN_DNSWL_MED,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from UCOL19PA10.eemsg.mail.mil (ucol19pa10.eemsg.mail.mil [214.24.24.83]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5FAFD298E8 for ; Thu, 8 Mar 2018 13:01:47 +0000 (UTC) X-IronPort-AV: E=Sophos;i="5.47,441,1515456000"; d="scan'208";a="462374223" Received: from emsm-gh1-uea11.ncsc.mil ([214.29.60.3]) by UCOL19PA10.eemsg.mail.mil with ESMTP; 08 Mar 2018 13:01:46 +0000 X-IronPort-AV: E=Sophos;i="5.47,441,1515456000"; d="scan'208";a="10307227" IronPort-PHdr: =?us-ascii?q?9a23=3A3IZNXhHfq649Y9NGKZuDD51GYnF86YWxBRYc798d?= =?us-ascii?q?s5kLTJ7+oMi6bnLW6fgltlLVR4KTs6sC17KN9fi4EUU7or+5+EgYd5JNUxJXwe?= =?us-ascii?q?43pCcHR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I5bfrdy?= =?us-ascii?q?cpoTCWeyP823wc1zh4XjW35C816jHE8G1dSyeRqUaFz80whQ2l4RoXC9nyu30S?= =?us-ascii?q?B0mSkzrqWDxCzO3/jidB0fN29FXmZiiUvsLpauj9ABR0WocRYmlAG+6kbnwqhX?= =?us-ascii?q?vqN/L3PcQU1QZSj5M3liUrestrqFe8NP7pIosSFTUOuielCXUaTyrAUA0yPkBW?= =?us-ascii?q?dewyo7dz6ysJXjgxN6kH6dLGp0rHfBZ8FwxAvQ5MDbRf5LxDYJWCl4iT7RBliz?= =?us-ascii?q?JNSp+dSUl5HZveCkUGKtTJpTcTPkzYmYriu0+XVqAQGjn/C0gtDnFQk60TTn19?= =?us-ascii?q?VzTiXHshL8Yojt16SnPuNqZVJoBEf968p8G4FxjpAwiIsW2XcEmpWf5WAHnnvr?= =?us-ascii?q?MdVHxaL+a2IARSQMw97R5AjqxldjIW6Ox4P3TXid2dZhaMWhYm8M3SI99c9KAr?= =?us-ascii?q?+O7LNYhSt1vka4rQXJbPh+gDgdz+Au5WUZg+4Xvgot1SOdDa4OHUVCOizsjRuI?= =?us-ascii?q?5cikrKpLfGavbaSw1E1mkNC5Fr6CvwVcV2jhepg4Gy9w8ttwMEjX3X3u8YHrZs?= =?us-ascii?q?PQbckJuh2PlBfAkvJVJ44vmfoEgipnI239smM/x+49kxNuwYmwvJKbJGV14KK5?= =?us-ascii?q?HhlYOyXrZ8MV5z7glrhensCL0ICvBJlhHCsEXIfwR/KyDD0SrejnNxqJEDAkpH?= =?us-ascii?q?eUA7zfHROY6EdjtH/PHY6kOGyQJHkD19piXAOdJEtdgA8KQDo6goQ1FgewxMzu?= =?us-ascii?q?aE15/Cwe5kbkqhtQzeJlLxz/XX3bpAesdDg0VISfIwBM4QxZ4UfaL9Ce7vlvEC?= =?us-ascii?q?5C5p2ushaBKmqFaARUFWsJQFCLB0j/Prmy4tnN6+aYBvCgIPTTerWBs+peV+uP?= =?us-ascii?q?xZK0yYZp5SqDNsCVMnll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l09uHfF0k+t+NFd5aRnMPQh8hg0eMedvdiKys9utkJloJk84mU39+AcQ?= =?us-ascii?q?vNwZbqOdHVvv+YDuXaz0swZm5aUrsZYQXy54ghIN45WrvTEqVdvRQdA6g6XZMg?= =?us-ascii?q?O3329KFuIwN5ahTRa6isgsn2uuKLYYNZp33M4VIzKyfToAYOyuGyTQxnb5CqgG?= =?us-ascii?q?jyIJ8wRjJdtdFtDAVpHJdXEcMaswWnG4KUmL28i9Kp4EN6teoKvrbxB/3Jz9m5?= =?us-ascii?q?wZt+X4Jb5U2KOzbRArNngkJ7geSu0b/81czVMuaqLdcFUvVrB3XIYaLcH5mubz?= =?us-ascii?q?eJNt/4dmZY/LOGlrF0SBOcYGb+RaXQ8GWGPfBp+g0ezZZiffGbmD4o6KvB2cDa?= =?us-ascii?q?YWheqyblqmSGYshx9lvPUMfXRB9FAcGO8G94E6kad8Og/+4VPM0K29Oc6hR96D?= =?us-ascii?q?lYlcCMZaOmqxmfiQpAaZvHIR6xiG4CUo4QLUH6YBMh?= X-IPAS-Result: =?us-ascii?q?A2DlAABVM6Fa/wHyM5BeGQEBAQEBAQEBAQEBAQcBAQEBAYM?= =?us-ascii?q?jKgOBVSiDUIoec40EgVsngRaBUJJZghEmhVSCRSE0GAECAQEBAQEBAgFqJ4I4J?= =?us-ascii?q?IJIAwMBAiAEGQEBNwECAwkBASEDAiIEAgIDAUEKCAYBDAYCAQEBhHwDFQOfDIs?= =?us-ascii?q?mbYFsOoMBAQEFgWmCPQOBOoIVCBd3hCeBNXmDPCkMiyKCYog4hTt1i2sJiViHC?= =?us-ascii?q?XV1h0QFhTWLRYcuHjiBUk0jFTqCQ4IiDxyBBAEOgQlWi2YBAQE?= Received: from tarius.tycho.ncsc.mil ([144.51.242.1]) by emsm-gh1-uea11.NCSC.MIL with ESMTP; 08 Mar 2018 13:01:44 +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 w28D1gc7014682; Thu, 8 Mar 2018 08:01:42 -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 w281qXJI106840 for ; Wed, 7 Mar 2018 20:52:33 -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 w281qaP8030158 for ; Wed, 7 Mar 2018 20:52:36 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A1DAAACHlqBaly0YGNZeGwEBAQEDAQEBC?= =?us-ascii?q?QEBAYMjKoFZKINUixiNCIFQCyeBFoFQkmSCFYU6AkWCRSE1FwECAQEBAQEBAhM?= =?us-ascii?q?BAQEBAQYYBoV6AwMjBBkBATcBDyIDAiYCAkUKCAYBDAYCAQGEfwMVA55wiyZug?= =?us-ascii?q?W06gwEBAQWBaoI7A4E6ghUIF3iEI4E1eYM9KQyLJIJiiECFQHWLdgmJZocSd3e?= =?us-ascii?q?HUAWFPotKhzsgA4IFTSMVOoJDgiIPEAyBBAEOgQlWjAUBAQE?= X-IPAS-Result: =?us-ascii?q?A1DAAACHlqBaly0YGNZeGwEBAQEDAQEBCQEBAYMjKoFZKIN?= =?us-ascii?q?UixiNCIFQCyeBFoFQkmSCFYU6AkWCRSE1FwECAQEBAQEBAhMBAQEBAQYYBoV6A?= =?us-ascii?q?wMjBBkBATcBDyIDAiYCAkUKCAYBDAYCAQGEfwMVA55wiyZugW06gwEBAQWBaoI?= =?us-ascii?q?7A4E6ghUIF3iEI4E1eYM9KQyLJIJiiECFQHWLdgmJZocSd3eHUAWFPotKhzsgA?= =?us-ascii?q?4IFTSMVOoJDgiIPEAyBBAEOgQlWjAUBAQE?= X-IronPort-AV: E=Sophos;i="5.47,438,1515474000"; d="scan'208";a="219217" Received: from emsm-gh1-uea10.ncsc.mil ([214.29.60.34]) by goalie.tycho.ncsc.mil with ESMTP; 07 Mar 2018 20:52:34 -0500 IronPort-PHdr: =?us-ascii?q?9a23=3AGOGkixxtKqsP3Y7XCy+O+j09IxM/srCxBDY+r6Qd?= =?us-ascii?q?2ukVIJqq85mqBkHD//Il1AaPAd2AraIfwLGJ+4nbGkU4qa6bt34DdJEeHzQksu?= =?us-ascii?q?4x2zIaPcieFEfgJ+TrZSFpVO5LVVti4m3peRMNQJW2aFLduGC94iAPERvjKwV1?= =?us-ascii?q?Ov71GonPhMiryuy+4ZLebxlGiTanYr5/Ihq6oAvTu8ILnYZsN6E9xwfTrHBVYe?= =?us-ascii?q?pW32RoJVySnxb4+Mi9+YNo/jpTtfw86cNOSL32cKskQ7NWCjQmKH0169bwtRbf?= =?us-ascii?q?VwuP52ATXXsQnxFVHgXK9hD6XpP2sivnqupw3TSRMMPqQbwoXzmp8rxmQwH0hi?= =?us-ascii?q?gZKzE58XnXis1ug6JdvBKhvAF0z4rNbI2IKPZyYqbRcNUdSmVDRMlRVytBAoSl?= =?us-ascii?q?Y4cWE+cMM+dVo5Tkq1cSsBe1GA2gCP3zxjNNgHL9wK803Pk7EQzewQIuAdwOvn?= =?us-ascii?q?TXotv7OqgdXuK6w7XHwzjYc/Nb2y3w5JTUfh0vo/yBW697f8rLyUkoEgPIlkud?= =?us-ascii?q?ppb+PzyL1uUGrnWV4PZgVe21lm4npQVxrSa1xswxjYTGmpgaykva+iR524s1Ps?= =?us-ascii?q?G3SE5hbt65HptQsz+VN5FvTsw+WW5kojo1yroDuZOieiUB1Zopxxnaa/OdcoiI?= =?us-ascii?q?5AruVOKQITd7mn1kdrO/hw2s/kS6zO38Uce13VBXpSRGitnBrm4B2wHc58SdVP?= =?us-ascii?q?dw8V2t1SiA2gzJ5exJIVg4mKvaJpI737I9l5QevV7eEiL1l0j6lq+belsi9+O1?= =?us-ascii?q?8eroeK/mqYWZN4JsigHxLKAumsunDOs2LAUARm6V9Oqi2bP54UD1XLdHgucona?= =?us-ascii?q?bHtZDaPssbqrS8AwBP04Yj7wyzDzKn0NQchXUHLVRFdwybj4XxJV3CPf/1Ae2h?= =?us-ascii?q?j1mjijtn2f/LMqfuD5jNNnTDla3ufbd5605S0gozytVf6opIBb4bO/L8RE/wuc?= =?us-ascii?q?fDDhAlMwy72fvnCNt51owAQ2KDG7OWP7nIvVCU4eIvJvGAZJUJtzblN/gl+/nu?= =?us-ascii?q?gGcimVADeamp3J0XaG23H/l9P0WYYWbjgtcGEWsQuAo+V/blhEeNUT5UeXbhF5?= =?us-ascii?q?47sxUALcryCYbFW5Dom7GKwT26AowTY2dKF1SBOWnnep/CWPoWbi+WZMh7nWpA?= =?us-ascii?q?HZqoToI6nTSprhX70PIzLO/T4DcZrrrl3d145qvUjx5kphJuCMHI+GiWQnA8pW?= =?us-ascii?q?gITiI42K1l6Rh2w0yOwIBjiPxRCNJX6ukMWQ58PpnZmb8pQ+vuUx7MK4/aAG2t?= =?us-ascii?q?Rc+rVHRhFt8=3D?= X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0CxAAA8l6Baly0YGNZeGwEBAQEDAQEBC?= =?us-ascii?q?QEBAYMjKoFZKINUixiNCIFQCyeBFoFQkmSCFYU6AkWCRSE1FwECAQEBAQEBAgE?= =?us-ascii?q?SAQEBAQEGGAZWgjgkgkgDAyMEGQEBNwEPIgMCJgICRQoIBgEMBgIBAYR/AxUDn?= =?us-ascii?q?nCLJm6BbTqDAQEBBYFqgjsDgTqCFQgXeIQjgTV5gz0pDIskgmKIQIVAdYt2CYl?= =?us-ascii?q?mhxJ3d4dQBYU+i0qHOyADggVNIxU6gkOCIg8QDIEEAQ6BCVaMBQEBAQ?= X-IPAS-Result: =?us-ascii?q?A0CxAAA8l6Baly0YGNZeGwEBAQEDAQEBCQEBAYMjKoFZKIN?= =?us-ascii?q?UixiNCIFQCyeBFoFQkmSCFYU6AkWCRSE1FwECAQEBAQEBAgESAQEBAQEGGAZWg?= =?us-ascii?q?jgkgkgDAyMEGQEBNwEPIgMCJgICRQoIBgEMBgIBAYR/AxUDnnCLJm6BbTqDAQE?= =?us-ascii?q?BBYFqgjsDgTqCFQgXeIQjgTV5gz0pDIskgmKIQIVAdYt2CYlmhxJ3d4dQBYU+i?= =?us-ascii?q?0qHOyADggVNIxU6gkOCIg8QDIEEAQ6BCVaMBQEBAQ?= X-IronPort-AV: E=Sophos;i="5.47,438,1515456000"; d="scan'208";a="9474816" X-IronPort-Outbreak-Status: No, level 0, Unknown - Unknown Received: from ucol3cpa07.eemsg.mail.mil ([214.24.24.45]) by EMSM-GH1-UEA10.NCSC.MIL with ESMTP; 08 Mar 2018 01:52:31 +0000 X-EEMSG-check-005: 0 X-EEMSG-check-006: 000-001;d45103e1-5e14-457a-8b3a-fe063cdb5292 Authentication-Results: ucol19pa05.eemsg.mail.mil; dkim=pass (signature verified) header.i=@yahoo.com X-EEMSG-check-008: 405499593|UCOL19PA05_EEMSG_MP3.csd.disa.mil X-EEMSG-SBRS: 3.5 X-EEMSG-ORIG-IP: 66.163.184.52 X-EEMSG-check-002: true X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A0B6AADAlqBahzS4o0JeGwEBAQEDAQEBCQEBAYMjggMog1SLGI5YCyeBFoFQkmSCFYU6AkWCRSE1FwECAQEBAQEBAhMBAQEKCwkIKC6FJAMDIwQZAQE3AQ8iAwImAgJFCggGAQwGAgEBhH8DFZ5ziyZugW06gwEBAQWBaoI7A4E6ghUIF3iEI4E1hDYpDIskgmKIQIVAdYt2CYlmhxJ3d4dQBYU+i0qHOyADggVNIxU6gkOCIg8QDIEEAQ6BCR83jAUBAQE X-IPAS-Result: A0B6AADAlqBahzS4o0JeGwEBAQEDAQEBCQEBAYMjggMog1SLGI5YCyeBFoFQkmSCFYU6AkWCRSE1FwECAQEBAQEBAhMBAQEKCwkIKC6FJAMDIwQZAQE3AQ8iAwImAgJFCggGAQwGAgEBhH8DFZ5ziyZugW06gwEBAQWBaoI7A4E6ghUIF3iEI4E1hDYpDIskgmKIQIVAdYt2CYlmhxJ3d4dQBYU+i0qHOyADggVNIxU6gkOCIg8QDIEEAQ6BCR83jAUBAQE Received: from sonic317-41.consmr.mail.ne1.yahoo.com ([66.163.184.52]) by ucol19pa05.eemsg.mail.mil with ESMTP; 08 Mar 2018 01:52:30 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1520473950; bh=bhHwCImYvZXhwXIPTwLV7DHZ7c2WB6BAUYx4rz50fkc=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From:Subject; b=dbhDLMgwHbtrD1GAaL8h6FiCqrsSldWi4IG4XOBBlaN5Saa08AyvN6ETDLP+pHOoD0ky15gB5qaSKM+IRwGyNAl3VG4FjpMbsEB1hHMS1VJVk64NK0kejuIyS35O661fg1z6TgnSYz0OmuX0VHpD9CpBEnrkf2vjqmq/cJII+PU7d3oQ+Pb5dk3Oy1KzasI1lFYdLtbwLb7kr2ZRibEOo0UPsN2ibFvo2JLGX8zxtAzUk/BrmHd8k/Nf7s5C2X5Cvq0LeQRYr9D3FfYXIhS4VS2s6XhVQqROvVPovwUKnKDykbrnRzxEGxRQPw24wKp9pj4VAtAxa+T3pB1IPEJbhw== X-YMail-OSG: vzJLqP0VM1kVijyzu9NisOifEKYFoyA9rXqb_ERlVtC8D_OKawveOYBWmZanQKV IIS52dWnz_8XrmwvGmXXyLXBD__qyrTZt2plB0o1rdxFu0OFhjIGEU8Zg4yFE2uoStiKokh5ihuE He86u9RAM7rNLU0Po3p5imkGvCuk4m.chDEk5Ee6CM9qnAYcnVFrBU4_RI_oCzPwRVWM5fBpRm6e cieHlgtQPcuZ3cOHHm820gX2hsyu0eP7l5rolLWL9__zg1IW3SfxSOA07nyumvgZ3WWgX72IU4oU QeYDZE3nW.b.Of8lsd2oATfGFCVXrD5iiFDSV2cJMEEdv_EJdCiLwZl.GNjQ3stYsd6glfQznmVn h7hPPg420jxXvcUDuhJRJjo0ZIk70HBhm9cbFujfdYTqpJYLYbYbOTELHVzDQkPg1DLWKN2AUQJD igyVfqx_F7yRd82mVa_T2Yr0DoPPr_fHViktvT03PESHzUPSykt0DVlQegk0tDZzjWesLDZv8zoK Wm2y6jlqUgaGNGH.dJERYZ4grEdKbYoIudHd9H6dziqs8v3fcmg-- Received: from sonic.gate.mail.ne1.yahoo.com by sonic317.consmr.mail.ne1.yahoo.com with HTTP; Thu, 8 Mar 2018 01:52:30 +0000 Received: from smtp226.mail.ne1.yahoo.com (EHLO [192.168.0.104]) ([10.218.253.215]) by smtp412.mail.ne1.yahoo.com (JAMES SMTP Server ) with ESMTPA ID 1f0eeccf7611445fb07abe0252cb8a9a; Thu, 08 Mar 2018 01:52:29 +0000 (UTC) To: LSM , James Morris References: X-EEMSG-check-009: 444-444 From: Casey Schaufler Message-ID: <3a0a4089-f95b-bb6b-5716-92f767a66e5c@schaufler-ca.com> Date: Wed, 7 Mar 2018 17:52:27 -0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: Content-Language: en-US X-Mailman-Approved-At: Thu, 08 Mar 2018 08:00:06 -0500 Subject: [PATCH 1/8] procfs: add smack subdir to attrs X-BeenThere: selinux@tycho.nsa.gov X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Security-Enhanced Linux \(SELinux\) mailing list" List-Post: List-Help: Cc: John Johansen , Tetsuo Handa , SE Linux , Stephen Smalley , SMACK-announce@lists.01.org, Kees Cook Errors-To: selinux-bounces@tycho.nsa.gov Sender: "Selinux" X-Virus-Scanned: ClamAV using ClamSMTP Subject: [PATCH 1/8] procfs: add smack subdir to attrs Back in 2007 I made what turned out to be a rather serious mistake in the implementation of the Smack security module. The SELinux module used an interface in /proc to manipulate the security context on processes. Rather than use a similar interface, I used the same interface. The AppArmor team did likewise. Now /proc/.../attr/current will tell you the security "context" of the process, but it will be different depending on the security module you're using. This patch provides a subdirectory in /proc/.../attr for Smack. Smack user space can use the "current" file in this subdirectory and never have to worry about getting SELinux attributes by mistake. Programs that use the old interface will continue to work (or fail, as the case may be) as before. The original implementation is by Kees Cook. Signed-off-by: Casey Schaufler --- --- Documentation/admin-guide/LSM/index.rst | 13 +++++-- fs/proc/base.c | 63 ++++++++++++++++++++++++++++----- fs/proc/internal.h | 1 + include/linux/security.h | 15 +++++--- security/security.c | 24 ++++++++++--- 5 files changed, 95 insertions(+), 21 deletions(-) diff --git a/Documentation/admin-guide/LSM/index.rst b/Documentation/admin-guide/LSM/index.rst index c980dfe9abf1..9842e21afd4a 100644 --- a/Documentation/admin-guide/LSM/index.rst +++ b/Documentation/admin-guide/LSM/index.rst @@ -17,9 +17,8 @@ MAC extensions, other extensions can be built using the LSM to provide specific changes to system operation when these tweaks are not available in the core functionality of Linux itself. -Without a specific LSM built into the kernel, the default LSM will be the -Linux capabilities system. Most LSMs choose to extend the capabilities -system, building their checks on top of the defined capability hooks. +The Linux capabilities modules will always be included. This may be +followed by any number of "minor" modules and at most one "major" module. For more details on capabilities, see ``capabilities(7)`` in the Linux man-pages project. @@ -30,6 +29,14 @@ order in which checks are made. The capability module will always be first, followed by any "minor" modules (e.g. Yama) and then the one "major" module (e.g. SELinux) if there is one configured. +Process attributes associated with "major" security modules should +be accessed and maintained using the special files in ``/proc/.../attr``. +A security module may maintain a module specific subdirectory there, +named after the module. ``/proc/.../attr/smack`` is provided by the Smack +security module and contains all its special files. The files directly +in ``/proc/.../attr`` remain as legacy interfaces for modules that provide +subdirectories. + .. toctree:: :maxdepth: 1 diff --git a/fs/proc/base.c b/fs/proc/base.c index 9298324325ed..3c89d3442cd2 100644 --- a/fs/proc/base.c +++ b/fs/proc/base.c @@ -143,9 +143,13 @@ struct pid_entry { #define REG(NAME, MODE, fops) \ NOD(NAME, (S_IFREG|(MODE)), NULL, &fops, {}) #define ONE(NAME, MODE, show) \ - NOD(NAME, (S_IFREG|(MODE)), \ + NOD(NAME, (S_IFREG|(MODE)), \ NULL, &proc_single_file_operations, \ { .proc_show = show } ) +#define ATTR(LSM, NAME, MODE) \ + NOD(NAME, (S_IFREG|(MODE)), \ + NULL, &proc_pid_attr_operations, \ + { .lsm = LSM }) /* * Count the number of hardlinks for the pid_entry table, excluding the . @@ -2526,7 +2530,7 @@ static ssize_t proc_pid_attr_read(struct file * file, char __user * buf, if (!task) return -ESRCH; - length = security_getprocattr(task, + length = security_getprocattr(task, PROC_I(inode)->op.lsm, (char*)file->f_path.dentry->d_name.name, &p); put_task_struct(task); @@ -2572,7 +2576,8 @@ static ssize_t proc_pid_attr_write(struct file * file, const char __user * buf, if (length < 0) goto out_free; - length = security_setprocattr(file->f_path.dentry->d_name.name, + length = security_setprocattr(PROC_I(inode)->op.lsm, + file->f_path.dentry->d_name.name, page, count); mutex_unlock(¤t->signal->cred_guard_mutex); out_free: @@ -2589,13 +2594,53 @@ static const struct file_operations proc_pid_attr_operations = { .llseek = generic_file_llseek, }; +#define LSM_DIR_OPS(LSM) \ +static int proc_##LSM##_attr_dir_iterate(struct file *filp, \ + struct dir_context *ctx) \ +{ \ + return proc_pident_readdir(filp, ctx, \ + LSM##_attr_dir_stuff, \ + ARRAY_SIZE(LSM##_attr_dir_stuff)); \ +} \ +\ +static const struct file_operations proc_##LSM##_attr_dir_ops = { \ + .read = generic_read_dir, \ + .iterate = proc_##LSM##_attr_dir_iterate, \ + .llseek = default_llseek, \ +}; \ +\ +static struct dentry *proc_##LSM##_attr_dir_lookup(struct inode *dir, \ + struct dentry *dentry, unsigned int flags) \ +{ \ + return proc_pident_lookup(dir, dentry, \ + LSM##_attr_dir_stuff, \ + ARRAY_SIZE(LSM##_attr_dir_stuff)); \ +} \ +\ +static const struct inode_operations proc_##LSM##_attr_dir_inode_ops = { \ + .lookup = proc_##LSM##_attr_dir_lookup, \ + .getattr = pid_getattr, \ + .setattr = proc_setattr, \ +} + +#ifdef CONFIG_SECURITY_SMACK +static const struct pid_entry smack_attr_dir_stuff[] = { + ATTR("smack", "current", 0666), +}; +LSM_DIR_OPS(smack); +#endif + static const struct pid_entry attr_dir_stuff[] = { - REG("current", S_IRUGO|S_IWUGO, proc_pid_attr_operations), - REG("prev", S_IRUGO, proc_pid_attr_operations), - REG("exec", S_IRUGO|S_IWUGO, proc_pid_attr_operations), - REG("fscreate", S_IRUGO|S_IWUGO, proc_pid_attr_operations), - REG("keycreate", S_IRUGO|S_IWUGO, proc_pid_attr_operations), - REG("sockcreate", S_IRUGO|S_IWUGO, proc_pid_attr_operations), + ATTR(NULL, "current", 0666), + ATTR(NULL, "prev", 0444), + ATTR(NULL, "exec", 0666), + ATTR(NULL, "fscreate", 0666), + ATTR(NULL, "keycreate", 0666), + ATTR(NULL, "sockcreate", 0666), +#ifdef CONFIG_SECURITY_SMACK + DIR("smack", 0555, + proc_smack_attr_dir_inode_ops, proc_smack_attr_dir_ops), +#endif }; static int proc_attr_dir_readdir(struct file *file, struct dir_context *ctx) diff --git a/fs/proc/internal.h b/fs/proc/internal.h index d697c8ab0a14..86efb9842c8b 100644 --- a/fs/proc/internal.h +++ b/fs/proc/internal.h @@ -62,6 +62,7 @@ union proc_op { int (*proc_show)(struct seq_file *m, struct pid_namespace *ns, struct pid *pid, struct task_struct *task); + const char *lsm; }; struct proc_inode { diff --git a/include/linux/security.h b/include/linux/security.h index 3f5fd988ee87..6a31a3dba040 100644 --- a/include/linux/security.h +++ b/include/linux/security.h @@ -375,8 +375,10 @@ int security_sem_semctl(struct sem_array *sma, int cmd); int security_sem_semop(struct sem_array *sma, struct sembuf *sops, unsigned nsops, int alter); void security_d_instantiate(struct dentry *dentry, struct inode *inode); -int security_getprocattr(struct task_struct *p, char *name, char **value); -int security_setprocattr(const char *name, void *value, size_t size); +int security_getprocattr(struct task_struct *p, const char *lsm, char *name, + char **value); +int security_setprocattr(const char *lsm, const char *name, void *value, + size_t size); int security_netlink_send(struct sock *sk, struct sk_buff *skb); int security_ismaclabel(const char *name); int security_secid_to_secctx(u32 secid, char **secdata, u32 *seclen); @@ -1128,15 +1130,18 @@ static inline int security_sem_semop(struct sem_array *sma, return 0; } -static inline void security_d_instantiate(struct dentry *dentry, struct inode *inode) +static inline void security_d_instantiate(struct dentry *dentry, + struct inode *inode) { } -static inline int security_getprocattr(struct task_struct *p, char *name, char **value) +static inline int security_getprocattr(struct task_struct *p, const char *lsm, + char *name, char **value) { return -EINVAL; } -static inline int security_setprocattr(char *name, void *value, size_t size) +static inline int security_setprocattr(const char *lsm, char *name, + void *value, size_t size) { return -EINVAL; } diff --git a/security/security.c b/security/security.c index 14c291910d25..459977ed5dec 100644 --- a/security/security.c +++ b/security/security.c @@ -1254,14 +1254,30 @@ void security_d_instantiate(struct dentry *dentry, struct inode *inode) } EXPORT_SYMBOL(security_d_instantiate); -int security_getprocattr(struct task_struct *p, char *name, char **value) +int security_getprocattr(struct task_struct *p, const char *lsm, char *name, + char **value) { - return call_int_hook(getprocattr, -EINVAL, p, name, value); + struct security_hook_list *hp; + + list_for_each_entry(hp, &security_hook_heads.getprocattr, list) { + if (lsm != NULL && strcmp(lsm, hp->lsm)) + continue; + return hp->hook.getprocattr(p, name, value); + } + return -EINVAL; } -int security_setprocattr(const char *name, void *value, size_t size) +int security_setprocattr(const char *lsm, const char *name, void *value, + size_t size) { - return call_int_hook(setprocattr, -EINVAL, name, value, size); + struct security_hook_list *hp; + + list_for_each_entry(hp, &security_hook_heads.setprocattr, list) { + if (lsm != NULL && strcmp(lsm, hp->lsm)) + continue; + return hp->hook.setprocattr(name, value, size); + } + return -EINVAL; } int security_netlink_send(struct sock *sk, struct sk_buff *skb)