Lines Matching refs:secp
2019 struct secinfo *secp; in checkauth() local
2145 secp = NULL; in checkauth()
2150 secp = sptr; in checkauth()
2154 if (secp != NULL) { in checkauth()
2155 (void) crsetugid(cr, secp->s_rootid, in checkauth()
2156 secp->s_rootid); in checkauth()
2180 secp = NULL; in checkauth()
2184 secp = &exi->exi_export.ex_secinfo[i]; in checkauth()
2189 if (!secp) { in checkauth()
2197 if (!checkwin(rpcflavor, secp->s_window, req)) { in checkauth()
2211 secp->s_rootcnt, secp->s_rootnames)) { in checkauth()
2212 if (crgetuid(cr) == 0 && secp->s_rootid == 0) in checkauth()
2216 (void) crsetugid(cr, secp->s_rootid, secp->s_rootid); in checkauth()
2279 struct secinfo *secp; in checkauth4() local
2383 secp = NULL; in checkauth4()
2388 secp = &exi->exi_export.ex_secinfo[i]; in checkauth4()
2392 if (secp != NULL) { in checkauth4()
2393 (void) crsetugid(cr, secp->s_rootid, in checkauth4()
2394 secp->s_rootid); in checkauth4()
2417 secp = NULL; in checkauth4()
2421 secp = &exi->exi_export.ex_secinfo[i]; in checkauth4()
2426 if (!secp) { in checkauth4()
2434 if (!checkwin(rpcflavor, secp->s_window, req)) { in checkauth4()
2448 secp->s_rootcnt, secp->s_rootnames)) { in checkauth4()
2449 if (crgetuid(cr) == 0 && secp->s_rootid == 0) in checkauth4()
2452 (void) crsetugid(cr, secp->s_rootid, secp->s_rootid); in checkauth4()