==== 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-xWUopzBwbQ chmod 755 /tmp/regress-setuid-xWUopzBwbQ cd /tmp/regress-setuid-xWUopzBwbQ && ./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-xWUopzBwbQ chmod 755 /tmp/regress-setuid-xWUopzBwbQ cd /tmp/regress-setuid-xWUopzBwbQ && ./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-xWUopzBwbQ chmod 755 /tmp/regress-setuid-xWUopzBwbQ cd /tmp/regress-setuid-xWUopzBwbQ && 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-xWUopzBwbQ chmod 755 /tmp/regress-setuid-xWUopzBwbQ cd /tmp/regress-setuid-xWUopzBwbQ && 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-xWUopzBwbQ chmod 755 /tmp/regress-setuid-xWUopzBwbQ cd /tmp/regress-setuid-xWUopzBwbQ && 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-xWUopzBwbQ chmod 755 /tmp/regress-setuid-xWUopzBwbQ cd /tmp/regress-setuid-xWUopzBwbQ && 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-xWUopzBwbQ chmod 755 /tmp/regress-setuid-xWUopzBwbQ cd /tmp/regress-setuid-xWUopzBwbQ && 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-xWUopzBwbQ chmod 755 /tmp/regress-setuid-xWUopzBwbQ cd /tmp/regress-setuid-xWUopzBwbQ && 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-xWUopzBwbQ chmod 755 /tmp/regress-setuid-xWUopzBwbQ cd /tmp/regress-setuid-xWUopzBwbQ && 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-xWUopzBwbQ chmod 755 /tmp/regress-setuid-xWUopzBwbQ cd /tmp/regress-setuid-xWUopzBwbQ && 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-xWUopzBwbQ 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-xWUopzBwbQ 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-xWUopzBwbQ 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-xWUopzBwbQ 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-xWUopzBwbQ 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-xWUopzBwbQ 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-xWUopzBwbQ 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-xWUopzBwbQ 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-xWUopzBwbQ 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-xWUopzBwbQ 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-xWUopzBwbQ 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-xWUopzBwbQ 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-xWUopzBwbQ 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-xWUopzBwbQ chmod 755 /tmp/regress-setuid-xWUopzBwbQ cd /tmp/regress-setuid-xWUopzBwbQ && doas -n ./suidexec ./suidexec_inherit ./suidexec ==== run-regress-suidexec-on-inherit-inherit ==== chmod 755 /tmp/regress-setuid-xWUopzBwbQ cd /tmp/regress-setuid-xWUopzBwbQ && doas -n ./suidexec ./suidexec_inherit ./suidexec_inherit ==== run-regress-suidexec-off-on-inherit ==== chmod 755 /tmp/regress-setuid-xWUopzBwbQ cd /tmp/regress-setuid-xWUopzBwbQ && doas -n ./suidexec_none ./suidexec ./suidexec_inherit ==== run-regress-suidexec-off-off-on ==== chmod 755 /tmp/regress-setuid-xWUopzBwbQ cd /tmp/regress-setuid-xWUopzBwbQ && doas -n ./suidexec_none ./suidexec_none ./suidexec ==== run-regress-sgidexec-on-inherit-on ==== chmod 755 /tmp/regress-setuid-xWUopzBwbQ cd /tmp/regress-setuid-xWUopzBwbQ && doas -n ./sgidexec ./sgidexec_inherit ./sgidexec ==== run-regress-sgidexec-on-inherit-inherit ==== chmod 755 /tmp/regress-setuid-xWUopzBwbQ cd /tmp/regress-setuid-xWUopzBwbQ && doas -n ./sgidexec ./sgidexec_inherit ./sgidexec_inherit ==== run-regress-sgidexec-off-on-inherit ==== chmod 755 /tmp/regress-setuid-xWUopzBwbQ cd /tmp/regress-setuid-xWUopzBwbQ && doas -n ./sgidexec_none ./sgidexec ./sgidexec_inherit ==== run-regress-sgidexec-off-off-on ==== chmod 755 /tmp/regress-setuid-xWUopzBwbQ cd /tmp/regress-setuid-xWUopzBwbQ && doas -n ./sgidexec_none ./sgidexec_none ./sgidexec ==== run-regress-suidexec-real-exec-inherit ==== chmod 755 /tmp/regress-setuid-xWUopzBwbQ cd /tmp/regress-setuid-xWUopzBwbQ && doas -n ./setresuid_real_exec ./setuid_exec_inherit ==== run-regress-suidexec-effective-exec-inherit ==== chmod 755 /tmp/regress-setuid-xWUopzBwbQ cd /tmp/regress-setuid-xWUopzBwbQ && doas -n ./setresuid_effective_exec ./setuid_exec_inherit ==== run-regress-suidexec-saved-exec-inherit ==== chmod 755 /tmp/regress-setuid-xWUopzBwbQ cd /tmp/regress-setuid-xWUopzBwbQ && doas -n ./setresuid_saved_exec ./setuid_exec_inherit ==== run-regress-sgidexec-real-exec-inherit ==== chmod 755 /tmp/regress-setuid-xWUopzBwbQ cd /tmp/regress-setuid-xWUopzBwbQ && doas -n ./setresgid_real_exec ./setgid_exec_inherit ==== run-regress-sgidexec-effective-exec-inherit ==== chmod 755 /tmp/regress-setuid-xWUopzBwbQ cd /tmp/regress-setuid-xWUopzBwbQ && doas -n ./setresgid_effective_exec ./setgid_exec_inherit ==== run-regress-sgidexec-saved-exec-inherit ==== chmod 755 /tmp/regress-setuid-xWUopzBwbQ cd /tmp/regress-setuid-xWUopzBwbQ && doas -n ./setresgid_saved_exec ./setgid_exec_inherit ==== cleanup-dir ==== rm -rf -- /tmp/regress-setuid-xWUopzBwbQ