Blame strict/macros/program/login_macros.te
|
Chris PeBenito |
0fbfa5 |
# Macros for login type programs (/bin/login, sshd, etc).
|
|
Chris PeBenito |
0fbfa5 |
#
|
|
Chris PeBenito |
0fbfa5 |
# Author: Russell Coker <russell@coker.com.au>
|
|
Chris PeBenito |
0fbfa5 |
#
|
|
Chris PeBenito |
0fbfa5 |
|
|
Chris PeBenito |
0fbfa5 |
define(`login_spawn_domain', `
|
|
Chris PeBenito |
0fbfa5 |
domain_trans($1_t, shell_exec_t, $2)
|
|
Chris PeBenito |
0fbfa5 |
|
|
Chris PeBenito |
0fbfa5 |
# Signal the user domains.
|
|
Chris PeBenito |
0fbfa5 |
allow $1_t $2:process signal;
|
|
Chris PeBenito |
0fbfa5 |
')
|