aboutsummaryrefslogtreecommitdiff
blob: fd9ad36c9a7b29e5c0b46fb274f7b5bcf35a1f7c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/etc/modules\.conf.*		--	gen_context(system_u:object_r:modules_conf_t,s0)
/etc/modprobe\.conf.*		--	gen_context(system_u:object_r:modules_conf_t,s0)
/etc/modprobe\.d(/.*)?			gen_context(system_u:object_r:modules_conf_t,s0)

ifdef(`distro_gentoo',`
# gentoo init scripts still manage this file
# even if devfs is off
/etc/modprobe.devfs.*		--	gen_context(system_u:object_r:modules_conf_t,s0)
')

/run/tmpfiles\.d/kmod\.conf	--	gen_context(system_u:object_r:kmod_tmpfiles_conf_t,s0)

/usr/bin/depmod.*		--	gen_context(system_u:object_r:kmod_exec_t,s0)
/usr/bin/generate-modprobe\.conf --	gen_context(system_u:object_r:kmod_exec_t,s0)
/usr/bin/insmod.*		--	gen_context(system_u:object_r:kmod_exec_t,s0)
/usr/bin/kmod			--	gen_context(system_u:object_r:kmod_exec_t,s0)
/usr/bin/modprobe.*		--	gen_context(system_u:object_r:kmod_exec_t,s0)
/usr/bin/modules-update		--	gen_context(system_u:object_r:kmod_exec_t,s0)
/usr/bin/rmmod.*		--	gen_context(system_u:object_r:kmod_exec_t,s0)
/usr/bin/update-modules		--	gen_context(system_u:object_r:kmod_exec_t,s0)

/usr/lib/modules(/.*)?			gen_context(system_u:object_r:modules_object_t,s0)
/usr/lib/modules/[^/]+/modules\..+ --	gen_context(system_u:object_r:modules_dep_t,s0)
/usr/lib/modules/modprobe\.conf	--	gen_context(system_u:object_r:modules_conf_t,s0)

/usr/sbin/depmod.*		--	gen_context(system_u:object_r:kmod_exec_t,s0)
/usr/sbin/generate-modprobe\.conf --	gen_context(system_u:object_r:kmod_exec_t,s0)
/usr/sbin/insmod.*		--	gen_context(system_u:object_r:kmod_exec_t,s0)
/usr/sbin/modprobe.*		--	gen_context(system_u:object_r:kmod_exec_t,s0)
/usr/sbin/modules-update	--	gen_context(system_u:object_r:kmod_exec_t,s0)
/usr/sbin/rmmod.*		--	gen_context(system_u:object_r:kmod_exec_t,s0)
/usr/sbin/update-modules	--	gen_context(system_u:object_r:kmod_exec_t,s0)