Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 2000-03-13 Roland McGrath <roland@baalperazim.frob.com> | Roland McGrath | 2000-03-13 | 1 | -11/+11 |
| | | | | * hashexec.c (check_hashbang): Fix up multiple fencepost brainos. | ||||
* | 2000-03-13 Roland McGrath <roland@baalperazim.frob.com> | Roland McGrath | 2000-03-13 | 1 | -2/+2 |
| | | | | * hashexec.c (check_hashbang): Fix fencepost error in last change. | ||||
* | 2000-03-13 Roland McGrath <roland@baalperazim.frob.com> | Roland McGrath | 2000-03-13 | 1 | -28/+35 |
| | | | | | | | | | * exec.c (map): Made global. * priv.h: Declare it. (map_fsize, map_vsize): New macros for accessing state set up by map. * hashexec.c (check_hashbang): Use map and copying operations rather than stdio to extract the first line from the file. Move finish call to immediately after reading the line. | ||||
* | 2000-02-27 Roland McGrath <roland@baalperazim.frob.com> | Roland McGrath | 2000-02-28 | 1 | -8/+14 |
| | | | | | | | | * hashexec.c (check_hashbang: user_fd): Add a user ref to DTABLE[FD] send right, because caller (hurd_file_name_lookup internals) will consume one. * hashexec.c (check_hashbang): When dealloc'ing DTABLE ports, optimize out syscall for null ports. | ||||
* | 1999-07-06 Thomas Bushnell, BSG <tb@mit.edu> | Thomas Bushnell | 1999-07-11 | 1 | -5/+9 |
| | | | | | | | | * exec.c (load_section): Use mmap instead of vm_allocate when allocating in mach_task_self (). (servercopy): Likewise. (do_exec): Likewise. * hashexec.c (check_hashbang): Likewise. | ||||
* | 1999-07-03 Thomas Bushnell, BSG <tb@mit.edu> | Thomas Bushnell | 1999-07-03 | 1 | -8/+5 |
| | | | | | | | | | | | | | | | * core.c (core_dump_task): Use munmap instead of vm_deallocate, when it's from our own task. * elfcore.c: Likewise. * exec.c (load_section): Likewise. (map): Likewise. (close_exec_stream): Likewise. (finish_mapping): Likewise. (load): Likewise. (do_exec): Likewise. (S_exec_setexecdata): Likewise. * hashexec.c (check_hashbang): Likewise. * main.c (deadboot): Likewise. | ||||
* | 1999-05-16 Roland McGrath <roland@baalperazim.frob.com> | Roland McGrath | 1999-05-16 | 1 | -3/+2 |
| | | | | * hashexec.c (check_hashbang): Fix bug in last change. | ||||
* | 1999-05-15 Roland McGrath <roland@baalperazim.frob.com> | Roland McGrath | 1999-05-15 | 1 | -9/+19 |
| | | | | | * hashexec.c (check_hashbang): Trim trailing blanks after interpreter argument. | ||||
* | 1998-11-25 Mark Kettenis <kettenis@phys.uva.nl> | Roland McGrath | 1998-11-29 | 1 | -1/+1 |
| | | | | * hashexec.c (check_hashbang): Fix typo: interplen -> interp_len. | ||||
* | 1998-10-26 Roland McGrath <roland@baalperazim.frob.com> | Roland McGrath | 1998-11-07 | 1 | -6/+6 |
| | | | | * hashexec.c: Use mach_* instead of __mach_*. | ||||
* | Thu Nov 5 15:26:50 1998 Thomas Bushnell, BSG <tb@mit.edu> | Thomas Bushnell | 1998-11-05 | 1 | -8/+23 |
| | | | | | | | * hashexec.c (check_hashbang): Keep INTERP_LEN with the correct value (bytes of memory holding INTERP) for later use. (check_hashbang: setup_args): Set argv[0] from the interpreter name, not copied from the existing command line. | ||||
* | (check_hashbang): | Miles Bader | 1997-02-05 | 1 | -3/+3 |
| | | | | `preempter' -> `preemptor'. | ||||
* | (hurd_file_name_path_lookup): Declaration removed. | Miles Bader | 1996-06-19 | 1 | -12/+2 |
| | | | | (check_hashbang): Pass 0 for new LOOKUP arg to hurd_file_name_lookup. | ||||
* | (search_path): Don't make PATH or PFXED_NAME const. | Miles Bader | 1996-05-10 | 1 | -2/+1 |
| | |||||
* | (check_hashbang) [userport/reauthenticate]: Use new | Michael I. Bushnell | 1996-05-10 | 1 | -2/+2 |
| | | | | | auth_user_authenticate inerface. (check_hashbang) [setup_args/search_path]: Declare PATH to be `char const *'. | ||||
* | (check_hashbang): Use io_identity instead of io_stat to compare files. | Roland McGrath | 1996-05-07 | 1 | -13/+13 |
| | |||||
* | (check_hashbang: user_port): Use default root port when secure. | Roland McGrath | 1996-04-23 | 1 | -2/+8 |
| | |||||
* | (check_hashbang): Pass open flags & mode args to hurd_file_name_path_lookup. | Miles Bader | 1996-03-28 | 1 | -3/+12 |
| | |||||
* | (check_hashbang): Correctly deal with interpreter lines having no argument. | Miles Bader | 1996-02-26 | 1 | -4/+12 |
| | |||||
* | (check_hashbang): Use hash_file_name_path_lookup() instead of doing the path | Miles Bader | 1996-01-30 | 1 | -49/+14 |
| | | | | search ourselves, and get rid of LOOKUP_CWDIR & associated logic. | ||||
* | (check_hashbang): | Miles Bader | 1996-01-11 | 1 | -14/+21 |
| | | | | | | When using executable name found on the path, don't return alloca()ed memory from search_path(); use malloc() instead. Use envz_get() to search the environment. | ||||
* | (check_hashbang): Rearrange arg frobbing code somewhat to use | Roland McGrath | 1996-01-04 | 1 | -82/+53 |
| | | | | hurd_catch_signal instead of old preemption interface. | ||||
* | (check_hashbang): Undo boneheaded last change. | Roland McGrath | 1995-11-21 | 1 | -4/+4 |
| | |||||
* | (check_hashbang): Actually declare FILE_NAME and FILE volatile, not | Michael I. Bushnell | 1995-11-21 | 1 | -2/+2 |
| | | | | the contents. | ||||
* | (check_hashbang) [prepare_args]: Declare FILE_NAME, ERROR, and NAME | Michael I. Bushnell | 1995-11-21 | 1 | -3/+3 |
| | | | | volatile. | ||||
* | (user_port): Fixed port selection logic. | Roland McGrath | 1995-11-16 | 1 | -13/+20 |
| | | | | (check_hashbang): Fixed PATH searching in script name guessing. | ||||
* | (check_hashbang: prepare_args): Enable and clean up code to guess the name | Roland McGrath | 1995-10-18 | 1 | -88/+87 |
| | | | | of the script before resorting to /dev/fd. | ||||
* | (check_hashbang): Copy passed args from the right place. | Roland McGrath | 1995-10-18 | 1 | -1/+2 |
| | |||||
* | Initial revision | Roland McGrath | 1995-10-18 | 1 | -0/+442 |