Age | Commit message (Collapse) | Author |
|
* hello-mt.c: New file, modified from hello.c to be multithreaded.
* Makefile (targets, SRCS): Add hello-mt, hello-mt.c.
(hello-mt): Add appropriate deps.
* hello.c (trivfs_modify_stat): Set st_size from contents_len, not
sizeof (hello) - 1.
|
|
* hello-mt.c: New file, modified from hello.c to be multithreaded.
* Makefile (targets, SRCS): Add hello-mt, hello-mt.c.
(hello-mt): Add appropriate deps.
|
|
* hello-mt.c: New file, modified from hello.c to be multithreaded.
* Makefile (targets, SRCS): Add hello-mt, hello-mt.c.
(hello-mt): Add appropriate deps.
* Makefile (hello): Don't depend on libthreads.
|
|
* fsys-getroot.c (trivfs_S_fsys_getroot): Return EROFS or EACCES for a
disallowed open attempt, instead of EOPNOTSUPP. EOPNOTSUPP results in
the confusing result of ENOTDIR being delivered to the user.
|
|
|
|
* hello.c: New file. From Gord with some cleanups and hacks from me.
* Makefile (targets, SRCS): Add hello, hello.c.
(hello): Add appropriate deps.
|
|
|
|
* wire.c: Use a weak reference to _DYNAMIC.
|
|
|
|
* load.c, bootstrap.c: Back out some debugging printfs accidentally
included in the last commit.
* bootstrap.c (main): Increase size of NEW_ROOT buffer.
This change was included in the last commit, but not logged then.
|
|
|
|
* file_io.h: Include <errno.h>.
(FS_* macros): Define these to equivalent errno codes.
* def_pager_setup.c (add_paging_file): Put strerror of result code in
error messages.
* bootstrap.c (parse_script): Likewise.
* load.c (boot_script_exec_cmd): Include NAMEBUF in error messages,
and use strerror to format result code.
* panic.c (panic): Use program_invocation_name in message.
|
|
|
|
* node-nput.c (diskfs_nput): Call diskfs_set_node_times before
diskfs_lost_hardrefs. This should address the late mtime update
bug reported and investigated by Mark Kettenis.
|
|
|
|
|
|
* sync-interval.c (periodic_sync): With diskfs_fsys_lock reader lock
held, check _diskfs_diskdirty and don't sync if not dirty.
|
|
|
|
* socket-ops.c (S_socket_getopt): Implement the call.
All options supported by the code in linux-inet are in
fact of type int, so we can support just that one size.
(This is still a bogus untyped interface!)
|
|
|
|
* opts-std-startup.c (TOGGLE): Fix `off' case.
Reported by Kalle Olavi Niemitalo <tosi@ees2.oulu.fi>.
|
|
|
|
* io-pathconf.c (diskfs_S_io_pathconf): Cap diskfs_name_max to size
representable in struct dirent.d_namlen.
(diskfs_S_io_pathconf): Always return 1 for _PC_NO_TRUNC, since we
always constrain diskfs_name_max.
|
|
|
|
* lookup.c (diskfs_lookup): Enforce diskfs_name_max limit for CREATE
and RENAME, returning ENAMETOOLONG for violations.
* io-pathconf.c (diskfs_S_io_pathconf): _PC_NO_TRUNC controlled by
diskfs_name_max setting.
|
|
|
|
* diskfs.h (diskfs_name_max): Declare new variable.
* io-pathconf.c (diskfs_S_io_pathconf): Use it for _PC_NAME_MAX,
capping it to 1024.
|
|
* consts.c (diskfs_name_max): New variable.
|
|
* main.c (diskfs_name_max): New variable.
|
|
* ext2fs.c (diskfs_name_max): New variable.
|
|
|
|
* opts-std-runtime.c (parse_opt: ARGP_KEY_INIT): Initialize H->noatime.
|
|
|
|
* MAKEDEV.sh (fd): Pass --directory to /hurd/magic translator.
|
|
* magic.c: Rewritten using libtrivfs.
With new flag --directory/-d, present an empty directory that
has . and .. as normal and lists no other contents, but
looking up anything else within it does the magical retry.
* Makefile (magic): Update library deps accordingly.
|
|
* dir-readdir.c (trivfs_S_dir_readdir): Take DATA_DEALLOC parameter.
|
|
* dir-readdir.c (netfs_S_dir_readdir): Take new DATA_DEALLOC parameter.
|
|
* dir-readdir.c (diskfs_S_dir_readdir): Take new DATA_DEALLOC param.
|
|
* fs.defs (dir_readdir): Replace dealloc with dealloc[] on out data.
|
|
|
|
* dir-lookup.c (trivfs_S_dir_lookup): Duplicate CRED->user to pass it
to trivfs_open. Add ref to CRED->realnode when used by trivfs_open.
|
|
|
|
* trivfs.h (trivfs_open_hook): New variable.
* fsys-getroot.c (trivfs_S_fsys_getroot): Use it.
|
|
|
|
* lookup.c (diskfs_lookup): Rewrite code from last change, which had
typos (and then I just decided to change the details of the string
diddling).
|
|
|
|
* rules (BUILDARCH): Renamed to DEB_BUILD_GNU_TYPE.
(HOSTARCH): Renamed to DEB_HOST_GNU_TYPE.
(INFODIR): New variable.
(STAMPS_TO_CLEAN): Add stamp-config.
(configure): Depend on configure.in.
(config, stamp-config): New targets.
(stamp-build): Build info documentation.
(clean): Do not clean up build directory, it will be removed.
Clean documentation directory.
(binary-arch): Remove etc/motd.
Expand bash {,} syntax.
Gzip serverboot.
Install additional documentation formats.
Rename libexec/runsystem to libexec/runsystem.gnu.
Install postinst, prerm
(.PHONY): Add config.
* postinst, prerm: New Files.
* shlibs,shlibs.local: Remove libmom.
* changelog: Update to reflect Debian uploads.
|
|
* postinst, prerm: New Files.
* shlibs,shlibs.local: Remove libmom.
* changelog: Update to reflect Debian uploads.
|
|
* rules (BUILDARCH): Renamed to DEB_BUILD_GNU_TYPE.
(HOSTARCH): Renamed to DEB_HOST_GNU_TYPE.
(INFODIR): New variable.
(STAMPS_TO_CLEAN): Add stamp-config.
(configure): Depend on configure.in.
(config, stamp-config): New targets.
(stamp-build): Build info documentation.
(clean): Do not clean up build directory, it will be removed.
Clean documentation directory.
(binary-arch): Remove etc/motd.
Expand bash {,} syntax.
Gzip serverboot.
Install additional documentation formats.
Rename libexec/runsystem to libexec/runsystem.gnu.
Install postinst, prerm
(.PHONY): Add config.
|
|
* bootstrap.c: (DEFAULT_ROOT): Remove macro.
(main): If no root device was specified, then prompt as if the
user had specified -a. Don't use strcpy to move NEW_ROOT into
ROOT_NAME; that's unsafe.
|