setresuid32 (2) Linux Manual Page
setresuid, setresgid – set real, effective and saved user or group ID Synopsis#define _GNU_SOURCE /* See feature_test_macros(7) */ #include <unistd.h> int setresuid(uid_t ruid, uid_t euid, uid_t suid); int setresgid(gid_t rgid, gid_t egid, gid_t sgid); Descriptionsetresuid() sets the real user ID, the effective user ID, and the saved set-user-ID of the calling process. An unprivileged process…
