From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1502499-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 0153F15802F for <garchives@archives.gentoo.org>; Thu, 30 Mar 2023 20:53:04 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2BBFEE038D; Thu, 30 Mar 2023 20:53:03 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id DEECCE038D for <gentoo-commits@lists.gentoo.org>; Thu, 30 Mar 2023 20:53:02 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C3CE2340B66 for <gentoo-commits@lists.gentoo.org>; Thu, 30 Mar 2023 20:53:01 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3D9F98E6 for <gentoo-commits@lists.gentoo.org>; Thu, 30 Mar 2023 20:52:59 +0000 (UTC) From: "Mike Pagano" <mpagano@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mike Pagano" <mpagano@gentoo.org> Message-ID: <1680209562.62cea8d31c808e0c987542d8c03499614e657b30.mpagano@gentoo> Subject: [gentoo-commits] proj/linux-patches:6.1 commit in: / X-VCS-Repository: proj/linux-patches X-VCS-Files: 1500_XATTR_USER_PREFIX.patch X-VCS-Directories: / X-VCS-Committer: mpagano X-VCS-Committer-Name: Mike Pagano X-VCS-Revision: 62cea8d31c808e0c987542d8c03499614e657b30 X-VCS-Branch: 6.1 Date: Thu, 30 Mar 2023 20:52:59 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: dfdf6739-9549-4281-855d-3807e8053f1a X-Archives-Hash: 2b65bca46425ebd1109887b28acb2f1e commit: 62cea8d31c808e0c987542d8c03499614e657b30 Author: Mike Pagano <mpagano <AT> gentoo <DOT> org> AuthorDate: Thu Mar 30 20:52:42 2023 +0000 Commit: Mike Pagano <mpagano <AT> gentoo <DOT> org> CommitDate: Thu Mar 30 20:52:42 2023 +0000 URL: https://gitweb.gentoo.org/proj/linux-patches.git/commit/?id=62cea8d3 Update namespace user.pax.* on tmpfs patch Bug: https://bugs.gentoo.org/show_bug.cgi?id=903513 Signed-off-by: Mike Pagano <mpagano <AT> gentoo.org> 1500_XATTR_USER_PREFIX.patch | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/1500_XATTR_USER_PREFIX.patch b/1500_XATTR_USER_PREFIX.patch index fac3eed7..1d1a9301 100644 --- a/1500_XATTR_USER_PREFIX.patch +++ b/1500_XATTR_USER_PREFIX.patch @@ -26,12 +26,12 @@ the XATTR_PAX flags preserved. +#define XATTR_NAME_PAX_FLAGS XATTR_PAX_PREFIX XATTR_PAX_FLAGS_SUFFIX #endif /* _UAPI_LINUX_XATTR_H */ ---- a/mm/shmem.c 2022-11-22 05:57:29.011626215 -0500 -+++ b/mm/shmem.c 2022-11-22 06:03:33.165939400 -0500 -@@ -3297,6 +3297,14 @@ static int shmem_xattr_handler_set(const - struct shmem_inode_info *info = SHMEM_I(inode); +--- a/mm/shmem.c 2023-03-29 18:54:52.431866914 -0400 ++++ b/mm/shmem.c 2023-03-29 18:57:55.145689335 -0400 +@@ -3310,6 +3310,14 @@ static int shmem_xattr_handler_set(const int err; + name = xattr_full_name(handler, name); + + if (!strncmp(name, XATTR_USER_PREFIX, XATTR_USER_PREFIX_LEN)) { + if (strcmp(name, XATTR_NAME_PAX_FLAGS)) @@ -40,10 +40,10 @@ the XATTR_PAX flags preserved. + return -EINVAL; + } + - name = xattr_full_name(handler, name); err = simple_xattr_set(&info->xattrs, name, value, size, flags, NULL); if (!err) { -@@ -3312,6 +3320,12 @@ static const struct xattr_handler shmem_ + inode->i_ctime = current_time(inode); +@@ -3324,6 +3332,12 @@ static const struct xattr_handler shmem_ .set = shmem_xattr_handler_set, }; @@ -56,7 +56,7 @@ the XATTR_PAX flags preserved. static const struct xattr_handler shmem_trusted_xattr_handler = { .prefix = XATTR_TRUSTED_PREFIX, .get = shmem_xattr_handler_get, -@@ -3325,6 +3339,7 @@ static const struct xattr_handler *shmem +@@ -3337,6 +3351,7 @@ static const struct xattr_handler *shmem #endif &shmem_security_xattr_handler, &shmem_trusted_xattr_handler,