tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: fcntl(F_GETPATH) support




> On Sep 15, 2019, at 1:17 PM, Mouse <mouse%Rodents-Montreal.ORG@localhost> wrote:
> 
> [top-posting damage repaired manually]
>>> If you can get a file desriptor to a symlink, it will work; I don't
>>> think that we have a way to do this now.
>> FYI - XNU has O_SYMLINK for this.
> 
> What operations does it support on fds open onto symlinks?

fstat(), fchflags(), etc.  I don't recall if read() is allowed, but I'm pretty sure write() is not.

-- thorpej



Home | Main Index | Thread Index | Old Index