ÿØÿà JFIF ÿÛ „ ( %!1!%*+...983,7(-.-
grant_privilege-c.ri 0000644 00000001442 15235310456 0010506 0 ustar 00 U:RDoc::AnyMethod[iI"grant_privilege:ETI""Process::GID::grant_privilege;TT:privateo:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"HSet the effective group ID, and if possible, the saved group ID of ;TI"7the process to the given _group_. Returns the new ;TI"8effective group ID. Not available on all platforms.;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [I"5[Process.gid, Process.egid] #=> [0, 0]
;TI"1Process::GID.grant_privilege(31) #=> 33
;TI"5[Process.gid, Process.egid] #=> [0, 33];T:@format0:
@fileI"process.c;T:0@omit_headings_from_table_of_contents_below0I"iProcess::GID.grant_privilege(group) -> integer
Process::GID.eid = group -> integer
;T0[ I" (p1);T@FI"GID;TcRDoc::NormalModule00 re_exchange-c.ri 0000644 00000001202 15235310456 0007567 0 ustar 00 U:RDoc::AnyMethod[iI"re_exchange:ETI"Process::GID::re_exchange;TT:privateo:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"HExchange real and effective group IDs and return the new effective ;TI".group ID. Not available on all platforms.;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [I"/[Process.gid, Process.egid] #=> [0, 33]
;TI")Process::GID.re_exchange #=> 0
;TI".[Process.gid, Process.egid] #=> [33, 0];T:@format0:
@fileI"process.c;T:0@omit_headings_from_table_of_contents_below0I"+Process::GID.re_exchange -> integer
;T0[ I"();T@FI"GID;TcRDoc::NormalModule00 rid-c.ri 0000644 00000000771 15235310456 0006107 0 ustar 00 U:RDoc::AnyMethod[iI"rid:ETI"Process::GID::rid;TT:privateo:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"2Returns the (real) group ID for this process.;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [I"Process.gid #=> 500;T:@format0:
@fileI"process.c;T:0@omit_headings_from_table_of_contents_below0I"hProcess.gid -> integer
Process::GID.rid -> integer
Process::Sys.getgid -> integer
;T0[ I"();T@FI"GID;TcRDoc::NormalModule00 change_privilege-c.ri 0000644 00000001333 15235310456 0010617 0 ustar 00 U:RDoc::AnyMethod[iI"change_privilege:ETI"#Process::GID::change_privilege;TT:privateo:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"FChange the current process's real and effective group ID to that ;TI"9specified by _group_. Returns the new group ID. Not ;TI" available on all platforms.;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [I"5[Process.gid, Process.egid] #=> [0, 0]
;TI"1Process::GID.change_privilege(33) #=> 33
;TI"6[Process.gid, Process.egid] #=> [33, 33];T:@format0:
@fileI"process.c;T:0@omit_headings_from_table_of_contents_below0I"7Process::GID.change_privilege(group) -> integer
;T0[ I" (p1);T@FI"GID;TcRDoc::NormalModule00 from_name-c.ri 0000644 00000001160 15235310456 0007265 0 ustar 00 U:RDoc::AnyMethod[iI"from_name:ETI"Process::GID::from_name;TT:privateo:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"%Get the group ID by the _name_. ;TI"?If the group is not found, +ArgumentError+ will be raised.;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [I"+Process::GID.from_name("wheel") #=> 0
;TI"_Process::GID.from_name("nosuchgroup") #=> can't find group for nosuchgroup (ArgumentError);T:@format0:
@fileI"process.c;T:0@omit_headings_from_table_of_contents_below0I"+Process::GID.from_name(name) -> gid
;T0[ I" (p1);T@FI"GID;TcRDoc::NormalModule00 eid-c.ri 0000644 00000001044 15235310456 0006064 0 ustar 00 U:RDoc::AnyMethod[iI"eid:ETI"Process::GID::eid;TT:privateo:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"GReturns the effective group ID for this process. Not available on ;TI"all platforms.;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [I"Process.egid #=> 500;T:@format0:
@fileI"process.c;T:0@omit_headings_from_table_of_contents_below0I"hProcess.egid -> integer
Process::GID.eid -> integer
Process::Sys.geteid -> integer
;T0[ I"();T@FI"GID;TcRDoc::NormalModule00 switch-c.ri 0000644 00000001222 15235310456 0006622 0 ustar 00 U:RDoc::AnyMethod[iI"switch:ETI"Process::GID::switch;TT:privateo:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [
I"HSwitch the effective and real group IDs of the current process. If ;TI"Da block is given, the group IDs will be switched back ;TI"Hafter the block is executed. Returns the new effective group ID if ;TI"Fcalled without a block, and the return value of the block if one ;TI"is given.;T:
@fileI"process.c;T:0@omit_headings_from_table_of_contents_below0I"\Process::GID.switch -> integer
Process::GID.switch {|| block} -> object
;T0[ I"();T@FI"GID;TcRDoc::NormalModule00 cdesc-GID.ri 0000644 00000001454 15235310456 0006572 0 ustar 00 U:RDoc::NormalModule[iI"GID:ETI"Process::GID;T0o:RDoc::Markup::Document:@parts[o;;[o:RDoc::Markup::Paragraph;[I"6The Process::GID module contains a collection of ;TI"Bmodule functions which can be used to portably get, set, and ;TI"Gswitch the current process's real, effective, and saved group IDs.;T:
@fileI"process.c;T:0@omit_headings_from_table_of_contents_below0;
0;0[ [ [ [[I"
class;T[[:public[ [:protected[ [:private[[I"change_privilege;TI"process.c;T[I"eid;T@"[I"from_name;T@"[I"grant_privilege;T@"[I"re_exchange;T@"[I"re_exchangeable?;T@"[I"rid;T@"[I"sid_available?;T@"[I"switch;T@"[I"
instance;T[[;[ [;
[ [;[ [ [U:RDoc::Context::Section[i 0o;;[ ;
0;0[I"process.c;TI"Process;TcRDoc::NormalModule re_exchangeable%3f-c.ri 0000644 00000000705 15235310456 0010720 0 ustar 00 U:RDoc::AnyMethod[iI"re_exchangeable?:ETI"#Process::GID::re_exchangeable?;TT:privateo:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"=Returns +true+ if the real and effective group IDs of a ;TI"6process may be exchanged on the current platform.;T:
@fileI"process.c;T:0@omit_headings_from_table_of_contents_below0I"6Process::GID.re_exchangeable? -> true or false
;T0[ I"();T@FI"GID;TcRDoc::NormalModule00 sid_available%3f-c.ri 0000644 00000000636 15235310456 0010406 0 ustar 00 U:RDoc::AnyMethod[iI"sid_available?:ETI"!Process::GID::sid_available?;TT:privateo:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I" true or false
;T0[ I"();T@FI"GID;TcRDoc::NormalModule00