Re: [PATCH] proc: make proc_fd_permission() thread-friendly

From: Willy Tarreau
Date: Mon Aug 26 2013 - 16:20:45 EST


On Mon, Aug 26, 2013 at 12:35:26PM -0700, Linus Torvalds wrote:
(...)
> Yes, it would be semantically different, but it would mean that
> "/proc/self/fd/" would actually make sense in a way that it currently
> does *not* - which would seem fairly important, since the primary use
> for it tends to be /dev/stdin.

I remember another user, don't know if that has changed. UPX used to build
self-extract binaries that opened /proc/self/fd/3. It might be worth checking
this as well if doing important changes, because it's typically a usage that
could be discovered to be broken months after the change!

Willy

--
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/