Age | Commit message (Collapse) | Author |
|
|
|
* maptime.h: Include <errno.h> for error_t decl.
|
|
* changelog: Update to reflect Debian uploads.
|
|
|
|
|
|
* mapped-time.h: Include <maptime.h>.
(fill_timeval): Function removed.
(fetch_jiffies): Use maptime_read.
* timer-emul.c (init_time): Use maptime_map and maptime_read.
* linux/sched.h (fetch_xtime): Use maptime_read.
* linux/time.h (do_gettimeofday): Likewise.
|
|
|
|
* crash.c (enum crash_action): New alternative crash_unspecified (0).
(crash_orphans_how): New variable.
(S_crash_dump_task): If crash_how != crash_orphans_how, ascertain if
the task is an orphan before deciding what to do.
(options): New options --action, --orphan-action.
Old options now compatability aliases for --action=foo.
(parse_opt): Parse them.
(doc): New variable.
(crash_argp): Use DOC.
|
|
|
|
* dir-lookup.c (netfs_S_dir_lookup): Follow symlink despite flags if
MUSTBEDIR is set (i.e. there was a trailing slash).
|
|
* dir-lookup.c (diskfs_S_dir_lookup): Follow symlink despite flags if
MUSTBEDIR is set (i.e. there was a trailing slash).
|
|
|
|
* tty.c (struct ps_tty_abbrev): Add const to member types.
(ps_tty_abbrevs): Make const.
(ps_tty_short_name): Clean up type usage, add consts.
Include null terminator in calculation for short_name allocation size.
Save lengths and use memcpy instead of using strcpy and strcat.
|
|
|
|
* 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.
|
|
|
|
* rdwr-internal.c (_diskfs_rdwr_internal): Short-circuit return for
zero-length transfer to avoid side effects, as POSIX requires.
|
|
* pager-memcpy.c (pager_memcpy): Short-circuit return for zero size.
|
|
|
|
* nonsugid.c (get_nonsugid_ids): Remove saved set IDs from available
sets before merging effective sets.
|
|
|
|
* pager.c (file_pager_write_page): Lock NODE->dn->alloc_lock
before accessing NODE->allocsize. Fixes Debian bug #40302.
|
|
|
|
* cprocs.c: Include <assert.h>
|
|
|
|
* 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.
|
|
|
|
* primes.c: File removed (long obsolete).
* proc.h: Don't declare nextprime.
|
|
* 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.
|
|
|
|
* Makefile (HURDLIBS): Add shouldbeinlibc.
|
|
|
|
|
|
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.
|
|
|
|
* 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.
|
|
* MAKEDEV.sh (mkdev: full): New device, using /hurd/null --full.
(mkdev: std): Add full to the standard list.
|
|
|
|
* io-read.c (diskfs_S_io_read): Add braces to silence gcc
warning.
|
|
|
|
* storeio.c (trivfs_modify_stat): Clear writable bits if open store is
readonly, not just if we got the --readonly switch.
|
|
|
|
* MAKEDEV.sh (mkdev: time): Use --no-cache flag.
(mkdev: mem): New storeio device.
(mkdev: std): Add mem to standard list.
|
|
* 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.
|
|
* 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.
|
|
* store.h (struct store_class): Add const to type of `name' member.
|
|
* storeinfo.c (print_store: pstr): Add const to parameter type.
|
|
|
|
* dlabel.c (fd_get_device): Check STORE->class->id, not STORE->class.
|
|
|