summaryrefslogtreecommitdiff
path: root/exec
AgeCommit message (Collapse)Author
1996-11-18Mon Nov 18 17:45:48 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell
* exec.c (load_section): If ANYWHERE, then make sure ADDR starts out at least past the first page, so that we don't take it. Then the library can (if desired) make the page no-access. Fri Nov 15 17:34:23 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> * exec.c: Don't include <hurd/shared.h> any more. * main.c (S_exec_init): New arg syntax of trivfs_open.
1996-10-08Mon Oct 7 21:31:25 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell
* exec.c (fake_seek): New function. (prepare): Initialize E->stream.__io_funcs.seek to fake_seek; this is called now that stdio doesn't assume it always knows the file position.
1996-09-17*** empty log message ***Thomas Bushnell
1996-09-05*** empty log message ***Thomas Bushnell
1996-08-29*** empty log message ***Thomas Bushnell
1996-07-18*** empty log message ***Michael I. Bushnell
1996-07-17Initial revisionRoland McGrath
1996-07-08(S_exec_exec): Don't use unsafe MOVE_SEND in call to interruptibleMichael I. Bushnell
exec_exec stub.
1996-07-01(DIST_FILES): Removed crash.c.Michael I. Bushnell
1996-06-20(do_exec): In proc_setowner code, deal with error from auth_getidsMichael I. Bushnell
more loosely.
1996-06-20(exec): Link against fshelp too now.Michael I. Bushnell
1996-06-20fixupMichael I. Bushnell
1996-06-20(do_exec): Call proc_setowner *after* possible proc_reassign;Michael I. Bushnell
otherwise it modifies the stub process's state and not the real process's.
1996-06-19(do_exec, S_exec_exec): Pass 0 for new LOOKUP arg to hurd_file_name_lookup.Miles Bader
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-06-13(basename): Comment out declaration; it conflicts with libc's.Michael I. Bushnell
1996-06-13(do_exec): Add code missing from last change.Michael I. Bushnell
1996-06-13(do_exec): If secure, set the owner with proc_setowner.Michael I. Bushnell
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-10(do_exec): Use new auth_user_authenticate interface.Michael I. Bushnell
1996-05-07(check_hashbang): Use io_identity instead of io_stat to compare files.Roland McGrath
1996-05-06(exec_version): Upgrade to 0.0.Michael I. Bushnell
1996-05-03(map): Use F->__offset and F->__target properly.Roland McGrath
1996-05-02(map): Fix fencepost error in check of current mapping window.Roland McGrath
Request round_page (LEN) bytes in io_read to avoid many small reads.
1996-05-02(do_exec): Terminate OLDTASK if we get an error after killing its threadsRoland McGrath
and deallocating its address space.
1996-04-30(check_gzip) [ziprderr]: Treat all read errors as ENOEXEC. First off,Michael I. Bushnell
because that's what they are; also because some callers of read_error don't set errno at all.
1996-04-27Use ports_create_port instead of ports_allocate_port, and notice the error.Roland McGrath
1996-04-23(check_hashbang: user_port): Use default root port when secure.Roland McGrath
1996-04-15(DIST_FILES): Add elfcore.c, crash.c, and exectrans.c.Michael I. Bushnell
1996-04-15Never mind.Michael I. Bushnell
1996-04-15(SRCS): That's hashexec.c, not .o.Michael I. Bushnell
1996-04-15(gzip-sources): New variable.Michael I. Bushnell
(SRCS): Include $(gzip-sources).
1996-04-15(exec-MIGSFLAGS): Look for execmutations.h in $(srcdir).Michael I. Bushnell
1996-04-08(prepare):Miles Bader
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.
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-30(S_exec_exec):Miles Bader
Use strdupa(). Update use of hurd_file_name_lookup() [still probably not right though].
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-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 useRoland 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, notMichael I. Bushnell
the contents.