* Test whether a capability grants the requested rights. */
| 173 | * Test whether a capability grants the requested rights. |
| 174 | */ |
| 175 | int |
| 176 | cap_check(const cap_rights_t *havep, const cap_rights_t *needp) |
| 177 | { |
| 178 | |
| 179 | return (_cap_check(havep, needp, CAPFAIL_NOTCAPABLE)); |
| 180 | } |
| 181 | |
| 182 | int |
| 183 | cap_check_failed_notcapable(const cap_rights_t *havep, const cap_rights_t *needp) |
no test coverage detected