Home
last modified time | relevance | path

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

12

/illumos-gate/usr/src/lib/libc/port/sys/
H A Dppriv.c29 #pragma weak _setpflags = setpflags
74 setpflags(uint_t flag, uint_t val) in setpflags() function
/illumos-gate/usr/src/cmd/ptools/ppriv/
H A Dppriv.c548 if (setpflags(NET_MAC_AWARE, 1) != 0) in privupdate_self()
550 if (setpflags(NET_MAC_AWARE_INHERIT, 1) != 0) in privupdate_self()
554 if (setpflags(PRIV_PFEXEC, 1) != 0) in privupdate_self()
594 (void) setpflags(PRIV_DEBUG, Don ? 1 : 0); in privupdate_self()
596 (void) setpflags(PRIV_XPOLICY, 1); in privupdate_self()
598 (void) setpflags(PRIV_PFEXEC, 1); in privupdate_self()
/illumos-gate/usr/src/cmd/pfexec/
H A Dpfexec.c105 if (setpflags(PRIV_PFEXEC, 1) != 0) { in main()
169 (void) setpflags(PRIV_PFEXEC, oflag); in main()
/illumos-gate/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()
/illumos-gate/usr/src/cmd/gss/gssd/
H A Dgssd_getuid.c76 (void) setpflags(PRIV_AWARE, 1); in set_gssd_uid()
/illumos-gate/usr/src/head/
H A Dpriv.h49 extern int setpflags(uint_t, uint_t);
/illumos-gate/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()
/illumos-gate/usr/src/man/man2/
H A DMakefile253 setpflags.2 \
338 setpflags.2 := LINKSRC = getpflags.2
/illumos-gate/usr/src/cmd/bhyve/
H A Dprivileges.c106 (void) setpflags(PRIV_DEBUG, 1); in illumos_priv_init()
/illumos-gate/usr/src/uts/common/sys/
H A Dpriv.h242 extern int setpflags(uint_t, uint_t, cred_t *);
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dklpdlib.c144 (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()
/illumos-gate/usr/src/cmd/fs.d/nfs/umount/
H A Dumount.c132 (void) setpflags(NET_MAC_AWARE, 1); in main()
/illumos-gate/usr/src/cmd/fs.d/autofs/
H A Dautod_main.c307 (void) setpflags(NET_MAC_AWARE, 1);
308 (void) setpflags(NET_MAC_AWARE_INHERIT, 1);
/illumos-gate/usr/src/cmd/smbsrv/smbd/
H A Dsmbd_main.c371 (void) setpflags(__PROC_PROTECT, 0); in smb_init_daemon_priv()
/illumos-gate/usr/src/lib/c_synonyms/
H A Dsyn_common785 setpflags
/illumos-gate/usr/src/cmd/fs.d/
H A Dumount.c397 setpflags(PRIV_PFEXEC, 1) != 0) { in doexec()
H A Dmount.c826 setpflags(PRIV_PFEXEC, 1) != 0) { in doexec()
/illumos-gate/usr/src/pkg/manifests/
H A Dsystem-kernel.man2.inc205 link path=usr/share/man/man2/setpflags.2 target=getpflags.2
/illumos-gate/usr/src/uts/common/fs/smbclnt/netsmb/
H A Dsmb_subrs.c71 (void) setpflags(NET_MAC_AWARE, 1, cr); in smb_credinit()
/illumos-gate/usr/src/uts/common/os/
H A Dpriv_defs228 setpflags(2). This privilege also allows a process to set
/illumos-gate/usr/src/cmd/fs.d/nfs/mount/
H A Dmount.c320 (void) setpflags(NET_MAC_AWARE, 1); in main()
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs_subr.c1055 (void) setpflags(NET_MAC_AWARE, 1, cr); in rfscall()
1606 (void) setpflags(NET_MAC_AWARE, 1, cr); in aclcall()
H A Dnfs4_subr.c1250 (void) setpflags(NET_MAC_AWARE, 1, cr); in nfs4_rfscall()
H A Dnfs4_stub_vnops.c858 (void) setpflags(NET_MAC_AWARE, 1, mcred); in nfs4_trigger_mount()

12