| Server IP : 185.143.233.130 / Your IP : 185.215.232.195 Web Server : LiteSpeed System : Linux jambul.7ho.st 5.14.0-503.40.1.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Mon May 5 06:06:04 EDT 2025 x86_64 User : renecafe ( 1327) PHP Version : 8.1.33 Disable Function : show_source, system, shell_exec, passthru, exec, popen, proc_open MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /proc/thread-self/root/proc/thread-self/root/usr/share/Modules/init/ |
Upload File : |
# define modules runtime quarantine configuration
set env(MODULES_RUN_QUARANTINE) "LD_LIBRARY_PATH LD_PRELOAD"
# setup quarantine if defined
set _mlre {}; set _mlv ""; set _mlrv "";
if {[info exists env(MODULES_RUN_QUARANTINE)]} {
foreach _mlv [split $env(MODULES_RUN_QUARANTINE) " "] {
if {[regexp {^[A-Za-z_][A-Za-z0-9_]*$} $_mlv]} {
if {[info exists env($_mlv)]} {
lappend _mlre "__MODULES_QUAR_${_mlv}=$env($_mlv)"
}
set _mlrv "MODULES_RUNENV_${_mlv}"
if {[info exists env($_mlrv)]} {
lappend _mlre "${_mlv}=$env($_mlrv)"
} else {
lappend _mlre "${_mlv}="
}
}
}
if {[llength $_mlre] > 0} {
lappend _mlre "__MODULES_QUARANTINE_SET=1"
set _mlre [linsert $_mlre 0 "env"]
}
}
# define module command and surrounding initial environment (default value
# for MODULESHOME, MODULEPATH, LOADEDMODULES and parse of init config files)
eval [exec {*}$_mlre {/usr/bin/tclsh}\
{/usr/share/Modules/libexec/modulecmd.tcl} tcl autoinit 2>@stderr]
# clean temp variables used to setup quarantine
unset _mlre _mlv _mlrv