Commit Graph

10433 Commits

Author SHA1 Message Date
Todd C. Miller
fde49b4c75 fixed bug with non-executable tings of same name in path introduced by checkig errno
after stat(2).
1993-09-08 15:39:08 +00:00
Todd C. Miller
5ae9d330e1 fixed off by one error 1993-09-05 14:02:14 +00:00
Todd C. Miller
c3636ccc41 now handles decending below '/' correctly 1993-09-05 13:55:34 +00:00
Todd C. Miller
f00b6795c7 now actually builds Envp instead of munging envp 1993-09-05 12:35:37 +00:00
Todd C. Miller
1c2d27eea6 now includes sys/param.h 1993-09-04 19:42:19 +00:00
Todd C. Miller
3151ffe1cf now includes sys/param.h 1993-09-04 19:41:31 +00:00
Todd C. Miller
4ccc94fc10 fixed ifndef -> ifdef 1993-09-04 19:30:18 +00:00
Todd C. Miller
3d8cc2e429 make more like find_path.c 1993-09-04 19:19:32 +00:00
Todd C. Miller
81d0c1f6df rewritten by millert 1993-09-04 19:18:57 +00:00
Todd C. Miller
f530705e00 fixed MAXCOMMANDLENGTH
now uses USE_CWD and NEED_STRDUP
added info about new defines in the comment
1993-09-04 19:17:17 +00:00
Todd C. Miller
d555cdb52e now uses USE_CWD 1993-09-04 19:15:46 +00:00
Todd C. Miller
35ea443962 added delc for clean_envp() and Envp 1993-09-04 18:10:16 +00:00
Todd C. Miller
d7391584e7 now rips LD_* env vars out of envp and passed sanitized Envp to exec 1993-09-04 18:09:35 +00:00
Todd C. Miller
4d48690a2e now uses execve() 1993-09-04 18:09:20 +00:00
Todd C. Miller
51deb28dbb ENOTDIR is ok now too (in case part of the path is bogus) 1993-09-04 18:08:15 +00:00
Todd C. Miller
223b37b147 now works correctly (ttaltotal rewrite) 1993-09-04 12:17:33 +00:00
Todd C. Miller
6961229571 now includes sys/param.h
didn't match trailing / -- fix from rouilj@cs.umb.edu
1993-09-04 11:59:36 +00:00
Todd C. Miller
3a96124e85 moved around the #ifndef _AIX 1993-06-11 22:04:22 +00:00
Todd C. Miller
958ee39a64 Initial revision 1993-06-11 22:03:45 +00:00
Todd C. Miller
fd93ea8d4b Initial revision 1993-03-20 12:57:46 +00:00
Todd C. Miller
065775e4a3 now works if you do sudo bin/test 1993-03-13 20:09:38 +00:00
Todd C. Miller
ff04cc5e1c works 1993-03-13 19:20:15 +00:00
Todd C. Miller
799707635d Initial revision 1993-03-02 23:28:50 +00:00
Todd C. Miller
9706aa6363 Initial revision 1993-03-02 16:35:47 +00:00
Todd C. Miller
a1fcf10b6d Initial revision 1993-03-02 16:33:11 +00:00
Todd C. Miller
b7d12de748 took out errno.h 1993-02-16 18:24:05 +00:00
Todd C. Miller
852d937152 now spews error if exec fails and exits with -1 1993-02-16 18:22:52 +00:00
Todd C. Miller
eca93e1dae Initial revision 1993-02-16 17:07:38 +00:00
Todd C. Miller
96a16b6264 now only execs files with (an) executable bit set. 1993-02-16 03:27:57 +00:00
Todd C. Miller
0a8420d1ad Initial revision 1993-02-16 03:01:06 +00:00
Todd C. Miller
463350e1ce added nice comment 1993-02-15 19:32:18 +00:00
Todd C. Miller
31f6f67f0c now works on sgi's 1993-02-15 19:19:45 +00:00
Todd C. Miller
b2abb3f5c0 Initial revision 1993-02-15 18:57:44 +00:00