Eric Blake wrote: > Should we instead patch gnulib's open() module to work around this bug
Yes, I agree. It's easy to convert EMLINK to ELOOP when O_NOFOLLOW was specified among the flags, in lib/open.c and lib/openat.c. It doesn't require additional system calls. Bruno