diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-10-09 08:13:29 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-10-09 08:13:29 +0000 |
commit | dd83dd6bda20f701ce637031532be14a165f1de1 (patch) | |
tree | 3003c4898f2717c1f40290da361a1ec4aa12715e /internal.h | |
parent | 0bf06ff434c0e4a88616c1c7d5be2c5f76978db4 (diff) |
process.c: uid gid exec options
* process.c (rb_execarg_addopt, rb_execarg_run_options): add :uid and
:gid options. [ruby-core:47414] [Feature #6975]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37124 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'internal.h')
-rw-r--r-- | internal.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/internal.h b/internal.h index 3a2331a867..e538de4404 100644 --- a/internal.h +++ b/internal.h @@ -203,9 +203,13 @@ struct rb_execarg { unsigned chdir_given : 1; unsigned new_pgroup_given : 1; unsigned new_pgroup_flag : 1; + unsigned uid_given : 1; + unsigned gid_given : 1; rb_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; + rb_uid_t uid; + rb_gid_t gid; VALUE fd_dup2; VALUE fd_close; VALUE fd_open; |