Lines Matching defs:error
47 int error;
85 error = 0;
91 } else if ((error = secpolicy_allow_setid(cr, -1, B_FALSE)) == 0) {
119 if (error == 0) {
128 return (set_errno(error));
148 int error = EPERM;
175 (error = secpolicy_allow_setid(cr, -1, B_FALSE)) == 0) {
184 if (cr->cr_gid != gid && error == 0)
186 error = 0;
199 if (error == 0) {
208 return (set_errno(error));
222 int error = EPERM;
253 (error = secpolicy_allow_setid(cr, -1, B_FALSE)) == 0) {
278 cr->cr_sgid != newcr->cr_sgid) && error == 0)
280 error = 0;
285 if (error == 0) {
297 return (set_errno(error));