robsd-exec: timeout 3600s + . /usr/local/libexec/robsd/util-regress.sh + config_load + << "EOF" + _err=0 + _env=REGRESS_FAIL_EARLY=no + config_value regress-sys/kern/setuid-env + 2> /dev/null + _env=REGRESS_FAIL_EARLY=no GOCACHE=/tmp + _make=make -C /home/src/regress/sys/kern/setuid REGRESS_FAIL_EARLY=no GOCACHE=/tmp + config_value regress-sys/kern/setuid-targets + regress_root sys/kern/setuid + export SUDO + unpriv -c staff build exec make -C /home/src/regress/sys/kern/setuid REGRESS_FAIL_EARLY=no GOCACHE=/tmp regress ==== run-regress-setuid_none ==== cc -O2 -pipe -Wall -Wformat -pedantic -MD -MP -o setuid_none /home/src/regress/sys/kern/setuid/setuid_none.c doas -n install setuid_none /tmp/regress-setuid-3grdHGRH8K chmod 755 /tmp/regress-setuid-3grdHGRH8K cd /tmp/regress-setuid-3grdHGRH8K && ./setuid_none ==== run-regress-setgid_none ==== cc -O2 -pipe -Wall -Wformat -pedantic -MD -MP -o setgid_none /home/src/regress/sys/kern/setuid/setgid_none.c doas -n install setgid_none /tmp/regress-setuid-3grdHGRH8K chmod 755 /tmp/regress-setuid-3grdHGRH8K cd /tmp/regress-setuid-3grdHGRH8K && ./setgid_none ==== run-regress-setuid ==== cc -O2 -pipe -Wall -Wformat -pedantic -MD -MP -o setuid /home/src/regress/sys/kern/setuid/setuid.c doas -n install setuid /tmp/regress-setuid-3grdHGRH8K chmod 755 /tmp/regress-setuid-3grdHGRH8K cd /tmp/regress-setuid-3grdHGRH8K && doas -n ./setuid ==== run-regress-setgid ==== cc -O2 -pipe -Wall -Wformat -pedantic -MD -MP -o setgid /home/src/regress/sys/kern/setuid/setgid.c doas -n install setgid /tmp/regress-setuid-3grdHGRH8K chmod 755 /tmp/regress-setuid-3grdHGRH8K cd /tmp/regress-setuid-3grdHGRH8K && doas -n ./setgid ==== run-regress-seteuid ==== cc -O2 -pipe -Wall -Wformat -pedantic -MD -MP -o seteuid /home/src/regress/sys/kern/setuid/seteuid.c doas -n install seteuid /tmp/regress-setuid-3grdHGRH8K chmod 755 /tmp/regress-setuid-3grdHGRH8K cd /tmp/regress-setuid-3grdHGRH8K && doas -n ./seteuid ==== run-regress-setegid ==== cc -O2 -pipe -Wall -Wformat -pedantic -MD -MP -o setegid /home/src/regress/sys/kern/setuid/setegid.c doas -n install setegid /tmp/regress-setuid-3grdHGRH8K chmod 755 /tmp/regress-setuid-3grdHGRH8K cd /tmp/regress-setuid-3grdHGRH8K && doas -n ./setegid ==== run-regress-setuid_child ==== cc -O2 -pipe -Wall -Wformat -pedantic -MD -MP -o setuid_child /home/src/regress/sys/kern/setuid/setuid_child.c doas -n install setuid_child /tmp/regress-setuid-3grdHGRH8K chmod 755 /tmp/regress-setuid-3grdHGRH8K cd /tmp/regress-setuid-3grdHGRH8K && doas -n ./setuid_child ==== run-regress-setgid_child ==== cc -O2 -pipe -Wall -Wformat -pedantic -MD -MP -o setgid_child /home/src/regress/sys/kern/setuid/setgid_child.c doas -n install setgid_child /tmp/regress-setuid-3grdHGRH8K chmod 755 /tmp/regress-setuid-3grdHGRH8K cd /tmp/regress-setuid-3grdHGRH8K && doas -n ./setgid_child ==== run-regress-setresuid ==== cc -O2 -pipe -Wall -Wformat -pedantic -MD -MP -o setresuid /home/src/regress/sys/kern/setuid/setresuid.c doas -n install setresuid /tmp/regress-setuid-3grdHGRH8K chmod 755 /tmp/regress-setuid-3grdHGRH8K cd /tmp/regress-setuid-3grdHGRH8K && doas -n ./setresuid ==== run-regress-setresgid ==== cc -O2 -pipe -Wall -Wformat -pedantic -MD -MP -o setresgid /home/src/regress/sys/kern/setuid/setresgid.c doas -n install setresgid /tmp/regress-setuid-3grdHGRH8K chmod 755 /tmp/regress-setuid-3grdHGRH8K cd /tmp/regress-setuid-3grdHGRH8K && doas -n ./setresgid ==== run-regress-suidexec-on-inherit-on ==== cc -O2 -pipe -Wall -Wformat -pedantic -MD -MP -o setresuid_real_exec /home/src/regress/sys/kern/setuid/setresuid_real_exec.c doas -n install setresuid_real_exec /tmp/regress-setuid-3grdHGRH8K cc -O2 -pipe -Wall -Wformat -pedantic -MD -MP -o setresuid_effective_exec /home/src/regress/sys/kern/setuid/setresuid_effective_exec.c doas -n install setresuid_effective_exec /tmp/regress-setuid-3grdHGRH8K cc -O2 -pipe -Wall -Wformat -pedantic -MD -MP -o setresuid_saved_exec /home/src/regress/sys/kern/setuid/setresuid_saved_exec.c doas -n install setresuid_saved_exec /tmp/regress-setuid-3grdHGRH8K cc -O2 -pipe -Wall -Wformat -pedantic -MD -MP -o suidexec_none /home/src/regress/sys/kern/setuid/suidexec_none.c doas -n install suidexec_none /tmp/regress-setuid-3grdHGRH8K cc -O2 -pipe -Wall -Wformat -pedantic -MD -MP -o suidexec /home/src/regress/sys/kern/setuid/suidexec.c doas -n install -o nobody -m 4555 suidexec /tmp/regress-setuid-3grdHGRH8K cc -O2 -pipe -Wall -Wformat -pedantic -MD -MP -o sgidexec /home/src/regress/sys/kern/setuid/sgidexec.c doas -n install -g nobody -m 2555 sgidexec /tmp/regress-setuid-3grdHGRH8K cc -O2 -pipe -Wall -Wformat -pedantic -MD -MP -o setresgid_real_exec /home/src/regress/sys/kern/setuid/setresgid_real_exec.c doas -n install setresgid_real_exec /tmp/regress-setuid-3grdHGRH8K cc -O2 -pipe -Wall -Wformat -pedantic -MD -MP -o setresgid_effective_exec /home/src/regress/sys/kern/setuid/setresgid_effective_exec.c doas -n install setresgid_effective_exec /tmp/regress-setuid-3grdHGRH8K cc -O2 -pipe -Wall -Wformat -pedantic -MD -MP -o setresgid_saved_exec /home/src/regress/sys/kern/setuid/setresgid_saved_exec.c doas -n install setresgid_saved_exec /tmp/regress-setuid-3grdHGRH8K cc -O2 -pipe -Wall -Wformat -pedantic -MD -MP -o sgidexec_none /home/src/regress/sys/kern/setuid/sgidexec_none.c doas -n install sgidexec_none /tmp/regress-setuid-3grdHGRH8K cc -O2 -pipe -Wall -Wformat -pedantic -MD -MP -o suidexec_inherit /home/src/regress/sys/kern/setuid/suidexec_inherit.c doas -n install suidexec_inherit /tmp/regress-setuid-3grdHGRH8K cc -O2 -pipe -Wall -Wformat -pedantic -MD -MP -o sgidexec_inherit /home/src/regress/sys/kern/setuid/sgidexec_inherit.c doas -n install sgidexec_inherit /tmp/regress-setuid-3grdHGRH8K cc -O2 -pipe -Wall -Wformat -pedantic -MD -MP -o setuid_exec_inherit /home/src/regress/sys/kern/setuid/setuid_exec_inherit.c doas -n install setuid_exec_inherit /tmp/regress-setuid-3grdHGRH8K cc -O2 -pipe -Wall -Wformat -pedantic -MD -MP -o setgid_exec_inherit /home/src/regress/sys/kern/setuid/setgid_exec_inherit.c doas -n install setgid_exec_inherit /tmp/regress-setuid-3grdHGRH8K chmod 755 /tmp/regress-setuid-3grdHGRH8K cd /tmp/regress-setuid-3grdHGRH8K && doas -n ./suidexec ./suidexec_inherit ./suidexec ==== run-regress-suidexec-on-inherit-inherit ==== chmod 755 /tmp/regress-setuid-3grdHGRH8K cd /tmp/regress-setuid-3grdHGRH8K && doas -n ./suidexec ./suidexec_inherit ./suidexec_inherit ==== run-regress-suidexec-off-on-inherit ==== chmod 755 /tmp/regress-setuid-3grdHGRH8K cd /tmp/regress-setuid-3grdHGRH8K && doas -n ./suidexec_none ./suidexec ./suidexec_inherit ==== run-regress-suidexec-off-off-on ==== chmod 755 /tmp/regress-setuid-3grdHGRH8K cd /tmp/regress-setuid-3grdHGRH8K && doas -n ./suidexec_none ./suidexec_none ./suidexec ==== run-regress-sgidexec-on-inherit-on ==== chmod 755 /tmp/regress-setuid-3grdHGRH8K cd /tmp/regress-setuid-3grdHGRH8K && doas -n ./sgidexec ./sgidexec_inherit ./sgidexec ==== run-regress-sgidexec-on-inherit-inherit ==== chmod 755 /tmp/regress-setuid-3grdHGRH8K cd /tmp/regress-setuid-3grdHGRH8K && doas -n ./sgidexec ./sgidexec_inherit ./sgidexec_inherit ==== run-regress-sgidexec-off-on-inherit ==== chmod 755 /tmp/regress-setuid-3grdHGRH8K cd /tmp/regress-setuid-3grdHGRH8K && doas -n ./sgidexec_none ./sgidexec ./sgidexec_inherit ==== run-regress-sgidexec-off-off-on ==== chmod 755 /tmp/regress-setuid-3grdHGRH8K cd /tmp/regress-setuid-3grdHGRH8K && doas -n ./sgidexec_none ./sgidexec_none ./sgidexec ==== run-regress-suidexec-real-exec-inherit ==== chmod 755 /tmp/regress-setuid-3grdHGRH8K cd /tmp/regress-setuid-3grdHGRH8K && doas -n ./setresuid_real_exec ./setuid_exec_inherit ==== run-regress-suidexec-effective-exec-inherit ==== chmod 755 /tmp/regress-setuid-3grdHGRH8K cd /tmp/regress-setuid-3grdHGRH8K && doas -n ./setresuid_effective_exec ./setuid_exec_inherit ==== run-regress-suidexec-saved-exec-inherit ==== chmod 755 /tmp/regress-setuid-3grdHGRH8K cd /tmp/regress-setuid-3grdHGRH8K && doas -n ./setresuid_saved_exec ./setuid_exec_inherit ==== run-regress-sgidexec-real-exec-inherit ==== chmod 755 /tmp/regress-setuid-3grdHGRH8K cd /tmp/regress-setuid-3grdHGRH8K && doas -n ./setresgid_real_exec ./setgid_exec_inherit ==== run-regress-sgidexec-effective-exec-inherit ==== chmod 755 /tmp/regress-setuid-3grdHGRH8K cd /tmp/regress-setuid-3grdHGRH8K && doas -n ./setresgid_effective_exec ./setgid_exec_inherit ==== run-regress-sgidexec-saved-exec-inherit ==== chmod 755 /tmp/regress-setuid-3grdHGRH8K cd /tmp/regress-setuid-3grdHGRH8K && doas -n ./setresgid_saved_exec ./setgid_exec_inherit ==== cleanup-dir ==== rm -rf -- /tmp/regress-setuid-3grdHGRH8K