Blame SOURCES/glibc-rh1505492-prototypes-execve.patch
|
|
c6d234 |
Introduce prototype-style definition for execve. Upstream, the
|
|
|
c6d234 |
old-style function definition was removed in:
|
|
|
c6d234 |
|
|
|
c6d234 |
commit 6268f532b6c6be7971cb57883d042bd771966548
|
|
|
c6d234 |
Author: Joseph Myers <joseph@codesourcery.com>
|
|
|
c6d234 |
Date: Wed Oct 1 20:58:20 2014 +0000
|
|
|
c6d234 |
|
|
|
c6d234 |
Move execve to syscalls.list (bug 14138).
|
|
|
c6d234 |
|
|
|
c6d234 |
diff --git a/sysdeps/unix/sysv/linux/execve.c b/sysdeps/unix/sysv/linux/execve.c
|
|
|
c6d234 |
index 34fd14bf6afc5417..872b150784d41007 100644
|
|
|
c6d234 |
--- a/sysdeps/unix/sysv/linux/execve.c
|
|
|
c6d234 |
+++ b/sysdeps/unix/sysv/linux/execve.c
|
|
|
c6d234 |
@@ -25,10 +25,7 @@
|
|
|
c6d234 |
/* Consider moving to syscalls.list. */
|
|
|
c6d234 |
|
|
|
c6d234 |
int
|
|
|
c6d234 |
-__execve (file, argv, envp)
|
|
|
c6d234 |
- const char *file;
|
|
|
c6d234 |
- char *const argv[];
|
|
|
c6d234 |
- char *const envp[];
|
|
|
c6d234 |
+__execve (const char *file, char *const argv[], char *const envp[])
|
|
|
c6d234 |
{
|
|
|
c6d234 |
return INLINE_SYSCALL (execve, 3, file, argv, envp);
|
|
|
c6d234 |
}
|