69c742f11b
On systems such as Arch Linux, all programs which are usually located in /bin, /sbin, /usr/bin and /usr/sbin are present in /usr/bin and the other locations are symbolic links to this directory. With such a configuration, the file contexts which define types for files in /bin, /sbin and /usr/sbin need to be duplicated to provide definitions for /usr/bin/... As the "/bin vs. /usr/bin" part of the needed definitions has already been done with the "usr merge" patches, the next step consists in duplicating file contexts for /usr/sbin. This is what this patch does for all modules which are not in contrib. This is the second iteration of an idea I have previously posted on http://oss.tresys.com/pipermail/refpolicy/2017-March/009176.html
20 lines
1.2 KiB
Plaintext
20 lines
1.2 KiB
Plaintext
/usr/bin/arping -- gen_context(system_u:object_r:netutils_exec_t,s0)
|
|
/usr/bin/fping -- gen_context(system_u:object_r:ping_exec_t,s0)
|
|
/usr/bin/hping2 -- gen_context(system_u:object_r:ping_exec_t,s0)
|
|
/usr/bin/iptstate -- gen_context(system_u:object_r:netutils_exec_t,s0)
|
|
/usr/bin/lft -- gen_context(system_u:object_r:traceroute_exec_t,s0)
|
|
/usr/bin/nmap -- gen_context(system_u:object_r:traceroute_exec_t,s0)
|
|
/usr/bin/ping.* -- gen_context(system_u:object_r:ping_exec_t,s0)
|
|
/usr/bin/send_arp -- gen_context(system_u:object_r:ping_exec_t,s0)
|
|
/usr/bin/tcpdump -- gen_context(system_u:object_r:netutils_exec_t,s0)
|
|
/usr/bin/tracepath.* -- gen_context(system_u:object_r:traceroute_exec_t,s0)
|
|
/usr/bin/traceroute.* -- gen_context(system_u:object_r:traceroute_exec_t,s0)
|
|
|
|
/usr/sbin/arping -- gen_context(system_u:object_r:netutils_exec_t,s0)
|
|
/usr/sbin/fping -- gen_context(system_u:object_r:ping_exec_t,s0)
|
|
/usr/sbin/hping2 -- gen_context(system_u:object_r:ping_exec_t,s0)
|
|
/usr/sbin/iptstate -- gen_context(system_u:object_r:netutils_exec_t,s0)
|
|
/usr/sbin/send_arp -- gen_context(system_u:object_r:ping_exec_t,s0)
|
|
/usr/sbin/tcpdump -- gen_context(system_u:object_r:netutils_exec_t,s0)
|
|
/usr/sbin/traceroute.* -- gen_context(system_u:object_r:traceroute_exec_t,s0)
|