Age | Commit message (Collapse) | Author |
|
exec_exec() probably triggers a call to file_exec(), so the exec server
port needs to be cached earlier.
* libdiskfs/boot-start.c: Move caching the exec server port to just
after initializing it.
|
|
* libdiskfs/dir-rename.c: Include <string.h>
(diskfs_S_dir_rename): If source or destination ends with "." or
"..", return EINVAL as required by POSIX.
|
|
* ChangeLog: Wipe out content, and add instructions about how to get it back.
* auth/ChangeLog: Remove file.
* benchmarks/ChangeLog: Likewise.
* boot/ChangeLog: Likewise.
* bsdfsck/ChangeLog: Likewise.
* config/ChangeLog: Likewise.
* console-client/ChangeLog: Likewise.
* console/ChangeLog: Likewise.
* daemons/ChangeLog: Likewise.
* defpager/ChangeLog: Likewise.
* doc/ChangeLog: Likewise.
* exec/ChangeLog: Likewise.
* ext2fs/ChangeLog: Likewise.
* fatfs/ChangeLog: Likewise.
* fstests/ChangeLog: Likewise.
* ftpfs/ChangeLog: Likewise.
* hostmux/ChangeLog: Likewise.
* hurd/ChangeLog: Likewise.
* include/ChangeLog: Likewise.
* init/ChangeLog: Likewise.
* isofs/ChangeLog: Likewise.
* libcons/ChangeLog: Likewise.
* libdirmgt/ChangeLog: Likewise.
* libdiskfs/ChangeLog: Likewise.
* libfshelp/ChangeLog: Likewise.
* libftpconn/ChangeLog: Likewise.
* libhurdbugaddr/ChangeLog: Likewise.
* libihash/ChangeLog: Likewise.
* libiohelp/ChangeLog: Likewise.
* libnetfs/ChangeLog: Likewise.
* libpager/ChangeLog: Likewise.
* libpipe/ChangeLog: Likewise.
* libports/ChangeLog: Likewise.
* libps/ChangeLog: Likewise.
* libshouldbeinlibc/ChangeLog: Likewise.
* libstore/ChangeLog: Likewise.
* libthreads/ChangeLog: Likewise.
* libtrivfs/ChangeLog: Likewise.
* login/ChangeLog: Likewise.
* mach-defpager/ChangeLog: Likewise.
* nfs/ChangeLog: Likewise.
* nfsd/ChangeLog: Likewise.
* pfinet/ChangeLog: Likewise.
* pflocal/ChangeLog: Likewise.
* proc/ChangeLog: Likewise.
* release/ChangeLog: Likewise.
* serverboot/ChangeLog: Likewise.
* storeio/ChangeLog: Likewise.
* sutils/ChangeLog: Likewise.
* term/ChangeLog: Likewise.
* tmpfs/ChangeLog: Likewise.
* trans/ChangeLog: Likewise.
* ufs-fsck/ChangeLog: Likewise.
* ufs-utils/ChangeLog: Likewise.
* ufs/ChangeLog: Likewise.
* usermux/ChangeLog: Likewise.
* utils/ChangeLog: Likewise.
|
|
* diskfs.h: Instead of `st_?time', talk about `st_?tim'.
* node-times.c: Likewise.
* priv.h: Likewise.
|
|
2009-02-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
* dir.c (ftpfs_refresh_node): Use st_mtim.tv_sec members instead
of st_mtime. Also compare st_mtim.tv_nsec members.
[libdiskfs]
2009-02-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
* file-utimes.c (diskfs_S_file_utimes): Use st_atim.tv_sec/
st_mtim.tv_sec members instead of st_atime/st_mtime. Also set
st_atim.tv_nsec/st_mtim.tv_nsec members.
[libftpconn]
2009-02-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
* unix.c (parse_dir_entry): Use st_mtim.tv_sec instead of st_mtime.
Set st_atim.tv_nsec, st_ctim.tv_nsec and st_mtim.tv_nsec to 0.
[login]
2009-02-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
* utmp.c (S_login_get_idle_time): Use st_atim.tv_sec and
st_atim.tv_nsec members instead of st_atime and st_atime_usec.
[tmpfs]
2009-02-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
* tmpfs.h (struct disknode): Make atime, mtime and ctime members
struct timespec instead of time_t.
* tmpfs.c (main): Copy st_atim/st_mtim/st_ctim members from st to
diskfs_root_node->dn_stat instead of st_atime/st_mtime/st_ctime.
* node.c (diskfs_node_norefs): Copy st_atime/st_mtime/st_ctime
members from np->dn_stat to atime/mtime/ctime members of np->dn
(diskfs_cached_lookup): Conversely.
|
|
* dir-lookup.c (diskfs_S_dir_lookup): Initialize NEWPI and NEWPO to
0, set back to 0 when they do not need to be referenced any more,
dereference them if needed just before exit, after all unlocking.
|
|
* dir-lookup.c (diskfs_S_dir_lookup): Revert 2008-06-06 change, as it
breaks when np == dnp.
|
|
|
|
|
|
2008-06-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
* hurd.texi (Diskfs Callbacks): Add const qualifier to parameter
`name' of function diskfs_lookup.
[libdiskfs/ChangeLog]
2008-06-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
* dir-lookup.c (diskfs_lookup): Add const qualifier to parameter
`name'.
* dir-lookup.h (diskfs_lookup): Likewise.
|
|
* dir-lookup.c (diskfs_S_dir_lookup): Unlock np in case of errors.
|
|
|
|
* dir-rename.c (diskfs_S_dir_rename): Call diskfs_nput (tnp) in
the EISDIR and EMLINK cases too. Reported by Olaf Buddenhagen
<olafbuddenhagen@gmx.net>.
|
|
* node-times.c (diskfs_set_node_times): Adapt to ``struct stat''
changes.
|
|
* node-times.c (diskfs_set_node_atime): Fix typo from last commit.
|
|
|
|
2007-08-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
* hurd.texi: Document diskfs_set_node_atime.
[ext2fs/ChangeLog]
2007-08-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
* dir.c (diskfs_lookup_hard, diskfs_dirempty): Call
diskfs_set_node_atime instead of setting dp->dn_set_atime.
[fatfs/ChangeLog]
2007-08-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
* dir.c (diskfs_lookup_hard, diskfs_dirempty): Call
diskfs_set_node_atime instead of setting dp->dn_set_atime.
[libdiskfs/ChangeLog]
2007-08-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
* diskfs.h (diskfs_set_node_atime): New declaration.
* node-times.c (diskfs_set_node_atime): New function.
[ufs/ChangeLog]
2007-08-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
* dir.c (diskfs_lookup_hard, diskfs_dirempty): Call
diskfs_set_node_atime instead of setting dp->dn_set_atime.
* inode.c (read_symlink_hook): Likewise.
|
|
* opts-std-startup.c (parse_startup_opt)
<_diskfs_no_inherit_dir_group>: Swap the options into the correct
order. Reported by Olaf Buddenhagen <olafbuddenhagen@gmx.net>.
|
|
* Makefile (HURDLIBS): Add `pager'.
|
|
* priv.h: Include <argp.h>.
|
|
|
|
* io-seek.c (diskfs_S_io_seek): Return EINVAL if file pointer would
become negative.
|
|
|
|
* opts-runtime.c (diskfs_runtime_argp): Include <argp.h>.
|
|
* notify-nosenders.c, notify-stubs.c: Delete obsolete files.
|
|
* dir-renamed.c (diskfs_rename_dir): Check permissions to remove
FROMNAME before any modification could take place. Check result
of removing the from node.
|
|
2002-06-26 Marcus Brinkmann <marcus@gnu.org>
* fs_notify.defs: Add MsgOption for send timeout.
(dir_changed): Changed to simpleroutine. Change type of first
argument to fs_notify_t. Add TICKNO argument.
(file_changed): Likewise.
* hurd_types.defs (fs_notify_t): New type.
* hurd_types.h (fs_notify_t): Likewise.
libdiskfs/
2002-06-26 Marcus Brinkmann <marcus@gnu.org>
* Makefile (DIST_FILES): Variable removed.
(MIGSTUBS): Use fs_notifyUser.o, not ourfs_notifyUser.o.
* ourfs_notify.defs: File removed.
* diskfs.h (struct node): New members DIRMOD_TICK and
FILEMOD_TICK.
* node-make.c (diskfs_make_node): Initialize DIRMOD_TICK and
FILEMOD_TICK.
* dir-chg.c: Include "fs_notify_U.h" instead "ourfs_notify_U.h".
(diskfs_S_dir_notice_changes): Use new dir_changed invocation
instead nowait_dir_changed.
(diskfs_notice_dirchange): Likewise. Increase tick number.
Ignore send timeout error.
* file-chg.c: Include "fs_notify_U.h" instead "ourfs_notify_U.h".
(diskfs_S_file_notice_changes): Use new file_changed invocation
instead nowait_file_changed.
(diskfs_notice_filechange): Likewise. Increase tick number.
Ignore send timeout error.
console/
2002-06-27 Marcus Brinkmann <marcus@gnu.org>
* Makefile (MIGSTUBS): Add fs_notifyUser.o.
(MIGSFLAGS): New variable.
* console.c: Include "fs_notify_U.h".
(struct modreq): New structure.
(struct cons): New members DIRMOD_REQS and DIRMOD_TICK.
(cons_notice_dirchange): New function.
(vcons_lookup): Call cons_notice_dirchange.
(netfs_S_dir_notice_changes): New function.
(main): Initialize new members in CONS.
* display.c (nowait_file_changed): Update to new interface (new
argument TICKNO).
(do_mach_notify_msg_accepted): Call nowait_file_changed with new argument.
(display_notice_changes): Likewise.
(display_notice_filechange): Likewise.
|
|
|
|
* dir-readdir.c (diskfs_S_dir_readdir): Revert last change.
|
|
|
|
* io-identity.c (diskfs_S_io_identity): Use ino_t for FILENO.
|
|
* dir-readdir.c (diskfs_S_dir_readdir): Use vm_size_t for AMT.
|
|
* diskfs.h (struct node): Use io_statbuf_t instead of struct stat.
(struct node): Use ino64_t for cache_id.
(struct node): Use loff_t instead of off_t.
(diskfs_grow, diskfs_truncate, diskfs_node_rdwr): Likewise.
(diskfs_notice_filechange): Likewise.
(diskfs_cached_lookup): Use ino64_t for CACHE_ID argument.
|
|
|
|
* dir-unlink.c (diskfs_S_dir_unlink): Return EPERM instead of EISDIR,
as per POSIX.
|
|
|
|
* dir-lookup.c (diskfs_S_dir_lookup): Fail with EACCES instead of
EOPNOTSUPP when attempting to open a special file for io or exec.
|
|
|
|
* trans-callback.c (_diskfs_translator_callback1_fn): Add an assert
that netfs_get_translator not fail with EOPNOTSUPP.
|
|
* diskfs.h (diskfs_boot_filesystem): Documentation fix.
|
|
|
|
* dir-lookup.c (diskfs_S_dir_lookup): int -> size_t
* dir-readdir.c (diskfs_S_dir_readdir): Likewise.
* file-get-trans.c (diskfs_S_file_get_translator): Likewise.
* fsys-getroot.c (diskfs_S_fsys_getroot): Likewise.
* diskfs.h (diskfs_append_args): unsigned -> size_t in argument type.
(diskfs_append_std_options): Likewise.
(diskfs_get_directs): Likewise.
* file-exec.c (diskfs_S_file_exec): Likewise.
* file-get-fs-opts.c (diskfs_S_file_get_fs_options): Likewise.
* file-get-trans.c (diskfs_S_file_get_translator): Likewise.
* file-getfh.c (diskfs_S_file_getfh): Likewise.
* file-set-trans.c (diskfs_S_file_set_translator): Likewise.
* fsys-getroot.c (diskfs_S_fsys_getroot): Likewise.
* io-restrict-auth.c (diskfs_S_io_restrict_auth): Likewise.
* opts-append-std.c (diskfs_append_std_options): Likewise.
* opts-get.c (diskfs_append_args): Likewise.
* dir-readdir.c (diskfs_S_dir_readdir): Likewise.
|
|
* dir-lookup.c (diskfs_S_dir_lookup): int -> size_t
* dir-readdir.c (diskfs_S_dir_readdir): Likewise.
* file-get-trans.c (diskfs_S_file_get_translator): Likewise.
* fsys-getroot.c (diskfs_S_fsys_getroot): Likewise.
|
|
* io-map-cntl.c (diskfs_S_io_map_cntl): u_int -> vm_address_t
|
|
* sync-interval.c (diskfs_set_sync_interval): Cast int to intptr_t
before any_t.
|
|
* disk-pager.c (fault_handler): Use %z format for sc_pc.
|
|
* diskfs.h (diskfs_append_args): unsigned -> size_t in argument type.
(diskfs_append_std_options): Likewise.
(diskfs_get_directs): Likewise.
* file-exec.c (diskfs_S_file_exec): Likewise.
* file-get-fs-opts.c (diskfs_S_file_get_fs_options): Likewise.
* file-get-trans.c (diskfs_S_file_get_translator): Likewise.
* file-getfh.c (diskfs_S_file_getfh): Likewise.
* file-set-trans.c (diskfs_S_file_set_translator): Likewise.
* fsys-getroot.c (diskfs_S_fsys_getroot): Likewise.
* io-restrict-auth.c (diskfs_S_io_restrict_auth): Likewise.
* opts-append-std.c (diskfs_append_std_options): Likewise.
* opts-get.c (diskfs_append_args): Likewise.
* dir-readdir.c (diskfs_S_dir_readdir): Likewise.
|
|
|
|
* io-restrict-auth.c (diskfs_S_io_restrict_auth): Remove unused var.
|
|
|