summaryrefslogtreecommitdiffstats
path: root/lib/puppet/util/rdoc/code_objects.rb
diff options
context:
space:
mode:
authorJesse Wolfe <jes5199@gmail.com>2010-11-04 17:32:11 -0700
committerJesse Wolfe <jes5199@gmail.com>2010-11-09 10:26:13 -0800
commit5c2457952660e3e531e085757fd85c382676a96e (patch)
treeedd18d37fe28c42a81dbe461977e0fb112139394 /lib/puppet/util/rdoc/code_objects.rb
parent555d6bc671a1a9c128d6f66b2d85b011c84761ba (diff)
downloadpuppet-5c2457952660e3e531e085757fd85c382676a96e.tar.gz
puppet-5c2457952660e3e531e085757fd85c382676a96e.tar.xz
puppet-5c2457952660e3e531e085757fd85c382676a96e.zip
maint: prevent fork bombs by disabling ActiveSupport's Kernel.daemonize
ActiveSupport provides a "daemonize" method on all objects that causes the ruby process to fork to the background. This is extremely surprising and dangerous, and some of our spec tests could trigger this accidentally. This patch adds a "daemonize" method to Object which shadows the ActiveSupport version, preventing it from ever being called.
Diffstat (limited to 'lib/puppet/util/rdoc/code_objects.rb')
0 files changed, 0 insertions, 0 deletions