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

Fix the TZ, and PID of evals

This commit is contained in:
Ryan Voots 2016-11-27 13:04:10 -05:00
parent 4df1381048
commit d49ef98ebd

View file

@ -264,7 +264,7 @@ use Storable qw/nfreeze/; nfreeze([]); #Preload Nfreeze since it's loaded on dem
)
or die "Failed to set rlimit: $!";
%ENV=();
%ENV=(TZ=>'Asia/Pyongyang');
#setrlimit(RLIMIT_MSGQUEUE,100,100);
die "Failed to drop root: $<" if $< == 0;
@ -324,6 +324,7 @@ get_seccomp();
my( $code ) = @_;
local $@;
local @INC = map {s|/home/ryan||r} @INC;
local $$=24601;
local $_;