When creating a file in a directory the file gid is inherited from
authorclaudio <claudio@openbsd.org>
Tue, 31 Oct 2023 07:57:59 +0000 (07:57 +0000)
committerclaudio <claudio@openbsd.org>
Tue, 31 Oct 2023 07:57:59 +0000 (07:57 +0000)
commit06ecc41f821a0630036c4e2c524053ac38154a44
treec607f116c6cb1f5dfbfca460172ad29fa2fdc188
parent5567b162b6474e1f0acdf8eb1aafe2307503af3b
When creating a file in a directory the file gid is inherited from
the directory and so checking against getgid() makes no sense.
OK mbuhl@ millert@
regress/lib/libc/sys/t_stat.c