summaryrefslogtreecommitdiff
path: root/exec/hashexec.c
AgeCommit message (Collapse)Author
1999-07-111999-07-06 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell
* 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-031999-07-03 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell
* 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-161999-05-16 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* hashexec.c (check_hashbang): Fix bug in last change.
1999-05-151999-05-15 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* hashexec.c (check_hashbang): Trim trailing blanks after interpreter argument.
1998-11-291998-11-25 Mark Kettenis <kettenis@phys.uva.nl>Roland McGrath
* hashexec.c (check_hashbang): Fix typo: interplen -> interp_len.
1998-11-071998-10-26 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* hashexec.c: Use mach_* instead of __mach_*.
1998-11-05Thu Nov 5 15:26:50 1998 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell
* 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.
1997-02-05(check_hashbang):Miles Bader
`preempter' -> `preemptor'.
1996-06-19(hurd_file_name_path_lookup): Declaration removed.Miles Bader
(check_hashbang): Pass 0 for new LOOKUP arg to hurd_file_name_lookup.
1996-05-10(search_path): Don't make PATH or PFXED_NAME const.Miles Bader
1996-05-10(check_hashbang) [userport/reauthenticate]: Use newMichael I. Bushnell
auth_user_authenticate inerface. (check_hashbang) [setup_args/search_path]: Declare PATH to be `char const *'.
1996-05-07(check_hashbang): Use io_identity instead of io_stat to compare files.Roland McGrath
1996-04-23(check_hashbang: user_port): Use default root port when secure.Roland McGrath
1996-03-28(check_hashbang): Pass open flags & mode args to hurd_file_name_path_lookup.Miles Bader
1996-02-26(check_hashbang): Correctly deal with interpreter lines having no argument.Miles Bader
1996-01-30(check_hashbang): Use hash_file_name_path_lookup() instead of doing the pathMiles Bader
search ourselves, and get rid of LOOKUP_CWDIR & associated logic.
1996-01-11(check_hashbang):Miles Bader
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.
1996-01-04(check_hashbang): Rearrange arg frobbing code somewhat to useRoland McGrath
hurd_catch_signal instead of old preemption interface.
1995-11-21(check_hashbang): Undo boneheaded last change.Roland McGrath
1995-11-21(check_hashbang): Actually declare FILE_NAME and FILE volatile, notMichael I. Bushnell
the contents.
1995-11-21(check_hashbang) [prepare_args]: Declare FILE_NAME, ERROR, and NAMEMichael I. Bushnell
volatile.
1995-11-16(user_port): Fixed port selection logic.Roland McGrath
(check_hashbang): Fixed PATH searching in script name guessing.
1995-10-18(check_hashbang: prepare_args): Enable and clean up code to guess the nameRoland McGrath
of the script before resorting to /dev/fd.
1995-10-18(check_hashbang): Copy passed args from the right place.Roland McGrath
1995-10-18Initial revisionRoland McGrath