diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-06-23 07:30:26 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-06-23 07:30:26 +0000 |
commit | f732c5046ed89b0ed669e97f36f5fa05b9a33b73 (patch) | |
tree | 8ec82d27a42b5612da1c06f259c21909bb12039d /internal.h | |
parent | b25b9569e55ece9e7a4f3971b412d67ff804c504 (diff) |
* internal.h (rb_execarg): add rlimit_limits field.
* process.c (EXEC_OPTION_RLIMIT): removed.
(mark_exec_arg): mark rlimit_limits field.
(rb_execarg_addopt): update the new fields, instead of options array.
(run_exec_rlimit): use the new field.
(rb_execarg_run_options): clear sarg using MEMZERO. use the new
field.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36196 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'internal.h')
-rw-r--r-- | internal.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/internal.h b/internal.h index b6c7dda7a9..662d8bf474 100644 --- a/internal.h +++ b/internal.h @@ -184,6 +184,7 @@ struct rb_execarg { unsigned close_others_do : 1; unsigned chdir_given : 1; pid_t pgroup_pgid; /* asis(-1), new pgroup(0), specified pgroup (0<V). */ + VALUE rlimit_limits; /* Qfalse or [[rtype, softlim, hardlim], ...] */ mode_t umask_mask; int close_others_maxhint; VALUE chdir_dir; |