Re: Operations on file descriptors in addition to pathnames Duy Nguyen 12 Dec 2019 13:02 UTC

On Thu, Dec 12, 2019 at 7:59 PM Lassi Kortela <xxxxxx@lassi.io> wrote:
> Then again,
> if the pathname exceeds PATH_MAX you wouldn't be able to operate on it
> anyway.

Not really. As an example, you can open the first half of the path
(still shorter than PATH_MAX) with open(), then pass the second half
to openat().
--
Duy