Chris PeBenito 17de1b
Chris PeBenito 6c53a1
policy_module(corecommands,1.8.2)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
########################################
Chris PeBenito 17de1b
#
Chris PeBenito 17de1b
# Declarations
Chris PeBenito 17de1b
#
Chris PeBenito 17de1b
Chris PeBenito 17de1b
#
Chris PeBenito 17de1b
# Types with the exec_type attribute are executable files.
Chris PeBenito 17de1b
#
Chris PeBenito 17de1b
attribute exec_type;
Chris PeBenito 17de1b
Chris PeBenito 17de1b
#
Chris PeBenito 8021cb
# bin_t is the type of files in the system bin/sbin directories.
Chris PeBenito 17de1b
#
Chris PeBenito 8021cb
type bin_t alias { ls_exec_t sbin_t };
Chris PeBenito 17de1b
corecmd_executable_file(bin_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
#
Chris PeBenito 17de1b
# shell_exec_t is the type of user shells such as /bin/bash.
Chris PeBenito 17de1b
#
Chris PeBenito 17de1b
type shell_exec_t;
Chris PeBenito 17de1b
corecmd_executable_file(shell_exec_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
type chroot_exec_t;
Chris PeBenito 17de1b
corecmd_executable_file(chroot_exec_t)