summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2000-01-242000-01-23 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* info.c (get_string): New arg, pass back length of string. (get_string_array): Use it, rather than repeating strlen. When increasing NEWSIZE to fit, round it to page size. Diddle a few casts to be prettier.
2000-01-24.Roland McGrath
2000-01-242000-01-24 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* rdwr-internal.c (_diskfs_rdwr_internal): Short-circuit return for zero-length transfer to avoid side effects, as POSIX requires.
2000-01-242000-01-24 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* pager-memcpy.c (pager_memcpy): Short-circuit return for zero size.
2000-01-22.Roland McGrath
2000-01-222000-01-22 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* nonsugid.c (get_nonsugid_ids): Remove saved set IDs from available sets before merging effective sets.
2000-01-16*** empty log message ***Mark Kettenis
2000-01-162000-01-16 Mark Kettenis <kettenis@gnu.org>Mark Kettenis
* pager.c (file_pager_write_page): Lock NODE->dn->alloc_lock before accessing NODE->allocsize. Fixes Debian bug #40302.
2000-01-10*** empty log message ***Mark Kettenis
2000-01-102000-01-10 Mark Kettenis <kettenis@gnu.org>Mark Kettenis
* cprocs.c: Include <assert.h>
2000-01-09.Roland McGrath
2000-01-092000-01-09 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* cprocs.c (cproc_alloc): Initialize P->wired and P->msg here (code from cthread_wire). (cthread_wire): Reduce to just an assert, cthreads always wired. (chtread_unwire): Abort if called.
2000-01-07obsolete file removedRoland McGrath
2000-01-072000-01-06 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* primes.c: File removed (long obsolete). * proc.h: Don't declare nextprime.
2000-01-032000-01-03 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* file_io.h: Include "../ext2fs/ext2_fs.h" instead of "ext2_fs.h". * ext2_file_io.c (search_directory): Use `struct ext2_dir_entry_2' in place of `struct ext2_dir_entry', so as to grok newer dir formats. * ext2_fs.h: File removed. * Makefile (LCLHDRS): Remove it from the list. * ffs_compat.c (EXT2_INODES_PER_BLOCK): New macro, no longer in ext2_fs.h.
1999-12-22.Roland McGrath
1999-12-221999-12-22 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* Makefile (HURDLIBS): Add shouldbeinlibc.
1999-12-14mkbootfs: Removed directory and all files. They have long been obsolete.Roland McGrath
1999-12-14.Roland McGrath
1999-12-141999-12-13 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
Rewrite of a fix provided by Bill White <bill.white@griggsinst.com>: * fhandle.h (union diskfs_fhandle): Replaces struct diskfs_fhandle. Use a union element of char[28] to ensure size requirement. * fsys-getfile.c (diskfs_S_fsys_getfile): Update uses for new type. * file-getfh.c (diskfs_S_file_getfh): Likewise.
1999-12-03.Roland McGrath
1999-12-031999-12-03 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* null.c: Support --full/-f option to be /dev/full (ENOSPC writes). (write_error_code): New variable. (options, argp): New static const variables. (parse_opt): New function. (main): Move local ARGP out to static. (trivfs_S_io_write): Return write_error_code instead of zero.
1999-12-031999-12-03 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* MAKEDEV.sh (mkdev: full): New device, using /hurd/null --full. (mkdev: std): Add full to the standard list.
1999-12-02*** empty log message ***Mark Kettenis
1999-12-021999-12-02 Mark Kettenis <kettenis@gnu.org>Mark Kettenis
* io-read.c (diskfs_S_io_read): Add braces to silence gcc warning.
1999-11-25.Roland McGrath
1999-11-251999-11-24 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* storeio.c (trivfs_modify_stat): Clear writable bits if open store is readonly, not just if we got the --readonly switch.
1999-11-21.Roland McGrath
1999-11-211999-11-19 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* MAKEDEV.sh (mkdev: time): Use --no-cache flag. (mkdev: mem): New storeio device. (mkdev: std): Add mem to standard list.
1999-11-211999-11-20 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* lookup.c (dirscanblock): Add const to type of NAME parameter. (isonamematch): Likewise. * rr.c (rrip_match_lookup): Likewise. (rrip_work): Likewise. Change char -> size_t for MATCH_NAMELEN. * rr.h: Update decls.
1999-11-211999-11-20 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* dev.c (dev_read, dev_write): In DEV->inhibit_cache case, handle zero (i.e. unknown) block_size by treating it as 1. Use shift and bitwise-and rather than multiply and modulus for block size arithmetic, since it's a known power of two.
1999-11-211999-11-20 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* store.h (struct store_class): Add const to type of `name' member.
1999-11-211999-11-20 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* storeinfo.c (print_store: pstr): Add const to parameter type.
1999-11-21.Roland McGrath
1999-11-211999-11-20 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* dlabel.c (fd_get_device): Check STORE->class->id, not STORE->class.
1999-11-19mount.sh replaced by mount.cRoland McGrath
1999-11-191999-11-19 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* mount.c: New file. * mount.sh: File removed. * Makefile (special-targets): Remove mount. (SRCS): mount.sh -> mount.c (mount): Add deps on ../sutils/fstab.o, ../sutils/clookup.o, libfshelp and libports. (../sutils/fstab.o ../sutils/clookup.o): Rule to build in ../sutils.
1999-11-191999-11-19 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* Makefile (progs, scripts): New variables. (targets, special-targets, SRCS, OBJS): Define in terms of those. (libshouldbeinlibc dep rule): Replaced with static pattern rule with $(progs) as target list, giving %.o dep as well.
1999-11-19(fstab_argp_create): brainoRoland McGrath
1999-11-19.Roland McGrath
1999-11-191999-10-01 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* fstab.c (fstypes_get): Check strdup return for ENOMEM failure. (fstypes_find_program): New function, #if 0'd out for now. (fstab_argp, fstab_argp_create, options, parse_opt): New variables and functions. * fstab.h: Misc comment fixes. (struct fstab_argp_params): New type. (fstab_argp, fstab_argp_create): Declare them. * fsck.c (options): Remove --fstab/-F, --search-fmts/-S, --exclude-root/-R, --exclude/-X, --fstype/-t, --all/-A; all of these are now factored out into fstab_argp. (main): Remove parsing code for options now in fstab_argp. Instead, use fstab_argp as an argp_child and use fstab_argp_create to process the option-parsing results into a struct fstab * to process. * fstab.c (fstab_read): Undo change of 1999-09-17. It should not be necessary at all, given 1999-05-23 change, and: (fstab_find_mount): Do not consider name "ignore" to match any mount.
1999-11-191999-10-01 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* fstab.c (fstypes_get): Check strdup return for ENOMEM failure. (fstypes_find_program): New function, #if 0'd out for now. (fstab_argp, fstab_argp_create, options, parse_opt): New variables and functions. * fstab.h: Misc comment fixes. (struct fstab_argp_params): New type. (fstab_argp, fstab_argp_create): Declare them. * fsck.c (options): Remove --fstab/-F, --search-fmts/-S, --exclude-root/-R, --exclude/-X, --fstype/-t, --all/-A; all of these are now factored out into fstab_argp. (main): Remove parsing code for options now in fstab_argp. Instead, use fstab_argp as an argp_child and use fstab_argp_create to process the option-parsing results into a struct fstab * to process.
1999-11-191999-11-16 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* swapon.c (swaponoff): Check for a null default pager port.
1999-11-18.Roland McGrath
1999-11-181999-11-18 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* default_pager.c (default_pager): Instead of suspending this thread, just become the default_pager_default_thread thread ourselves.
1999-11-181999-11-18 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* mach-defpager: New directory. See its ChangeLog. Makefile (prog-subdirs): Add mach-defpager.
1999-11-181999-11-18 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* Makefile, main.c: New files for new this directory `mach-defpager'. This is a standalone Hurd program version of the Mach default pager, with the bulk of the source code coming from ../serverboot. This program /hurd/mach-defpager is started like a normal daemon, i.e. from rc or whatever, rather than being the first task. * ChangeLog: New file, mentioning itself in this sentence.
1999-11-18.Roland McGrath
1999-11-181999-11-14 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* dev.h (struct dev): New member `enforced'. * storeio.c (enforce_store): New variable. (options, parse_opt, trivfs_append_args): Grok new option --enforced/-e to set enforce_store. (check_open_hook): Set DEVICE->enforced from enforce_store. * io.c (trivfs_S_file_get_storage_info): If DEV->enforced is set and the store flags lack STORE_ENFORCED, then return STORAGE_OTHER.
1999-11-181999-11-14 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* storeio.c (check_open_hook): Don't check for D_NO_SUCH_DEVICE here. Translation to ENXIO now done in libstore. * dev.h (struct dev): New member `enforced'. * storeio.c (enforce_store): New variable. (options, parse_opt, trivfs_append_args): Grok new option --enforced/-e to set enforce_store. (check_open_hook): Set DEVICE->enforced from enforce_store. * io.c (trivfs_S_file_get_storage_info): If DEV->enforced is set and the store flags lack STORE_ENFORCED, then return STORAGE_OTHER.