Commit d15ca320 authored by David Howells's avatar David Howells Committed by Linus Torvalds

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: default avatarDavid Howells <dhowells@redhat.com>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 145c3ae4
...@@ -23,8 +23,10 @@ asmlinkage long sys_vfork(struct pt_regs *regs); ...@@ -23,8 +23,10 @@ asmlinkage long sys_vfork(struct pt_regs *regs);
#endif #endif
#ifndef sys_execve #ifndef sys_execve
asmlinkage long sys_execve(char __user *filename, char __user * __user *argv, asmlinkage long sys_execve(const char __user *filename,
char __user * __user *envp, struct pt_regs *regs); const char __user *const __user *argv,
const char __user *const __user *envp,
struct pt_regs *regs);
#endif #endif
#ifndef sys_mmap2 #ifndef sys_mmap2
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment