shithub: sandbox

ref: 2ba0ac4b90c7a2abad6053eb2a7cbd032224c2f4
dir: /tcp17019.helper/

View raw version
#!/bin/rc

netdir=$1
remote=$2

trusted=(glenda)
for (i in $trusted)
	if(~ $user $i)
		exec /rc/bin/sandbox

ramfs
<[3]/srv/clone{
	id=`{<[0=3]read}
	<[3=0]@{
		rfork n
		bind -c /srv/$id /srv
		/bin/auth/box -ee'|'pMA -r/fd -c/env -r/dev -c/dev/null -r/lib -c/mnt/term -c/mnt/temp -c/mnt/wsys -r/rc/bin -r/$objtype/bin -r/sys/man -c/tmp -c$home -r/proc -s /rc/bin/sandbox
	}
}