Merge pull request #138 from bauen1/filesystem_bpf

This commit is contained in:
Chris PeBenito 2019-12-26 11:41:23 -05:00
commit 3165b50515
2 changed files with 8 additions and 0 deletions

View File

@ -11,6 +11,8 @@
/usr/lib/udev/devices/shm -d gen_context(system_u:object_r:tmpfs_t,s0) /usr/lib/udev/devices/shm -d gen_context(system_u:object_r:tmpfs_t,s0)
/usr/lib/udev/devices/shm/.* <<none>> /usr/lib/udev/devices/shm/.* <<none>>
/sys/fs/bpf(/.*)? <<none>>
/sys/fs/cgroup -d gen_context(system_u:object_r:cgroup_t,s0) /sys/fs/cgroup -d gen_context(system_u:object_r:cgroup_t,s0)
/sys/fs/cgroup/.* <<none>> /sys/fs/cgroup/.* <<none>>
/sys/fs/cgroup/[^/]+ -l gen_context(system_u:object_r:cgroup_t,s0) /sys/fs/cgroup/[^/]+ -l gen_context(system_u:object_r:cgroup_t,s0)

View File

@ -67,6 +67,12 @@ fs_type(binfmt_misc_fs_t)
files_mountpoint(binfmt_misc_fs_t) files_mountpoint(binfmt_misc_fs_t)
genfscon binfmt_misc / gen_context(system_u:object_r:binfmt_misc_fs_t,s0) genfscon binfmt_misc / gen_context(system_u:object_r:binfmt_misc_fs_t,s0)
type bpf_t;
fs_type(bpf_t)
files_mountpoint(bpf_t)
dev_associate_sysfs(bpf_t)
genfscon bpf / gen_context(system_u:object_r:bpf_t,s0)
type capifs_t; type capifs_t;
fs_type(capifs_t) fs_type(capifs_t)
files_mountpoint(capifs_t) files_mountpoint(capifs_t)