Re: [PATCH] proc: return on proc_readdir error

From: Geert Uytterhoeven
Date: Fri Aug 23 2013 - 07:39:12 EST


On Mon, Aug 19, 2013 at 6:30 PM, Richard Genoud
<richard.genoud@xxxxxxxxx> wrote:
> This is not triggered on glibc (as getdents is called with a 32KB
> buffer), but on uclibc, the buffer size is only 1KB, thus some proc
> entries are missing.

JFYI, on glibc 2.3.6.ds1-13 it's also 1 KiB.

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/