Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 91fa2cca authored by Eric W. Biederman's avatar Eric W. Biederman
Browse files

userns: Convert devtmpfs to use GLOBAL_ROOT_UID and GLOBAL_ROOT_GID

parent b9b73f7c
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -309,8 +309,8 @@ static int handle_remove(const char *nodename, struct device *dev)
			 * before unlinking this node, reset permissions
			 * of possible references like hardlinks
			 */
			newattrs.ia_uid = 0;
			newattrs.ia_gid = 0;
			newattrs.ia_uid = GLOBAL_ROOT_UID;
			newattrs.ia_gid = GLOBAL_ROOT_GID;
			newattrs.ia_mode = stat.mode & ~0777;
			newattrs.ia_valid =
				ATTR_UID|ATTR_GID|ATTR_MODE;
+0 −1
Original line number Diff line number Diff line
@@ -932,7 +932,6 @@ config UIDGID_CONVERTED
	depends on NET_9P = n

	# Filesystems
	depends on DEVTMPFS = n
	depends on XENFS = n

	depends on 9P_FS = n