#!/bin/execlineb -Ws0 # SPDX-License-Identifier: EUPL-1.2+ # SPDX-FileCopyrightText: 2020-2022, 2024 Alyssa Ross /bin/setpriv --no-new-privs -- if { /bin/ln -s /proc/self/fd /dev } if { /bin/ln -s /proc/self/fd/0 /dev/stdin } if { /bin/ln -s /proc/self/fd/1 /dev/stdout } if { /bin/ln -s /proc/self/fd/2 /dev/stderr } if { /bin/mount --make-shared / } if { /bin/mount -a --mkdir } # Enable subtree control of all cgroups. if { sed -nE "s/(^| )/&+/g; w /sys/fs/cgroup/cgroup.subtree_control" /sys/fs/cgroup/cgroup.controllers } /bin/s6-linux-init -c /etc/s6-linux-init -s /run/param -- $@