Age | Commit message (Collapse) | Author |
|
This will allow to relieve constraints in callers, e.g. dir_lookup("") would
otherwise produce a warning with gcc-11 since char[1024] would mean that
dir_lookup would read all 1024 characters while it is not.
* hurd/hurd_types.h (const_string_t): New type.
|
|
2019-02-01 Svante Signell <svante.signell@gmail.com>
* Update copyright years.
2018-01-05 Svante Signell <svante.signell@gmail.com>
* Update copyright years.
* fs.defs: Add new argument rendezvous: mach_port_send_t to RPC
file_record_lock.
2017-01-05 Svante Signell <svante.signell@gmail.com>
* Update copyright years and headers.
2016-05-23 Svante Signell <svante.signell@gmail.com>
* fs.defs: Added description.
* hurd_types.defs: Make struct flock_t seven integers long since
l_start and l_len are 64bit.
* hurd_types.h: typedef flock_t as flock64.
2001-04-10 Neal H Walfield <neal@cs.uml.edu>
* fs.defs: New RPC file_record_lock.
* hurd_types.defs: Import <fcntl.h>.
|
|
We build hurd with LFS64, so we should always expose LFS64 types, so callers
do not have to build with -D_FILE_OFFSET_BITS=64.
* libdiskfs/diskfs.h (struct peropen): Make `filepointer' field type
`loff_t' instead of `off_t'.
(diskfs_cached_ifind): Make `inum' parameter `ino64_t' instead of
`ino_t'.
(diskfs_cached_lookup_context): Likewise.
* hurd/shared.h (strcut shared_io): Make `read_size', `prenotify_size',
`postnotify_size', `readnotify_size', `rd_file_pointer',
`wr_file_pointer', `xx_file_pointer', `file_size' fields type `loff_t'
instead of `off_t'.
|
|
* Makefile (prog-subdirs): Add shutdown.
* hurd/hurd_types.defs (shutdown_t): New type.
* hurd/hurd_types.h (shutdown_t): New type.
* hurd/shutdown.defs: New file.
* shutdown: New directory.
|
|
Exposes x86 ACPI tables as a netfs on a mount point
* acpi: New directory.
* Makefile (prog-subdirs): Add acpi.
* hurd/hurd_types.h (FSTYPE_ACPI): New macro.
|
|
|
|
It may not be available depending on standard selection.
* hurd/hurd_types.h (off_array_t, const_off_array_t): Use __loff_t
instead of loff_t.
|
|
* hurd/default_pager_types.h (const_recnum_array_t,
const_vm_size_array_t): New types.
* hurd/hurd_types.h (const_data_t, const_intarray_t, const_fd_mask_t,
const_portarray_t, const_pidarray_t, const_idarray_t,
const_off_array_t, *const_procinfo_t): New types.
|
|
* hurd/fs.defs (file_exec): Deprecate in favor of...
(file_exec_paths): ...this new RPC.
* TODO: Update.
* doc/hurd.texi: Update RPC name.
* hurd/hurd_types.h: Update RPC name.
* libdiskfs/boot-start.c: Update RPC name.
* configure.ac: Check for presence of RPC stubs file_exec_paths exec_exec_paths.
* exec/hashexec.c (check_hashbang): When file_exec_paths is available, use it
instead of file_exec.
* startup/startup.c (run, run_for_real, start_child): Likewise.
* utils/login.c (main): Likewise.
* libfshelp/start-translator-long.c (fshelp_start_translator_long): Likewise.
* libdiskfs/file-exec.c (diskfs_S_file_exec): Move code to
new function diskfs_S_file_exec_paths and call it.
(diskfs_S_file_exec_paths): New function, use exec_exec_paths when available
instead of exec_exec
* libnetfs/file-exec.c (netfs_S_file_exec, netfs_S_file_exec_paths): Likewise.
* trans/fakeroot.c (netfs_S_file_exec, netfs_S_file_exec_paths): Likewise.
* libtrivfs/file-exec.c (trivfs_S_file_exec_paths): New function.
|
|
* hurd/hurd_types.h: Document the magic retry string `pid'.
* hurd/paths.h (_HURD_MAGIC): New macro.
* procfs/main.c: Remove all code related to faking /proc/self.
* procfs/main.h: Likewise.
* procfs/rootdir.c: Likewise. Instead, return the magic retry
response `pid' for the `self' node.
|
|
* hurd/hurd_types.h (ctty_t): New type definition.
* hurd/term.defs (ctty_t): New type definition.
* term/mig-decls.h: New file.
* term/mig-mutate.h: Add mutators, includes.
* term/term.h: Add include guards.
* term/users.c (S_termctty_open_terminal): Fix receiver lookup.
* boot/boot.c (S_termctty_open_terminal): Likewise.
|
|
* hurd/hurd_types.defs (interrupt_t): New type.
* hurd/hurd_types.h (interrupt_t): Likewise.
* hurd/interrupt.defs (interrupt_operation): Use the new type.
|
|
* hurd/hurd_types.defs (exec_startup_t): New type.
* hurd/hurd_types.h (exec_startup_t): Likewise.
* hurd/exec_startup.defs: Honor EXEC_STARTUP_IMPORTS.
(exec_startup_get_info): Use the new type as receiver.
|
|
This type matches the standard struct timespec, and allows passing time
values with nanosecond precision in RPCs.
* hurd/hurd_types.defs (timespec_t): New MIG type.
* hurd/hurd_types.h: Include <time.h>.
(timespec_t): New C type, aliasing struct timespec.
|
|
* Fix spelling with codespell[1] and manually review it.
[1] http://git.profusion.mobi/cgit.cgi/lucas/codespell/
|
|
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.
|
|
* hurd_types.defs (loff_t, ino64_t): New types, 64 bits.
(off_t): Type removed.
(off_array_t): Use loff_t instead of off_t as base type.
* hurd_types.h (off_array_t): Likewise.
[_FILE_OFFSET_BITS != 64] (io_statbuf_t, fsys_statfsbuf_t): Define
using struct stat64/statfs64 instead of struct stat/statfs.
* io.defs (io_identity): Use ino64_t for FILENO.
* fs.defs (file_set_size): off_t -> loff_t
* fs_notify.defs (file_changed): Likewise.
* io.defs (io_write, io_read, io_seek): Likewise.
* io_request.defs: Likewise for those RPCs' *_request variants.
* io_reply.defs: Likewise for those RPCs' *_reply variants.
|
|
* hurd_types.h (struct procinfo): New member `taskevents'.
(PI_FETCH_TASKEVENTS): New macro.
|
|
* msg.defs (msg_report_wait): int -> mach_msg_id_t
* hurd_types.h: Include <mach/message.h>.
(struct procinfo): int -> mach_msg_id_t for rpc_block.
|
|
2002-03-05 Marcus Brinkmann <marcus@gnu.org>
* hurd.texi (Diskfs Callbacks): Refer to dir_lookup, not dir_pathtrans.
Reported by James A Morrison <ja2morri@student.math.uwaterloo.ca>.
fstests/
2002-03-05 Marcus Brinkmann <marcus@gnu.org>
* fstests.c (main): Call dir_lookup, not dir_pathtrans.
Reported by James A Morrison <ja2morri@student.math.uwaterloo.ca>.
hurd/
2002-03-05 Marcus Brinkmann <marcus@gnu.org>
* fs.defs: Refer to dir_lookup, not dir_pathtrans, in comments.
* fsys.defs: Likewise.
* hurd_types.h (enum retry_type): Likewise.
Reported by James A Morrison <ja2morri@student.math.uwaterloo.ca>.
libdiskfs/
2002-03-05 Marcus Brinkmann <marcus@gnu.org>
* diskfs.h: Refer to dir_lookup, not dir_pathtrans, in comment.
* fsys-getroot.c (diskfs_S_fsys_getroot): Likewise.
Reported by James A Morrison <ja2morri@student.math.uwaterloo.ca>.
libfshelp/
2002-03-05 Marcus Brinkmann <marcus@gnu.org>
* fshelp.h: Refer to dir_lookup, not dir_pathtrans, in comment.
Reported by James A Morrison <ja2morri@student.math.uwaterloo.ca>.
|
|
* hurd_types.h: New macro, FS_TRANS_ORPHAN.
|
|
* hurd_types.h: Doc fix reported by Neal H Walfield
(neal@cs.uml.edu), STORAGE_NULL is actually STORAGE_ZERO.
|
|
* hurd_types.h (EXEC_SIGTRAP): New macro.
|
|
* hurd_types.h (enum file_storage_class): New values STORAGE_REMAP,
STORAGE_COPY; moved with their comments from libstore/store.h.
|
|
* hurd_types.h: Added FSTYPE_HTTP, FSTYPE_MEMFS, and
FSTYPE_ISO9660.
|
|
* hurd_types.h (dir_changed_type, file_changed_type): Doc fix.
|
|
|
|
|
|
(FSTYPE_SOCKET): Doc fix.
(retry_type) [FS_RETRY_REAUTH]: Doc fix.
(file_storage_class): Add STORAGE_NULL, STORAGE_CONCAT,
STORAGE_INTERLEAVE, and STORAGE_LAYER.
(struct fsys_statfsbuf): Delete type.
(fsys_statfsbuf_t): Now based upon struct statfs.
|
|
|
|
|
|
(INIT_TRACEMASK): New enum constant.
|
|
|
|
|
|
PI_FETCH_THREAD_SCHED, PI_FETCH_THREAD_WAITS): New flags.
(procinfo): New (buried) member `rpc_block'.
|
|
bits.
(STORAGE_MUTATED): New flag.
|
|
STORAGE_MEMORY_MUTATED. Doc fixes.
|
|
|
|
|
|
fsys_stb_fsize -> fsys_stb_bsize.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|