• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Label inodes with the fs label.
2genfscon rootfs / u:object_r:rootfs:s0
3# proc labeling can be further refined (longest matching prefix).
4genfscon proc / u:object_r:proc:s0
5genfscon proc /net u:object_r:proc_net:s0
6genfscon proc /net/xt_qtaguid/ctrl u:object_r:qtaguid_proc:s0
7genfscon proc /cpuinfo u:object_r:proc_cpuinfo:s0
8genfscon proc /sysrq-trigger u:object_r:proc_sysrq:s0
9genfscon proc /sys/fs/protected_hardlinks u:object_r:proc_security:s0
10genfscon proc /sys/fs/protected_symlinks u:object_r:proc_security:s0
11genfscon proc /sys/fs/suid_dumpable u:object_r:proc_security:s0
12genfscon proc /sys/kernel/core_pattern u:object_r:usermodehelper:s0
13genfscon proc /sys/kernel/dmesg_restrict u:object_r:proc_security:s0
14genfscon proc /sys/kernel/hotplug u:object_r:usermodehelper:s0
15genfscon proc /sys/kernel/kptr_restrict u:object_r:proc_security:s0
16genfscon proc /sys/kernel/modprobe u:object_r:usermodehelper:s0
17genfscon proc /sys/kernel/modules_disabled u:object_r:proc_security:s0
18genfscon proc /sys/kernel/poweroff_cmd u:object_r:usermodehelper:s0
19genfscon proc /sys/kernel/randomize_va_space u:object_r:proc_security:s0
20genfscon proc /sys/kernel/usermodehelper u:object_r:usermodehelper:s0
21genfscon proc /sys/net u:object_r:proc_net:s0
22genfscon proc /sys/vm/mmap_min_addr u:object_r:proc_security:s0
23genfscon proc /sys/vm/drop_caches u:object_r:proc_drop_caches:s0
24genfscon proc /uid_cputime/show_uid_stat u:object_r:proc_uid_cputime_showstat:s0
25genfscon proc /uid_cputime/remove_uid_range u:object_r:proc_uid_cputime_removeuid:s0
26
27# selinuxfs booleans can be individually labeled.
28genfscon selinuxfs / u:object_r:selinuxfs:s0
29genfscon cgroup / u:object_r:cgroup:s0
30# sysfs labels can be set by userspace.
31genfscon sysfs / u:object_r:sysfs:s0
32genfscon inotifyfs / u:object_r:inotify:s0
33genfscon vfat / u:object_r:vfat:s0
34genfscon debugfs / u:object_r:debugfs:s0
35genfscon fuse / u:object_r:fuse:s0
36genfscon pstore / u:object_r:pstorefs:s0
37genfscon functionfs / u:object_r:functionfs:s0
38genfscon usbfs / u:object_r:usbfs:s0
39genfscon binfmt_misc / u:object_r:binfmt_miscfs:s0
40