bf1ab85c1f
Generic interface to platform dependent persistent storage https://www.kernel.org/doc/Documentation/ABI/testing/pstore This basically works pretty much the same as cgroup file systems from a SELinux perspective Make sure that the installed /sys/fs/pstore directory is labeled properly so that the pstore file system can be mounted on that I also removed the files_type() calls as they are duplicate (it is already called in files_mountpoint) Signed-off-by: Dominick Grift <dominick.grift@gmail.com>
24 lines
764 B
Plaintext
24 lines
764 B
Plaintext
/cgroup -d gen_context(system_u:object_r:cgroup_t,s0)
|
|
/cgroup/.* <<none>>
|
|
|
|
/dev/hugepages -d gen_context(system_u:object_r:hugetlbfs_t,s0)
|
|
/dev/hugepages(/.*)? <<none>>
|
|
/dev/shm -d gen_context(system_u:object_r:tmpfs_t,s0)
|
|
/dev/shm/.* <<none>>
|
|
|
|
/lib/udev/devices/hugepages -d gen_context(system_u:object_r:hugetlbfs_t,s0)
|
|
/lib/udev/devices/hugepages/.* <<none>>
|
|
/lib/udev/devices/shm -d gen_context(system_u:object_r:tmpfs_t,s0)
|
|
/lib/udev/devices/shm/.* <<none>>
|
|
|
|
/sys/fs/cgroup -d gen_context(system_u:object_r:cgroup_t,s0)
|
|
/sys/fs/cgroup/.* <<none>>
|
|
|
|
/sys/fs/pstore -d gen_context(system_u:object_r:pstore_t,s0)
|
|
/sys/fs/pstore/.* <<none>>
|
|
|
|
ifdef(`distro_debian',`
|
|
/var/run/shm -d gen_context(system_u:object_r:tmpfs_t,s0)
|
|
/var/run/shm/.* <<none>>
|
|
')
|