Determines whether the privileges are subsets.
Security Library (libc.a)
The priv_subset subroutine determines whether the privileges specified by the pv1 parameter are subsets of the privileges specified by the pv2 parameter.
| Item | Description |
|---|---|
| pv1 | The privilege set that might be the subsets of the pv2 parameter. |
| pv2 | The privilege set whose subsets might be the pv1 parameter. |
The priv_subset subroutine returns one of the following values:
| Item | Description |
|---|---|
| 0 | The pv1 parameter is not subset of the pv2 parameter. |
| 1 | The pv1 parameter is subset of the pv2 parameter. |
No errno value is set.