summaryrefslogtreecommitdiffstats
path: root/include/asm-generic/syscalls.h
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2010-08-18 19:55:33 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2010-08-18 21:12:38 +0200
commitd15ca3203754359cfe5d18910722d3089b204cc4 (patch)
tree879a1970ad82008d86c831a252b9c344f93eb7ad /include/asm-generic/syscalls.h
parentMerge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir... (diff)
downloadlinux-d15ca3203754359cfe5d18910722d3089b204cc4.tar.xz
linux-d15ca3203754359cfe5d18910722d3089b204cc4.zip
Fix the declaration of sys_execve() in asm-generic/syscalls.h
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> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to '')
-rw-r--r--include/asm-generic/syscalls.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/asm-generic/syscalls.h b/include/asm-generic/syscalls.h
index df84e3b04555..d89dec864d42 100644
--- a/include/asm-generic/syscalls.h
+++ b/include/asm-generic/syscalls.h
@@ -23,8 +23,10 @@ asmlinkage long sys_vfork(struct pt_regs *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