summaryrefslogtreecommitdiff
path: root/libc/unistd/exec.c
AgeCommit message (Collapse)Author
2016-02-24Replaced any occurence of /bin/sh with _PATH_BSHELL to allow easier ↵Ubaldo Porcheddu
portability on system with default shell on a different directory, like for instance on android. Signed-off-by: Ubaldo Porcheddu <ubaldo@eja.it>
2013-02-18libc: add non standard execvpe functionHenning Heinold
Signed-off-by: Henning Heinold <heinold@inf.fu-berlin.de> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2012-11-18drop support for pre ISO-C compilersMike Frysinger
This drops __signed, __volatile, and __const. Only the latter was used in the code base, and for uClibc, not consistently. Much of the code used plain "const" which meant "__const" was useless. Really, the point of this is to stay in sync with what glibc did. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-06-15exec.c: remove duplicate attribute_hiddenPeter S. Mazinger
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2009-09-18trim Experimentally off and uncommented hiddenBernhard Reutner-Fischer
sed -i -e '/Experimentally off - /d' $(grep -rl "Experimentally off - " *) sed -i -e '/^\/\*[[:space:]]*libc_hidden_proto(/d' $(grep -rl "libc_hidden_proto" *) should be a nop Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2008-11-20Last portion of libc_hidden_proto removal.Denis Vlasenko
Appears to build fine (several .configs tried)
2008-11-20next portion of libc_hidden_proto removalDenis Vlasenko
2008-05-19Moving libc_hidden_proto's into #ifdef UCLIBC_INTERNAL blockDenis Vlasenko
in string.h and strings.h. This caught unguarded string ops in libc/inet/ethers.c __ether_line_w() function. I will wait for fallout reports for a week or so, then continue converting more libc_hidden_proto's.
2008-01-23give execlp() its own cache on no-mmu to avoid recursive cache fightingMike Frysinger
2008-01-08fix memory corruption on no-mmu from doing multiple execls where earlier ↵Mike Frysinger
execls fail by simply not releasing the memory reserved for the arguments of children processes
2007-12-22plug a memory leak when using execl* functions on no-mmuMike Frysinger
2007-12-22add hidden defs for execv/execlp for completenessMike Frysinger
2007-07-18execXp should go to next PATH dir on any error except ENOEXEC,Denis Vlasenko
not just on ENOENT (in particular, on EPERM). At least glibc does so. Fixing this.
2006-07-05update licenseMike Frysinger
2006-05-30Make execle() and chown() available again (corrects commit 15179).Peter Kjellerstedt
2006-05-26Amir Shalem writes:Mike Frysinger
there are missing prototypes for chown() and execle() in uClibc-snapshot. I'm attaching a patch to add the missing prototypes. the error I'm getting without the patch: AR cr libc/libc_so.a LD libuClibc-0.9.28.so libc/libc_so.a(grantpt.os): In function `__unix_grantpt': grantpt.c:(.text+0x108): undefined reference to `__GI_chown' grantpt.c:(.text+0x1ae): undefined reference to `__GI_execle'
2006-03-22Mark some functions as GNU, provide missing hidden memmem, remove ↵Peter S. Mazinger
_ISOC99/XOPEN_SOURCE
2006-03-10Remove all non-constant libc_hidden_data_def(), it is too unreliable, sorry, ↵Peter S. Mazinger
most of global data relocations are back
2006-02-18tweak the idea between having a MMU and actually using itMike Frysinger
2006-01-22Enable _GNU_SOURCE build wide, trying to get consistent interfaces, else IMA ↵Peter S. Mazinger
is a useless attempt
2006-01-16Last relocs jump and global data, (even locales) that I could remove are ↵Peter S. Mazinger
gone from libc. The remaining are left as exercise for others ;-)
2006-01-14hidden_def/hidden_proto: convert all users (I hope) termios split, add some ↵Peter S. Mazinger
missing headers, other jump relocs removed
2005-12-08mmap/mremap/socket/rewind gonePeter S. Mazinger
2005-12-08Use internal versionsPeter S. Mazinger
2005-12-04More hiding, 300 leftPeter S. Mazinger
2005-12-03More hiding, including __mempcpyPeter S. Mazinger
2005-12-01Hide mostly used functionsPeter S. Mazinger
2004-02-17Sigh... Fall back to alloca() if munmap is broken (uClinux).Manuel Novoa III
2004-01-16s/UCLIBC_HAS_MMU/ARCH_HAS_MMU/gEric Andersen
2004-01-02Redo the exec functions to comply with SUSv3.Manuel Novoa III