diff options
author | Konstantin Khlebnikov <koct9i@gmail.com> | 2014-06-04 19:10:50 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-06-04 19:54:12 -0400 |
commit | 226b4ccdcb6371645c25ec99b59bfde65987318c (patch) | |
tree | aa39df4a0dde94260b9ee2c0e61318c038a8738d | |
parent | 1a501907bbea8e6ebb0b16cf6db9e9cbf1d2c813 (diff) |
mm/process_vm_access: move config option into init/Kconfig
CONFIG_CROSS_MEMORY_ATTACH adds couple syscalls: process_vm_readv and
process_vm_writev, it's a kind of IPC for copying data between processes.
Currently this option is placed inside "Processor type and features".
This patch moves it into "General setup" (where all other arch-independed
syscalls and ipc features are placed) and changes prompt string to less
cryptic.
Signed-off-by: Konstantin Khlebnikov <koct9i@gmail.com>
Cc: Christopher Yeoh <cyeoh@au1.ibm.com>
Cc: Davidlohr Bueso <davidlohr@hp.com>
Cc: Hugh Dickins <hughd@google.com>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r-- | init/Kconfig | 10 | ||||
-rw-r--r-- | mm/Kconfig | 10 |
2 files changed, 10 insertions, 10 deletions
diff --git a/init/Kconfig b/init/Kconfig index 0a2f09a80e90..ce034ad4a162 100644 --- a/init/Kconfig +++ b/init/Kconfig | |||
@@ -261,6 +261,16 @@ config POSIX_MQUEUE_SYSCTL | |||
261 | depends on SYSCTL | 261 | depends on SYSCTL |
262 | default y | 262 | default y |
263 | 263 | ||
264 | config CROSS_MEMORY_ATTACH | ||
265 | bool "Enable process_vm_readv/writev syscalls" | ||
266 | depends on MMU | ||
267 | default y | ||
268 | help | ||
269 | Enabling this option adds the system calls process_vm_readv and | ||
270 | process_vm_writev which allow a process with the correct privileges | ||
271 | to directly read from or write to to another process's address space. | ||
272 | See the man page for more details. | ||
273 | |||
264 | config FHANDLE | 274 | config FHANDLE |
265 | bool "open by fhandle syscalls" | 275 | bool "open by fhandle syscalls" |
266 | select EXPORTFS | 276 | select EXPORTFS |
diff --git a/mm/Kconfig b/mm/Kconfig index 75ac479cbacd..0f00bffaaf61 100644 --- a/mm/Kconfig +++ b/mm/Kconfig | |||
@@ -436,16 +436,6 @@ choice | |||
436 | benefit. | 436 | benefit. |
437 | endchoice | 437 | endchoice |
438 | 438 | ||
439 | config CROSS_MEMORY_ATTACH | ||
440 | bool "Cross Memory Support" | ||
441 | depends on MMU | ||
442 | default y | ||
443 | help | ||
444 | Enabling this option adds the system calls process_vm_readv and | ||
445 | process_vm_writev which allow a process with the correct privileges | ||
446 | to directly read from or write to to another process's address space. | ||
447 | See the man page for more details. | ||
448 | |||
449 | # | 439 | # |
450 | # UP and nommu archs use km based percpu allocator | 440 | # UP and nommu archs use km based percpu allocator |
451 | # | 441 | # |