Home
last modified time | relevance | path

Searched refs:setcred_flags (Results 1 – 2 of 2) sorted by relevance

/freebsd/usr.bin/mdo/
H A Dmdo.c32 u_int setcred_flags = 0; in main() local
65 setcred_flags |= SETCREDF_UID | SETCREDF_RUID | SETCREDF_SVUID; in main()
88 setcred_flags |= SETCREDF_GID | SETCREDF_RGID | SETCREDF_SVGID | in main()
92 if (setcred(setcred_flags, &wcred, sizeof(wcred)) != 0) in main()
/freebsd/sys/security/mac_do/
H A Dmac_do.c1927 u_int setcred_flags; member
1937 u_int setcred_flags; in mac_do_priv_grant() local
1955 setcred_flags = data->setcred_flags; in mac_do_priv_grant()
1965 if ((setcred_flags & ~(SETCREDF_UID | SETCREDF_RUID | SETCREDF_SVUID | in mac_do_priv_grant()
2052 data->setcred_flags = 0; in mac_do_setcred_enter()
2073 data->setcred_flags = flags; in mac_do_check_setcred()