HEX
Server: LiteSpeed
System: Linux server240.web-hosting.com 4.18.0-553.45.1.lve.el8.x86_64 #1 SMP Wed Mar 26 12:08:09 UTC 2025 x86_64
User: creaqbdc (8964)
PHP: 8.0.30
Disabled: NONE
Upload Files
File: //opt/alt/ruby18/share/ri/1.8/system/Process/UID/grant_privilege-c.yaml
--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Set the effective user ID, and if possible, the saved user ID of the process to the given <em>integer</em>. Returns the new effective user ID. Not available on all platforms.
- !ruby/struct:SM::Flow::VERB 
  body: "   [Process.uid, Process.euid]          #=&gt; [0, 0]\n   Process::UID.grant_privilege(31)     #=&gt; 31\n   [Process.uid, Process.euid]          #=&gt; [0, 31]\n"
full_name: Process::UID::grant_privilege
is_singleton: true
name: grant_privilege
params: |
  Process::UID.grant_privilege(integer)   => fixnum
  Process::UID.eid= integer               => fixnum

visibility: public