aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* (inode_getblk, block_getblk): Set dn_set_mtime too.Miles Bader1996-01-141-2/+2
|
* Get rid of debugging cruft.Miles Bader1996-01-141-62/+2
|
* (packet_ensure, packet_ensure_efficiently):Miles Bader1996-01-141-9/+7
| | | | | | Use packet_new_size() instead of packet_size_adjust(). (packet_size_adjust): Declaration removed. (packet_new_size): New declaration.
* (pipe_send):Miles Bader1996-01-141-1/+1
| | | | For non-blocking writes, avoid writing more than the user requested.
* (packet_size_adjust): Function removed.Miles Bader1996-01-141-39/+33
| | | | | | (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.
* (pq_queue): Initialize the ports_alloced field.Miles Bader1996-01-121-5/+9
| | | | | (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.
* (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
|
* Instead of giving --su to login, use all the component options it stood for.Miles Bader1996-01-101-1/+1
| | | | Use --program-name for nice errors.
* (main):Miles Bader1996-01-101-233/+411
| | | | | | | | | | | | | | | | | | | | | | | | | 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.
* (pager_bucket): Made global.Roland McGrath1996-01-061-2/+2
| | | | (create_disk_pager): Pass MAY_CACHE to disk_setup_pager.
* (main): Don't map in disk image here; create_disk_pager now does it.Roland McGrath1996-01-061-16/+3
|
* (diskpager, diskpagerport, disk_image): Variables removed.Roland McGrath1996-01-061-14/+11
| | | | | Include <hurd/diskfs-pager.h> instead. (sync_disk_blocks): Use `disk_pager' in place of `diskpager->p'.
* (diskfs_shutdown_pager, diskfs_sync_everything): Use `disk_pager' in placeRoland McGrath1996-01-061-71/+65
| | | | | of `diskpager->p'. (create_disk_pager): Rewritten using disk_pager_setup.
* (sync_disk): Use `disk_pager' in place of `diskpager->p'.Roland McGrath1996-01-061-5/+5
|
* (indir_release): Use `disk_pager' in place of `diskpager->p'.Roland McGrath1996-01-061-58/+58
|
* (diskfs_reload_global_state): Use `disk_pager' in place of `diskpager->p'.Roland McGrath1996-01-061-1/+1
|
* (installhdrs): Add diskfs-pager.h.Roland McGrath1996-01-061-4/+5
| | | | (OTHERSRCS): Add disk-pager.c.
* (SRCS): Add pager-memcpy.c.Roland McGrath1996-01-051-3/+3
|
* Return errors regardless of *AMT--writes are all or nothing.Roland McGrath1996-01-051-4/+0
|
* Return errors regardless of *DATALEN--reads are all or nothing.Roland McGrath1996-01-051-8/+2
|
* Declare create_disk_pager.Roland McGrath1996-01-051-0/+3
|
* (ports_interrupt_rpc_on_notification): If PORT is dead or bogus, interruptMiles Bader1996-01-051-0/+11
| | | | RPC immediately, and don't add a new request.
* (diskfs_end_catch_exception): Pass arg to cthread_data.Roland McGrath1996-01-051-1/+1
|
* Initial revisionRoland McGrath1996-01-052-0/+164
|
* (get_hypermetadata, copy_sblock): Don't put diskfs_catch_exception ()Roland McGrath1996-01-051-10/+16
| | | | inside assert, bonehead! Use assert_perror on a variable of its result.
* (main): Don't map disk image here; create_disk_pager now does it.Roland McGrath1996-01-051-12/+5
|
* (create_disk_pager): Use disk_pager_setup.Roland McGrath1996-01-041-37/+26
|
* (disk_pager, disk_pager_port, disk_image, create_disk_pager): Decls removed.Roland McGrath1996-01-041-12/+7
| | | | Include hurd/diskfs-pager.h instead.
* (OTHERSRCS): Remove exc.c.Roland McGrath1996-01-041-2/+2
|
* Pass AMT read/write to _diskfs_rdwr_internal, andRoland McGrath1996-01-041-9/+13
| | | | return success if any bytes were written.
* Pass DATALEN read/write to _diskfs_rdwr_internal, andRoland McGrath1996-01-041-9/+15
| | | | return success if any bytes were written.
* (diskfs_catch_exception, diskfs_end_catch_exception): Macros removed.Roland McGrath1996-01-041-55/+2
| | | | | (diskfs_register_memory_fault_area, diskfs_unregister_memory_fault_area): Decls removed.
* (diskfs_node_rdwr): Pass AMTREAD read/write to _diskfs_rdwr_internal,Roland McGrath1996-01-041-12/+11
| | | | | instead of assuming it wrote the whole amount. Update the node if anything was transferred, regardless of ERR.
* Use size_t instead of int for amounts in diskfs_node_rdwr prototype.Roland McGrath1996-01-041-52/+52
|
* (_diskfs_rdwr_internal): Rewritten using pager_memcpy.Roland McGrath1996-01-041-49/+11
| | | | Fix types of args: OFFSET to off_t, make AMT read/write size_t *.
* Fix args in _diskfs_rdwr_internal prototype.Roland McGrath1996-01-041-3/+3
|
* Declare pager_memcpy.Roland McGrath1996-01-041-7/+19
|
* (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.
* Initial revisionMiles Bader1996-01-032-0/+226
|
* (_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
|