Blame refpolicy/policy/modules/system/corecommands.te
|
Chris PeBenito |
e181fe |
# Copyright (C) 2005 Tresys Technology, LLC
|
|
Chris PeBenito |
e181fe |
|
|
Chris PeBenito |
960373 |
policy_module(corecommands,1.0)
|
|
Chris PeBenito |
960373 |
|
|
Chris PeBenito |
b4cd15 |
#
|
|
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 |
b4cd15 |
files_make_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 |
b4cd15 |
files_make_file(sbin_t)
|
|
Chris PeBenito |
b4cd15 |
kernel_read_directory_from(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 |
f1470e |
files_make_file(ls_exec_t)
|
|
Chris PeBenito |
b4cd15 |
|
|
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 |
33bc0d |
files_make_file(shell_exec_t)
|
|
Chris PeBenito |
b4cd15 |
|
|
Chris PeBenito |
b4cd15 |
type chroot_exec_t;
|
|
Chris PeBenito |
b4cd15 |
files_make_file(chroot_exec_t)
|