selinux-refpolicy/targeted/macros/program/login_macros.te

12 lines
240 B
Plaintext

# Macros for login type programs (/bin/login, sshd, etc).
#
# Author: Russell Coker <russell@coker.com.au>
#
define(`login_spawn_domain', `
domain_trans($1_t, shell_exec_t, $2)
# Signal the user domains.
allow $1_t $2:process signal;
')