Re: realpath(3)

[email protected] Thu, 25 May 2023 15:41:14 +0200
Newsgroups gmane.os.netbsd.devel.security
Message-ID <[email protected]>
Le Thu, May 25, 2023 at 03:30:12PM +0200, [email protected] a écrit :
> 
> And would it be good then to define, in case of error, resolvedname
> with a name (is the empty string safe?) that for sure will make
> any operation on this path fail?

Would a special device with mod all 0 "/dev/nil" be a good idea?
-- 
        Thierry Laronde <tlaronde +AT+ polynum +dot+ com>
                     http://www.kergis.com/
                    http://kertex.kergis.com/
Key fingerprint = 0FF7 E906 FBAF FE95 FD89  250D 52B1 AE95 6006 F40C