Age | Commit message (Collapse) | Author |
|
* 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.
|
|
* bootstrap.c: (DEFAULT_ROOT): Remove macro.
(main): If no root device was specified, then prompt as if the
user had specified -a.
|
|
* start-translator-long.c (fshelp_start_translator_long): Doc fix.
* fshelp.h (fshelp_start_translator_long): Document OWNER_UID.
|
|
|
|
* 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.
|
|
* rdwr.c (store_read, store_write): Fix asserts in last change.
|
|
|
|
* 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.
|
|
|
|
* bootstrap.c (DEFAULT_ROOT): Change to "hd0s1".
|
|
* 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.
|
|
* 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.
|
|
|
|
* 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.
|
|
|
|
* 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.
|
|
|
|
* Makeconf [$(makemode) = misc]: If no installationdir and no targets,
set makemode-instdir so it's not empty, to avoid expanding `$(dir)'.
|
|
|
|
* bitmap.c (ffz): Subtract one from (1-origin) result of ffs to get
our (0-origin) result.
* Makefile (LCLHDRS): bitmap.h -> bitmap.c
|
|
* 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.
|