aboutsummaryrefslogtreecommitdiff
path: root/exec
Commit message (Collapse)AuthorAgeFilesLines
* *** empty log message ***Michael I. Bushnell1996-07-184-0/+533
|
* Initial revisionRoland McGrath1996-07-171-0/+643
|
* (S_exec_exec): Don't use unsafe MOVE_SEND in call to interruptibleMichael I. Bushnell1996-07-081-12/+20
| | | | exec_exec stub.
* (DIST_FILES): Removed crash.c.Michael I. Bushnell1996-07-011-1/+1
|
* (do_exec): In proc_setowner code, deal with error from auth_getidsMichael I. Bushnell1996-06-201-23/+25
| | | | more loosely.
* (exec): Link against fshelp too now.Michael I. Bushnell1996-06-201-1/+1
|
* fixupMichael I. Bushnell1996-06-201-4/+5
|
* (do_exec): Call proc_setowner *after* possible proc_reassign;Michael I. Bushnell1996-06-201-34/+35
| | | | | otherwise it modifies the stub process's state and not the real process's.
* (do_exec, S_exec_exec): Pass 0 for new LOOKUP arg to hurd_file_name_lookup.Miles Bader1996-06-191-2/+2
|
* (hurd_file_name_path_lookup): Declaration removed.Miles Bader1996-06-191-12/+2
| | | | (check_hashbang): Pass 0 for new LOOKUP arg to hurd_file_name_lookup.
* (basename): Comment out declaration; it conflicts with libc's.Michael I. Bushnell1996-06-131-2/+2
|
* (do_exec): Add code missing from last change.Michael I. Bushnell1996-06-131-2/+16
|
* (do_exec): If secure, set the owner with proc_setowner.Michael I. Bushnell1996-06-131-2/+23
|
* (search_path): Don't make PATH or PFXED_NAME const.Miles Bader1996-05-101-2/+1
|
* (check_hashbang) [userport/reauthenticate]: Use newMichael I. Bushnell1996-05-101-2/+2
| | | | | auth_user_authenticate inerface. (check_hashbang) [setup_args/search_path]: Declare PATH to be `char const *'.
* (do_exec): Use new auth_user_authenticate interface.Michael I. Bushnell1996-05-101-1/+1
|
* (check_hashbang): Use io_identity instead of io_stat to compare files.Roland McGrath1996-05-071-13/+13
|
* (exec_version): Upgrade to 0.0.Michael I. Bushnell1996-05-061-2/+2
|
* (map): Use F->__offset and F->__target properly.Roland McGrath1996-05-031-7/+7
|
* (map): Fix fencepost error in check of current mapping window.Roland McGrath1996-05-021-2/+3
| | | | Request round_page (LEN) bytes in io_read to avoid many small reads.
* (do_exec): Terminate OLDTASK if we get an error after killing its threadsRoland McGrath1996-05-021-3/+13
| | | | and deallocating its address space.
* (check_gzip) [ziprderr]: Treat all read errors as ENOEXEC. First off,Michael I. Bushnell1996-04-301-9/+10
| | | | | because that's what they are; also because some callers of read_error don't set errno at all.
* Use ports_create_port instead of ports_allocate_port, and notice the error.Roland McGrath1996-04-271-2/+2
|
* (check_hashbang: user_port): Use default root port when secure.Roland McGrath1996-04-231-2/+8
|
* (DIST_FILES): Add elfcore.c, crash.c, and exectrans.c.Michael I. Bushnell1996-04-151-1/+1
|
* Never mind.Michael I. Bushnell1996-04-151-3/+1
|
* (SRCS): That's hashexec.c, not .o.Michael I. Bushnell1996-04-151-1/+1
|
* (gzip-sources): New variable.Michael I. Bushnell1996-04-151-1/+3
| | | | (SRCS): Include $(gzip-sources).
* (exec-MIGSFLAGS): Look for execmutations.h in $(srcdir).Michael I. Bushnell1996-04-151-2/+2
|
* (prepare):Miles Bader1996-04-081-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 Bader1996-03-281-3/+12
|
* (check_hashbang): Correctly deal with interpreter lines having no argument.Miles Bader1996-02-261-4/+12
|
* (check_hashbang): Use hash_file_name_path_lookup() instead of doing the pathMiles Bader1996-01-301-49/+14
| | | | search ourselves, and get rid of LOOKUP_CWDIR & associated logic.
* (S_exec_exec):Miles Bader1996-01-301-9/+21
| | | | | Use strdupa(). Update use of hurd_file_name_lookup() [still probably not right though].
* (check_hashbang):Miles Bader1996-01-111-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 Bader1996-01-111-14/+7
|
* (safe_bzero): Rewritten using hurd_catch_signal.Roland McGrath1996-01-041-24/+4
|
* (check_hashbang): Rearrange arg frobbing code somewhat to useRoland McGrath1996-01-041-82/+53
| | | | hurd_catch_signal instead of old preemption interface.
* (do_exec):Miles Bader1995-12-291-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 McGrath1995-12-151-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 McGrath1995-11-211-27/+33
| | | | (load_section): Call it.
* (going_down): Variable removed.Roland McGrath1995-11-211-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 McGrath1995-11-211-4/+4
|
* (load_section): Undo boneheaded last change.Roland McGrath1995-11-211-2/+2
|
* (check_hashbang): Actually declare FILE_NAME and FILE volatile, notMichael I. Bushnell1995-11-211-2/+2
| | | | the contents.
* (check_hashbang) [prepare_args]: Declare FILE_NAME, ERROR, and NAMEMichael I. Bushnell1995-11-211-3/+3
| | | | volatile.
* (load_section): Declare ADDR and VM_PROT volatile.Michael I. Bushnell1995-11-211-2/+2
|
* (user_port): Fixed port selection logic.Roland McGrath1995-11-161-13/+20
| | | | (check_hashbang): Fixed PATH searching in script name guessing.
* (S_exec_startup): Compatibility RPC removed.Roland McGrath1995-11-131-24/+0
|
* (load_section): Catch faults while zeroing partial bss page.Roland McGrath1995-11-131-22/+47
|