Method: Process::GID#re_exchangeable?
- Defined in:
- process.c
#Process::GID.re_exchangeable? ⇒ Boolean (private)
Returns true
if the real and effective group IDs of a process may be exchanged on the current platform.
7630 7631 7632 7633 7634 7635 7636 7637 7638 7639 7640 |
# File 'process.c', line 7630 static VALUE p_gid_exchangeable(VALUE _) { #if defined(HAVE_SETRESGID) return Qtrue; #elif defined(HAVE_SETREGID) && !defined(OBSOLETE_SETREGID) return Qtrue; #else return Qfalse; #endif } |