Pino Toscano, le sam. 28 nov. 2020 20:09:57 +0100, a ecrit:
> In data sabato 28 novembre 2020 20:02:52 CET, Samuel Thibault ha scritto:
> > 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.

That looks like a bug in lib*fs to me actually. I don't see why
O_NOTRANS should imply O_NOLINK, a caller that wants both can specify
both.

Samuel

Reply via email to