Home
last modified time | relevance | path

Searched refs:setpflags (Results 1 – 25 of 27) sorted by relevance

12

/titanic_50/usr/src/lib/libc/port/sys/
H A Dppriv.c31 #pragma weak _setpflags = setpflags
76 setpflags(uint_t flag, uint_t val) in setpflags() function
/titanic_50/usr/src/cmd/pfexec/
H A Dpfexec.c105 if (setpflags(PRIV_PFEXEC, 1) != 0) { in main()
169 (void) setpflags(PRIV_PFEXEC, oflag); in main()
/titanic_50/usr/src/cmd/ptools/ppriv/
H A Dppriv.c547 if (setpflags(NET_MAC_AWARE, 1) != 0) in privupdate_self()
549 if (setpflags(NET_MAC_AWARE_INHERIT, 1) != 0) in privupdate_self()
553 if (setpflags(PRIV_PFEXEC, 1) != 0) in privupdate_self()
593 (void) setpflags(PRIV_DEBUG, Don ? 1 : 0); in privupdate_self()
595 (void) setpflags(PRIV_XPOLICY, 1); in privupdate_self()
597 (void) setpflags(PRIV_PFEXEC, 1); in privupdate_self()
/titanic_50/usr/src/cmd/ssh/libssh/common/
H A Duidswap.c212 if (setpflags(PRIV_AWARE, 1) != 0) in permanently_set_uid()
253 if (setpflags(PRIV_AWARE, 0) == -1) in permanently_set_uid()
/titanic_50/usr/src/lib/pam_modules/unix_cred/
H A Dunix_cred.c618 (void) setpflags(PRIV_AWARE, 1); in pam_sm_setcred()
646 (void) setpflags(PRIV_AWARE_RESET, 1); in pam_sm_setcred()
652 (void) setpflags(PRIV_AWARE, 0); in pam_sm_setcred()
657 (void) setpflags(PRIV_PFEXEC, 0); in pam_sm_setcred()
/titanic_50/usr/src/cmd/gss/gssd/
H A Dgssd_getuid.c76 (void) setpflags(PRIV_AWARE, 1); in set_gssd_uid()
/titanic_50/usr/src/head/
H A Dpriv.h49 extern int setpflags(uint_t, uint_t);
/titanic_50/usr/src/uts/common/syscall/
H A Dppriv.c245 setpflags(uint_t flag, uint_t val, cred_t *tcr) in setpflags() function
391 retv = setpflags((uint_t)op, (uint_t)type, NULL); in privsys()
/titanic_50/usr/src/man/man2/
H A DMakefile245 setpflags.2 \
329 setpflags.2 := LINKSRC = getpflags.2
/titanic_50/usr/src/uts/common/sys/
H A Dpriv.h242 extern int setpflags(uint_t, uint_t, cred_t *);
/titanic_50/usr/src/lib/libc/port/gen/
H A Dklpdlib.c147 (void) setpflags(PRIV_XPOLICY, 1); in klpd_register_id()
H A Dprivlib.c559 (void) setpflags(__PROC_PROTECT, 0); in __init_daemon_priv()
589 (void) setpflags(__PROC_PROTECT, 0); in __fini_daemon_priv()
/titanic_50/usr/src/cmd/fs.d/nfs/umount/
H A Dumount.c134 (void) setpflags(NET_MAC_AWARE, 1); in main()
/titanic_50/usr/src/cmd/fs.d/autofs/
H A Dautod_main.c306 (void) setpflags(NET_MAC_AWARE, 1);
307 (void) setpflags(NET_MAC_AWARE_INHERIT, 1);
/titanic_50/usr/src/cmd/smbsrv/smbd/
H A Dsmbd_main.c370 (void) setpflags(__PROC_PROTECT, 0); in smb_init_daemon_priv()
/titanic_50/usr/src/lib/c_synonyms/
H A Dsyn_common785 setpflags
/titanic_50/usr/src/pkg/manifests/
H A Dsystem-kernel.man2.inc239 link path=usr/share/man/man2/setpflags.2 target=getpflags.2
/titanic_50/usr/src/uts/common/fs/smbclnt/netsmb/
H A Dsmb_subrs.c102 (void) setpflags(NET_MAC_AWARE, 1, cr); in smb_credinit()
/titanic_50/usr/src/uts/common/os/
H A Dpriv_defs228 setpflags(2). This privilege also allows a process to set
/titanic_50/usr/src/cmd/fs.d/nfs/mount/
H A Dmount.c320 (void) setpflags(NET_MAC_AWARE, 1); in main()
/titanic_50/usr/src/cmd/ssh/sshd/
H A Dsession.c2639 if (setpflags(PRIV_AWARE, 0) == -1) in drop_privs()
/titanic_50/usr/src/uts/common/fs/nfs/
H A Dnfs_subr.c1054 (void) setpflags(NET_MAC_AWARE, 1, cr); in rfscall()
1605 (void) setpflags(NET_MAC_AWARE, 1, cr); in aclcall()
H A Dnfs4_stub_vnops.c853 (void) setpflags(NET_MAC_AWARE, 1, mcred); in nfs4_trigger_mount()
H A Dnfs4_subr.c1250 (void) setpflags(NET_MAC_AWARE, 1, cr); in nfs4_rfscall()
/titanic_50/usr/src/lib/librestart/common/
H A Dlibrestart.c3632 ret = setpflags(PRIV_AWARE, 1); in restarter_set_method_context()

12