policy_module(corecommands,1.0) ######################################## # # Declarations # # # bin_t is the type of files in the system bin directories. # type bin_t; files_type(bin_t) ifdef(`targeted_policy',` # Define some type aliases to help with compatibility with # macros and domains from the "strict" policy. typealias bin_t alias su_exec_t; ') # # sbin_t is the type of files in the system sbin directories. # type sbin_t; files_type(sbin_t) # # ls_exec_t is the type of the ls program. # type ls_exec_t; files_type(ls_exec_t) # # shell_exec_t is the type of user shells such as /bin/bash. # type shell_exec_t; files_type(shell_exec_t) type chroot_exec_t; files_type(chroot_exec_t)