Drop fattr promise unless file creation is allowed
authorkn <kn@openbsd.org>
Sun, 9 Oct 2022 23:04:57 +0000 (23:04 +0000)
committerkn <kn@openbsd.org>
Sun, 9 Oct 2022 23:04:57 +0000 (23:04 +0000)
commitad0375c2328ca86685178ac65521469240a360f2
tree422130a11d588c9568954b19adee7c3e4b45655c
parent33081393a02502d6a77c045fc5dce9e6d11cecfd
Drop fattr promise unless file creation is allowed

This is only required for the single fchmod(2) ensuring default permissions
which only happens in the -c code path.

OK millert
usr.sbin/tftpd/tftpd.c