Blame refpolicy/policy/modules/kernel/corecommands.te
|
Chris PeBenito |
e181fe |
|
|
Chris PeBenito |
0e1c46 |
policy_module(corecommands,1.3.10)
|
|
Chris PeBenito |
960373 |
|
|
Chris PeBenito |
fd89e1 |
########################################
|
|
Chris PeBenito |
fd89e1 |
#
|
|
Chris PeBenito |
fd89e1 |
# Declarations
|
|
Chris PeBenito |
fd89e1 |
#
|
|
Chris PeBenito |
fd89e1 |
|
|
Chris PeBenito |
b4cd15 |
#
|
|
Chris PeBenito |
fb63d0 |
# Types with the exec_type attribute are executable files.
|
|
Chris PeBenito |
fb63d0 |
#
|
|
Chris PeBenito |
fb63d0 |
attribute exec_type;
|
|
Chris PeBenito |
fb63d0 |
|
|
Chris PeBenito |
fb63d0 |
#
|
|
Chris PeBenito |
b4cd15 |
# bin_t is the type of files in the system bin directories.
|
|
Chris PeBenito |
b4cd15 |
#
|
|
Chris PeBenito |
b4cd15 |
type bin_t;
|
|
Chris PeBenito |
fb63d0 |
corecmd_executable_file(bin_t)
|
|
Chris PeBenito |
b4cd15 |
|
|
Chris PeBenito |
b4cd15 |
#
|
|
Chris PeBenito |
b4cd15 |
# sbin_t is the type of files in the system sbin directories.
|
|
Chris PeBenito |
b4cd15 |
#
|
|
Chris PeBenito |
b4cd15 |
type sbin_t;
|
|
Chris PeBenito |
fb63d0 |
corecmd_executable_file(sbin_t)
|
|
Chris PeBenito |
b4cd15 |
|
|
Chris PeBenito |
b4cd15 |
#
|
|
Chris PeBenito |
b4cd15 |
# ls_exec_t is the type of the ls program.
|
|
Chris PeBenito |
b4cd15 |
#
|
|
Chris PeBenito |
f1470e |
type ls_exec_t;
|
|
Chris PeBenito |
fb63d0 |
corecmd_executable_file(ls_exec_t)
|
|
Chris PeBenito |
d1b9d9 |
|
|
Chris PeBenito |
b4cd15 |
#
|
|
Chris PeBenito |
b4cd15 |
# shell_exec_t is the type of user shells such as /bin/bash.
|
|
Chris PeBenito |
b4cd15 |
#
|
|
Chris PeBenito |
b4cd15 |
type shell_exec_t;
|
|
Chris PeBenito |
fb63d0 |
corecmd_executable_file(shell_exec_t)
|
|
Chris PeBenito |
b4cd15 |
|
|
Chris PeBenito |
b4cd15 |
type chroot_exec_t;
|
|
Chris PeBenito |
fb63d0 |
corecmd_executable_file(chroot_exec_t)
|