sys_getresuid [kernel/sys.c]


Gets the real UID, effective UID, and saved set-user-ID of the current process.

Arguments

eax 165
ebx A pointer to a buffer that will receive the real UID.
ecx A pointer to a buffer that will receive the effective UID.
edx A pointer to a buffer that will receive the set-user ID.

Return values

If the system call succeeds the return value is 0.
If the system call fails the return value is -EFAUL meaning that one of the arguments specified an address outside the calling program's address space.

Remarks

n/a

Compatibility

n/a