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/unveil-env + 2> /dev/null + _env=REGRESS_FAIL_EARLY=no GOCACHE=/tmp + _make=make -C /home/src/regress/sys/kern/unveil REGRESS_FAIL_EARLY=no GOCACHE=/tmp + config_value regress-sys/kern/unveil-targets + regress_root sys/kern/unveil + export SUDO + unpriv -c staff build exec make -C /home/src/regress/sys/kern/unveil REGRESS_FAIL_EARLY=no GOCACHE=/tmp regress ==== run-regress-syscalls ==== cc -O2 -pipe -Wall -Wpointer-arith -Wuninitialized -Wstrict-prototypes -Wmissing-prototypes -Wunused -Wsign-compare -Wshadow -MD -MP -c /home/src/regress/sys/kern/unveil/syscalls.c cc -o syscalls syscalls.o -lutil doas -n ./syscalls testing open testing flag escalation testing openat testing opendir testing clearing flags (testing unveil after pledge) testing "r" testing "rw" testing "x" testing unlink testing link testing link without O_CREAT testing chdir testing rename testing access testing chflags testing stat testing stat components to nonexistent "rw" testing statfs testing symlink and lstat and readlink testing symlink with "rw" testing chmod testing chmod should fail for read testing execve with "rw" testing realpath testing parent dir testing unveil("/") testing dot(".") testing dot flags(".") testing BYPASSUNVEIL testing fork inhertiance testing fork inhertiance testing fork inhertiance testing fork inhertiance testing fork inhertiance testing fork inhertiance testing dotdotup testing read only with one writeable file testing path discovery testing fchdir testing unveil locked fork testing unveil locked fork testing unveil on intermediate node testing unveil on noaccess node ==== run-regress-socket ==== cc -O2 -pipe -Wall -Wpointer-arith -Wuninitialized -Wstrict-prototypes -Wmissing-prototypes -Wunused -Wsign-compare -Wshadow -MD -MP -c /home/src/regress/sys/kern/unveil/socket.c cc -o socket socket.o ./socket testing bind and connect on unix socket ==== run-regress-access ==== cc -O2 -pipe -Wall -Wpointer-arith -Wuninitialized -Wstrict-prototypes -Wmissing-prototypes -Wunused -Wsign-compare -Wshadow -MD -MP -c /home/src/regress/sys/kern/unveil/access.c cc -o access access.o ./access 2>&1 | diff -u /home/src/regress/sys/kern/unveil/access-expected -