tech-kern archive

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

Re: fcntl(F_GETPATH) support



>>> If you can get a file desriptor to a symlink, [...]
> There should be no way to get a fd for a symlink; if you can,
> something bad has happened.

At present, perhaps.

> Because of the way short symlinks are handled in ffs, I wouldn't be
> surprised if managing to get one let you corrupt the fs.

Depends on what operations are defined on such a descriptor, and how
they are implemented.

/~\ The ASCII				  Mouse
\ / Ribbon Campaign
 X  Against HTML		mouse%rodents-montreal.org@localhost
/ \ Email!	     7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B


Home | Main Index | Thread Index | Old Index