START sys/kern/setuid 2024-10-28T04:36:56Z ==== run-regress-setuid_none ==== cc -O2 -pipe -Wall -Wformat -pedantic -MD -MP -o setuid_none /usr/src/regress/sys/kern/setuid/setuid_none.c install setuid_none /tmp/regress-setuid-E7uxUuL4wQ chmod 755 /tmp/regress-setuid-E7uxUuL4wQ cd /tmp/regress-setuid-E7uxUuL4wQ && ./setuid_none ==== run-regress-setgid_none ==== cc -O2 -pipe -Wall -Wformat -pedantic -MD -MP -o setgid_none /usr/src/regress/sys/kern/setuid/setgid_none.c install setgid_none /tmp/regress-setuid-E7uxUuL4wQ chmod 755 /tmp/regress-setuid-E7uxUuL4wQ cd /tmp/regress-setuid-E7uxUuL4wQ && ./setgid_none ==== run-regress-setuid ==== cc -O2 -pipe -Wall -Wformat -pedantic -MD -MP -o setuid /usr/src/regress/sys/kern/setuid/setuid.c install setuid /tmp/regress-setuid-E7uxUuL4wQ chmod 755 /tmp/regress-setuid-E7uxUuL4wQ cd /tmp/regress-setuid-E7uxUuL4wQ && ./setuid ==== run-regress-setgid ==== cc -O2 -pipe -Wall -Wformat -pedantic -MD -MP -o setgid /usr/src/regress/sys/kern/setuid/setgid.c install setgid /tmp/regress-setuid-E7uxUuL4wQ chmod 755 /tmp/regress-setuid-E7uxUuL4wQ cd /tmp/regress-setuid-E7uxUuL4wQ && ./setgid ==== run-regress-seteuid ==== cc -O2 -pipe -Wall -Wformat -pedantic -MD -MP -o seteuid /usr/src/regress/sys/kern/setuid/seteuid.c install seteuid /tmp/regress-setuid-E7uxUuL4wQ chmod 755 /tmp/regress-setuid-E7uxUuL4wQ cd /tmp/regress-setuid-E7uxUuL4wQ && ./seteuid ==== run-regress-setegid ==== cc -O2 -pipe -Wall -Wformat -pedantic -MD -MP -o setegid /usr/src/regress/sys/kern/setuid/setegid.c install setegid /tmp/regress-setuid-E7uxUuL4wQ chmod 755 /tmp/regress-setuid-E7uxUuL4wQ cd /tmp/regress-setuid-E7uxUuL4wQ && ./setegid ==== run-regress-setuid_child ==== cc -O2 -pipe -Wall -Wformat -pedantic -MD -MP -o setuid_child /usr/src/regress/sys/kern/setuid/setuid_child.c install setuid_child /tmp/regress-setuid-E7uxUuL4wQ chmod 755 /tmp/regress-setuid-E7uxUuL4wQ cd /tmp/regress-setuid-E7uxUuL4wQ && ./setuid_child ==== run-regress-setgid_child ==== cc -O2 -pipe -Wall -Wformat -pedantic -MD -MP -o setgid_child /usr/src/regress/sys/kern/setuid/setgid_child.c install setgid_child /tmp/regress-setuid-E7uxUuL4wQ chmod 755 /tmp/regress-setuid-E7uxUuL4wQ cd /tmp/regress-setuid-E7uxUuL4wQ && ./setgid_child ==== run-regress-setresuid ==== cc -O2 -pipe -Wall -Wformat -pedantic -MD -MP -o setresuid /usr/src/regress/sys/kern/setuid/setresuid.c install setresuid /tmp/regress-setuid-E7uxUuL4wQ chmod 755 /tmp/regress-setuid-E7uxUuL4wQ cd /tmp/regress-setuid-E7uxUuL4wQ && ./setresuid ==== run-regress-setresgid ==== cc -O2 -pipe -Wall -Wformat -pedantic -MD -MP -o setresgid /usr/src/regress/sys/kern/setuid/setresgid.c install setresgid /tmp/regress-setuid-E7uxUuL4wQ chmod 755 /tmp/regress-setuid-E7uxUuL4wQ cd /tmp/regress-setuid-E7uxUuL4wQ && ./setresgid ==== run-regress-suidexec-on-inherit-on ==== cc -O2 -pipe -Wall -Wformat -pedantic -MD -MP -o setresuid_real_exec /usr/src/regress/sys/kern/setuid/setresuid_real_exec.c install setresuid_real_exec /tmp/regress-setuid-E7uxUuL4wQ cc -O2 -pipe -Wall -Wformat -pedantic -MD -MP -o setresuid_effective_exec /usr/src/regress/sys/kern/setuid/setresuid_effective_exec.c install setresuid_effective_exec /tmp/regress-setuid-E7uxUuL4wQ cc -O2 -pipe -Wall -Wformat -pedantic -MD -MP -o setresuid_saved_exec /usr/src/regress/sys/kern/setuid/setresuid_saved_exec.c install setresuid_saved_exec /tmp/regress-setuid-E7uxUuL4wQ cc -O2 -pipe -Wall -Wformat -pedantic -MD -MP -o suidexec_none /usr/src/regress/sys/kern/setuid/suidexec_none.c install suidexec_none /tmp/regress-setuid-E7uxUuL4wQ cc -O2 -pipe -Wall -Wformat -pedantic -MD -MP -o suidexec /usr/src/regress/sys/kern/setuid/suidexec.c install -o nobody -m 4555 suidexec /tmp/regress-setuid-E7uxUuL4wQ cc -O2 -pipe -Wall -Wformat -pedantic -MD -MP -o sgidexec /usr/src/regress/sys/kern/setuid/sgidexec.c install -g nobody -m 2555 sgidexec /tmp/regress-setuid-E7uxUuL4wQ cc -O2 -pipe -Wall -Wformat -pedantic -MD -MP -o setresgid_real_exec /usr/src/regress/sys/kern/setuid/setresgid_real_exec.c install setresgid_real_exec /tmp/regress-setuid-E7uxUuL4wQ cc -O2 -pipe -Wall -Wformat -pedantic -MD -MP -o setresgid_effective_exec /usr/src/regress/sys/kern/setuid/setresgid_effective_exec.c install setresgid_effective_exec /tmp/regress-setuid-E7uxUuL4wQ cc -O2 -pipe -Wall -Wformat -pedantic -MD -MP -o setresgid_saved_exec /usr/src/regress/sys/kern/setuid/setresgid_saved_exec.c install setresgid_saved_exec /tmp/regress-setuid-E7uxUuL4wQ cc -O2 -pipe -Wall -Wformat -pedantic -MD -MP -o sgidexec_none /usr/src/regress/sys/kern/setuid/sgidexec_none.c install sgidexec_none /tmp/regress-setuid-E7uxUuL4wQ cc -O2 -pipe -Wall -Wformat -pedantic -MD -MP -o suidexec_inherit /usr/src/regress/sys/kern/setuid/suidexec_inherit.c install suidexec_inherit /tmp/regress-setuid-E7uxUuL4wQ cc -O2 -pipe -Wall -Wformat -pedantic -MD -MP -o sgidexec_inherit /usr/src/regress/sys/kern/setuid/sgidexec_inherit.c install sgidexec_inherit /tmp/regress-setuid-E7uxUuL4wQ cc -O2 -pipe -Wall -Wformat -pedantic -MD -MP -o setuid_exec_inherit /usr/src/regress/sys/kern/setuid/setuid_exec_inherit.c install setuid_exec_inherit /tmp/regress-setuid-E7uxUuL4wQ cc -O2 -pipe -Wall -Wformat -pedantic -MD -MP -o setgid_exec_inherit /usr/src/regress/sys/kern/setuid/setgid_exec_inherit.c install setgid_exec_inherit /tmp/regress-setuid-E7uxUuL4wQ chmod 755 /tmp/regress-setuid-E7uxUuL4wQ cd /tmp/regress-setuid-E7uxUuL4wQ && ./suidexec ./suidexec_inherit ./suidexec ==== run-regress-suidexec-on-inherit-inherit ==== chmod 755 /tmp/regress-setuid-E7uxUuL4wQ cd /tmp/regress-setuid-E7uxUuL4wQ && ./suidexec ./suidexec_inherit ./suidexec_inherit ==== run-regress-suidexec-off-on-inherit ==== chmod 755 /tmp/regress-setuid-E7uxUuL4wQ cd /tmp/regress-setuid-E7uxUuL4wQ && ./suidexec_none ./suidexec ./suidexec_inherit ==== run-regress-suidexec-off-off-on ==== chmod 755 /tmp/regress-setuid-E7uxUuL4wQ cd /tmp/regress-setuid-E7uxUuL4wQ && ./suidexec_none ./suidexec_none ./suidexec ==== run-regress-sgidexec-on-inherit-on ==== chmod 755 /tmp/regress-setuid-E7uxUuL4wQ cd /tmp/regress-setuid-E7uxUuL4wQ && ./sgidexec ./sgidexec_inherit ./sgidexec ==== run-regress-sgidexec-on-inherit-inherit ==== chmod 755 /tmp/regress-setuid-E7uxUuL4wQ cd /tmp/regress-setuid-E7uxUuL4wQ && ./sgidexec ./sgidexec_inherit ./sgidexec_inherit ==== run-regress-sgidexec-off-on-inherit ==== chmod 755 /tmp/regress-setuid-E7uxUuL4wQ cd /tmp/regress-setuid-E7uxUuL4wQ && ./sgidexec_none ./sgidexec ./sgidexec_inherit ==== run-regress-sgidexec-off-off-on ==== chmod 755 /tmp/regress-setuid-E7uxUuL4wQ cd /tmp/regress-setuid-E7uxUuL4wQ && ./sgidexec_none ./sgidexec_none ./sgidexec ==== run-regress-suidexec-real-exec-inherit ==== chmod 755 /tmp/regress-setuid-E7uxUuL4wQ cd /tmp/regress-setuid-E7uxUuL4wQ && ./setresuid_real_exec ./setuid_exec_inherit ==== run-regress-suidexec-effective-exec-inherit ==== chmod 755 /tmp/regress-setuid-E7uxUuL4wQ cd /tmp/regress-setuid-E7uxUuL4wQ && ./setresuid_effective_exec ./setuid_exec_inherit ==== run-regress-suidexec-saved-exec-inherit ==== chmod 755 /tmp/regress-setuid-E7uxUuL4wQ cd /tmp/regress-setuid-E7uxUuL4wQ && ./setresuid_saved_exec ./setuid_exec_inherit ==== run-regress-sgidexec-real-exec-inherit ==== chmod 755 /tmp/regress-setuid-E7uxUuL4wQ cd /tmp/regress-setuid-E7uxUuL4wQ && ./setresgid_real_exec ./setgid_exec_inherit ==== run-regress-sgidexec-effective-exec-inherit ==== chmod 755 /tmp/regress-setuid-E7uxUuL4wQ cd /tmp/regress-setuid-E7uxUuL4wQ && ./setresgid_effective_exec ./setgid_exec_inherit ==== run-regress-sgidexec-saved-exec-inherit ==== chmod 755 /tmp/regress-setuid-E7uxUuL4wQ cd /tmp/regress-setuid-E7uxUuL4wQ && ./setresgid_saved_exec ./setgid_exec_inherit ==== cleanup-dir ==== rm -rf -- /tmp/regress-setuid-E7uxUuL4wQ PASS sys/kern/setuid Duration 0m06.25s