Age | Commit message (Collapse) | Author | |
---|---|---|---|
1996-01-11 | (S_exec_exec): Use envz_get() to search the environment. | Miles Bader | |
1996-01-04 | (safe_bzero): Rewritten using hurd_catch_signal. | Roland McGrath | |
1996-01-04 | (check_hashbang): Rearrange arg frobbing code somewhat to use | Roland McGrath | |
hurd_catch_signal instead of old preemption interface. | |||
1995-12-29 | (do_exec): | Miles Bader | |
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. | |||
1995-12-15 | (map): Rearrange code to fix some bugs and not remap unless necessary. | Roland McGrath | |
(input_room): Simplify. (check_elf): Extract all information from file header before calling `map' for program headers. | |||
1995-11-21 | (safe_bzero): New function, broken out of load_section. | Roland McGrath | |
(load_section): Call it. | |||
1995-11-21 | (going_down): Variable removed. | Roland McGrath | |
(deadboot): Don't test it. Instead, use ports calls to check if there are no other live ports. (trivfs_goaway): Don't set it. | |||
1995-11-21 | (check_hashbang): Undo boneheaded last change. | Roland McGrath | |
1995-11-21 | (load_section): Undo boneheaded last change. | Roland McGrath | |
1995-11-21 | (check_hashbang): Actually declare FILE_NAME and FILE volatile, not | Michael I. Bushnell | |
the contents. | |||
1995-11-21 | (check_hashbang) [prepare_args]: Declare FILE_NAME, ERROR, and NAME | Michael I. Bushnell | |
volatile. | |||
1995-11-21 | (load_section): Declare ADDR and VM_PROT volatile. | Michael I. Bushnell | |
1995-11-16 | (user_port): Fixed port selection logic. | Roland McGrath | |
(check_hashbang): Fixed PATH searching in script name guessing. | |||
1995-11-13 | (S_exec_startup): Compatibility RPC removed. | Roland McGrath | |
1995-11-13 | (load_section): Catch faults while zeroing partial bss page. | Roland McGrath | |
1995-11-06 | (main): Add FLAGS arg to trivfs_startup call. | Miles Bader | |
1995-10-25 | (S_exec_startup_get_info): New function, modified from S_exec_startup. | Roland McGrath | |
(S_exec_startup): Just call it. | |||
1995-10-25 | (exec_demuxer): Call exec_startup_server. | Roland McGrath | |
1995-10-24 | (OBJS): Add exec_startupServer.o. | Roland McGrath | |
1995-10-24 | (struct bootinfo): Use vm_size_t for phdr_size. | Roland McGrath | |
1995-10-18 | (check_hashbang: prepare_args): Enable and clean up code to guess the name | Roland 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-18 | Initial revision | Roland McGrath | |
1995-10-18 | (struct execdata): Moved to priv.h. | Roland McGrath | |
(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. | |||
1995-10-18 | (SRCS, OBJS): Add hashexec.[co]. | Roland McGrath | |
(DIST_FILES): Remove it from here. | |||
1995-10-18 | Added some #includes. | Roland McGrath | |
(struct execdata): Moved here from exec.c. (std_*): Declare these. (finish, check_hashbang): Declare them. | |||
1995-10-11 | Initial revision | Roland McGrath | |
1995-10-11 | (OBJS): Add main.o; remove fsysServer.o, notifyServer.o. | Roland McGrath | |
(LCLHDRS): Add priv.h and execmutations.h. (exec-MIGSFLAGS): New variable. (exec): Depend on livtrivfs, libthreads, libshouldbeinlibc. | |||
1995-10-11 | Initial revision | Roland McGrath | |
1995-10-11 | Server mechanics removed; now uses libtrivfs/libports. | Roland McGrath | |
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. | |||
1995-10-02 | (do_exec): Doc fix. | Michael I. Bushnell | |
1995-09-27 | (do_exec): Don't set NEWTASK's bootstrap port until after we have finished | Roland McGrath | |
completely with OLDTASK. (do_mach_notify_no_senders): Remove bogus mod_refs call on receive_portset. | |||
1995-09-20 | (struct bootinfo): New members `phdr_addr', `phdr_size', `user_entry'. | Roland McGrath | |
(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). | |||
1995-09-16 | Remove vpath directive. | Roland McGrath | |
1995-09-08 | (OTHERLIBS, CPPFLAGS): Disable bfd by default. | Roland McGrath | |
1995-08-28 | (S_fsys_forward): New stub function. | Roland McGrath | |
1995-07-31 | (SRCS): Added unzip.c, util.c, and inflate.c. | Michael I. Bushnell | |
1995-07-07 | (bfd_mach_host_arch_mach): Remove assignment from inside if test. | Michael I. Bushnell | |
1995-07-06 | Removed dependencies that are now automatically generated. | Michael I. Bushnell | |
1995-07-05 | (OTHERLIBS): Define var. | Michael I. Bushnell | |
(all, exec): Delete targets. | |||
1995-07-05 | (exec): foo | Michael I. Bushnell | |
1995-06-27 | (load_section): Remove assignments from if tests. | Michael I. Bushnell | |
(map): Likewise. (prepare): Likewise. (load): Likewise. (servercopy): Likewise. (do_exec): Likewise. (S_exec_setexecdata): Likewise. (S_exec_exec): Put extra parens around assignment inside while test. | |||
1995-06-08 | Rewritten to unconditionally return both BFD and ELF machine types. | Roland McGrath | |
1995-06-08 | (struct execdata.info.elf): Add members `anywhere' and `loadbase'. | Roland McGrath | |
(load_section): Use them; if `anywhere' set, load the section anywhere. Record load address in `loadbase'. (check_elf): Initialize `anywhere' and `loadbase'. (postload): Merged into load. (load): Perform postload functionality here, after calling finish_mapping. (finish): Take new flag arg; deallocate file port only if set. (do_exec): Pass flag to finish appropriately. Don't call finish_mapping and postload after load. KLUDGE: Load the interpreter before the program instead of after. | |||
1995-06-05 | Majorly revamped: Now supports the ELF format directly. | Roland McGrath | |
Secondarily uses the BFD library #ifdef BFD. Supports gunzipping only #ifdef GZIP. | |||
1995-05-12 | Add fsys_set_options, replacing fsys_mod_readonly. | Miles Bader | |
1995-04-21 | (check_gzip): Rewind the stream before calling `get_method'. | Roland McGrath | |
Open a new BFD on the uncompressed data stream before return. | |||
1995-04-10 | (struct execdata) [BFD]: New member `interp_section'. | Roland McGrath | |
(check_section): Notice section named ".interp" and set that pointer. (load_section): Do nothing if the section is zero size. When reading into our copy of the overlap page, don't read past the end of the section. (do_exec): Consolidate new subfunction `check_maybe_gzip'. If there is an interpreter section, load the interpreter file too, and use its entry point instead of the user program's. Cleaned up and made more robust deallocation of BOOT info on error. (deadboot): New function, split out of do_mach_port_notify_no_senders. | |||
1995-04-09 | (vpath lib%.a): Move this after include ../Makeconf, since it uses a | Roland McGrath | |
variable set there. | |||
1995-04-09 | (vpath lib%.a): Add search path. | Roland McGrath | |
(exec): Depend on -lbfd and -liberty. (CPPFLAGS): Append -DBFD; omit -DA_OUT_H=... (bfdexec): Target removed. |