/titanic_44/usr/src/lib/libtsol/common/ |
H A D | privlib.c | 75 status = setppriv(op, PRIV_EFFECTIVE, priv_set); in set_effective_priv() 125 status = setppriv(op, PRIV_INHERITABLE, priv_set); in set_inheritable_priv() 175 status = setppriv(op, PRIV_PERMITTED, priv_set); in set_permitted_priv()
|
/titanic_44/usr/src/lib/libc/port/gen/ |
H A D | privlib.c | 435 ret = setppriv(op, setname, pset); in priv_set() 519 (void) setppriv(PRIV_SET, effective, perm); in __init_daemon_priv() 527 setppriv(PRIV_SET, limit, nset) != 0) in __init_daemon_priv() 532 if (setppriv(PRIV_SET, limit, perm) != 0) in __init_daemon_priv() 537 if (setppriv(PRIV_SET, permitted, nset) != 0) in __init_daemon_priv() 543 ret = setppriv(PRIV_SET, inheritable, nset); in __init_daemon_priv() 585 (void) setppriv(PRIV_OFF, permitted, nset); in __fini_daemon_priv() 661 if ((r = setppriv(PRIV_SET, effective, tmpset)) != 0) in __init_suid_priv() 664 if ((r = setppriv(PRIV_SET, permitted, nset)) != 0) in __init_suid_priv() 671 (r = setppriv(PRIV_SET, limit, nset)) != 0) in __init_suid_priv() [all …]
|
H A D | klpdlib.c | 146 (void) setppriv(PRIV_OFF, PRIV_INHERITABLE, set); in klpd_register_id()
|
/titanic_44/usr/src/cmd/gss/gssd/ |
H A D | gssd_getuid.c | 96 (void) setppriv(PRIV_SET, PRIV_EFFECTIVE, highprivs); in set_gssd_uid() 116 (void) setppriv(PRIV_SET, PRIV_EFFECTIVE, lowprivs); in set_gssd_uid()
|
/titanic_44/usr/src/lib/libc/port/sys/ |
H A D | ppriv.c | 29 #pragma weak _setppriv = setppriv 41 setppriv(priv_op_t op, priv_ptype_t type, const priv_set_t *pset) in setppriv() function
|
/titanic_44/usr/src/cmd/hal/hald/ |
H A D | util_helper.c | 83 (void) setppriv(PRIV_SET, PRIV_PERMITTED, pPrivSet); in drop_privileges() 86 (void) setppriv(PRIV_SET, PRIV_LIMIT, pPrivSet); in drop_privileges()
|
/titanic_44/usr/src/cmd/cmd-inet/lib/nwamd/ |
H A D | util.c | 94 if (setppriv(PRIV_SET, PRIV_EFFECTIVE, priv_set) == -1) { in nwamd_escalate() 140 if (setppriv(PRIV_SET, PRIV_INHERITABLE, priv_set) == -1) { in nwamd_deescalate() 149 if (setppriv(PRIV_SET, PRIV_PERMITTED, allpriv_set) == -1) { in nwamd_deescalate() 158 if (setppriv(PRIV_SET, PRIV_EFFECTIVE, priv_set) == -1) { in nwamd_deescalate()
|
/titanic_44/usr/src/cmd/acctadm/ |
H A D | main.c | 90 if (setppriv(PRIV_OFF, PRIV_PERMITTED, privset) == -1) in setup_privs() 100 if (setppriv(PRIV_SET, PRIV_INHERITABLE, privset) == -1 || in setup_privs() 101 setppriv(PRIV_SET, PRIV_LIMIT, privset) == -1) in setup_privs()
|
/titanic_44/usr/src/cmd/hal/probing/xkb/ |
H A D | probe-xkb.c | 68 if (setppriv(PRIV_SET, PRIV_PERMITTED, pPrivSet) != 0) { in drop_privileges() 79 if (setppriv(PRIV_SET, PRIV_LIMIT, lPrivSet) != 0) { in drop_privileges()
|
/titanic_44/usr/src/head/ |
H A D | priv.h | 47 extern int setppriv(priv_op_t, priv_ptype_t, const priv_set_t *);
|
/titanic_44/usr/src/cmd/hal/addons/network-devices/ |
H A D | addon-network-discovery.c | 289 if (setppriv(PRIV_SET, PRIV_PERMITTED, pPrivSet) != 0) { in drop_privileges() 300 if (setppriv(PRIV_SET, PRIV_LIMIT, lPrivSet) != 0) { in drop_privileges()
|
/titanic_44/usr/src/uts/common/syscall/ |
H A D | ppriv.c | 55 setppriv(priv_op_t op, priv_ptype_t type, priv_set_t *in_pset) in setppriv() function 383 return (setppriv(op, type, buf)); in privsys()
|
/titanic_44/usr/src/cmd/smbsrv/smbd/ |
H A D | smbd_main.c | 347 (void) setppriv(PRIV_SET, PRIV_EFFECTIVE, perm); in smb_init_daemon_priv() 355 ret = setppriv(PRIV_SET, PRIV_INHERITABLE, perm); in smb_init_daemon_priv() 412 (void) setppriv(PRIV_OFF, PRIV_EFFECTIVE, pset); in smbd_daemonize_fini()
|
/titanic_44/usr/src/man/man2/ |
H A D | Makefile | 246 setppriv.2 \ 335 setppriv.2 := LINKSRC = getppriv.2
|
/titanic_44/usr/src/cmd/hal/addons/storage/ |
H A D | addon-storage.c | 295 if (setppriv(PRIV_SET, PRIV_PERMITTED, pPrivSet) != 0) { in drop_privileges() 306 if (setppriv(PRIV_SET, PRIV_LIMIT, lPrivSet) != 0) { in drop_privileges()
|
/titanic_44/usr/src/cmd/dlmgmtd/ |
H A D | dlmgmt_main.c | 400 if (err == 0 && setppriv(PRIV_SET, ptype, pset) == -1) in dlmgmt_drop_privileges() 415 if (setppriv(PRIV_SET, PRIV_EFFECTIVE, privset) == -1) in dlmgmt_elevate_privileges()
|
/titanic_44/usr/src/cmd/pfexec/ |
H A D | pfexec.c | 163 if (setppriv(PRIV_ON, PRIV_INHERITABLE, wanted) != 0) { in main()
|
/titanic_44/usr/src/cmd/hal/probing/storage/ |
H A D | probe-storage.c | 306 if (setppriv(PRIV_SET, PRIV_PERMITTED, pPrivSet) != 0) { in drop_privileges() 317 if (setppriv(PRIV_SET, PRIV_LIMIT, lPrivSet) != 0) { in drop_privileges()
|
/titanic_44/usr/src/cmd/login/ |
H A D | login_audit.c | 185 (setppriv(PRIV_SET, PRIV_PERMITTED, priv) != 0)) { in audit_logout()
|
/titanic_44/usr/src/cmd/ssh/libssh/common/ |
H A D | uidswap.c | 249 if (setppriv(PRIV_SET, PRIV_PERMITTED, pset) == -1) in permanently_set_uid()
|
/titanic_44/usr/src/lib/pam_modules/unix_cred/ |
H A D | unix_cred.c | 619 if (setppriv(PRIV_SET, PRIV_INHERITABLE, def) != 0) { in pam_sm_setcred() 635 if (setppriv(PRIV_SET, PRIV_LIMIT, lim) != 0) { in pam_sm_setcred()
|
/titanic_44/usr/src/cmd/hal/probing/volume/ |
H A D | probe-volume.c | 399 if (setppriv(PRIV_SET, PRIV_PERMITTED, pPrivSet) != 0) { in drop_privileges() 410 if (setppriv(PRIV_SET, PRIV_LIMIT, lPrivSet) != 0) { in drop_privileges()
|
/titanic_44/usr/src/cmd/ndmpd/ndmp/ |
H A D | ndmpd_main.c | 148 if (pset == NULL || setppriv(PRIV_SET, PRIV_EFFECTIVE, pset) != 0) { in set_privileges()
|
/titanic_44/usr/src/cmd/ptools/ppriv/ |
H A D | ppriv.c | 573 if (setppriv(PRIV_SET, PRIV_INHERITABLE, target) != 0) in privupdate_self() 586 if (setppriv(PRIV_SET, PRIV_LIMIT, target) != 0) in privupdate_self()
|
/titanic_44/usr/src/cmd/zlogin/ |
H A D | zlogin.c | 239 if ((setppriv(PRIV_SET, PRIV_PERMITTED, dropprivs)) == -1) { in postfork_dropprivs() 242 if ((setppriv(PRIV_SET, PRIV_LIMIT, dropprivs)) == -1) { in postfork_dropprivs() 245 if ((setppriv(PRIV_SET, PRIV_INHERITABLE, dropprivs)) == -1) { in postfork_dropprivs()
|