mirror of
https://github.com/perlbot/perlbuut
synced 2025-06-07 22:35:43 -04:00
Fix the TZ, and PID of evals
This commit is contained in:
parent
4df1381048
commit
d49ef98ebd
1 changed files with 2 additions and 1 deletions
|
@ -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 $_;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue