Searched refs:setcred_flags (Results 1 – 2 of 2) sorted by relevance
32 u_int setcred_flags = 0; in main() local65 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()
1927 u_int setcred_flags; member1937 u_int setcred_flags; in mac_do_priv_grant() local1955 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()