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: <1679935.Pf8rWZIDTT@hyperion>
Date:	Thu, 29 Mar 2012 21:32:29 +0200
From:	Maarten ter Huurne <maarten@...ewalker.org>
To:	"H. Peter Anvin" <hpa@...or.com>
Cc:	linux-kernel@...r.kernel.org
Subject: Re: [PATCH] /dev/mem: Add kernel config option to omit this device.

On Thursday 29 March 2012 10:30:14 H. Peter Anvin wrote:
> On 03/29/2012 10:22 AM, Maarten ter Huurne wrote:
> > Many systems don't need /dev/mem, so make it optional.
> > It saves some space on embedded systems.
> > 
> > Signed-off-by: Maarten ter Huurne <maarten@...ewalker.org>
> 
> I would like to see it being modular if it is made optional.  I think
> that would be the right thing anyway.

By modular, do you mean splitting off the code from drivers/char/mem.c into 
a new source file?

In mem.c there are several static functions used by more than one device, 
but I think /dev/mem, /dev/kmem and /dev/port are relatively independent of 
the other devices, so splitting off those three would be an option.

Bye,
		Maarten

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