Home
last modified time | relevance | path

Searched refs:reqpcredp (Results 1 – 8 of 8) sorted by relevance

/illumos-gate/usr/src/uts/common/disp/
H A Dclass.c251 cred_t *reqpcredp; in parmsset() local
260 crhold(reqpcredp = reqpp->p_cred); in parmsset()
266 if (!prochasprocperm(targpp, reqpp, reqpcredp)) { in parmsset()
267 crfree(reqpcredp); in parmsset()
271 reqpcredp = NULL; in parmsset()
287 error = CL_CANEXIT(targtp, reqpcredp); in parmsset()
292 crfree(reqpcredp); in parmsset()
300 crfree(reqpcredp); in parmsset()
304 parmsp->pc_clparms, reqpcredp, bufp); in parmsset()
305 crfree(reqpcredp); in parmsset()
[all …]
H A Dsysclass.c139 sys_enterclass(t, cid, parmsp, reqpcredp, bufp) in sys_enterclass() argument
143 cred_t *reqpcredp;
151 sys_canexit(kthread_t *t, cred_t *reqpcredp) in sys_canexit() argument
H A Dts.c378 ts_admin(caddr_t uaddr, cred_t *reqpcredp) in ts_admin() argument
459 if (secpolicy_dispadm(reqpcredp) != 0) in ts_admin()
542 ts_enterclass(kthread_t *t, id_t cid, void *parmsp, cred_t *reqpcredp, in ts_enterclass() argument
565 if (reqpcredp != NULL && !groupmember(IA_gid, reqpcredp) && in ts_enterclass()
566 secpolicy_setpriority(reqpcredp) != 0) in ts_enterclass()
594 secpolicy_setpriority(reqpcredp) != 0) in ts_enterclass()
603 secpolicy_setpriority(reqpcredp) != 0) in ts_enterclass()
1156 ts_parmsset(kthread_t *tx, void *parmsp, id_t reqpcid, cred_t *reqpcredp) in ts_parmsset() argument
1196 if (reqpcredp != NULL && in ts_parmsset()
1198 secpolicy_raisepriority(reqpcredp) != 0) in ts_parmsset()
[all …]
H A Drt.c220 rt_admin(caddr_t uaddr, cred_t *reqpcredp) in rt_admin() argument
302 if (secpolicy_dispadm(reqpcredp) != 0) in rt_admin()
355 rt_enterclass(kthread_t *t, id_t cid, void *parmsp, cred_t *reqpcredp, in rt_enterclass() argument
368 if (reqpcredp != NULL && secpolicy_setpriority(reqpcredp) != 0) in rt_enterclass()
851 rt_parmsset(kthread_t *tx, void *prmsp, id_t reqpcid, cred_t *reqpcredp) in rt_parmsset() argument
871 if (reqpcredp != NULL && reqpcid != rt_cid && in rt_parmsset()
872 secpolicy_raisepriority(reqpcredp) != 0) in rt_parmsset()
H A Dfx.c300 fx_admin(caddr_t uaddr, cred_t *reqpcredp) in fx_admin() argument
381 if (secpolicy_dispadm(reqpcredp) != 0) { in fx_admin()
440 fx_enterclass(kthread_t *t, id_t cid, void *parmsp, cred_t *reqpcredp, in fx_enterclass() argument
474 secpolicy_setpriority(reqpcredp) != 0) in fx_enterclass()
484 secpolicy_setpriority(reqpcredp) != 0) in fx_enterclass()
507 if (secpolicy_setpriority(reqpcredp) != 0) in fx_enterclass()
1012 fx_parmsset(kthread_t *tx, void *parmsp, id_t reqpcid, cred_t *reqpcredp) in fx_parmsset() argument
1046 if ((reqpcredp != NULL) && in fx_parmsset()
1049 secpolicy_raisepriority(reqpcredp) != 0) { in fx_parmsset()
H A Dfss.c1423 fss_admin(caddr_t uaddr, cred_t *reqpcredp) in fss_admin() argument
1432 if (secpolicy_dispadm(reqpcredp) != 0) in fss_admin()
1618 fss_enterclass(kthread_t *t, id_t cid, void *parmsp, cred_t *reqpcredp, in fss_enterclass() argument
1641 if (reqpcredp != NULL && secpolicy_setpriority(reqpcredp) != 0) in fss_enterclass()
1662 secpolicy_setpriority(reqpcredp) != 0) in fss_enterclass()
1670 secpolicy_setpriority(reqpcredp) != 0) in fss_enterclass()
1979 fss_parmsset(kthread_t *t, void *parmsp, id_t reqpcid, cred_t *reqpcredp) in fss_parmsset() argument
2017 if ((reqpcredp != NULL) && in fss_parmsset()
2019 secpolicy_raisepriority(reqpcredp) != 0) in fss_parmsset()
H A Dsysdc.c920 sysdc_enterclass(kthread_t *t, id_t cid, void *parmsp, cred_t *reqpcredp, in sysdc_enterclass() argument
1033 sysdc_canexit(kthread_t *t, cred_t *reqpcredp) in sysdc_canexit() argument
/illumos-gate/usr/src/uts/common/sys/
H A Dclass.h147 #define CL_ADMIN(clp, uaddr, reqpcredp) \ argument
148 (*(clp)->cl_funcs->sclass.cl_admin)(uaddr, reqpcredp)