On Tue, Dec 6, 2022 at 3:26 PM Paul Moore <paul@xxxxxxxxxxxxxx> wrote: > > On Mon, Dec 5, 2022 at 6:32 AM <ye.xingchen@xxxxxxxxxx> wrote: > > From: ye xingchen <ye.xingchen@xxxxxxxxxx> > > > > Follow the advice of the Documentation/filesystems/sysfs.rst and show() > > should only use sysfs_emit() or sysfs_emit_at() when formatting the > > value to be returned to user space. > > > > Signed-off-by: ye xingchen <ye.xingchen@xxxxxxxxxx> > > --- > > security/selinux/avc.c | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > SELinux uses securityfs, not sysfs, for entries under /sys/fs/selinux. Sorry, a little mental mistake in the above, SELinux uses *selinuxfs* and not sysfs. Thanks to the little birdie that pointed this out :) -- paul-moore.com