filesystem: pathcon for matching tracefs mount

Prevent restorecon from trying to relabel /sys/fs/tracing .

Signed-off-by: bauen1 <j2468h@gmail.com>
This commit is contained in:
bauen1 2020-05-26 18:59:37 +02:00
parent c9354399f9
commit ee323d3b9a
No known key found for this signature in database
GPG Key ID: FF0AAF5E0812BA9C
1 changed files with 2 additions and 0 deletions

View File

@ -20,6 +20,8 @@
/sys/fs/pstore -d gen_context(system_u:object_r:pstore_t,s0)
/sys/fs/pstore/.* <<none>>
/sys/kernel/tracing(/.*)? <<none>>
ifdef(`distro_debian',`
/run/shm -d gen_context(system_u:object_r:tmpfs_t,s0)
/run/shm/.* <<none>>