Blame policy/modules/apps/ptchown.if
|
Chris PeBenito |
aac56b |
## <summary>helper function for grantpt(3), changes ownship and permissions of pseudotty</summary>
|
|
Chris PeBenito |
aac56b |
|
|
Chris PeBenito |
aac56b |
########################################
|
|
Chris PeBenito |
aac56b |
## <summary>
|
|
Chris PeBenito |
aac56b |
## Execute a domain transition to run ptchown.
|
|
Chris PeBenito |
aac56b |
## </summary>
|
|
Chris PeBenito |
aac56b |
## <param name="domain">
|
|
Chris PeBenito |
aac56b |
## <summary>
|
|
Chris PeBenito |
aac56b |
## Domain allowed to transition.
|
|
Chris PeBenito |
aac56b |
## </summary>
|
|
Chris PeBenito |
aac56b |
## </param>
|
|
Chris PeBenito |
aac56b |
#
|
|
Chris PeBenito |
aac56b |
interface(`ptchown_domtrans',`
|
|
Chris PeBenito |
aac56b |
gen_require(`
|
|
Chris PeBenito |
aac56b |
type ptchown_t, ptchown_exec_t;
|
|
Chris PeBenito |
aac56b |
')
|
|
Chris PeBenito |
aac56b |
|
|
Chris PeBenito |
aac56b |
domtrans_pattern($1, ptchown_exec_t, ptchown_t)
|
|
Chris PeBenito |
aac56b |
')
|
|
Chris PeBenito |
aac56b |
|