lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <174553064691.1160289.2390597214443719562.stgit@frogsfrogsfrogs>
Date: Thu, 24 Apr 2025 14:40:16 -0700
From: "Darrick J. Wong" <djwong@...nel.org>
To: tytso@....edu
Cc: linux-ext4@...r.kernel.org
Subject: [PATCH 1/3] fuse2fs: add dummy acl/user_xattr mount options

From: Darrick J. Wong <djwong@...nel.org>

ACLs and user xattrs are always supported, so add these mount options
and do nothing.

Signed-off-by: "Darrick J. Wong" <djwong@...nel.org>
---
 misc/fuse2fs.c |    8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)


diff --git a/misc/fuse2fs.c b/misc/fuse2fs.c
index fa48956396e9d1..245d2b3b916686 100644
--- a/misc/fuse2fs.c
+++ b/misc/fuse2fs.c
@@ -3728,6 +3728,7 @@ static int get_random_bytes(void *p, size_t sz)
 }
 
 enum {
+	FUSE2FS_IGNORED,
 	FUSE2FS_VERSION,
 	FUSE2FS_HELP,
 	FUSE2FS_HELPFULL,
@@ -3743,7 +3744,10 @@ static struct fuse_opt fuse2fs_opts[] = {
 	FUSE2FS_OPT("fuse2fs_debug",	debug,			1),
 	FUSE2FS_OPT("no_default_opts",	no_default_opts,	1),
 	FUSE2FS_OPT("norecovery",	norecovery,		1),
-	FUSE2FS_OPT("offset=%lu",	offset,		0),
+	FUSE2FS_OPT("offset=%lu",	offset,			0),
+
+	FUSE_OPT_KEY("acl",		FUSE2FS_IGNORED),
+	FUSE_OPT_KEY("user_xattr",	FUSE2FS_IGNORED),
 
 	FUSE_OPT_KEY("-V",             FUSE2FS_VERSION),
 	FUSE_OPT_KEY("--version",      FUSE2FS_VERSION),
@@ -3766,6 +3770,8 @@ static int fuse2fs_opt_proc(void *data, const char *arg,
 			return 0;
 		}
 		return 1;
+	case FUSE2FS_IGNORED:
+		return 0;
 	case FUSE2FS_HELP:
 	case FUSE2FS_HELPFULL:
 		fprintf(stderr,


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ