diff options
author | Darren Tucker <dtucker@dtucker.net> | 2019-06-07 23:47:37 +1000 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2019-06-14 12:05:15 +0100 |
commit | 0c3b0631695be33f711eda233bfee3dab77d405c (patch) | |
tree | c07b6c65fea2b03924749084969fe9ceabed8b12 /openbsd-compat/bsd-getpeereid.c | |
parent | 907bd73e8b0d031a96a0f800c0f6cef03ff1fcc4 (diff) |
Update utimensat test.
POSIX specifies that when given a symlink, AT_SYMLINK_NOFOLLOW should
update the symlink and not the destination. The compat code doesn't
have a way to do this, so where possible it fails instead of following a
symlink when explicitly asked not to. Instead of checking for an explicit
failure, check that it does not update the destination, which both the
real and compat implementations should honour.
Inspired by github pull req #125 from chutzpah at gentoo.org.
Origin: upstream, https://anongit.mindrot.org/openssh.git/commit/?id=182898192d4b720e4faeafd5b39c2cfb3b92aa21
Last-Update: 2019-06-09
Patch-Name: fix-utimensat-test.patch
Diffstat (limited to 'openbsd-compat/bsd-getpeereid.c')
0 files changed, 0 insertions, 0 deletions