summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
1996-01-14(packet_size_adjust): Function removed.Miles Bader
(packet_new_size): New function. (packet_read): Re-arrange to be slightly less confusing. Reverse start-past-buf-beginning test that may have leaked memory.
1996-01-12(pq_queue): Initialize the ports_alloced field.Miles Bader
(packet_read): When a page-aligned read consumes the whole buffer, but there's a non-page-multiple amount available, don't let buf_len go negative.
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-10Instead of giving --su to login, use all the component options it stood for.Miles Bader
Use --program-name for nice errors.
1996-01-10(main):Miles Bader
Use add_canonical_host() to implement the -h option. Only let root specify the login host. child_lookup() now takes an additional PATH arg, and calls hurd_file_name_path_lookup() instead. Pass a path when looking up the shell executable. Do all file-name lookups using the target authentication, so that login isn't a security hole. Rework how password-checking is done somewhat (only ask when necessary). Use exec_reauth() instead of our own. If setting the real [ug]id, also add it as the `saved id'. Use BACKUP_SHELL instead of FAILURE_SHELL define. Get rid of various string vars only used once. (add_canonical_host): New function. (add_utmp_entry): Use VIA_ADDR instead of VIA in the utmp entry if it fits better. (add_entry): Function moved out of main. (cat): Take an io_t port instead of a file descriptor. (options, main): Add -k/--keep & -S/--shell-arg options. Remove -m/--umask option; use UMASK param instead. (FAILURE_SHELL): Macro deleted. (default_args): Add BACKUP_SHELL param.
1996-01-06(pager_bucket): Made global.Roland McGrath
(create_disk_pager): Pass MAY_CACHE to disk_setup_pager.
1996-01-06(main): Don't map in disk image here; create_disk_pager now does it.Roland McGrath
1996-01-06(diskpager, diskpagerport, disk_image): Variables removed.Roland McGrath
Include <hurd/diskfs-pager.h> instead. (sync_disk_blocks): Use `disk_pager' in place of `diskpager->p'.
1996-01-06(diskfs_shutdown_pager, diskfs_sync_everything): Use `disk_pager' in placeRoland McGrath
of `diskpager->p'. (create_disk_pager): Rewritten using disk_pager_setup.
1996-01-06(sync_disk): Use `disk_pager' in place of `diskpager->p'.Roland McGrath
1996-01-06(indir_release): Use `disk_pager' in place of `diskpager->p'.Roland McGrath
1996-01-06(diskfs_reload_global_state): Use `disk_pager' in place of `diskpager->p'.Roland McGrath
1996-01-06(installhdrs): Add diskfs-pager.h.Roland McGrath
(OTHERSRCS): Add disk-pager.c.
1996-01-05(SRCS): Add pager-memcpy.c.Roland McGrath
1996-01-05Return errors regardless of *AMT--writes are all or nothing.Roland McGrath
1996-01-05Return errors regardless of *DATALEN--reads are all or nothing.Roland McGrath
1996-01-05Declare create_disk_pager.Roland McGrath
1996-01-05(ports_interrupt_rpc_on_notification): If PORT is dead or bogus, interruptMiles Bader
RPC immediately, and don't add a new request.
1996-01-05(diskfs_end_catch_exception): Pass arg to cthread_data.Roland McGrath
1996-01-05Initial revisionRoland McGrath
1996-01-05(get_hypermetadata, copy_sblock): Don't put diskfs_catch_exception ()Roland McGrath
inside assert, bonehead! Use assert_perror on a variable of its result.
1996-01-05(main): Don't map disk image here; create_disk_pager now does it.Roland McGrath
1996-01-04(create_disk_pager): Use disk_pager_setup.Roland McGrath
1996-01-04(disk_pager, disk_pager_port, disk_image, create_disk_pager): Decls removed.Roland McGrath
Include hurd/diskfs-pager.h instead.
1996-01-04(OTHERSRCS): Remove exc.c.Roland McGrath
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