From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-14.0 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PULL_REQUEST, MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id DFFC6C433DF for ; Mon, 3 Aug 2020 23:16:24 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id ECE6A20781 for ; Mon, 3 Aug 2020 23:16:24 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=paul-moore-com.20150623.gappssmtp.com header.i=@paul-moore-com.20150623.gappssmtp.com header.b="U3y1piV/" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728926AbgHCXQY (ORCPT ); Mon, 3 Aug 2020 19:16:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57940 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728891AbgHCXQY (ORCPT ); Mon, 3 Aug 2020 19:16:24 -0400 Received: from mail-ej1-x642.google.com (mail-ej1-x642.google.com [IPv6:2a00:1450:4864:20::642]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 66233C061756 for ; Mon, 3 Aug 2020 16:16:23 -0700 (PDT) Received: by mail-ej1-x642.google.com with SMTP id g19so26563288ejc.9 for ; Mon, 03 Aug 2020 16:16:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paul-moore-com.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to:cc; bh=RVPV7oxVS93iXefV8KQ0bKUcXLAvqUAHupIudOdk4DQ=; b=U3y1piV/vs4p2cFmwFCj+by9kLDR7TX3YB4ZXXse0JO6mC48hufglIAmDp/1g9uIBs 6bsztBElrfuBb4hbJPfuLqZSxGJNSvj3/G4tM5tKjtd/+mJ3xHaLyMfG/xEXB0gSEnrx +Ho6EB6vdUJfqAfUm9UIxvOml5mFY53nl3mWOdgnYADlDiIG9mv6Y3pEcDXf8uh8pN4v lEUXWqwbSqYq3slPqu1zwYKeZNcHsx2O/SpnoafrqasFD6/YGwr8lJe/O/l7KqRj8hw7 fFIOLe8D2C4MlVvFUVRfyPQrYDBVsN0zOgTAJMNadcjyHptvP336kbT6Bk6BFB6uJfGy FInw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=RVPV7oxVS93iXefV8KQ0bKUcXLAvqUAHupIudOdk4DQ=; b=p1Ql94jW+ATAHd+cMU5EQ7Hjyzohz9SxL0YLPiE/YTYclDC8vCcMruOUEMJXnA73Fj 5R4suraNwO4AzVYiRkf/pjw69wpaviXHlgRFzhBoHmAVpWKvH4ups+MhGFUay9DaQSbY 3ux5ykSahTINuqcEl61xyQUuvrddd0gMjvZX9abV8bm87aY24KxdKMIa2gvze4CBkfX0 YrCBLT5s/IpQnugYjsuiGlPOtL55xx/iAXgFx8BXV0ciSVW862wi3+3+ssodXotjR8we Ynrf95EM6971Mszy5zsMBoMy3D34mBoPTyzxO1SOsZ1GdAHDfxxkraQvEC0+3eXHf9eR wZeg== X-Gm-Message-State: AOAM533KMpITWwxbGu8Ljk86AaqJ1iuTbcagCkS005gKGZrM5N4UR+ty nJwOk3GhYIkt5ay3RHztya7V7SjnNXLeuC7C9okTdlJL3tvz X-Google-Smtp-Source: ABdhPJzbjZ+13fbSX2hywI8tfmTickIarJs8hvmSCpKZYozNkrcWSZ9Sw/Fd/U/iaB60GIdz7Me9Kr3ZxTHvXOaQ8Q8= X-Received: by 2002:a17:906:1911:: with SMTP id a17mr17799685eje.431.1596496582017; Mon, 03 Aug 2020 16:16:22 -0700 (PDT) MIME-Version: 1.0 From: Paul Moore Date: Mon, 3 Aug 2020 19:16:10 -0400 Message-ID: Subject: [GIT PULL] SELinux patches for v5.9 To: Linus Torvalds Cc: selinux@vger.kernel.org, linux-security-module@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Sender: owner-linux-security-module@vger.kernel.org Precedence: bulk List-ID: Hi Linus, Here is the SELinux pull request for the v5.9 release. All the patches pass our test suite and earlier this evening they merged cleanly with your tree. Beyond the usual smattering of bug fixes, we've got three small improvements worth highlighting: - Improved SELinux policy symbol table performance due to a reworking of the insert and search functions - Allow reading of SELinux labels before the policy is loaded, allowing for some more "exotic" initramfs approaches - Improved checking an error reporting about process class/permissions during SELinux policy load Please merge these for v5.9. Thanks, -Paul -- The following changes since commit b3a9e3b9622ae10064826dccb4f7a52bd88c7407: Linux 5.8-rc1 (2020-06-14 12:45:04 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/selinux.git tags/selinux-pr-20200803 for you to fetch changes up to 54b27f9287a7b3dfc85549f01fc9d292c92c68b9: selinux: complete the inlining of hashtab functions (2020-07-09 19:08:16 -0400) ---------------------------------------------------------------- selinux/stable-5.9 PR 20200803 ---------------------------------------------------------------- Ethan Edwards (1): selinux: fixed a checkpatch warning with the sizeof macro Jonathan Lebon (1): selinux: allow reading labels before policy is loaded Ondrej Mosnacek (3): selinux: specialize symtab insert and search functions selinux: prepare for inlining of hashtab functions selinux: complete the inlining of hashtab functions Stephen Smalley (2): scripts/selinux/mdp: fix initial SID handling selinux: log error messages on required process class / permissions lihao (1): selinux: Fix spelling mistakes in the comments scripts/selinux/mdp/mdp.c | 23 ++++-- security/selinux/hooks.c | 7 +- security/selinux/netif.c | 2 +- security/selinux/netnode.c | 2 +- security/selinux/netport.c | 2 +- security/selinux/ss/conditional.c | 8 +-- security/selinux/ss/conditional.h | 2 +- security/selinux/ss/hashtab.c | 59 ++------------- security/selinux/ss/hashtab.h | 77 ++++++++++++++++---- security/selinux/ss/mls.c | 23 +++--- security/selinux/ss/policydb.c | 148 ++++++++++++++++++++++------------ security/selinux/ss/policydb.h | 9 +++ security/selinux/ss/services.c | 38 +++++----- security/selinux/ss/symtab.c | 21 ++++-- security/selinux/ss/symtab.h | 3 + 15 files changed, 258 insertions(+), 166 deletions(-) -- paul moore www.paul-moore.com