[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: stat(x) & AT_NO_AUTOMOUNT
From: |
Pino Toscano |
Subject: |
Re: stat(x) & AT_NO_AUTOMOUNT |
Date: |
Sat, 28 Nov 2020 20:09:57 +0100 |
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
Description: This is a digitally signed message part.