helper function for grantpt(3), changes ownship and permissions of pseudotty.
Execute a domain transition to run ptchown.
Parameter: | Description: |
---|---|
domain |
Domain allowed to transition. |
Execute ptchown in the caller domain.
Parameter: | Description: |
---|---|
domain |
Domain allowed access. |
Execute ptchown in the ptchown domain, and allow the specified role the ptchown domain.
Parameter: | Description: |
---|---|
domain |
Domain allowed to transition. |
role |
Role allowed access. |