summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
1996-01-04Pass AMT read/write to _diskfs_rdwr_internal, andRoland McGrath
return success if any bytes were written.
1996-01-04Pass DATALEN read/write to _diskfs_rdwr_internal, andRoland McGrath
return success if any bytes were written.
1996-01-04(diskfs_catch_exception, diskfs_end_catch_exception): Macros removed.Roland McGrath
(diskfs_register_memory_fault_area, diskfs_unregister_memory_fault_area): Decls removed.
1996-01-04(diskfs_node_rdwr): Pass AMTREAD read/write to _diskfs_rdwr_internal,Roland McGrath
instead of assuming it wrote the whole amount. Update the node if anything was transferred, regardless of ERR.
1996-01-04Use size_t instead of int for amounts in diskfs_node_rdwr prototype.Roland McGrath
1996-01-04(_diskfs_rdwr_internal): Rewritten using pager_memcpy.Roland McGrath
Fix types of args: OFFSET to off_t, make AMT read/write size_t *.
1996-01-04Fix args in _diskfs_rdwr_internal prototype.Roland McGrath
1996-01-04Declare pager_memcpy.Roland McGrath
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.
1996-01-03Initial revisionMiles Bader
1996-01-03(_argp_unlock_xxx): New function.Miles Bader
1996-01-02Initial revisionMiles Bader
1996-01-02(exec_reauth): Doc fix.Miles Bader
1996-01-02(argz_delete): If the result is empty, free it.Miles Bader
1996-01-02(idvec_merge_auth): Fix various small typos.Miles Bader
1996-01-02(idvec_merge_ids): Preserve duplicates internal to IDS.Miles Bader
(idvec_ensure): Alloc NUM ids, not NUM chars! (idvec_remove): Correctly copy ids when deleting.
1996-01-02(idvec_remove, idvec_insert_only): New declarations.Miles Bader
1996-01-02(idvec_remove, idvec_insert_only): New functions.Miles Bader
(idvec_setid): Use idvec_insert_only() instead of idvec_insert_new().
1996-01-02Initial revisionMiles Bader
1996-01-02Use exec_reauth() instead of doing it ourselves.Miles Bader
1996-01-01(diskfs_S_file_exec): Use fshelp_exec_reauth().Miles Bader
(setid, scan_ids): Functions deleted.
1996-01-01Initial revisionMiles Bader
1996-01-01Initial revisionMiles Bader
1996-01-01(idvec_free_wrapper, idvec_free, idvec_ensure, idvec_grow,Miles Bader
idvec_tail_contains, idvec_add_new, idvec_insert_new, idvec_merge_ids, idvec_setid, idvec_merge_auth): New declarations.
1996-01-01(idvec_free_wrapper, idvec_free, idvec_ensure, idvec_grow,Miles Bader
idvec_tail_contains, idvec_add_new, idvec_insert_new, idvec_merge_ids, idvec_setid): New functions. (idvec_insert): Rewritten to use idvec_grow().
1996-01-01(pager_unlock_page): When allocating block in direct array, clear itMichael I. Bushnell
synchronously just like we do when it goes in the indirect array.
1995-12-30(std): Make `fd' one of the standard devices.Miles Bader
1995-12-30Initial revisionMiles Bader
1995-12-30(main, options): Add --retry/-R and --paranoid/-P options.Miles Bader
(main): Don't ask for password by name if only one user.
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-29(main):Miles Bader
If -f/--no-passwd is specified, get rid of the effect of the login executable being setuid/gid. Only set the shell proc's owner to an effective uid.
1995-12-29(diskfs_S_file_exec):Miles Bader
Always reauth the proc port, as exec does not do it, even in the secure case. Set the proc's owner too.
1995-12-28(setid):Miles Bader
Don't touch the return params unless we succeed. Add SETID parameter, and just copy old into new unless it's set. Handle the NOLDGENIDS == 0 case correctly. (diskfs_S_file_exec): Use the new setid() properly. Make sure that {GEN,AUX}{UIDS,GIDS} are always in a state where they can be freed.
1995-12-28(ports_interrupt_rpc_on_notification): If NEW_REQ is not needed, put it onRoland McGrath
the free list, don't call free on it.
1995-12-28Gratuitous dithering.Miles Bader
1995-12-28(ports_interrupt_self_on_dead_port): New macro.Miles Bader
1995-12-28(ports_interrupt_notified_rpcs):Miles Bader
Only bother to lock _PORTS_LOCK if there are notifications.
1995-12-28(end_using_protid_port): Don't calls ports_port_deref if CRED is null.Roland McGrath
1995-12-28(setid): New function.Miles Bader
(scan_ids): Moved out of diskfs_S_file_exec. (diskfs_S_file_exec): Move duplicated code into setid(). Make the bogus auth port case work correctly. Deleted old ifdefed-out code. Enable setuid code.
1995-12-27(diskfs_register_memory_fault_area):Miles Bader
Register both preempter1 and preempter2 in REC instead of preempter1 twice.
1995-12-27(SRCS): Add interrupt-on-notify.c, interrupt-notified-rpcs.c, and dead-name.c.Miles Bader
1995-12-27(struct rpc_info): Add notifies field.Miles Bader
(struct ports_notify): New structure. (struct rpc_notify): New structure. (_ports_notifications, _ports_free_rpc_notifies, _ports_free_ports_notifies): New variable declarations. (ports_interrupt_self_on_notification, ports_interrupt_rpc_on_notification, ports_interrupt_notified_rpcs, _ports_remove_notified_rpc): New functiondeclarations. Include <mach/notify.h>.
1995-12-27(ports_do_mach_notify_dead_name): Call ports_dead_name().Miles Bader
1995-12-27(ports_no_senders): Interrupt any rpcs requesting such.Miles Bader
1995-12-27(ports_end_rpc): Get rid of any rpc notifications.Miles Bader
1995-12-27(ports_begin_rpc): Initialize the notifies field.Miles Bader
1995-12-27Initial revisionMiles Bader
1995-12-27entered into RCSMiles Bader
1995-12-23Entire file rewritten to use libc signal preemption facility.Michael I. Bushnell