»Home
»Examples
»Invocation
»Runtime Library
»Python Bindings
»Known Issues
Shellcode Compiler
A custom shellcode compiler for Binary Ninja

# setreuid

    int setreuid(uid_t rid, uid_t eid);

Sets the real user ID to rid and the effective user ID to eid. If either parameter is zero, the corresponding ID is not set. Returns zero on success, or the negation of the error code on error.

## See also

geteuid, getuid, setuid, seteuid