Commit Graph

12 Commits

Author SHA1 Message Date
Todd C. Miller
00bea5e742 Add __ variants of the exec functions. GNU libc at least uses __execve()
internally.
2005-03-12 23:43:40 +00:00
Todd C. Miller
7362b7e981 Wrap more of the exec family since on Linux the others do not appear
to go through the normal execve() path.
2005-03-10 15:09:28 +00:00
Todd C. Miller
778d587063 Update copyright years. 2005-02-12 22:56:07 +00:00
Todd C. Miller
cea03b5e8f Only include time.h on systems that lack struct timespec which
gets defind in compat.h (using time_t).
2005-02-06 04:01:33 +00:00
Todd C. Miller
90d2f5f50b Include time.h for time_t in compat.h for systems w/o struct timespec. 2005-02-06 03:59:38 +00:00
Todd C. Miller
3b8b88407f Add __unused to rcsids 2005-01-27 15:42:30 +00:00
Todd C. Miller
2c2daa8eca Use: #include <config.h>
Not: #include "config.h"
That way we get the correct config.h when build dir != src dir
2004-11-19 18:39:14 +00:00
Todd C. Miller
78fd7d4204 More to a less restrictive, ISC-style license. 2004-02-13 21:36:43 +00:00
Todd C. Miller
d80d2e29ad Only do "extern int errno" if errno is not a macro. 2004-02-08 20:53:55 +00:00
Todd C. Miller
4ad4ba1740 Alas, all the world does not go through execve(2). Many systems
still have an execv(2) system call, Linux 2.6 provides fexecve(2)
and it is not uncommon for libc to have underscore ('_') versions
of the functions to be used internally by the library.  Instead of
stubbing all these out by hand, define a macro and let it do the
work.  Extra exec functions pointed out by Reznic Valery.
2004-01-22 17:14:18 +00:00
Todd C. Miller
dd4acb880d Fix compilation under K&R 2004-01-09 05:15:38 +00:00
Todd C. Miller
e17ee88ebf stub execve() that just returns EACCES; used for noexec functionality 2004-01-06 14:28:49 +00:00