summaryrefslogtreecommitdiff
path: root/src/regress/lib/libc/sys/t_recvmmsg.c
diff options
context:
space:
mode:
authoranton <>2022-05-24 05:14:30 +0000
committeranton <>2022-05-24 05:14:30 +0000
commit1b3351c74f01f6fb9bd1b557012d9fd4d43ae9a8 (patch)
treea67994b20d825d356ae047240dc9f277b3f57569 /src/regress/lib/libc/sys/t_recvmmsg.c
parenteffc3d93276bf5b10cdd35bc3c3d8c0a03578a0d (diff)
downloadopenbsd-1b3351c74f01f6fb9bd1b557012d9fd4d43ae9a8.tar.gz
openbsd-1b3351c74f01f6fb9bd1b557012d9fd4d43ae9a8.tar.bz2
openbsd-1b3351c74f01f6fb9bd1b557012d9fd4d43ae9a8.zip
Recent changes to truncate(2) swapped the ordering of some validations
causing EACCESS as opposed of ESDIR to be returned while trying to truncate a directory as a user lacking write permissions to the same directory. As this behavior is reasonable, change the truncate directory from /etc/ to /tmp which makes the test pass both as root and non-root.
Diffstat (limited to 'src/regress/lib/libc/sys/t_recvmmsg.c')
0 files changed, 0 insertions, 0 deletions