aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* 1999-11-18 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-11-181-38/+24
| | | | | | | | | | * vmstat.c (BADVAL): New macro. (SWAP_FIELD): New macro. This properly takes care of exciting C type promotion rules to properly indicate errors. (get_swap_size, get_swap_free, get_swap_active): Replace definitions with ones using SWAP_FIELD macro. (ensure_def_pager_info): Give an error message for lack of a default pager; check only once.
* .Roland McGrath1999-11-161-0/+2
|
* 1999-11-16 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-11-161-19/+0
| | | | * strfcns.c (index): Function removed.
* .Roland McGrath1999-11-161-0/+6
|
* 1999-11-16 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-11-163-32/+9
| | | | | | * ffs_file_io.c (ffs_open_file): Use memmove instead of ovbcopy. * ext2_file_io.c (ext2_open_file): Likewise. * strfcns.c (ovbcopy): Function removed.
* .Roland McGrath1999-11-091-0/+5
|
* 1999-11-09 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-11-092-2/+2
| | | | | * priv.h (_diskfs_chroot_directory): Remove const from type. * init-startup.c (_diskfs_chroot_directory): Likewise.
* .Roland McGrath1999-11-082-0/+9
|
* 1999-11-08 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-11-081-3/+17
| | | | * disk-pager.c (fault_handler): Put more detail in assert failures.
* 1999-11-08 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-11-081-12/+35
| | | | | * bootstrap.c (main): Further spruce up prompting and error reporting for root device and boot script.
* .Roland McGrath1999-11-081-0/+4
|
* 1999-11-08 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-11-081-0/+1
| | | | * io-write.c: Include <fcntl.h>.
* 1999-11-08 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-11-081-1/+1
| | | | * fsys-getroot.c (trivfs_S_fsys_getroot): Fix typo.
* .Roland McGrath1999-11-081-0/+6
|
* 1999-11-08 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-11-081-2/+5
| | | | | * io-write.c (trivfs_S_io_write): Return EBADF if trivfs_allow_open doesn't include O_WRITE.
* 1999-11-08 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-11-081-5/+2
| | | | | * io-modes-get.c (trivfs_S_io_get_openmodes): Remove assert. The default implementation ought to be fine for this.
* .Roland McGrath1999-11-081-0/+6
|
* 1999-11-08 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-11-081-3/+1
| | | | | | * exectrans.c (trivfs_support_write, trivfs_support_exec): Variables removed. (trivfs_allow_open): Set to just O_READ.
* .Roland McGrath1999-11-082-0/+23
|
* 1999-11-08 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-11-085-12/+7
| | | | | | | | | | * io-owner-get.c (trivfs_S_io_get_owner): Remove asserts. It is entirely reasonable to have EOPNOTSUPP be the default implementation for these calls that files are not obligated to provide. * io-owner-mod.c (trivfs_S_io_mod_owner): Likewise. * io-map.c (trivfs_S_io_map): Likewise. * io-async.c (trivfs_S_io_async): Likewise. * io-async-icky.c (trivfs_S_io_get_icky_async_id): Likewise.
* 1999-11-08 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-11-081-6/+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.c (trivfs_modify_stat): Set st_size from contents_len, not sizeof (hello) - 1.
* 1999-11-08 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-11-081-0/+316
| | | | | | * 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.
* 1999-11-08 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-11-081-4/+4
| | | | | | | * 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.
* 1999-11-08 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-11-081-2/+4
| | | | | | * 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.
* .Roland McGrath1999-11-081-0/+6
|
* 1999-11-08 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-11-082-5/+290
| | | | | | * hello.c: New file. From Gord with some cleanups and hacks from me. * Makefile (targets, SRCS): Add hello, hello.c. (hello): Add appropriate deps.
* .Roland McGrath1999-10-291-2/+6
|
* 1999-10-29 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-10-291-0/+2
| | | | * wire.c: Use a weak reference to _DYNAMIC.
* .Roland McGrath1999-10-281-0/+5
|
* 1999-10-28 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-10-282-11/+2
| | | | | | | * 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.
* .Roland McGrath1999-10-281-1/+12
|
* 1999-10-28 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-10-285-27/+67
| | | | | | | | | | | * 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.
* .Roland McGrath1999-10-281-0/+6
|
* 1999-10-28 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-10-281-1/+7
| | | | | | * 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.
* (diskfs_shutdown): comment typo fixRoland McGrath1999-10-231-5/+4
|
* .Roland McGrath1999-10-231-0/+5
|
* 1999-10-23 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-10-231-2/+8
| | | | | * sync-interval.c (periodic_sync): With diskfs_fsys_lock reader lock held, check _diskfs_diskdirty and don't sync if not dirty.
* .Roland McGrath1999-10-231-0/+7
|
* 1999-10-22 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-10-231-57/+75
| | | | | | | * 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!)
* .Roland McGrath1999-10-141-0/+5
|
* 1999-10-14 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-10-141-1/+1
| | | | | * opts-std-startup.c (TOGGLE): Fix `off' case. Reported by Kalle Olavi Niemitalo <tosi@ees2.oulu.fi>.
* .Roland McGrath1999-10-141-0/+5
|
* 1999-10-13 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-10-141-3/+9
| | | | | | | * 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.
* .Roland McGrath1999-10-141-0/+5
|
* 1999-10-13 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-10-142-5/+11
| | | | | | | * 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.
* .Roland McGrath1999-10-134-0/+18
|
* 1999-10-13 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-10-132-5/+12
| | | | | | * 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.
* 1999-10-13 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-10-131-1/+3
| | | | * consts.c (diskfs_name_max): New variable.
* 1999-10-13 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-10-131-1/+2
| | | | * main.c (diskfs_name_max): New variable.
* 1999-10-13 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-10-131-0/+1
| | | | * ext2fs.c (diskfs_name_max): New variable.