Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752103AbbLUWXG (ORCPT ); Mon, 21 Dec 2015 17:23:06 -0500 Received: from mail-io0-f179.google.com ([209.85.223.179]:34839 "EHLO mail-io0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751684AbbLUWXE (ORCPT ); Mon, 21 Dec 2015 17:23:04 -0500 MIME-Version: 1.0 In-Reply-To: <87zix3xxvl.fsf@x220.int.ebiederm.org> References: <43AD2BA7-B594-4299-95F3-D86FD38AF21B@zytor.com> <87egexpf4o.fsf@x220.int.ebiederm.org> <1CB621EF-1647-463B-A144-D611DB150E15@zytor.com> <20151208223135.GA8352@kroah.com> <87oae0h2bo.fsf@x220.int.ebiederm.org> <56677DE3.5040705@zytor.com> <20151209012311.GA11794@kroah.com> <84B136DF-55E4-476A-9CB2-062B15677EE5@zytor.com> <20151209013859.GA12442@kroah.com> <20151209083225.GA30452@1wt.eu> <87wpskyds7.fsf_-_@x220.int.ebiederm.org> <566F1CD7.20502@hurleysoftware.com> <87y4cq6t1j.fsf@x220.int.ebiederm.org> <87a8p54v3t.fsf@x220.int.ebiederm.org> <5AFEA8FF-BDEA-40AF-8C45-19F3E9CC36D3@zytor.com> <87r3ih1mnp.fsf@x220.int.ebiederm.org> <87zix3xxvl.fsf@x220.int.ebiederm.org> Date: Mon, 21 Dec 2015 14:23:04 -0800 X-Google-Sender-Auth: 8sZxbgaf6t5UjSXfAb-3fzZR6Eg Message-ID: Subject: Re: [PATCH] devpts: Sensible /dev/ptmx & force newinstance From: Linus Torvalds To: "Eric W. Biederman" Cc: "H. Peter Anvin" , Peter Hurley , Greg KH , Jiri Slaby , Aurelien Jarno , Andy Lutomirski , Florian Weimer , Al Viro , Serge Hallyn , Jann Horn , "security@kernel.org" , "security@ubuntu.com >> security" , security@debian.org, Willy Tarreau , Linux Kernel Mailing List Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 704 Lines: 17 On Mon, Dec 21, 2015 at 2:03 PM, Eric W. Biederman 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/