_cap_check
return (_cap_check(havep, needp, CAPFAIL_NOTCAPABLE));
error = _cap_check(cap_rights(fdp, fd), rights, CAPFAIL_INCREASE);