#include "ruby.h"
#include "rubysig.h"
#include <stdio.h>
#include <errno.h>
#include <signal.h>
#include <stdlib.h>
#include <unistd.h>
#include <time.h>
#include <ctype.h>
#include <sys/wait.h>
#include <sys/resource.h>
#include "st.h"
#include <sys/times.h>
#include <grp.h>
Go to the source code of this file.
|
|
Definition at line 915 of file process.c. Referenced by proc_exec_v(), rb_f_fork(), and rb_proc_exec(). |
|
|
Definition at line 914 of file process.c. Referenced by proc_exec_v(), and rb_proc_exec(). |
|
|
|
|
|
|
|
|
Referenced by rb_proc_times(). |
|
|
Definition at line 76 of file process.c. Referenced by pst_inspect(), pst_success_p(), and pst_wexitstatus(). |
|
|
Definition at line 67 of file process.c. Referenced by pst_inspect(), pst_success_p(), pst_wexitstatus(), and pst_wifexited(). |
|
|
Definition at line 70 of file process.c. Referenced by pst_inspect(), pst_wifsignaled(), and pst_wtermsig(). |
|
|
Definition at line 73 of file process.c. Referenced by pst_inspect(), pst_wifstopped(), and pst_wstopsig(). |
|
|
Definition at line 82 of file process.c. Referenced by pst_inspect(), and pst_wstopsig(). |
|
|
Definition at line 79 of file process.c. Referenced by pst_inspect(), and pst_wtermsig(). |
|
|
Definition at line 1834 of file process.c. References rb_eRuntimeError, rb_raise(), rb_secure(), and under_gid_switch. Referenced by p_gid_change_privilege(), p_gid_exchange(), p_gid_switch(), p_sys_setegid(), p_sys_setgid(), p_sys_setregid(), p_sys_setresgid(), p_sys_setrgid(), proc_setegid(), proc_setgid(), and rb_setegid_core(). |
|
|
Definition at line 1824 of file process.c. References rb_eRuntimeError, rb_raise(), rb_secure(), and under_uid_switch. Referenced by p_sys_seteuid(), p_sys_setresuid(), p_sys_setreuid(), p_sys_setruid(), p_sys_setuid(), p_uid_change_privilege(), p_uid_exchange(), p_uid_switch(), proc_seteuid(), proc_setuid(), and rb_seteuid_core(). |
|
|
Definition at line 841 of file process.c. References Qnil, rb_thread_sleep(), and rb_waitpid(). Referenced by rb_detach_process(). |
|
|
Referenced by proc_exec_v(), and rb_proc_exec(). |
|
|
Definition at line 125 of file process.c. References INT2FIX, and rb_secure(). Referenced by Init_process(). |
|
|
Definition at line 149 of file process.c. References INT2FIX, and rb_secure(). Referenced by Init_process(). |
|
|
||||||||||||
|
Definition at line 194 of file process.c. References INT2FIX, rb_cProcStatus, rb_iv_set(), rb_last_status, and rb_obj_alloc(). Referenced by proc_waitall(), rb_f_system(), and rb_waitpid(). |
|
||||||||||||
|
Definition at line 2608 of file process.c. References check_gid_switch(), INT2FIX, NUM2INT, rb_notimplement(), rb_sys_fail(), SAVED_GROUP_ID, and VALUE. Referenced by Init_process(). |
|
|
Definition at line 3066 of file process.c. References check_gid_switch(), INT2FIX, rb_notimplement(), rb_sys_fail(), SAVED_GROUP_ID, and VALUE. Referenced by Init_process(), and p_gid_switch(). |
|
|
Definition at line 3041 of file process.c. Referenced by Init_process(). |
|
||||||||||||
|
Definition at line 2966 of file process.c. References NUM2INT, rb_setegid_core(), and VALUE. Referenced by Init_process(). |
|
|
Definition at line 3212 of file process.c. Referenced by Init_process(). |
|
|
Definition at line 3223 of file process.c. References rb_setegid_core(), and under_gid_switch. Referenced by p_gid_switch(). |
|
|
Definition at line 3245 of file process.c. References check_gid_switch(), INT2FIX, p_gid_exchange(), p_gid_sw_ensure(), proc_setegid(), Qnil, rb_block_given_p(), rb_ensure(), rb_sys_fail(), rb_yield(), SAVED_GROUP_ID, under_gid_switch, and VALUE. Referenced by Init_process(). |
|
|
Definition at line 2330 of file process.c. References Qfalse, Qnil, Qtrue, rb_notimplement(), rb_secure(), and VALUE. Referenced by Init_process(). |
|
||||||||||||
|
Definition at line 2255 of file process.c. References check_gid_switch(), NUM2INT, Qnil, rb_notimplement(), rb_sys_fail(), and VALUE. Referenced by Init_process(). |
|
||||||||||||
|
Definition at line 1911 of file process.c. References check_uid_switch(), NUM2INT, Qnil, rb_notimplement(), rb_sys_fail(), and VALUE. Referenced by Init_process(). |
|
||||||||||||
|
Definition at line 2208 of file process.c. References check_gid_switch(), NUM2INT, Qnil, rb_notimplement(), rb_sys_fail(), and VALUE. Referenced by Init_process(). |
|
||||||||||||||||
|
Definition at line 2280 of file process.c. References check_gid_switch(), NUM2INT, Qnil, rb_notimplement(), rb_sys_fail(), and VALUE. Referenced by Init_process(). |
|
||||||||||||||||||||
|
Definition at line 2304 of file process.c. References check_gid_switch(), NUM2INT, Qnil, rb_notimplement(), rb_sys_fail(), and VALUE. Referenced by Init_process(). |
|
||||||||||||||||||||
|
Definition at line 1961 of file process.c. References check_uid_switch(), NUM2INT, Qnil, rb_notimplement(), rb_sys_fail(), and VALUE. Referenced by Init_process(). |
|
||||||||||||||||
|
Definition at line 1936 of file process.c. References check_uid_switch(), NUM2INT, Qnil, rb_notimplement(), rb_sys_fail(), and VALUE. Referenced by Init_process(). |
|
||||||||||||
|
Definition at line 2231 of file process.c. References check_gid_switch(), NUM2INT, Qnil, rb_notimplement(), rb_sys_fail(), and VALUE. Referenced by Init_process(). |
|
||||||||||||
|
Definition at line 1888 of file process.c. References check_uid_switch(), NUM2INT, Qnil, rb_notimplement(), rb_sys_fail(), and VALUE. Referenced by Init_process(). |
|
||||||||||||
|
Definition at line 1864 of file process.c. References check_uid_switch(), NUM2INT, Qnil, rb_notimplement(), rb_sys_fail(), and VALUE. Referenced by Init_process(). |
|
||||||||||||
|
Definition at line 2058 of file process.c. References check_uid_switch(), INT2FIX, NUM2INT, rb_notimplement(), rb_sys_fail(), SAVED_USER_ID, and VALUE. Referenced by Init_process(). |
|
|
Definition at line 3008 of file process.c. References check_uid_switch(), INT2FIX, rb_notimplement(), rb_sys_fail(), SAVED_USER_ID, and VALUE. Referenced by Init_process(), and p_uid_switch(). |
|
|
Definition at line 2983 of file process.c. Referenced by Init_process(). |
|
||||||||||||
|
Definition at line 2852 of file process.c. References NUM2INT, rb_seteuid_core(), and VALUE. Referenced by Init_process(). |
|
|
Definition at line 3100 of file process.c. Referenced by Init_process(). |
|
|
Definition at line 3112 of file process.c. References rb_seteuid_core(), and under_uid_switch. Referenced by p_uid_switch(). |
|
|
Definition at line 3134 of file process.c. References check_uid_switch(), INT2FIX, p_uid_exchange(), p_uid_sw_ensure(), proc_seteuid(), Qnil, rb_block_given_p(), rb_ensure(), rb_sys_fail(), rb_yield(), SAVED_USER_ID, under_uid_switch, and VALUE. Referenced by Init_process(). |
|
||||||||||||
|
Definition at line 903 of file process.c. References NUM2INT, rb_detach_process(), and rb_secure(). Referenced by Init_process(). |
|
||||||||||||||||
|
Definition at line 990 of file process.c. References ALLOCA_N, args, proc_exec_v(), RSTRING, SafeStringValue, and VALUE. Referenced by rb_f_exec(), and rb_f_system(). |
|
||||||||||||
|
Definition at line 935 of file process.c. References after_exec, ALLOCA_N, before_exec, dln_find_exe(), NULL, security(), strcasecmp(), and strrchr(). Referenced by proc_exec_n(), and rb_proc_exec(). |
|
|
Definition at line 2872 of file process.c. References INT2FIX, and VALUE. Referenced by Init_process(). |
|
|
Definition at line 2760 of file process.c. References INT2FIX, and VALUE. Referenced by Init_process(). |
|
|
Definition at line 2359 of file process.c. References INT2FIX, and VALUE. Referenced by Init_process(). |
|
|
Definition at line 2418 of file process.c. References ALLOCA_N, INT2NUM, maxgroups, Qnil, rb_ary_new(), rb_ary_push(), rb_gid_t, rb_notimplement(), rb_sys_fail(), and VALUE. Referenced by Init_process(), proc_initgroups(), and proc_setgroups(). |
|
|
Definition at line 2552 of file process.c. References INT2FIX, maxgroups, and VALUE. Referenced by Init_process(). |
|
||||||||||||
|
Definition at line 1661 of file process.c. References INT2NUM, NUM2INT, rb_notimplement(), rb_secure(), rb_sys_fail(), and VALUE. Referenced by Init_process(). |
|
|
Definition at line 1602 of file process.c. References INT2FIX, rb_notimplement(), rb_secure(), and rb_sys_fail(). Referenced by Init_process(). |
|
||||||||||||||||
|
Definition at line 1770 of file process.c. References INT2FIX, NUM2INT, rb_notimplement(), rb_secure(), rb_sys_fail(), and VALUE. Referenced by Init_process(). |
|
|
Definition at line 1986 of file process.c. References INT2FIX, and VALUE. Referenced by Init_process(). |
|
||||||||||||||||
|
Definition at line 2526 of file process.c. References NUM2INT, proc_getgroups(), Qnil, rb_gid_t, rb_notimplement(), rb_sys_fail(), StringValuePtr, and VALUE. Referenced by Init_process(). |
|
||||||||||||
|
Definition at line 2890 of file process.c. References check_gid_switch(), NUM2INT, rb_notimplement(), rb_sys_fail(), and VALUE. Referenced by Init_process(), and p_gid_switch(). |
|
||||||||||||
|
Definition at line 2777 of file process.c. References check_uid_switch(), NUM2INT, rb_notimplement(), rb_sys_fail(), and VALUE. Referenced by Init_process(), and p_uid_switch(). |
|
||||||||||||
|
Definition at line 2375 of file process.c. References check_gid_switch(), INT2FIX, NUM2INT, rb_notimplement(), rb_sys_fail(), and VALUE. Referenced by Init_process(). |
|