[prev in list] [next in list] [prev in thread] [next in thread] 

List:       hurd-bug
Subject:    Re: stat(x) & AT_NO_AUTOMOUNT
From:       Pino Toscano <toscano.pino () tiscali ! it>
Date:       2020-11-28 19:09:57
Message-ID: 20868148.EfDdHjke4D () thyrus
[Download RAW message or body]


In data sabato 28 novembre 2020 20:02:52 CET, Samuel Thibault ha scritto:
> Hello Pino,
> 
> Pino Toscano, le sam. 28 nov. 2020 19:45:12 +0100, a ecrit:
> > Can AT_NO_AUTOMOUNT be (easily) implemented in the hurd lookup bits?
> 
> I would say that it simply maps to O_NOTRANS?

I thought about that; then I saw in libdiskfs/dir-lookup.c &
libnetfs/dir-lookup.c that O_NOTRANS disables the symlink resolution,
i.e. the equivalent of O_NOLINK, which means AT_SYMLINK_NOFOLLOW in
at flags.

-- 
Pino Toscano
["signature.asc" (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic