Files
linux/Documentation
Prarit Bhargava 3d035f5806 drivers/char/hpet.c: allow user controlled mmap for user processes
The CONFIG_HPET_MMAP Kconfig option exposes the memory map of the HPET
registers to userspace.  The Kconfig help points out that in some cases
this can be a security risk as some systems may erroneously configure the
map such that additional data is exposed to userspace.

This is a problem for distributions -- some users want the MMAP
functionality but it comes with a significant security risk.  In an effort
to mitigate this risk, and due to the low number of users of the MMAP
functionality, I've introduced a kernel parameter, hpet_mmap_enable, that
is required in order to actually have the HPET MMAP exposed.

Signed-off-by: Prarit Bhargava <prarit@redhat.com>
Acked-by: Matt Wilson <msw@amazon.com>
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Cc: Randy Dunlap <rdunlap@infradead.org>
Cc: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2013-11-13 12:09:11 +09:00
..
2011-09-27 18:08:04 +02:00
2012-04-03 13:09:18 +02:00
2013-09-05 20:46:06 -04:00
2011-09-27 18:08:04 +02:00
2013-04-02 09:39:55 -07:00
2013-10-17 21:18:32 +02:00
2013-07-24 22:06:34 -07:00
2011-03-31 11:26:23 -03:00
2013-01-10 01:27:46 +01:00
2013-07-25 12:34:15 +02:00
2013-11-13 12:09:05 +09:00
2010-04-08 11:34:34 +02:00
2008-12-03 16:09:53 -07:00
2008-07-25 10:53:30 -07:00
2011-03-31 11:26:23 -03:00
2013-07-03 16:08:03 -07:00
2012-07-29 21:11:05 -03:00
2013-09-25 12:34:32 +01:00
2013-04-16 18:47:19 +09:00
2012-12-05 23:52:10 +00:00
2011-03-31 11:26:23 -03:00
2011-09-27 18:08:04 +02:00
2013-02-19 08:42:37 +01:00
2009-04-27 12:00:27 -07:00
2009-04-27 12:00:27 -07:00
2012-02-28 16:05:06 +01:00
2013-06-21 11:32:51 +02:00
2011-09-27 18:08:04 +02:00
2006-06-27 17:32:47 -07:00
2011-03-31 11:26:23 -03:00
2005-06-21 18:46:32 -07:00
2013-09-05 16:36:21 -06:00
2012-01-02 13:04:55 +01:00