if { mount -t tmpfs -o uid=0,gid=0,mode=0755,size=1024 none /sys/fs/cgroup }
if { mkdir -p -m 0755 /sys/fs/cgroup/systemd }
foreground { mount -t cgroup -o none,name=systemd name=systemd /sys/fs/cgroup/systemd }
redirfd -r 0 /proc/cgroups
pipeline { tail -n +2 }
pipeline { cut -d"\t" -f1 }
pipeline { grep -vF -- devices }
forstdin -d"\n" -- i
importas -u i i
if { mkdir -p /sys/fs/cgroup/${i} }
foreground { mount -t cgroup -o ${i} -- cgroup /sys/fs/cgroup/${i} }
importas -u ? ?
test $? -le 1
