1
0
Fork 0
mirror of https://github.com/perlbot/perlbuut synced 2025-06-07 18:45:42 -04:00

chrdir to /eval now to simplify the environment

This commit is contained in:
Ryan Voots 2017-05-05 02:20:09 -04:00
parent d3ca0bbeb3
commit 449600f79f
2 changed files with 2 additions and 1 deletions

@ -1 +1 @@
Subproject commit a53b215419533e1d9720137fd38bf420b64aec22 Subproject commit fe69764c77d5f9047c006de6944d4a36b46e510e

View file

@ -366,6 +366,7 @@ use Storable qw/nfreeze/; nfreeze([]); #Preload Nfreeze since it's loaded on dem
chroot(".") or die $!; chroot(".") or die $!;
chdir("/eval") or die $!;
if ($< == 0) { if ($< == 0) {
# Here's where we actually drop our root privilege # Here's where we actually drop our root privilege