Lines Matching full:uid
6 * Code for uid-swapping.
44 /* Saved effective uid. */
49 /* Saved effective uid. */
57 * Temporarily changes to the given uid. If the effective user
119 /* Set the effective uid to the given (unprivileged) uid. */ in temporarily_use_uid()
126 /* Propagate the privileged uid to all of our uids. */ in temporarily_use_uid()
139 * Restores to the original (privileged) uid.
154 /* Set the effective uid back to the saved privileged uid. */ in restore_uid()
161 * We are unable to restore the real uid to its unprivileged value. in restore_uid()
162 * Propagate the real uid (usually more privileged) to effective uid in restore_uid()
177 * Permanently sets all uids to the given uid. This cannot be
226 /* Try restoration of UID if changed (test clearing of saved uid) */ in permanently_set_uid()
229 fatal("%s: was able to restore old [e]uid", __func__); in permanently_set_uid()
232 /* Verify UID drop was successful */ in permanently_set_uid()
234 fatal("%s: euid incorrect uid:%u euid:%u (should be %u)", in permanently_set_uid()