Searched refs:old_prpriv (Results 1 - 3 of 3) sorted by relevance

/illumos-gate/usr/src/cmd/newtask/
H A Dnewtask.c518 prpriv_t *old_prpriv, *new_prpriv; local
528 old_prpriv = proc_get_priv(Pstatus(p)->pr_pid);
529 if (old_prpriv == NULL) {
534 prsz = PRIV_PRPRIV_SIZE(old_prpriv);
539 proc_free_priv(old_prpriv);
543 (void) memcpy(new_prpriv, old_prpriv, prsz);
568 proc_free_priv(old_prpriv);
578 proc_free_priv(old_prpriv);
596 if (Psetpriv(p, old_prpriv) != 0) {
618 proc_free_priv(old_prpriv);
[all...]
/illumos-gate/usr/src/cmd/plimit/
H A Dplimit.c475 prpriv_t *old_prpriv = NULL, *new_prpriv = NULL; local
523 old_prpriv = proc_get_priv(Pstatus(Pr)->pr_pid);
524 if (old_prpriv == NULL) {
544 proc_free_priv(old_prpriv);
557 if (old_prpriv != NULL) {
558 if (Psetpriv(Pr, old_prpriv) != 0) {
580 proc_free_priv(old_prpriv);
/illumos-gate/usr/src/cmd/prctl/
H A Dprctl.c1744 prpriv_t *old_prpriv = NULL, *new_prpriv = NULL; local
1776 old_prpriv = proc_get_priv(Pstatus(Pr)->pr_pid);
1777 if (old_prpriv == NULL) {
1793 proc_free_priv(old_prpriv);
1881 if (old_prpriv != NULL) {
1882 if (Psetpriv(Pr, old_prpriv) != 0)
1884 proc_free_priv(old_prpriv);

Completed in 89 milliseconds