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 ptchown domain, and allow the specified role the ptchown domain.
Parameter: | Description: |
---|---|
domain |
Domain allowed access. |
role |
The role to be allowed the ptchown domain. |