Messages in this thread Patch in this message | | | From | Mike Waychison <> | Subject | [PATCH 1/2] Kconfig: Allow disabling of CONFIG_DEVPORT | Date | Thu, 14 Jul 2011 13:34:52 -0700 |
| |
It would be useful to build kernels with disabled support of /dev/port for systems where we do not want to allow an administrator to access IO ports directly.
To do so however, CONFIG_DEVPORT needs to be user-selectable. Give this configuration option a name and help description.
Google-Bug-Id: 3177114 Signed-off-by: Mike Waychison <mikew@google.com> --- drivers/char/Kconfig | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/drivers/char/Kconfig b/drivers/char/Kconfig index 49502bc..12503f1 100644 --- a/drivers/char/Kconfig +++ b/drivers/char/Kconfig @@ -593,10 +593,15 @@ config TELCLOCK controlling the behavior of this hardware. config DEVPORT - bool + bool "Support for /dev/port" depends on !M68K depends on ISA || PCI default y + help + Enabling this option allows for access to the /dev/port + character device. This device maps IO ports onto a file + interface, so that users with sufficient privilege can read + and write to IO ports directly. If unsure, say yes. source "drivers/s390/char/Kconfig" -- 1.7.3.1
| |