START sys/kern/setuid 2024-11-14T09:01:59Z ==== 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-cVVrv20MLb chmod 755 /tmp/regress-setuid-cVVrv20MLb cd /tmp/regress-setuid-cVVrv20MLb && ./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-cVVrv20MLb chmod 755 /tmp/regress-setuid-cVVrv20MLb cd /tmp/regress-setuid-cVVrv20MLb && ./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-cVVrv20MLb chmod 755 /tmp/regress-setuid-cVVrv20MLb cd /tmp/regress-setuid-cVVrv20MLb && ./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-cVVrv20MLb chmod 755 /tmp/regress-setuid-cVVrv20MLb cd /tmp/regress-setuid-cVVrv20MLb && ./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-cVVrv20MLb chmod 755 /tmp/regress-setuid-cVVrv20MLb cd /tmp/regress-setuid-cVVrv20MLb && ./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-cVVrv20MLb chmod 755 /tmp/regress-setuid-cVVrv20MLb cd /tmp/regress-setuid-cVVrv20MLb && ./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-cVVrv20MLb chmod 755 /tmp/regress-setuid-cVVrv20MLb cd /tmp/regress-setuid-cVVrv20MLb && ./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-cVVrv20MLb chmod 755 /tmp/regress-setuid-cVVrv20MLb cd /tmp/regress-setuid-cVVrv20MLb && ./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-cVVrv20MLb chmod 755 /tmp/regress-setuid-cVVrv20MLb cd /tmp/regress-setuid-cVVrv20MLb && ./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-cVVrv20MLb chmod 755 /tmp/regress-setuid-cVVrv20MLb cd /tmp/regress-setuid-cVVrv20MLb && ./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-cVVrv20MLb 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-cVVrv20MLb 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-cVVrv20MLb 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-cVVrv20MLb 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-cVVrv20MLb 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-cVVrv20MLb 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-cVVrv20MLb 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-cVVrv20MLb 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-cVVrv20MLb 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-cVVrv20MLb 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-cVVrv20MLb 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-cVVrv20MLb 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-cVVrv20MLb 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-cVVrv20MLb chmod 755 /tmp/regress-setuid-cVVrv20MLb cd /tmp/regress-setuid-cVVrv20MLb && ./suidexec ./suidexec_inherit ./suidexec ==== run-regress-suidexec-on-inherit-inherit ==== chmod 755 /tmp/regress-setuid-cVVrv20MLb cd /tmp/regress-setuid-cVVrv20MLb && ./suidexec ./suidexec_inherit ./suidexec_inherit ==== run-regress-suidexec-off-on-inherit ==== chmod 755 /tmp/regress-setuid-cVVrv20MLb cd /tmp/regress-setuid-cVVrv20MLb && ./suidexec_none ./suidexec ./suidexec_inherit ==== run-regress-suidexec-off-off-on ==== chmod 755 /tmp/regress-setuid-cVVrv20MLb cd /tmp/regress-setuid-cVVrv20MLb && ./suidexec_none ./suidexec_none ./suidexec ==== run-regress-sgidexec-on-inherit-on ==== chmod 755 /tmp/regress-setuid-cVVrv20MLb cd /tmp/regress-setuid-cVVrv20MLb && ./sgidexec ./sgidexec_inherit ./sgidexec ==== run-regress-sgidexec-on-inherit-inherit ==== chmod 755 /tmp/regress-setuid-cVVrv20MLb cd /tmp/regress-setuid-cVVrv20MLb && ./sgidexec ./sgidexec_inherit ./sgidexec_inherit ==== run-regress-sgidexec-off-on-inherit ==== chmod 755 /tmp/regress-setuid-cVVrv20MLb cd /tmp/regress-setuid-cVVrv20MLb && ./sgidexec_none ./sgidexec ./sgidexec_inherit ==== run-regress-sgidexec-off-off-on ==== chmod 755 /tmp/regress-setuid-cVVrv20MLb cd /tmp/regress-setuid-cVVrv20MLb && ./sgidexec_none ./sgidexec_none ./sgidexec ==== run-regress-suidexec-real-exec-inherit ==== chmod 755 /tmp/regress-setuid-cVVrv20MLb cd /tmp/regress-setuid-cVVrv20MLb && ./setresuid_real_exec ./setuid_exec_inherit ==== run-regress-suidexec-effective-exec-inherit ==== chmod 755 /tmp/regress-setuid-cVVrv20MLb cd /tmp/regress-setuid-cVVrv20MLb && ./setresuid_effective_exec ./setuid_exec_inherit ==== run-regress-suidexec-saved-exec-inherit ==== chmod 755 /tmp/regress-setuid-cVVrv20MLb cd /tmp/regress-setuid-cVVrv20MLb && ./setresuid_saved_exec ./setuid_exec_inherit ==== run-regress-sgidexec-real-exec-inherit ==== chmod 755 /tmp/regress-setuid-cVVrv20MLb cd /tmp/regress-setuid-cVVrv20MLb && ./setresgid_real_exec ./setgid_exec_inherit ==== run-regress-sgidexec-effective-exec-inherit ==== chmod 755 /tmp/regress-setuid-cVVrv20MLb cd /tmp/regress-setuid-cVVrv20MLb && ./setresgid_effective_exec ./setgid_exec_inherit ==== run-regress-sgidexec-saved-exec-inherit ==== chmod 755 /tmp/regress-setuid-cVVrv20MLb cd /tmp/regress-setuid-cVVrv20MLb && ./setresgid_saved_exec ./setgid_exec_inherit ==== cleanup-dir ==== rm -rf -- /tmp/regress-setuid-cVVrv20MLb PASS sys/kern/setuid Duration 0m21.50s