Thread (49 messages) 49 messages, 2 authors, 2020-12-08

Re: [PATCH v4 05/40] fs: add attr_flags_to_mnt_flags helper

From: Christian Brauner <hidden>
Date: 2020-12-08 10:08:25
Also in: linux-ext4, linux-fsdevel, linux-integrity, linux-security-module, selinux

On Mon, Dec 07, 2020 at 06:10:21PM +0100, Christoph Hellwig wrote:
quoted
@@ -3450,6 +3450,28 @@ SYSCALL_DEFINE5(mount, char __user *, dev_name, char __user *, dir_name,
 	return ret;
 }
 
+#define FSMOUNT_VALID_FLAGS                                                    \
+	(MOUNT_ATTR_RDONLY | MOUNT_ATTR_NOSUID | MOUNT_ATTR_NODEV |            \
+	 MOUNT_ATTR_NOEXEC | MOUNT_ATTR__ATIME | MOUNT_ATTR_NODIRATIME)
Any good reason for aligning the \ using spaces all the way out?
That's just my clang-format config I use with vim. When I do Ctrl + E it
automatically aligns them on the closest "tab boundary. I'll fix this
up.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help