Linux heracles.o2switch.net 4.18.0-553.62.1.lve.el8.x86_64 #1 SMP Mon Jul 21 17:50:35 UTC 2025 x86_64
/
opt
/
alt
/
ruby21
/
share
/
ri
/
2.1.0
/
system
/
Process
/
UID
/
//opt/alt/ruby21/share/ri/2.1.0/system/Process/UID/grant_privilege-c.ri
U:RDoc::AnyMethod[iI"grant_privilege:ETI""Process::UID::grant_privilege;TT:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"FSet the effective user ID, and if possible, the saved user ID of ;TI"6the process to the given _user_. Returns the new ;TI"7effective user ID. Not available on all platforms.;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [I"5[Process.uid, Process.euid] #=> [0, 0] ;TI"1Process::UID.grant_privilege(31) #=> 31 ;TI"5[Process.uid, Process.euid] #=> [0, 31];T:@format0: @fileI"process.c;T:0@omit_headings_from_table_of_contents_below0I"cProcess::UID.grant_privilege(user) -> fixnum Process::UID.eid= user -> fixnum ;T0[ I" (p1);T@FI"UID;TcRDoc::NormalModule00