From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-qk1-f172.google.com (mail-qk1-f172.google.com [209.85.222.172]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 827C3318130 for ; Wed, 4 Feb 2026 04:10:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.222.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770178244; cv=none; b=qu3Av+mG4ENdTScE0fmwU/aNzcJ/1WCvCPvM6wV/SK3Ym9gWCdoHHDcJWD4fPAARBB2iwdIf668vwtzicYzmZM24/CmBvACZteDa7y1nT0B2kSGoy0tfCcWHT5cILUoC8JsTqpt99e5kbSskumqPGhpIAuE40SwPeNlzKB2XQsU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770178244; c=relaxed/simple; bh=zAl0WGrVOlcwJ6+0E2cEBC6ivgIn3WmGzzpnAjoaClQ=; h=Date:Message-ID:From:To:Cc:Subject; b=u2GXK/RWBpS2TeUETYM/gurvvIePs+HOOkwNArfX+oWqymdODDJnnB55DoVL9R/AyKEq2T1610Do1Hwcx5LK3ByFAvrTjZYSkZcuZ5EsLNROk1LY7FbOcrOcWzj3MiAUDvAzd41wIP9RmtAbasGbYN0uKPK3KuZCg0iPTOMgwG8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=paul-moore.com; spf=pass smtp.mailfrom=paul-moore.com; dkim=pass (2048-bit key) header.d=paul-moore.com header.i=@paul-moore.com header.b=FbIsUqCD; arc=none smtp.client-ip=209.85.222.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=paul-moore.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=paul-moore.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=paul-moore.com header.i=@paul-moore.com header.b="FbIsUqCD" Received: by mail-qk1-f172.google.com with SMTP id af79cd13be357-8ca01dc7d40so378850485a.1 for ; Tue, 03 Feb 2026 20:10:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paul-moore.com; s=google; t=1770178239; x=1770783039; darn=vger.kernel.org; h=subject:cc:to:from:message-id:date:from:to:cc:subject:date :message-id:reply-to; bh=n9X0znTAy1Uzid+CyhH1GZFisTMJ2hpyJjos5mdZiPA=; b=FbIsUqCDeOJuv0FXM7HYFAcXBTxTnmKqqeMitiTSzY/JJwkHTY17Lu9KcUZpJNqfvR FDKlBbL9/uIvklW1ZMQ2U8bZuVttuKqPs8iISpVfq+MuLxbt0e8WBszHnBmUoVDdevDg H+i73VzB6+t4oqauQGpQH6m6xaFf7hNKOAYtUtyfCaxfJy+ql/XcUVQJVHdBgAnWTr4A 7iBDoBBw7lRYRzje475WOeJsOTkYnjlMwu31SRxGYpmrCbm9Zn/Qmt8iX+df+snCSTPu 7x/9+9Gtj3f6B5g/6ad1LFpRMCFMftZnouio8IXIxHYtOVjsYEI/KgYem7J9l2WCoe3Y /vrA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1770178239; x=1770783039; h=subject:cc:to:from:message-id:date:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=n9X0znTAy1Uzid+CyhH1GZFisTMJ2hpyJjos5mdZiPA=; b=mXn+NyifLY0zQ2JkREZjKhbPUGiLoLv30DyGJdoEydmd87Z/dwIBN4ERliz40Cw/Yp VE/xwL/qzygUhQY4Ei/ThqArD2toXEPLZoSN1Xzc0FwYqrqSQY3hiphQCmh6icn858ea n1K5/9iSNsBCRAcoq/P7bshw6HEyxsVL5XYynCwquR8dE/H03740rbVDWu7P8eCqHDyf K5avIkkyKq7y7zHJljZy2ZyJ08BHWSOu9tWAmz4MkjHYmryo4rp9HZ0iw7xjQIVmOn7y stoBW9/VtRGq9Jfdx9qvEXxgknTMUmR4la1SAqCJh7wa9GNOKjcpT6iFQZrGbs9Cmvlg E1vg== X-Forwarded-Encrypted: i=1; AJvYcCUAGJlYZbrZ2TJXFurj7sQx79Wd88fMgaUUGytVvHNc5VkZ7jtK3ynGd1xrs8dLnIeqZFEdZKsAdLurCDo=@vger.kernel.org X-Gm-Message-State: AOJu0Yy4YyajSdyGvDUgedW/grydN8NhF58LQ34xpebBLKjAJTuuDMoz p0fyQKULQMl6bFlpBOtFw9Mawe6IhR50tKuLj/mH8VV29Y9cgiXi/1LfNpWQc/7+Gw== X-Gm-Gg: AZuq6aJGvFpf8p320aQgniBIhX9xmwQcFI9FWqZhpvuJvLizaylEbZ58rs+LPLeGdM0 KkoFbRdlZxmWB500tKxNXo1GyfxZNSZ5SWXJu8zXpSX7W7A1ROenJvrRglsDv7Q+cVsDxpC3Eu1 e/faEUitXiY9aPCDMF7Ok7RAOA2idTHHzif0L8vy6bBpOIn2nWTQ2KiQMERxXDYFgGOi75ZNwvc ZaI/d5uXw3lqIYn1glkgBhgFHYCd2lDNJcbNoQmNViDIln+7IDM/ehKWoiXd0lLLTSVATWxvVyO ejZT+Po020VzbQcRjPTiRQs2QFimgjLt7LVj6BcmZoXJgDMIDNzupgQ69VtiBLClFnoTHSPrsZL Qv5xpCNhCqUbCqRCzMbnGqL6GUXz4sd206aSDtXY5RnnYsvp1peb+lq2/UestHMQHkwd8FVF5/d tPFMZ3Hac+oDemvbSM/p0v/R6esjK1KVnlLl7XHkwVbVjvKTl2D1dpq4VZ X-Received: by 2002:a05:620a:3181:b0:8c6:a64e:928d with SMTP id af79cd13be357-8ca2fa9055dmr231363385a.83.1770178239556; Tue, 03 Feb 2026 20:10:39 -0800 (PST) Received: from localhost (pool-71-126-255-178.bstnma.fios.verizon.net. [71.126.255.178]) by smtp.gmail.com with ESMTPSA id af79cd13be357-8ca2fd2e971sm107019585a.35.2026.02.03.20.10.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Feb 2026 20:10:38 -0800 (PST) Date: Tue, 03 Feb 2026 23:10:38 -0500 Message-ID: <74f395ba13926ab0391bd8714abc6036@paul-moore.com> From: Paul Moore To: Linus Torvalds Cc: selinux@vger.kernel.org, linux-security-module@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [GIT PULL] selinux/selinux-pr-20260203 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Linus, This is a bit early, but due to some personal scheduling I'd rather send this to you now, and you always mention you prefer to get pull requests early (perhaps not this early?) so here is hoping this is a win-win. Here are the highlights for the SELinux changes queued for the Linux v7.0 merge window: - Add support for SELinux based access control of BPF tokens We worked with the BPF devs to add the necessary LSM hooks when the BPF token code was first introduced, but it took us a bit longer to add the SELinux wiring and support. In order to preserve existing token-unaware SELinux policies, the new code is gated by the new "bpf_token_perms" policy capability. Additional details regarding the new permissions, and behaviors can be found in the associated commit. - Remove a BUG() from the SELinux capability code We now perform a similar check during compile time so we can safely remove the BUG() call. Paul -- The following changes since commit 8f0b4cce4481fb22653697cced8d0d04027cb1e8: Linux 6.19-rc1 (2025-12-14 16:05:07 +1200) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/selinux.git tags/selinux-pr-20260203 for you to fetch changes up to ea64aa57d596c4cbe518ffd043c52ef64089708d: selinux: drop the BUG() in cred_has_capability() (2026-01-14 16:26:21 -0500) ---------------------------------------------------------------- selinux/stable-7.0 PR 20260203 ---------------------------------------------------------------- Eric Suen (1): selinux: add support for BPF token access control Paul Moore (3): selinux: move the selinux_blob_sizes struct selinux: fix a capabilities parsing typo in selinux_bpf_token_capable() selinux: drop the BUG() in cred_has_capability() security/selinux/hooks.c | 163 +++++++++++++++++---- security/selinux/include/classmap.h | 2 security/selinux/include/objsec.h | 3 security/selinux/include/policycap.h | 1 security/selinux/include/policycap_names.h | 1 security/selinux/include/security.h | 6 6 files changed, 151 insertions(+), 25 deletions(-) -- paul-moore.com