summaryrefslogtreecommitdiff
path: root/ext/rubyvm
diff options
context:
space:
mode:
authornormal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-06-25 01:06:15 +0000
committernormal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-06-25 01:06:15 +0000
commitd3e8d4f35aabceef90445532b10b160a5ef52fcf (patch)
tree11e721ec62e5136c7aa5e4d99cbf794c3d7a6487 /ext/rubyvm
parent8c8247c6eb554d32fdb03f199df9c14d18bf71dc (diff)
mjit.c: avoid execvp PATH lookup in vfork-ed child
execvp(3) is not async-signal-safe and may alter libc internal states (e.g. those used by malloc). However execv(3) is async-signal-safe as of POSIX.1-2008. So perform the PATH lookup in the parent and use execv(3) in the child. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63744 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/rubyvm')
0 files changed, 0 insertions, 0 deletions