From patchwork Tue Nov 13 13:52:52 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ondrej Mosnacek X-Patchwork-Id: 10680697 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 2B6BA13BF for ; Tue, 13 Nov 2018 13:55:45 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 14E0629C08 for ; Tue, 13 Nov 2018 13:55:45 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 09EF42A963; Tue, 13 Nov 2018 13:55:45 +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=-5.2 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from ucol19pa14.eemsg.mail.mil (ucol19pa14.eemsg.mail.mil [214.24.24.87]) (using TLSv1.2 with cipher DHE-RSA-AES256-SHA256 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 4D3752A8EB for ; Tue, 13 Nov 2018 13:55:43 +0000 (UTC) X-EEMSG-check-008: 643586846|UCOL19PA14_EEMSG_MP12.csd.disa.mil X-IronPort-AV: E=Sophos;i="5.54,499,1534809600"; d="scan'208";a="643586846" Received: from emsm-gh1-uea10.ncsc.mil ([214.29.60.2]) by ucol19pa14.eemsg.mail.mil with ESMTP; 13 Nov 2018 13:55:42 +0000 X-IronPort-AV: E=Sophos;i="5.54,499,1534809600"; d="scan'208";a="17777660" IronPort-PHdr: 9a23:tIeMQR3a0QZUU+p+smDT+DRfVm0co7zxezQtwd8Zse8XLv/xwZ3uMQTl6Ol3ixeRBMOHs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A10.NCSC.MIL with ESMTP; 13 Nov 2018 13:55:34 +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 wADDtXWh020108; Tue, 13 Nov 2018 08:55:34 -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 wADDtSBv038740 for ; Tue, 13 Nov 2018 08:55:28 -0500 Received: from goalie.tycho.ncsc.mil (goalie.tycho.ncsc.mil [144.51.242.250]) by tarius.tycho.ncsc.mil (8.14.4/8.14.4) with ESMTP id wADDtRcN020089 for ; Tue, 13 Nov 2018 08:55:27 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A1CvAQCk1upbl3sVGNZjHAEBAQQBAQcEAQGBZYFWK2mBAieMb4seiyKQGgsBASeERYM7IjgWAQMBAQEBAQECFAEBAQEBBhgGTIV0UoEVAQUBIgESG4MGAYF0DQMBC5t7PIwJM4QtARNAhSYFEodFhCoXgUA/g3WBbwGBWQKHPAKJEASMCoo4CYY5PoogCxiBWIUEgmyHK40oii4GAgkHDyGBOVWBIU0jFYMoEoIUDAIJg0qFFIU/QDIBji0BAQ X-IPAS-Result: A1CvAQCk1upbl3sVGNZjHAEBAQQBAQcEAQGBZYFWK2mBAieMb4seiyKQGgsBASeERYM7IjgWAQMBAQEBAQECFAEBAQEBBhgGTIV0UoEVAQUBIgESG4MGAYF0DQMBC5t7PIwJM4QtARNAhSYFEodFhCoXgUA/g3WBbwGBWQKHPAKJEASMCoo4CYY5PoogCxiBWIUEgmyHK40oii4GAgkHDyGBOVWBIU0jFYMoEoIUDAIJg0qFFIU/QDIBji0BAQ X-IronPort-AV: E=Sophos;i="5.54,499,1534824000"; d="scan'208";a="412409" Received: from emsm-gh1-uea11.ncsc.mil ([214.29.60.35]) by goalie.tycho.ncsc.mil with ESMTP; 13 Nov 2018 08:55:27 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A0COAQBk1upbl3sVGNZjHAEBAQQBAQcEAQGBZYFWK2mBAieMb4seiyKQGgsBASeERYM7IjgWAQMBAQEBAQECARMBAQEBAQYYBkwMgjYkgw5SgRUBBQEiARIbgwYBgXQNAwELm3w8jAkzhC0BE0CFJgUSh0WEKheBQD+DdYFvAYFZAoc8AokQBIwKijgJhjk+iiALGIFYhQSCbIcrjSiKLgYCCQcPIYE5VYEhTSMVgygSghQMAgmDSoUUhT8/MwGOLQEB X-IPAS-Result: A0COAQBk1upbl3sVGNZjHAEBAQQBAQcEAQGBZYFWK2mBAieMb4seiyKQGgsBASeERYM7IjgWAQMBAQEBAQECARMBAQEBAQYYBkwMgjYkgw5SgRUBBQEiARIbgwYBgXQNAwELm3w8jAkzhC0BE0CFJgUSh0WEKheBQD+DdYFvAYFZAoc8AokQBIwKijgJhjk+iiALGIFYhQSCbIcrjSiKLgYCCQcPIYE5VYEhTSMVgygSghQMAgmDSoUUhT8/MwGOLQEB X-IronPort-AV: E=Sophos;i="5.54,499,1534809600"; d="scan'208";a="20545417" X-IronPort-Outbreak-Status: No, level 0, Unknown - Unknown Received: from uhil3cpa12.eemsg.mail.mil ([214.24.21.123]) by emsm-gh1-uea11.NCSC.MIL with ESMTP; 13 Nov 2018 13:55:26 +0000 X-EEMSG-check-005: 0 X-EEMSG-check-006: 000-001;b1d0556a-bad8-46da-8be3-6745235c8eaf Authentication-Results: uhil19pa04.eemsg.mail.mil; dkim=none (message not signed) header.i=none; spf=None smtp.pra=omosnace@redhat.com; spf=Pass smtp.mailfrom=omosnace@redhat.com; spf=None smtp.helo=postmaster@mail-wr1-f67.google.com; dmarc=pass (p=none dis=none) d=redhat.com X-EEMSG-check-008: 328082271|UHIL19PA04_EEMSG_MP2.csd.disa.mil X-EEMSG-check-001: false X-EEMSG-SBRS: 2.7 X-EEMSG-ORIG-IP: 209.85.221.67 X-EEMSG-check-002: true X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A0D2AADc1upbf0PdVdFjHAEBAQQBAQcEAQGBVAQBAQsBgVWBFIEpjG+LHosikBoLAQETFIRFgzsaBwEEMwoNAQMBAQEBAQEBAQETAQEJCwsIGwwlDII2JIMOUoEVAQUBIgESG4MGAYF0DQQLm3s8jAkzhC0BE0CFJgUJAQiHRYQqF4FAP4N1gW8BgVkChzwCiRAEjAqKOAmGOT6KIAsYgViFBIJshyuNKIouBgIJBw8hgThWgSFNIxWDKBKCFAwLg0qFFIU/PjQBji0BAQ X-IPAS-Result: A0D2AADc1upbf0PdVdFjHAEBAQQBAQcEAQGBVAQBAQsBgVWBFIEpjG+LHosikBoLAQETFIRFgzsaBwEEMwoNAQMBAQEBAQEBAQETAQEJCwsIGwwlDII2JIMOUoEVAQUBIgESG4MGAYF0DQQLm3s8jAkzhC0BE0CFJgUJAQiHRYQqF4FAP4N1gW8BgVkChzwCiRAEjAqKOAmGOT6KIAsYgViFBIJshyuNKIouBgIJBw8hgThWgSFNIxWDKBKCFAwLg0qFFIU/PjQBji0BAQ Received: from mail-wr1-f67.google.com ([209.85.221.67]) by uhil19pa04.eemsg.mail.mil with ESMTP/TLS/AES128-SHA; 13 Nov 2018 13:53:15 +0000 Received: by mail-wr1-f67.google.com with SMTP id z13-v6so13411591wrs.3 for ; Tue, 13 Nov 2018 05:53:15 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=qzTKoVTQzijKM3v9xW80COz5P41lxlSZ+u1CMt/SSFg=; b=hM/sIZJjateD3cBf/HF8ZPzqExTRkU5fZo7xCs7hOrPqubfqL7t0nxzIvdeMVWfTpW Oae9qRU+0/xRQqLH5Kx0b5DCFE5gAr2+ST3xZ8xE5172YTl+WLU4Xl51uNCU9kO8ZvHR smojFRMBBS0CLWOQul46ch8WEhTjSQT1BFGUTY43hz1FVqikYzb8SloXAz2c+HGayUUt Re5kZXsxpG9uHaeepiUrYhithbngSq3tQjq/812qrZcCBlo+l7hKh9pPLt3m55zYfc+B euT8XHJMuU6Lb7y5aWyRiVPs6Hj12kTXGVGWBZaREeK5st2G7nUftL6MzVC74y7oI4Ut BVJw== X-Gm-Message-State: AGRZ1gJ37QKCdyYnYKS6we4a551Yq7B5bjrtJfcT74LA8DqUK2LuHG1z 60QbKmJbkYxGErJdU6IBPL+a8g== X-Google-Smtp-Source: AJdET5crUHXdgBop31SDUxHRTWyY+BZBzlW5XoD1HhbUjRQmOEkeXWU0Lt/DncZTVIbVpnoJep+nkA== X-Received: by 2002:a5d:5544:: with SMTP id g4-v6mr5066220wrw.222.1542117188129; Tue, 13 Nov 2018 05:53:08 -0800 (PST) Received: from localhost.localdomain.com (nat-pool-brq-t.redhat.com. [213.175.37.10]) by smtp.gmail.com with ESMTPSA id t187-v6sm10342609wmt.45.2018.11.13.05.53.07 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 13 Nov 2018 05:53:07 -0800 (PST) X-EEMSG-check-009: 444-444 From: Ondrej Mosnacek To: selinux@vger.kernel.org, Paul Moore Date: Tue, 13 Nov 2018 14:52:52 +0100 Message-Id: <20181113135255.26045-1-omosnace@redhat.com> X-Mailer: git-send-email 2.17.2 Subject: [RFC PATCH 0/3] Fix ENOMEM errors during policy reload 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: Stephen Smalley , selinux@tycho.nsa.gov MIME-Version: 1.0 Errors-To: selinux-bounces@tycho.nsa.gov Sender: "Selinux" X-Virus-Scanned: ClamAV using ClamSMTP This patchset is an alternative, hopefully better (but also more risky), solution of the ENOMEM problem ([1]) that I first tried to solve in [2]. In this version I encapsulate the initial SID table within sidtab and also switch back from converting the sidtab in-place to converting into a new sidtab and then just switching the pointer (keeping the code ready for switching to RCU locks). The change is split into three patches for easier review. Some changes done in the first two patches are effectively undone by the last patch, so it might actually make more sense to send the final version as one squashed patch (please let me know which is better for you). The first patch moves the sidtab conversion logic into sidtab.c. This allows hiding sidtab_insert() from sidtab.h in the second patch, where it becomes an internal function. The second patch separates the handling of initial SIDs into a separate lookup table inside sidtab. After this change, the main table always contains N entries with keys from 0 to (N-1). This property is then leveraged in the last patch. Finally, the third patch rewrites the main sidtab to a more efficient implementation that also gracefully handles context conversions during policy reloads, which no longer produces the ENOMEM errors. After applying this patchset, the time it takes to insert new sidtab entries is drastically reduced. I measured the time to populate the table with N new entries by repeatedly writing to /sys/fs/selinux/context. A graph of the results is available at [3]. The SID -> context lookups are now also faster. With the old implementation, these are O(N) once N goes above 128. The new implementation can handle them theoretically in O(log N), but in practice the slope is almost flat, so they are practically almost constant-time. Review and feedback welcome. [1] https://github.com/SELinuxProject/selinux-kernel/issues/38 [2] https://lore.kernel.org/selinux/20181031122718.18735-1-omosnace@redhat.com/ [3] https://docs.google.com/spreadsheets/d/e/2PACX-1vRUArNJR6kckm2SEs4dRZlijNVdCTmsNuWRGe7X3fC01YkBHpxXHnmcssxEiMF3Z7ivtXN2L5MC0ry-/pubhtml Ondrej Mosnacek (3): selinux: refactor sidtab conversion selinux: use separate table for initial SID lookup selinux: overhaul sidtab to fix bug and improve performance security/selinux/ss/mls.c | 23 +- security/selinux/ss/mls.h | 3 +- security/selinux/ss/policydb.c | 10 +- security/selinux/ss/services.c | 188 +++++------ security/selinux/ss/services.h | 2 +- security/selinux/ss/sidtab.c | 550 ++++++++++++++++++++------------- security/selinux/ss/sidtab.h | 90 ++++-- 7 files changed, 498 insertions(+), 368 deletions(-)