shithub: sandbox

ref: 6e0376d073909eff79fa7dfa6bd959ac94776b66
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]{
		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
	}
}