Age | Commit message (Collapse) | Author |
|
* peropen-make.c (diskfs_make_peropen): If there is no existing
context, then set the shadow_root iff we are a chrooted virtual
root filesystem.
|
|
* init-startup.c (diskfs_startup_diskfs): Release the virtual
root's lock as soon as we've checked that it's a valid directory.
Ignore leading slashes in _diskfs_chroot_directory.
|
|
* open.c (trivfs_open): Add missing `=' from last change.
|
|
* login.c (main): If no effective uid, really use first auxiliary
uid to use as password entry to get parameters from.
|
|
* open.c (trivfs_open): Correctly initialize NEW->isroot.
|
|
* ops.c: Include <maptime.h>.
(netfs_attempt_utimes): Fix various typo's.
|
|
* MAKEDEV.sh (PATH): Add /usr/bin out of deference to users
lacking the /usr symlink. Requested by Marcus Brinkmann
<Marcus.Brinkmann@ruhr-uni-bochum.de>.
|
|
|
|
* storeio.c (trivfs_modify_stat): Return S_IFCHR if block size is 1.
|
|
|
|
* storeio.c (trivfs_modify_stat): Return S_IFCHR iff inhibit_cache
set, otherwsie S_IFBLK. For a block-addressed device, S_IFCHR means
"must do whole-block i/o".
|
|
* node.c (netfs_attempt_utimes): Handle new possibility that ATIME
or MTIME might be null.
|
|
* nfs.c (xdr_encode_sattr_times): Convert nanoseconds to
microseconds correctly.
* ops.c (netfs_attempt_utimes): Handle new possibility that ATIME
or MTIME might be null.
|
|
* times.c (trivfs_set_atime, trivefs_set_mtime): Take advantage of
new semantics for file_utimes.
|
|
* file-utimes.c (netfs_S_file_utimes): Understand new semantics
for setting to current time.
* netfs.h (netfs_attempt_utimes): Update documentation.
|
|
* file-utimes.c (diskfs_S_file_utimes): Implement new semantics
for setting to exactly present time.
|
|
* fs.defs (file_utimes): Extend documentation.
|
|
* node.c (netfs_attempt_utimes): Implement new possibility that
ATIME or MTIME might be null.
|
|
* netfs.c (netfs_attempt_utimes): Implement new possibility that
ATIME or MTIME might be null.
|
|
* munge.c (create_queue): Make sure that malloc succeeds.
Reported by OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp>.
|
|
|
|
* io.c (trivfs_S_file_syncfs): Fix inverted test.
Reported by OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp>.
|
|
|
|
* Makefile (OTHERSRCS): Add init-main.c.
|
|
* configure.in: Add AC_PROG_AWK.
* config.make.in (AWK): New variable, substituted by configure.
|
|
|
|
* storeio.c (options): New option -c/--no-cache.
(inhibit_cache): New variable.
(parse_opt): Make -c set it.
(trivfs_append_args): Report --no-cache if set.
(check_open_hook): Pass inhibit_cache flag to dev_open.
* dev.h (struct dev): New member `inhibit_cache'.
(dev_open): Update decl.
* dev.c (dev_open): Take new arg inhibit_cache, store in new dev.
If set, don't initialize buf_offs, io_lock, pager, pager_lock.
(dev_read, dev_write): If DEV->inhibit_cache is set, allow only
whole-block i/o: EINVAL for non-whole-block attempts.
* pager.c (dev_get_memory_object): If DEV->inhibit_cache is set, don't
make our own pager; if store_map returns EOPNOTSUPP, so do we.
|
|
|
|
* Makefile: Add rules for generating prototype ?ioctl.defs files from
a list of C headers that define the ioctl request macros.
(DIST_FILES): Add ioctl-tmpl.sym ioctl.awk gensym.awk.
* gensym.awk, ioctl-decode.h, ioctl-tmpl.sym, ioctl.awk: New files
supporting those rules.
|
|
* ioctls.defs: New file.
|
|
|
|
* rr.c (rrip_work): Remove makedev macro definition.
|
|
* main.c (main): Use diskfs_init_main.
|
|
|
|
* ext2fs.c (main): Use diskfs_init_main.
|
|
* main.c (main): Use diskfs_init_main.
|
|
* file-set-trans.c: Remove makedev, major, minor macro definitions.
* dir-lookup.c: Likewise.
|
|
* init-main.c: New file, defining new function diskfs_init_main.
* diskfs.h: Declare diskfs_init_main.
|
|
* ops.c (netfs_attempt_link): Remove major, minor macro definitions.
* nfs.c (xdr_decode_fattr): Remove makedev macro definition.
|
|
* file-set-translator.c: Remove makedev, major, minor macro definition.
* dir-lookup.c: Likewise.
|
|
|
|
* syncfs.c: Replace -a/--asynchronous with -s/--synchronous.
Default is now asynchronous.
|
|
|
|
* sync-interval.c (diskfs_set_sync_interval): Use ENOMEM, not EIEIO.
|
|
* interrupt-on-notify.c (ports_interrupt_self_on_notification): Use
assert to check we are in an rpc; don't return EIEIO (not appropriate).
|
|
|
|
|
|
|
|
* Makefile (SRCS, targets, targets rule): Rename sync to syncfs.
* syncfs.c: Renamed from sync.c.
Take flags -a/--asynchronous and -c/--no-children,
and optional file arguments. Diagnose errors.
|
|
|