Home
last modified time | relevance | path

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

/titanic_41/usr/src/uts/common/disp/
H A Dclass.c253 cred_t *reqpcredp; in parmsset() local
262 crhold(reqpcredp = reqpp->p_cred); in parmsset()
268 if (!prochasprocperm(targpp, reqpp, reqpcredp)) { in parmsset()
269 crfree(reqpcredp); in parmsset()
273 reqpcredp = NULL; in parmsset()
289 error = CL_CANEXIT(targtp, reqpcredp); in parmsset()
294 crfree(reqpcredp); in parmsset()
302 crfree(reqpcredp); in parmsset()
306 parmsp->pc_clparms, reqpcredp, bufp); in parmsset()
307 crfree(reqpcredp); in parmsset()
[all …]
H A Dsysclass.c140 sys_enterclass(t, cid, parmsp, reqpcredp, bufp) in sys_enterclass() argument
144 cred_t *reqpcredp;
152 sys_canexit(kthread_t *t, cred_t *reqpcredp) in sys_canexit() argument
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 Dts.c380 ts_admin(caddr_t uaddr, cred_t *reqpcredp) in ts_admin() argument
461 if (secpolicy_dispadm(reqpcredp) != 0) in ts_admin()
545 cred_t *reqpcredp, void *bufp) in ts_enterclass() argument
567 if (reqpcredp != NULL && !groupmember(IA_gid, reqpcredp) && in ts_enterclass()
568 secpolicy_setpriority(reqpcredp) != 0) in ts_enterclass()
596 secpolicy_setpriority(reqpcredp) != 0) in ts_enterclass()
605 secpolicy_setpriority(reqpcredp) != 0) in ts_enterclass()
1159 ts_parmsset(kthread_t *tx, void *parmsp, id_t reqpcid, cred_t *reqpcredp) in ts_parmsset() argument
1199 if (reqpcredp != NULL && in ts_parmsset()
1201 secpolicy_raisepriority(reqpcredp) != 0) in ts_parmsset()
[all …]
H A Dfx.c301 fx_admin(caddr_t uaddr, cred_t *reqpcredp) in fx_admin() argument
382 if (secpolicy_dispadm(reqpcredp) != 0) { in fx_admin()
441 fx_enterclass(kthread_t *t, id_t cid, void *parmsp, cred_t *reqpcredp, in fx_enterclass() argument
475 secpolicy_setpriority(reqpcredp) != 0) in fx_enterclass()
485 secpolicy_setpriority(reqpcredp) != 0) in fx_enterclass()
508 if (secpolicy_setpriority(reqpcredp) != 0) in fx_enterclass()
1013 fx_parmsset(kthread_t *tx, void *parmsp, id_t reqpcid, cred_t *reqpcredp) in fx_parmsset() argument
1047 if ((reqpcredp != NULL) && in fx_parmsset()
1050 secpolicy_raisepriority(reqpcredp) != 0) { in fx_parmsset()
H A Dfss.c1426 fss_admin(caddr_t uaddr, cred_t *reqpcredp) in fss_admin() argument
1435 if (secpolicy_dispadm(reqpcredp) != 0) in fss_admin()
1621 fss_enterclass(kthread_t *t, id_t cid, void *parmsp, cred_t *reqpcredp, in fss_enterclass() argument
1644 if (reqpcredp != NULL && secpolicy_setpriority(reqpcredp) != 0) in fss_enterclass()
1665 secpolicy_setpriority(reqpcredp) != 0) in fss_enterclass()
1673 secpolicy_setpriority(reqpcredp) != 0) in fss_enterclass()
1983 fss_parmsset(kthread_t *t, void *parmsp, id_t reqpcid, cred_t *reqpcredp) in fss_parmsset() argument
2021 if ((reqpcredp != NULL) && in fss_parmsset()
2023 secpolicy_raisepriority(reqpcredp) != 0) in fss_parmsset()
H A Dsysdc.c946 sysdc_enterclass(kthread_t *t, id_t cid, void *parmsp, cred_t *reqpcredp, in sysdc_enterclass() argument
1059 sysdc_canexit(kthread_t *t, cred_t *reqpcredp) in sysdc_canexit() argument
/titanic_41/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)