All of lore.kernel.org
 help / color / mirror / Atom feed
* + asm-generic-syscallsh-fix-the-declaration-of-sys_execve.patch added to -mm tree
@ 2010-08-18 20:44 akpm
  0 siblings, 0 replies; only message in thread
From: akpm @ 2010-08-18 20:44 UTC (permalink / raw)
  To: mm-commits; +Cc: dhowells, tony.luck


The patch titled
     asm-generic/syscalls.h: fix the declaration of sys_execve()
has been added to the -mm tree.  Its filename is
     asm-generic-syscallsh-fix-the-declaration-of-sys_execve.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 ***

See http://userweb.kernel.org/~akpm/stuff/added-to-mm.txt to find
out what to do about this

The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/

------------------------------------------------------
Subject: asm-generic/syscalls.h: fix the declaration of sys_execve()
From: David Howells <dhowells@redhat.com>

Fix the declaration of sys_execve() in asm-generic/syscalls.h to have
various consts applied to its pointers.

Signed-off-by: David Howells <dhowells@redhat.com>
Cc: "Luck, Tony" <tony.luck@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 include/asm-generic/syscalls.h |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff -puN include/asm-generic/syscalls.h~asm-generic-syscallsh-fix-the-declaration-of-sys_execve include/asm-generic/syscalls.h
--- a/include/asm-generic/syscalls.h~asm-generic-syscallsh-fix-the-declaration-of-sys_execve
+++ a/include/asm-generic/syscalls.h
@@ -23,8 +23,10 @@ asmlinkage long sys_vfork(struct pt_regs
 #endif
 
 #ifndef sys_execve
-asmlinkage long sys_execve(char __user *filename, char __user * __user *argv,
-			char __user * __user *envp, struct pt_regs *regs);
+asmlinkage long sys_execve(const char __user *filename,
+			   const char __user *const __user *argv,
+			   const char __user *const __user *envp,
+			   struct pt_regs *regs);
 #endif
 
 #ifndef sys_mmap2
_

Patches currently in -mm which might be from dhowells@redhat.com are

origin.patch
linux-next.patch
asm-generic-syscallsh-fix-the-declaration-of-sys_execve.patch
frv-duplicate-output_buffer-of-e03.patch
mutex-subsystem-synchro-test-module.patch
mutex-subsystem-synchro-test-module-add-missing-header-file.patch


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-08-18 20:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-18 20:44 + asm-generic-syscallsh-fix-the-declaration-of-sys_execve.patch added to -mm tree akpm

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.