lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAPXgP122kJDZ_vaDjQT0k1iRcHDt62LxeR+W5TcncF3SenyWvg@mail.gmail.com>
Date:	Thu, 12 Apr 2012 04:48:48 +0200
From:	Kay Sievers <kay@...y.org>
To:	Al Viro <viro@...iv.linux.org.uk>
Cc:	"H. Peter Anvin" <hpa@...or.com>, "Ted Ts'o" <tytso@....edu>,
	Alan Cox <alan@...rguk.ukuu.org.uk>,
	Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
	Konstantin Khlebnikov <khlebnikov@...nvz.org>,
	Greg Kroah-Hartman <gregkh@...ux-foundation.org>,
	Sukadev Bhattiprolu <sukadev@...ux.vnet.ibm.com>
Subject: Re: RFC: deprecating/removing the legacy mode of devpts

On Thu, Apr 12, 2012 at 04:45, Al Viro <viro@...iv.linux.org.uk> wrote:
> On Thu, Apr 12, 2012 at 04:27:55AM +0200, Kay Sievers wrote:
>> On Thu, Apr 12, 2012 at 03:08, Al Viro <viro@...iv.linux.org.uk> wrote:
>> > On Sun, Apr 08, 2012 at 09:16:22PM +0200, Kay Sievers wrote:
>> >
>> >> I guess the following:
>> >> ?? - remove the 'ptmx' cdev from drivers/tty/pty.c
>> >> ?? - add a new devtmpfs_create_link() to drivers/base/devtmpfs.c
>> >> ?? - call devtmpfs_create_link() from _init in fs/devpts/inode.c
>> >> ?? - change the default of ptxmode=0 to a sane default = 0666
>> >> ?? - get rid of the (rather broken) idea of 'legacy' vs 'non-legacy mode'
>> >> ?? ?? mount options in the default setup; I don't think userspace should
>> >> ?? ?? ever be required to fiddle with such stuff
>> >
>> > You do realize that there are people with _static_ /dev out there, don't
>> > you? ??As well as those of us who are not using your latest and greatest
>> > udev and not enabling devtmpfs at all. ??Not all world is Fedora...
>>
>> Yeah, and? The dev_t still works from the static /dev/ like it didi 10
>> years ago. All good.
>
> Only if you move that cdev to fs/devpts/inode.c instead of removing it,
> at which point you get the interesting problems back on other setups...

fs/devpts/inode.c uses the very _same_ registered cdev, nobody wants
or can remove it.

Kay
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ