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

Commit b64ec06e authored by Yongqin Liu's avatar Yongqin Liu Committed by Miodrag Dinic
Browse files

selinux: add security in-core xattr support for tracefs



Since kernel 4.1 ftrace is supported as a new separate filesystem. It
gets automatically mounted by the kernel under the old path
/sys/kernel/debug/tracing. Because it lives now on a separate filesystem
SELinux needs to be updated to also support setting SELinux labels
on tracefs inodes.  This is required for compatibility in Android
when moving to Linux 4.1 or newer.

Change-Id: I2aa803ccffbcd2802a7287514da7648e6b364157
Signed-off-by: default avatarYongqin Liu <yongqin.liu@linaro.org>
Signed-off-by: default avatarWilliam Roberts <william.c.roberts@intel.com>
Acked-by: default avatarStephen Smalley <sds@tycho.nsa.gov>
Signed-off-by: default avatarPaul Moore <paul@paul-moore.com>
(cherry picked from commit a2c7c6fbe5ab48f6e4ed22f4649c76d1efbfe643)
parent ba420f35
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment