summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
1999-10-141999-10-14 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* opts-std-startup.c (TOGGLE): Fix `off' case. Reported by Kalle Olavi Niemitalo <tosi@ees2.oulu.fi>.
1999-10-14.Roland McGrath
1999-10-141999-10-13 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* 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.
1999-10-14.Roland McGrath
1999-10-141999-10-13 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* 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.
1999-10-13.Roland McGrath
1999-10-131999-10-13 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* 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-131999-10-13 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* consts.c (diskfs_name_max): New variable.
1999-10-131999-10-13 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* main.c (diskfs_name_max): New variable.
1999-10-131999-10-13 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* ext2fs.c (diskfs_name_max): New variable.
1999-10-12.Roland McGrath
1999-10-121999-10-12 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* opts-std-runtime.c (parse_opt: ARGP_KEY_INIT): Initialize H->noatime.
1999-10-11.Roland McGrath
1999-10-111999-10-11 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* MAKEDEV.sh (fd): Pass --directory to /hurd/magic translator.
1999-10-111999-10-11 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* 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.
1999-10-111999-10-11 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* dir-readdir.c (trivfs_S_dir_readdir): Take DATA_DEALLOC parameter.
1999-10-111999-10-11 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* dir-readdir.c (netfs_S_dir_readdir): Take new DATA_DEALLOC parameter.
1999-10-111999-10-11 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* dir-readdir.c (diskfs_S_dir_readdir): Take new DATA_DEALLOC param.
1999-10-111999-10-11 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* fs.defs (dir_readdir): Replace dealloc with dealloc[] on out data.
1999-10-11.Roland McGrath
1999-10-111999-10-11 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* 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.
1999-10-11.Roland McGrath
1999-10-111999-10-11 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* trivfs.h (trivfs_open_hook): New variable. * fsys-getroot.c (trivfs_S_fsys_getroot): Use it.
1999-10-09.Roland McGrath
1999-10-091999-10-07 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* 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).
1999-10-08updates from marcusRoland McGrath
1999-10-081999-10-09 Marcus Brinkmann <marcus@gnu.org>Roland McGrath
* 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.
1999-10-081999-10-09 Marcus Brinkmann <marcus@gnu.org>Roland McGrath
* postinst, prerm: New Files. * shlibs,shlibs.local: Remove libmom. * changelog: Update to reflect Debian uploads.
1999-10-081999-10-09 Marcus Brinkmann <marcus@gnu.org>Roland McGrath
* 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.
1999-10-081999-10-08 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell
* 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.
1999-10-081999-10-08 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell
* bootstrap.c: (DEFAULT_ROOT): Remove macro. (main): If no root device was specified, then prompt as if the user had specified -a.
1999-10-071999-10-07 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell
* start-translator-long.c (fshelp_start_translator_long): Doc fix. * fshelp.h (fshelp_start_translator_long): Document OWNER_UID.
1999-10-07.Roland McGrath
1999-10-071999-10-07 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* start-translator-long.c (fshelp_start_translator_long): Take new argument OWNER_UID. Get child's proc port and do proc_setowner on it. * fshelp.h: Update decl. * start-translator.c (fshelp_start_translator): Pass new arg to fshelp_start_translator_long with value from geteuid (). * fetch-root.c (fshelp_fetch_root): Pass UID as new arg to fshelp_start_translator_long.
1999-10-071999-10-07 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* rdwr.c (store_read, store_write): Fix asserts in last change.
1999-10-07.Roland McGrath
1999-10-071999-10-06 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* hyper.c (get_hypermetadata): Avoid overflow in calculation of disk size vs superblock-specified requirement. Add a warning for wasted disk blocks after last filesystem block.
1999-10-06.Roland McGrath
1999-10-061999-10-06 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* bootstrap.c (DEFAULT_ROOT): Change to "hd0s1".
1999-10-061999-10-06 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell
* lookup.c (diskfs_lookup): NAME is no longer const. Update documentation Strip leading and trailing slashes from NAME before using it. * diskfs.h (diskfs_lookup): NAME is no longer const. Update documentation. 1999-10-05 Thomas Bushnell, BSG <tb@mit.edu> * priv.h (CHANGE_NODE_FIELD): Use diskfs_check_readonly instead of directly reading diskfs_readonly.
1999-10-041999-10-04 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell
* term.h, devio.c, users.c: Revert previous change. Do it this way instead: * users.c (report_carrier_error): New function. (carrier_error): New static global variable. (open_hook): Deal with errors from carrier open. * devio.c (device_open_reply): Move the !RETURNCODE case out of the "initial open" case and use report_carrier_error. * term.h (report_carrier_error): Declare new function.
1999-10-03.Roland McGrath
1999-10-031999-10-03 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* dir.c (ext2_file_type): #if 0 out this variable. (diskfs_get_directs): #if 0 out code to interpret file_type field and set d_type. Instead, always return DT_UNKNOWN for now.
1999-10-03.Roland McGrath
1999-10-031999-10-03 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* dir.c (file_type_ext2): #if 0 out. (diskfs_direnter_hard): #if 0 out code to set file_type field in directory entries. Instead, always set it to zero.
1999-10-03.Roland McGrath
1999-10-031999-10-03 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* Makeconf [$(makemode) = misc]: If no installationdir and no targets, set makemode-instdir so it's not empty, to avoid expanding `$(dir)'.
1999-10-03.Roland McGrath
1999-10-031999-10-03 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* bitmap.c (ffz): Subtract one from (1-origin) result of ffs to get our (0-origin) result. * Makefile (LCLHDRS): bitmap.h -> bitmap.c
1999-10-031999-10-03 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* ext2fs.h (test_bit, set_bit, clear_bit): Rewritten to operate on 32-bit words instead of bytes. * ext2fs.h (group_desc): Inline function replaced with macro. (group_desc_image): New variable. * hyper.c (get_hypermetadata): Initialize it. * ext2fs.h (sblock_block): Declare new variable. (SBLOCK_LBLOCK): Macro removed. (SBLOCK_OFFS): Define in terms of sblock_block. * ext2fs.c (options): Add --sblock/-S. (parse_opt): Parse it to set sblock_block. * hyper.c (sblock_block): New variable. (get_hypermetadata): Use sblock_block instead of constant SBLOCK_BLOCK. * hyper.c (get_hypermetadata): Use EXT2_MAX_BLOCK_SIZE instead of hard-wired 8192. Don't use ffs to compute log2_block_size, and don't check for the impossible case of non-power-of-two block size (the block size specification we start with is given as a power of two!). * ext2fs.h (block_size): Change type to unsigned int. (BLOCKSIZE_SCALE): Just use SBLOCK->s_log_block_size directly. * hyper.c (get_hypermetadata): Fix printf formats to silence warning. * dir.c (dirscanblock): Likewise.