diff --git a/policy/modules/kernel/corecommands.if b/policy/modules/kernel/corecommands.if index a6e68d7..54972ac 100644 --- a/policy/modules/kernel/corecommands.if +++ b/policy/modules/kernel/corecommands.if @@ -293,6 +293,26 @@ interface(`corecmd_read_bin_sockets',` ## Execute generic programs in bin directories, ## in the caller domain. ## +## +##

+## Allow the specified domain to execute generic programs +## in system bin directories (/bin, /sbin, /usr/bin, +## /usr/sbin) a without domain transition. +##

+##

+## Typically, this interface should be used when the domain +## executes general system progams within the privileges +## of the source domain. Some examples of these programs +## are ls, cp, sed, python, and tar. This does not include +## shells, such as bash. +##

+##

+## Related interface: +##

+## +##
## ## ## Domain allowed access. @@ -770,8 +790,26 @@ interface(`corecmd_check_exec_shell',` ######################################## ## -## Execute a shell in the caller domain. +## Execute shells in the caller domain. ## +## +##

+## Allow the specified domain to execute shells without +## a domain transition. +##

+##

+## Typically, this interface should be used when the domain +## executes shells within the privileges +## of the source domain. Some examples of these programs +## are bash, tcsh, and zsh. +##

+##

+## Related interface: +##

+## +##
## ## ## Domain allowed access.