2017-04-13 00:19:12 +02:00
|
|
|
# Toolbox installation for vendor binaries / scripts
|
|
|
|
# Non-vendor processes are not allowed to execute the binary
|
|
|
|
# and is always executed without transition.
|
|
|
|
type vendor_toolbox_exec, exec_type, vendor_file_type, file_type;
|
|
|
|
|
|
|
|
# Do not allow domains to transition to vendor toolbox
|
|
|
|
# or read, execute the vendor_toolbox file.
|
|
|
|
full_treble_only(`
|
|
|
|
# Do not allow non-vendor domains to transition
|
2020-07-31 20:28:11 +02:00
|
|
|
# to vendor toolbox except for the allowlisted domains.
|
2017-05-22 21:09:14 +02:00
|
|
|
neverallow {
|
|
|
|
coredomain
|
|
|
|
-init
|
|
|
|
-modprobe
|
|
|
|
} vendor_toolbox_exec:file { entrypoint execute execute_no_trans };
|
2017-04-13 00:19:12 +02:00
|
|
|
')
|