Searched refs:setppriv (Results 1 - 16 of 16) sorted by relevance

/osnet-11/usr/src/lib/libtsol/common/
H A Dprivlib.c75 status = setppriv(op, PRIV_EFFECTIVE, priv_set);
125 status = setppriv(op, PRIV_INHERITABLE, priv_set);
175 status = setppriv(op, PRIV_PERMITTED, priv_set);
/osnet-11/usr/src/cmd/hal/hald/
H A Dutil_helper.c81 (void) setppriv(PRIV_SET, PRIV_PERMITTED, pPrivSet);
84 (void) setppriv(PRIV_SET, PRIV_LIMIT, pPrivSet);
/osnet-11/usr/src/lib/libc/port/sys/
H A Dppriv.c29 #pragma weak _setppriv = setppriv
41 setppriv(priv_op_t op, priv_ptype_t type, const priv_set_t *pset) function
/osnet-11/usr/src/lib/libc/port/gen/
H A Dprivlib.c434 ret = setppriv(op, setname, pset);
518 (void) setppriv(PRIV_SET, effective, perm);
526 setppriv(PRIV_SET, limit, nset) != 0)
531 if (setppriv(PRIV_SET, limit, perm) != 0)
536 if (setppriv(PRIV_SET, permitted, nset) != 0)
542 ret = setppriv(PRIV_SET, inheritable, nset);
582 (void) setppriv(PRIV_OFF, permitted, nset);
660 if ((r = setppriv(PRIV_SET, effective, tmpset)) != 0)
663 if ((r = setppriv(PRIV_SET, permitted, nset)) != 0)
670 (r = setppriv(PRIV_SE
[all...]
/osnet-11/usr/src/cmd/perl/contrib/Sun/Solaris/Privilege/
H A DPrivilege.pm26 my @syscalls = qw(setppriv getppriv setpflags getpflags);
H A DPrivilege.xs139 setppriv(op, which, set)
/osnet-11/usr/src/lib/libnetcfg/common/
H A Dlibnetcfg_util.c54 (void) setppriv(PRIV_SET, PRIV_EFFECTIVE, pset);
74 if (setppriv(PRIV_SET, PRIV_EFFECTIVE, pset) == -1)
H A Dlibnetcfg_zio.c173 * since we are in the global zone. However, setppriv() fails because the
189 if (setppriv(PRIV_SET, PRIV_EFFECTIVE, pset) == -1)
/osnet-11/usr/src/cmd/hal/addons/network-devices/
H A Daddon-network-discovery.c289 if (setppriv(PRIV_SET, PRIV_PERMITTED, pPrivSet) != 0) {
300 if (setppriv(PRIV_SET, PRIV_LIMIT, lPrivSet) != 0) {
/osnet-11/usr/src/cmd/hal/probing/xkb/
H A Dprobe-xkb.c68 if (setppriv(PRIV_SET, PRIV_PERMITTED, pPrivSet) != 0) {
79 if (setppriv(PRIV_SET, PRIV_LIMIT, lPrivSet) != 0) {
/osnet-11/usr/src/cmd/hal/addons/storage/
H A Daddon-storage.c295 if (setppriv(PRIV_SET, PRIV_PERMITTED, pPrivSet) != 0) {
306 if (setppriv(PRIV_SET, PRIV_LIMIT, lPrivSet) != 0) {
/osnet-11/usr/src/cmd/hal/probing/storage/
H A Dprobe-storage.c287 if (setppriv(PRIV_SET, PRIV_PERMITTED, pPrivSet) != 0) {
298 if (setppriv(PRIV_SET, PRIV_LIMIT, lPrivSet) != 0) {
/osnet-11/usr/src/cmd/hal/addons/cpufreq/
H A Daddon-cpufreq.c987 if (setppriv(PRIV_SET, PRIV_INHERITABLE, pPrivSet) != 0) {
996 if (setppriv(PRIV_SET, PRIV_PERMITTED, pPrivSet) != 0) {
/osnet-11/usr/src/cmd/hal/probing/volume/
H A Dprobe-volume.c398 if (setppriv(PRIV_SET, PRIV_PERMITTED, pPrivSet) != 0) {
409 if (setppriv(PRIV_SET, PRIV_LIMIT, lPrivSet) != 0) {
/osnet-11/usr/src/lib/pam_modules/unix_cred/
H A Dunix_cred.c674 if (setppriv(PRIV_SET, PRIV_INHERITABLE, def) != 0) {
676 "pam_setcred: setppriv(defaultpriv) failed: %m");
690 if (setppriv(PRIV_SET, PRIV_LIMIT, lim) != 0) {
692 "pam_setcred: setppriv(limitpriv) failed: %m");
/osnet-11/usr/src/lib/librestart/common/
H A Dlibrestart.c3583 * EPERM - insufficient privilege (setregid, initgroups, setgroups, setppriv,
3589 * EFAULT - lpriv_set or priv_set has a bad address (setppriv)
3801 *fp = "setppriv";
3804 if (setppriv(PRIV_SET, PRIV_LIMIT, cip->lpriv_set) != 0) {
3811 if (setppriv(PRIV_SET, PRIV_INHERITABLE, cip->priv_set) != 0) {
3823 if (setppriv(PRIV_OFF, PRIV_INHERITABLE, rset) != 0) {
3856 *fp = "setppriv";
3858 if (setppriv(PRIV_SET, PRIV_PERMITTED, cip->priv_set) != 0) {

Completed in 52 milliseconds