Chris PeBenito 76a9fe
policy_module(corecommands, 1.13.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)
Jeremy Solt d6e1ef
dev_associate(bin_t)	#For /dev/MAKEDEV
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)