aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* (_argp_unlock_xxx): New function.Miles Bader1996-01-031-0/+9
|
* Initial revisionMiles Bader1996-01-021-0/+3
|
* (exec_reauth): Doc fix.Miles Bader1996-01-021-4/+7
|
* (argz_delete): If the result is empty, free it.Miles Bader1996-01-021-3/+8
|
* (idvec_merge_auth): Fix various small typos.Miles Bader1996-01-021-5/+5
|
* (idvec_merge_ids): Preserve duplicates internal to IDS.Miles Bader1996-01-021-5/+34
| | | | | (idvec_ensure): Alloc NUM ids, not NUM chars! (idvec_remove): Correctly copy ids when deleting.
* (idvec_remove, idvec_insert_only): New declarations.Miles Bader1996-01-021-0/+9
|
* (idvec_remove, idvec_insert_only): New functions.Miles Bader1996-01-021-3/+41
| | | | (idvec_setid): Use idvec_insert_only() instead of idvec_insert_new().
* Initial revisionMiles Bader1996-01-021-0/+101
|
* Use exec_reauth() instead of doing it ourselves.Miles Bader1996-01-021-50/+9
|
* (diskfs_S_file_exec): Use fshelp_exec_reauth().Miles Bader1996-01-011-322/+12
| | | | (setid, scan_ids): Functions deleted.
* Initial revisionMiles Bader1996-01-011-0/+192
|
* Initial revisionMiles Bader1996-01-011-0/+80
|
* (idvec_free_wrapper, idvec_free, idvec_ensure, idvec_grow,Miles Bader1996-01-011-4/+59
| | | | | idvec_tail_contains, idvec_add_new, idvec_insert_new, idvec_merge_ids, idvec_setid, idvec_merge_auth): New declarations.
* (idvec_free_wrapper, idvec_free, idvec_ensure, idvec_grow,Miles Bader1996-01-011-26/+152
| | | | | | idvec_tail_contains, idvec_add_new, idvec_insert_new, idvec_merge_ids, idvec_setid): New functions. (idvec_insert): Rewritten to use idvec_grow().
* (pager_unlock_page): When allocating block in direct array, clear itMichael I. Bushnell1996-01-011-1/+3
| | | | synchronously just like we do when it goes in the indirect array.
* (std): Make `fd' one of the standard devices.Miles Bader1995-12-301-1/+1
|
* Initial revisionMiles Bader1995-12-301-0/+18
|
* (main, options): Add --retry/-R and --paranoid/-P options.Miles Bader1995-12-301-10/+58
| | | | (main): Don't ask for password by name if only one user.
* (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.
* (main):Miles Bader1995-12-291-12/+17
| | | | | | 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.
* (diskfs_S_file_exec):Miles Bader1995-12-291-11/+11
| | | | | Always reauth the proc port, as exec does not do it, even in the secure case. Set the proc's owner too.
* (setid):Miles Bader1995-12-281-91/+133
| | | | | | | | | | 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.
* (ports_interrupt_rpc_on_notification): If NEW_REQ is not needed, put it onRoland McGrath1995-12-281-1/+4
| | | | the free list, don't call free on it.
* Gratuitous dithering.Miles Bader1995-12-281-1/+1
|
* (ports_interrupt_self_on_dead_port): New macro.Miles Bader1995-12-281-0/+4
|
* (ports_interrupt_notified_rpcs):Miles Bader1995-12-281-16/+19
| | | | Only bother to lock _PORTS_LOCK if there are notifications.
* (end_using_protid_port): Don't calls ports_port_deref if CRED is null.Roland McGrath1995-12-281-3/+4
|
* (setid): New function.Miles Bader1995-12-281-348/+154
| | | | | | | | | (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.
* (diskfs_register_memory_fault_area):Miles Bader1995-12-271-1/+1
| | | | Register both preempter1 and preempter2 in REC instead of preempter1 twice.
* (SRCS): Add interrupt-on-notify.c, interrupt-notified-rpcs.c, and dead-name.c.Miles Bader1995-12-271-1/+2
|
* (struct rpc_info): Add notifies field.Miles Bader1995-12-271-0/+56
| | | | | | | | | | | (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>.
* (ports_do_mach_notify_dead_name): Call ports_dead_name().Miles Bader1995-12-271-1/+6
|
* (ports_no_senders): Interrupt any rpcs requesting such.Miles Bader1995-12-271-0/+3
|
* (ports_end_rpc): Get rid of any rpc notifications.Miles Bader1995-12-271-0/+3
|
* (ports_begin_rpc): Initialize the notifies field.Miles Bader1995-12-271-0/+1
|
* Initial revisionMiles Bader1995-12-273-0/+311
|
* entered into RCSMiles Bader1995-12-272-4/+15
|
* Entire file rewritten to use libc signal preemption facility.Michael I. Bushnell1995-12-231-54/+93
|
* entered into RCSMichael I. Bushnell1995-12-211-2/+4
|
* Initial revisionMichael I. Bushnell1995-12-211-0/+87
|
* (proc_getsidport): Make SESSPORT's type mach_port_send_t;Miles Bader1995-12-211-1/+1
|
* (ptyopen, nptyperopens, pktnostop, output_stopped): Initialize to 0.Miles Bader1995-12-211-4/+4
|
* (S_term_get_nodename, S_term_set_nodename):Miles Bader1995-12-211-7/+7
| | | | Get the node name from our cred->po->cntl->hook rather than NODENAME.
* (nodename): Variable removed.Miles Bader1995-12-211-3/+0
|
* (main): Put the nodename on ourcntl->hook rather than NODENAME, and also putMiles Bader1995-12-211-5/+11
| | | | our peer's nodname on peercntl->hook.
* (free_session): Correctly get rid of the receive right we're holding.Miles Bader1995-12-211-6/+8
| | | | (S_proc_getsidport): Add and use new arg sessport_type. Return errors.
* (libutil-libsubst): New hack.Miles Bader1995-12-211-0/+4
| | | | (login): Depend on -lutil.
* (argp_default_options): Put --help in group -1.Miles Bader1995-12-211-1/+1
|
* (make_hol):Miles Bader1995-12-211-7/+17
| | | | | | Use the new GROUP field in struct argp_option to initialize sort_classes. (HEADER_COL): New macro. (hol_entry_help): Deal with group headers.