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]
Date:	Fri, 1 May 2009 18:24:23 -0700
From:	Brian Swetland <swetland@...gle.com>
To:	Greg KH <greg@...ah.com>
Cc:	Andrew Morton <akpm@...ux-foundation.org>,
	Kay Sievers <kay.sievers@...y.org>,
	linux-kernel <linux-kernel@...r.kernel.org>,
	Jan Blunck <jblunck@...e.de>
Subject: Re: [PATCH] driver-core: devtmpfs - driver core maintained /dev tmpfs

On Thu, Apr 30, 2009 at 11:55 PM, Greg KH <greg@...ah.com> wrote:
> On Thu, Apr 30, 2009 at 11:43:12PM -0700, Andrew Morton wrote:
>> On Thu, 30 Apr 2009 23:17:01 -0700 Greg KH <greg@...ah.com> wrote:
>> > On Thu, Apr 30, 2009 at 10:29:00PM -0700, Andrew Morton wrote:
>> >
>> > Well, devfs "done right" with hopefully none of the vfs problems the
>> > last devfs had. :)
>>
>> I think Adam Richter's devfs rewrite (which, iirc, was tmpfs-based)
>> would have fixed up these things.  But it was never quite completed and
>> came when minds were already made up.
>>
>> I don't understand why we need devfs2, really.  What problems are
>> people having with teh existing design?
>
> Boot speed, boot speed, boot speed.
>
> Oh, and reduction in complexity in init scripts, and saving embedded
> systems a lot of effort to implement a dynamic /dev properly (have you
> _seen_ what Android does to keep from having to ship udev?  It's
> horrible...)

It's always struck me as odd that sysfs couldn't provide device node
access, given that there's already an entity exposed for everything
(or nearly everything).  It seems weird to have to have an agent in
userspace to create another hierarchy in addition to what the kernel
already maintains.

I guess the really tricky bit is how to deal with
permissions/ownership sanely.  I suspect there's no easy way to do
something that "just works" for even the majority of userspace
environments.  Most of the ugly in the microudev thing in our init
comes from having to do something about permissions.

I would love to have a way for the kernel to do something like devfs
(it'd let me kill some ugly userspace code on my side)....

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