Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | (inode_getblk, block_getblk): Set dn_set_mtime too. | Miles Bader | 1996-01-14 | 1 | -2/+2 | |
| | ||||||
* | Get rid of debugging cruft. | Miles Bader | 1996-01-14 | 1 | -62/+2 | |
| | ||||||
* | (packet_ensure, packet_ensure_efficiently): | Miles Bader | 1996-01-14 | 1 | -9/+7 | |
| | | | | | | Use packet_new_size() instead of packet_size_adjust(). (packet_size_adjust): Declaration removed. (packet_new_size): New declaration. | |||||
* | (pipe_send): | Miles Bader | 1996-01-14 | 1 | -1/+1 | |
| | | | | For non-blocking writes, avoid writing more than the user requested. | |||||
* | (packet_size_adjust): Function removed. | Miles Bader | 1996-01-14 | 1 | -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 Bader | 1996-01-12 | 1 | -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 Bader | 1996-01-11 | 1 | -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 Bader | 1996-01-11 | 1 | -14/+7 | |
| | ||||||
* | Instead of giving --su to login, use all the component options it stood for. | Miles Bader | 1996-01-10 | 1 | -1/+1 | |
| | | | | Use --program-name for nice errors. | |||||
* | (main): | Miles Bader | 1996-01-10 | 1 | -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 McGrath | 1996-01-06 | 1 | -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 McGrath | 1996-01-06 | 1 | -16/+3 | |
| | ||||||
* | (diskpager, diskpagerport, disk_image): Variables removed. | Roland McGrath | 1996-01-06 | 1 | -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 place | Roland McGrath | 1996-01-06 | 1 | -71/+65 | |
| | | | | | of `diskpager->p'. (create_disk_pager): Rewritten using disk_pager_setup. | |||||
* | (sync_disk): Use `disk_pager' in place of `diskpager->p'. | Roland McGrath | 1996-01-06 | 1 | -5/+5 | |
| | ||||||
* | (indir_release): Use `disk_pager' in place of `diskpager->p'. | Roland McGrath | 1996-01-06 | 1 | -58/+58 | |
| | ||||||
* | (diskfs_reload_global_state): Use `disk_pager' in place of `diskpager->p'. | Roland McGrath | 1996-01-06 | 1 | -1/+1 | |
| | ||||||
* | (installhdrs): Add diskfs-pager.h. | Roland McGrath | 1996-01-06 | 1 | -4/+5 | |
| | | | | (OTHERSRCS): Add disk-pager.c. | |||||
* | (SRCS): Add pager-memcpy.c. | Roland McGrath | 1996-01-05 | 1 | -3/+3 | |
| | ||||||
* | Return errors regardless of *AMT--writes are all or nothing. | Roland McGrath | 1996-01-05 | 1 | -4/+0 | |
| | ||||||
* | Return errors regardless of *DATALEN--reads are all or nothing. | Roland McGrath | 1996-01-05 | 1 | -8/+2 | |
| | ||||||
* | Declare create_disk_pager. | Roland McGrath | 1996-01-05 | 1 | -0/+3 | |
| | ||||||
* | (ports_interrupt_rpc_on_notification): If PORT is dead or bogus, interrupt | Miles Bader | 1996-01-05 | 1 | -0/+11 | |
| | | | | RPC immediately, and don't add a new request. | |||||
* | (diskfs_end_catch_exception): Pass arg to cthread_data. | Roland McGrath | 1996-01-05 | 1 | -1/+1 | |
| | ||||||
* | Initial revision | Roland McGrath | 1996-01-05 | 2 | -0/+164 | |
| | ||||||
* | (get_hypermetadata, copy_sblock): Don't put diskfs_catch_exception () | Roland McGrath | 1996-01-05 | 1 | -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 McGrath | 1996-01-05 | 1 | -12/+5 | |
| | ||||||
* | (create_disk_pager): Use disk_pager_setup. | Roland McGrath | 1996-01-04 | 1 | -37/+26 | |
| | ||||||
* | (disk_pager, disk_pager_port, disk_image, create_disk_pager): Decls removed. | Roland McGrath | 1996-01-04 | 1 | -12/+7 | |
| | | | | Include hurd/diskfs-pager.h instead. | |||||
* | (OTHERSRCS): Remove exc.c. | Roland McGrath | 1996-01-04 | 1 | -2/+2 | |
| | ||||||
* | Pass AMT read/write to _diskfs_rdwr_internal, and | Roland McGrath | 1996-01-04 | 1 | -9/+13 | |
| | | | | return success if any bytes were written. | |||||
* | Pass DATALEN read/write to _diskfs_rdwr_internal, and | Roland McGrath | 1996-01-04 | 1 | -9/+15 | |
| | | | | return success if any bytes were written. | |||||
* | (diskfs_catch_exception, diskfs_end_catch_exception): Macros removed. | Roland McGrath | 1996-01-04 | 1 | -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 McGrath | 1996-01-04 | 1 | -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 McGrath | 1996-01-04 | 1 | -52/+52 | |
| | ||||||
* | (_diskfs_rdwr_internal): Rewritten using pager_memcpy. | Roland McGrath | 1996-01-04 | 1 | -49/+11 | |
| | | | | Fix types of args: OFFSET to off_t, make AMT read/write size_t *. | |||||
* | Fix args in _diskfs_rdwr_internal prototype. | Roland McGrath | 1996-01-04 | 1 | -3/+3 | |
| | ||||||
* | Declare pager_memcpy. | Roland McGrath | 1996-01-04 | 1 | -7/+19 | |
| | ||||||
* | (safe_bzero): Rewritten using hurd_catch_signal. | Roland McGrath | 1996-01-04 | 1 | -24/+4 | |
| | ||||||
* | (check_hashbang): Rearrange arg frobbing code somewhat to use | Roland McGrath | 1996-01-04 | 1 | -82/+53 | |
| | | | | hurd_catch_signal instead of old preemption interface. | |||||
* | Initial revision | Miles Bader | 1996-01-03 | 2 | -0/+226 | |
| | ||||||
* | (_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 | |
| |