21 lines
452 B
Plaintext
21 lines
452 B
Plaintext
## <summary>helper function for grantpt(3), changes ownship and permissions of pseudotty</summary>
|
|
|
|
########################################
|
|
## <summary>
|
|
## Execute a domain transition to run ptchown.
|
|
## </summary>
|
|
## <param name="domain">
|
|
## <summary>
|
|
## Domain allowed to transition.
|
|
## </summary>
|
|
## </param>
|
|
#
|
|
interface(`ptchown_domtrans',`
|
|
gen_require(`
|
|
type ptchown_t, ptchown_exec_t;
|
|
')
|
|
|
|
domtrans_pattern($1, ptchown_exec_t, ptchown_t)
|
|
')
|
|
|