class method
Process::UID.re_exchangeable?
() -> bool
Process::UID.re_exchangeable? → true or false
process.c
View on GitHub ↗
static VALUE
p_uid_exchangeable(VALUE _)
{
#if defined(HAVE_SETRESUID)
return Qtrue;
#elif defined(HAVE_SETREUID) && !defined(OBSOLETE_SETREUID)
return Qtrue;
#else
return Qfalse;
#endif
}
Returns true if the real and effective user IDs of a process may be exchanged on the current platform.
See also
.re_exchange
.rid
.grant_privilege
.sid_available?
also in
4.1 · 3.4 · 3.3 · 3.2 · 3.1 · 3.0