Re: [PATCH] devpts: Sensible /dev/ptmx & force newinstance

From: Linus Torvalds
Date: Mon Dec 21 2015 - 17:23:10 EST


On Mon, Dec 21, 2015 at 2:03 PM, Eric W. Biederman
<ebiederm@xxxxxxxxxxxx> wrote:
>
> What actually breaks is "echo NNN > /proc/sys/kernel/pty/reserve"
> Which allows the primary instance of devpts to have access to more
> ptys than any other instance.

Ok. We'll probably need to fix that similarly (make it look up
/dev/pts to figure out *which* pty reserve to fix), but I think that's
entirely separate from the ptmx issue for now.

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