Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | (_argp_unlock_xxx): New function. | Miles Bader | 1996-01-03 | 1 | -0/+9 |
| | |||||
* | Initial revision | Miles Bader | 1996-01-02 | 1 | -0/+3 |
| | |||||
* | (exec_reauth): Doc fix. | Miles Bader | 1996-01-02 | 1 | -4/+7 |
| | |||||
* | (argz_delete): If the result is empty, free it. | Miles Bader | 1996-01-02 | 1 | -3/+8 |
| | |||||
* | (idvec_merge_auth): Fix various small typos. | Miles Bader | 1996-01-02 | 1 | -5/+5 |
| | |||||
* | (idvec_merge_ids): Preserve duplicates internal to IDS. | Miles Bader | 1996-01-02 | 1 | -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 Bader | 1996-01-02 | 1 | -0/+9 |
| | |||||
* | (idvec_remove, idvec_insert_only): New functions. | Miles Bader | 1996-01-02 | 1 | -3/+41 |
| | | | | (idvec_setid): Use idvec_insert_only() instead of idvec_insert_new(). | ||||
* | Initial revision | Miles Bader | 1996-01-02 | 1 | -0/+101 |
| | |||||
* | Use exec_reauth() instead of doing it ourselves. | Miles Bader | 1996-01-02 | 1 | -50/+9 |
| | |||||
* | (diskfs_S_file_exec): Use fshelp_exec_reauth(). | Miles Bader | 1996-01-01 | 1 | -322/+12 |
| | | | | (setid, scan_ids): Functions deleted. | ||||
* | Initial revision | Miles Bader | 1996-01-01 | 1 | -0/+192 |
| | |||||
* | Initial revision | Miles Bader | 1996-01-01 | 1 | -0/+80 |
| | |||||
* | (idvec_free_wrapper, idvec_free, idvec_ensure, idvec_grow, | Miles Bader | 1996-01-01 | 1 | -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 Bader | 1996-01-01 | 1 | -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 it | Michael I. Bushnell | 1996-01-01 | 1 | -1/+3 |
| | | | | synchronously just like we do when it goes in the indirect array. | ||||
* | (std): Make `fd' one of the standard devices. | Miles Bader | 1995-12-30 | 1 | -1/+1 |
| | |||||
* | Initial revision | Miles Bader | 1995-12-30 | 1 | -0/+18 |
| | |||||
* | (main, options): Add --retry/-R and --paranoid/-P options. | Miles Bader | 1995-12-30 | 1 | -10/+58 |
| | | | | (main): Don't ask for password by name if only one user. | ||||
* | (do_exec): | Miles Bader | 1995-12-29 | 1 | -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 Bader | 1995-12-29 | 1 | -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 Bader | 1995-12-29 | 1 | -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 Bader | 1995-12-28 | 1 | -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 on | Roland McGrath | 1995-12-28 | 1 | -1/+4 |
| | | | | the free list, don't call free on it. | ||||
* | Gratuitous dithering. | Miles Bader | 1995-12-28 | 1 | -1/+1 |
| | |||||
* | (ports_interrupt_self_on_dead_port): New macro. | Miles Bader | 1995-12-28 | 1 | -0/+4 |
| | |||||
* | (ports_interrupt_notified_rpcs): | Miles Bader | 1995-12-28 | 1 | -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 McGrath | 1995-12-28 | 1 | -3/+4 |
| | |||||
* | (setid): New function. | Miles Bader | 1995-12-28 | 1 | -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 Bader | 1995-12-27 | 1 | -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 Bader | 1995-12-27 | 1 | -1/+2 |
| | |||||
* | (struct rpc_info): Add notifies field. | Miles Bader | 1995-12-27 | 1 | -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 Bader | 1995-12-27 | 1 | -1/+6 |
| | |||||
* | (ports_no_senders): Interrupt any rpcs requesting such. | Miles Bader | 1995-12-27 | 1 | -0/+3 |
| | |||||
* | (ports_end_rpc): Get rid of any rpc notifications. | Miles Bader | 1995-12-27 | 1 | -0/+3 |
| | |||||
* | (ports_begin_rpc): Initialize the notifies field. | Miles Bader | 1995-12-27 | 1 | -0/+1 |
| | |||||
* | Initial revision | Miles Bader | 1995-12-27 | 3 | -0/+311 |
| | |||||
* | entered into RCS | Miles Bader | 1995-12-27 | 2 | -4/+15 |
| | |||||
* | Entire file rewritten to use libc signal preemption facility. | Michael I. Bushnell | 1995-12-23 | 1 | -54/+93 |
| | |||||
* | entered into RCS | Michael I. Bushnell | 1995-12-21 | 1 | -2/+4 |
| | |||||
* | Initial revision | Michael I. Bushnell | 1995-12-21 | 1 | -0/+87 |
| | |||||
* | (proc_getsidport): Make SESSPORT's type mach_port_send_t; | Miles Bader | 1995-12-21 | 1 | -1/+1 |
| | |||||
* | (ptyopen, nptyperopens, pktnostop, output_stopped): Initialize to 0. | Miles Bader | 1995-12-21 | 1 | -4/+4 |
| | |||||
* | (S_term_get_nodename, S_term_set_nodename): | Miles Bader | 1995-12-21 | 1 | -7/+7 |
| | | | | Get the node name from our cred->po->cntl->hook rather than NODENAME. | ||||
* | (nodename): Variable removed. | Miles Bader | 1995-12-21 | 1 | -3/+0 |
| | |||||
* | (main): Put the nodename on ourcntl->hook rather than NODENAME, and also put | Miles Bader | 1995-12-21 | 1 | -5/+11 |
| | | | | our peer's nodname on peercntl->hook. | ||||
* | (free_session): Correctly get rid of the receive right we're holding. | Miles Bader | 1995-12-21 | 1 | -6/+8 |
| | | | | (S_proc_getsidport): Add and use new arg sessport_type. Return errors. | ||||
* | (libutil-libsubst): New hack. | Miles Bader | 1995-12-21 | 1 | -0/+4 |
| | | | | (login): Depend on -lutil. | ||||
* | (argp_default_options): Put --help in group -1. | Miles Bader | 1995-12-21 | 1 | -1/+1 |
| | |||||
* | (make_hol): | Miles Bader | 1995-12-21 | 1 | -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. |