Untrusted environment: Difference between revisions

Content deleted Content added
Line 110:
setuid(9); # if 9 is the userid of a non-root user
rm /etc/hosts # actually points to ~/jail/etc/hosts</lang>
 
=={{header|zkl}}==
Basically, there is no trusted mode. If the OS lets you do it, you can.
This means internet access, file system examination/modification, forking processes, pulling in arbitrary source code, compiling and running it, etc.