From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-qv1-f54.google.com (mail-qv1-f54.google.com [209.85.219.54]) (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 BAD79130E4A for ; Mon, 15 Jul 2024 19:17:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.54 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721071061; cv=none; b=hqWVCxyd+7MdfXWs2QOq1yrJ89Toc02gS+1zGwA9TtYlbfgnQ8bSV7BLnLO/GulXkhywsyhgLlCSwV3vToZlovd/NHe+//clX9g+CzDIOLXUJ72F9T8Xb3izAQEneqlz//MOI9Xt4Vs+NtgyYDFpG2saIasI9yK39MI3PncsKDs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721071061; c=relaxed/simple; bh=8FVx2tZPqhojymGX9qIwrEjs4K8cSI4h2T5qI3BJmyc=; h=Date:Message-ID:From:To:Cc:Subject; b=VJDwZuQ8OVWRRHVDcKDSPxU+Md/pl/lArRpuIkiLb1CGCacnLwSrxssTpXxUi8fva/tKxA+xtD0BluzZp6mRee8KkP/U9sbveFFARcOUzlfUQoBlkc8FjWZsURfWg9XBo90w5knTvJySTuS3ZoJcuCh++58d9BkqakaZLRkyny8= 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=SZ3FQV1q; arc=none smtp.client-ip=209.85.219.54 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="SZ3FQV1q" Received: by mail-qv1-f54.google.com with SMTP id 6a1803df08f44-6b5dfcfb165so31153636d6.0 for ; Mon, 15 Jul 2024 12:17:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paul-moore.com; s=google; t=1721071059; x=1721675859; darn=vger.kernel.org; h=subject:cc:to:from:message-id:date:from:to:cc:subject:date :message-id:reply-to; bh=dKdU6iu+Xt48TBuET3nQ3Tnr7L7phoXtIQAwUj08O3E=; b=SZ3FQV1qzv1IOVm8HCRneGftHiujkFp07cTJg0qFsxfb3wJt6UhdrnaIr7it92tCyN nUpzLzhD6sykDPesiFH9NGvIZSz4rX4dK96E3M0eeuBvdtt5YRpgGLgM4JwwGO6r8XiH r8nb8Ns8CATTEcuqXXQZ9Y7o1P2PqdJmDN71lAfmC4aAkjBDQIi+LFmeBzcUVMaGC1DC oLgJnRPELWhdjbCtKzjKcL2NfUpVYCWonoXM2e8ZRI0H8e7X9xOaF1FU7b79LoBDTQlW ypty0UxqSPaRSfb7RXYYdJFZgQ1Okih6XVD3uNg7Z3zO5STNqcacnKqb8y+6HiwSL+t5 UyMA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721071059; x=1721675859; h=subject:cc:to:from:message-id:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=dKdU6iu+Xt48TBuET3nQ3Tnr7L7phoXtIQAwUj08O3E=; b=GKexkHvoKbQa1AFYuzxZFpM6EwUkiqA8fGhSN5kZ3iRA/xUcehYoZsXhFV8s9T8Kqv IVHrpzOmzJsKdYewbWgggAEkktYhtQX7204MFiJ/s+2QINP6ze16mWUXwETk9s0wYUoo XxHPbVUw+45N7LZTHWvUJ+0Gero80q64zvA2pAx+5ZM6uh8SHt9T+yog694ypzkz82QP TlGLjU+TD0Tr3AASJQS7XqjukU9TnMgJjUcTjXQYMxbb7d3fnbo7WXm3dAdHmsbu2k+i Bbr6dtuS1tEbqM1P1+7p7/jEIiahHF11Qnq1DR3DphVagivTCRTnfcqXmAZFcLSudhAg R6GA== X-Forwarded-Encrypted: i=1; AJvYcCW1Cl+QB57/FzBVmthVLwgvECEVGRe2IieuNXye1DwyMmNVus2/sjlCzNZXLyBneB4kTLSwmwvZugJDwomFZ6d9/rpYZsYPzIDwoC7q X-Gm-Message-State: AOJu0YyPCstCiNc5If7ctMsQOvCD7xYZ/CKnJjbAXUa7USKieT24H4sf TpQC3IE6YUY6TMkQ/1PJWgzoTmaR/SPtO2ZGJkyyScd0CfkE2Oo6CpTNFBjeEsTFXTxx9+G5J38 = X-Google-Smtp-Source: AGHT+IH0dyJ59WnF598Vp8RgP+ecd8Srjjc4KL+3+xkUBmXbsc/IlSnIVvOU7UmyPfeHL2bFjSbwMg== X-Received: by 2002:a05:6214:2585:b0:6b5:e852:7273 with SMTP id 6a1803df08f44-6b77f525c34mr1413786d6.36.1721071058753; Mon, 15 Jul 2024 12:17:38 -0700 (PDT) Received: from localhost ([70.22.175.108]) by smtp.gmail.com with ESMTPSA id 6a1803df08f44-6b76194f5acsm23914666d6.20.2024.07.15.12.17.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Jul 2024 12:17:38 -0700 (PDT) Date: Mon, 15 Jul 2024 15:17:38 -0400 Message-ID: <549ba0887cc2b0d606940b7d788f0367@paul-moore.com> From: Paul Moore To: Linus Torvalds Cc: linux-security-module@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [GIT PULL] lsm/lsm-pr-20240715 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Linus, Two LSM patches for Linux v6.11 both focused on cleaning up the inode xattr capability handling. There is more detailed information in the individual commits. Please merge. -Paul -- The following changes since commit 1613e604df0cd359cf2a7fbd9be7a0bcfacfabd0: Linux 6.10-rc1 (2024-05-26 15:20:12 -0700) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/lsm.git tags/lsm-pr-20240715 for you to fetch changes up to dd44477e7fa15ba3b100dfc67bf7cf083f3dccf6: selinux,smack: remove the capability checks in the removexattr hooks (2024-07-09 15:15:57 -0400) ---------------------------------------------------------------- lsm/stable-6.11 PR 20240715 ---------------------------------------------------------------- Paul Moore (2): lsm: fixup the inode xattr capability handling selinux,smack: remove the capability checks in the removexattr hooks include/linux/lsm_hook_defs.h | 1 + security/security.c | 70 ++++++++++++++++++++++++++----------- security/selinux/hooks.c | 38 +++++++++++++---------- security/smack/smack_lsm.c | 34 ++++++++++++++++++--- 4 files changed, 101 insertions(+), 42 deletions(-) -- paul-moore.com