Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | (DIST_FILES): Add elfcore.c, crash.c, and exectrans.c. | Michael I. Bushnell | 1996-04-15 | 1 | -1/+1 |
| | |||||
* | Never mind. | Michael I. Bushnell | 1996-04-15 | 1 | -3/+1 |
| | |||||
* | (SRCS): That's hashexec.c, not .o. | Michael I. Bushnell | 1996-04-15 | 1 | -1/+1 |
| | |||||
* | (gzip-sources): New variable. | Michael I. Bushnell | 1996-04-15 | 1 | -1/+3 |
| | | | | (SRCS): Include $(gzip-sources). | ||||
* | (exec-MIGSFLAGS): Look for execmutations.h in $(srcdir). | Michael I. Bushnell | 1996-04-15 | 1 | -2/+2 |
| | |||||
* | (prepare): | Miles Bader | 1996-04-08 | 1 | -66/+72 |
| | | | | | | If io_map returns EOPNOTSUPP, suppress the error, and still setup E's stream. (prepare_and_check): If prepare returns an error, do no more. | ||||
* | (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. | ||||
* | (S_exec_exec): | Miles Bader | 1996-01-30 | 1 | -9/+21 |
| | | | | | Use strdupa(). Update use of hurd_file_name_lookup() [still probably not right though]. | ||||
* | (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. | ||||
* | (S_exec_exec): Use envz_get() to search the environment. | Miles Bader | 1996-01-11 | 1 | -14/+7 |
| | |||||
* | (safe_bzero): Rewritten using hurd_catch_signal. | Roland McGrath | 1996-01-04 | 1 | -24/+4 |
| | |||||
* | (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. | ||||
* | (do_exec): | Miles Bader | 1995-12-29 | 1 | -5/+12 |
| | | | | | | Be careful not to look at BOOT after we release our reference on it. Correctly initialize BOOT->intarray in the case where NINTS < INIT_INT_MAX but we don't alloc a new array. | ||||
* | (map): Rearrange code to fix some bugs and not remap unless necessary. | Roland McGrath | 1995-12-15 | 1 | -32/+23 |
| | | | | | | (input_room): Simplify. (check_elf): Extract all information from file header before calling `map' for program headers. | ||||
* | (safe_bzero): New function, broken out of load_section. | Roland McGrath | 1995-11-21 | 1 | -27/+33 |
| | | | | (load_section): Call it. | ||||
* | (going_down): Variable removed. | Roland McGrath | 1995-11-21 | 1 | -15/+18 |
| | | | | | | (deadboot): Don't test it. Instead, use ports calls to check if there are no other live ports. (trivfs_goaway): Don't set it. | ||||
* | (check_hashbang): Undo boneheaded last change. | Roland McGrath | 1995-11-21 | 1 | -4/+4 |
| | |||||
* | (load_section): Undo boneheaded last change. | Roland McGrath | 1995-11-21 | 1 | -2/+2 |
| | |||||
* | (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. | ||||
* | (load_section): Declare ADDR and VM_PROT volatile. | Michael I. Bushnell | 1995-11-21 | 1 | -2/+2 |
| | |||||
* | (user_port): Fixed port selection logic. | Roland McGrath | 1995-11-16 | 1 | -13/+20 |
| | | | | (check_hashbang): Fixed PATH searching in script name guessing. | ||||
* | (S_exec_startup): Compatibility RPC removed. | Roland McGrath | 1995-11-13 | 1 | -24/+0 |
| | |||||
* | (load_section): Catch faults while zeroing partial bss page. | Roland McGrath | 1995-11-13 | 1 | -22/+47 |
| | |||||
* | (main): Add FLAGS arg to trivfs_startup call. | Miles Bader | 1995-11-06 | 1 | -1/+1 |
| | |||||
* | (S_exec_startup_get_info): New function, modified from S_exec_startup. | Roland McGrath | 1995-10-25 | 1 | -29/+67 |
| | | | | (S_exec_startup): Just call it. | ||||
* | (exec_demuxer): Call exec_startup_server. | Roland McGrath | 1995-10-25 | 1 | -1/+4 |
| | |||||
* | (OBJS): Add exec_startupServer.o. | Roland McGrath | 1995-10-24 | 1 | -1/+2 |
| | |||||
* | (struct bootinfo): Use vm_size_t for phdr_size. | Roland McGrath | 1995-10-24 | 1 | -1/+2 |
| | |||||
* | (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 |
| | |||||
* | (struct execdata): Moved to priv.h. | Roland McGrath | 1995-10-18 | 1 | -115/+97 |
| | | | | | | | | | | | (std_*, finish): Make global. (do_exec): Only reset CWDIR when null, even if secure. Actually call check_hashbang and return success if it does. Use new hurd_file_name_lookup protocol with private callbacks to open interpreter file on behalf of client. Remove `bootout' label; use `stdout' or `out' as appropriate instead. At `out' label always deref BOOT, which cleans it up iff necessary. (S_exec_exec): #if 0 out $EXECSERVERS processing for time being. | ||||
* | (SRCS, OBJS): Add hashexec.[co]. | Roland McGrath | 1995-10-18 | 1 | -3/+3 |
| | | | | (DIST_FILES): Remove it from here. | ||||
* | Added some #includes. | Roland McGrath | 1995-10-18 | 1 | -0/+78 |
| | | | | | | (struct execdata): Moved here from exec.c. (std_*): Declare these. (finish, check_hashbang): Declare them. | ||||
* | Initial revision | Roland McGrath | 1995-10-11 | 2 | -0/+70 |
| | |||||
* | (OBJS): Add main.o; remove fsysServer.o, notifyServer.o. | Roland McGrath | 1995-10-11 | 1 | -3/+7 |
| | | | | | | (LCLHDRS): Add priv.h and execmutations.h. (exec-MIGSFLAGS): New variable. (exec): Depend on livtrivfs, libthreads, libshouldbeinlibc. | ||||
* | Initial revision | Roland McGrath | 1995-10-11 | 1 | -0/+282 |
| | |||||
* | Server mechanics removed; now uses libtrivfs/libports. | Roland McGrath | 1995-10-11 | 1 | -498/+96 |
| | | | | | | | Main program split out into main.c. (std_lock): New variable (rwlock). (do_exec): Acquire reader lock to access std_ints and std_ports. (S_exec_setexecdata): Acquire writer lock to change them. | ||||
* | (do_exec): Doc fix. | Michael I. Bushnell | 1995-10-02 | 1 | -0/+4 |
| | |||||
* | (do_exec): Don't set NEWTASK's bootstrap port until after we have finished | Roland McGrath | 1995-09-27 | 1 | -18/+8 |
| | | | | | completely with OLDTASK. (do_mach_notify_no_senders): Remove bogus mod_refs call on receive_portset. | ||||
* | (struct bootinfo): New members `phdr_addr', `phdr_size', `user_entry'. | Roland McGrath | 1995-09-20 | 1 | -257/+321 |
| | | | | | | (do_exec): Set them. Code rearranged to construct bootinfo before looking up interpreter file, keep proper track of port rights and VM copied into bootinfo (there were leaks). | ||||
* | Remove vpath directive. | Roland McGrath | 1995-09-16 | 1 | -2/+0 |
| | |||||
* | (OTHERLIBS, CPPFLAGS): Disable bfd by default. | Roland McGrath | 1995-09-08 | 1 | -2/+2 |
| | |||||
* | (S_fsys_forward): New stub function. | Roland McGrath | 1995-08-28 | 1 | -2/+6 |
| | |||||
* | (SRCS): Added unzip.c, util.c, and inflate.c. | Michael I. Bushnell | 1995-07-31 | 1 | -1/+1 |
| | |||||
* | (bfd_mach_host_arch_mach): Remove assignment from inside if test. | Michael I. Bushnell | 1995-07-07 | 1 | -2/+2 |
| | |||||
* | Removed dependencies that are now automatically generated. | Michael I. Bushnell | 1995-07-06 | 1 | -4/+0 |
| |