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

Commit 69552c0c authored by Eric W. Biederman's avatar Eric W. Biederman
Browse files

userns: Convert configfs to use kuid and kgid where appropriate



Cc: Joel Becker <jlbec@evilplan.org>
Acked-by: default avatarSerge Hallyn <serge.hallyn@canonical.com>
Signed-off-by: default avatarEric W. Biederman <ebiederm@xmission.com>
parent af84df93
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -79,8 +79,8 @@ int configfs_setattr(struct dentry * dentry, struct iattr * iattr)
			return -ENOMEM;
		/* assign default attributes */
		sd_iattr->ia_mode = sd->s_mode;
		sd_iattr->ia_uid = 0;
		sd_iattr->ia_gid = 0;
		sd_iattr->ia_uid = GLOBAL_ROOT_UID;
		sd_iattr->ia_gid = GLOBAL_ROOT_GID;
		sd_iattr->ia_atime = sd_iattr->ia_mtime = sd_iattr->ia_ctime = CURRENT_TIME;
		sd->s_iattr = sd_iattr;
	}
+0 −1
Original line number Diff line number Diff line
@@ -950,7 +950,6 @@ config UIDGID_CONVERTED
	depends on CEPH_FS = n
	depends on CIFS = n
	depends on CODA_FS = n
	depends on CONFIGFS_FS = n
	depends on CRAMFS = n
	depends on ECRYPT_FS = n
	depends on EFS_FS = n