Skip to contentSkip to conversation

+ mm-process_vm_access-move-config-option-into-init-kconfig.patch added to -mm tree

PATCH [email protected] 1 participant 1 message May 27, 2014

Subsystems (2)
lore
Share & tools
lore

[email protected]

author maintainer
#0 lore raw

Subject: + mm-process_vm_access-move-config-option-into-init-kconfig.patch added to -mm tree
To: [email protected],[email protected],[email protected],[email protected],[email protected]
From: [email protected]
Date: Tue, 27 May 2014 13:52:15 -0700

The patch titled
Subject: mm/process_vm_access: move config option into init/Kconfig
has been added to the -mm tree. Its filename is
mm-process_vm_access-move-config-option-into-init-kconfig.patch

This patch should soon appear at
http://ozlabs.org/~akpm/mmots/broken-out/mm-process_vm_access-move-config-option-into-init-kconfig.patch
and later at
http://ozlabs.org/~akpm/mmotm/broken-out/mm-process_vm_access-move-config-option-into-init-kconfig.patch

Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/SubmitChecklist when testing your code ***

The -mm tree is included into linux-next and is updated there every 3-4 working days

------------------------------------------------------
From: Konstantin Khlebnikov <[email protected]>
Subject: 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.

Cc Christopher Yeoh <[email protected]>
Cc Davidlohr Bueso <[email protected]>
Cc Hugh Dickins <[email protected]>
Cc Al Viro <[email protected]>

---

 init/Kconfig |   10 ++++++++++
 mm/Kconfig   |   10 ----------
 2 files changed, 10 insertions(+), 10 deletions(-)
init/Kconfig renamed from init/Kconfig~mm-process_vm_access-move-config-option-into-init-kconfig +10 -0
diff -puN init/Kconfig~mm-process_vm_access-move-config-option-into-init-kconfig init/Kconfig
@@ -261,6 +261,16 @@ config POSIX_MQUEUE_SYSCTL
 	depends on SYSCTL
 	default y
 
+config CROSS_MEMORY_ATTACH
+	bool "Enable process_vm_readv/writev syscalls"
+	depends on MMU
+	default y
+	help
+	  Enabling this option adds the system calls process_vm_readv and
+	  process_vm_writev which allow a process with the correct privileges
+	  to directly read from or write to to another process's address space.
+	  See the man page for more details.
+
 config FHANDLE
 	bool "open by fhandle syscalls"
 	select EXPORTFS
mm/Kconfig renamed from mm/Kconfig~mm-process_vm_access-move-config-option-into-init-kconfig +0 -9
diff -puN mm/Kconfig~mm-process_vm_access-move-config-option-into-init-kconfig mm/Kconfig
@@ -430,16 +430,6 @@ choice
 	  benefit.
 endchoice
 
-config CROSS_MEMORY_ATTACH
-	bool "Cross Memory Support"
-	depends on MMU
-	default y
-	help
-	  Enabling this option adds the system calls process_vm_readv and
-	  process_vm_writev which allow a process with the correct privileges
-	  to directly read from or write to to another process's address space.
-	  See the man page for more details.