Re: [PATCH] uapi: avoid namespace conflict in linux/posix_types.h

From: Linus Torvalds
Date: Mon Jun 17 2019 - 14:18:40 EST


On Mon, Jun 17, 2019 at 11:03 AM Florian Weimer <fweimer@xxxxxxxxxx> wrote:
>
> There's also __kernel_fd_set in <linux/posix_types.h>. I may have
> lumped this up with <asm/posix_types.h>, but it has the same problem.

Hmm.

That one we might be able to just fix by renaming "fds_bits" to "__fds_bits".

Unlike the "val[]" thing, I don't think anybody is supposed to access
those fields directly.

Of course, "supposed to" and "does" are two very very different things ;)

Linus