Age | Commit message (Collapse) | Author |
|
* cthreads.h: Fix obsolescent #endif syntax.
* cthread_internals.h: Likewise.
* cancel-cond.c: Likewise.
* stack.c: Likewise.
* cthreads.c: Likewise.
* cprocs.c: Likewise.
* call.c: Likewise.
* i386/thread.c: Likewise.
|
|
|
|
* idvec-auth.c (idvec_merge_auth): Really allow parameters
to be NULL.
|
|
* ugids.h: Fix obsolescent #endif syntax.
|
|
* cthreads.h: Fix obsolescent #endif syntax.
* cthread_internals.h: Likewise.
* cancel-cond.c: Likewise.
* stack.c: Likewise.
* cthreads.c: Likewise.
* cprocs.c: Likewise.
* call.c: Likewise.
|
|
* dir-lookup.c (diskfs_S_dir_lookup): New variable USER. Store new
iouser in that variable and free it after creating the protid for
DIRPORT.
* trans-callback.c (_diskfs_translator_callback2_fn): Likewise.
* io-restrict-auth.c (diskfs_S_io_restrict_auth): Likewise.
* io-reauthenticate.c (diskfs_S_io_reauthenticate): Likewise.
|
|
|
|
* intern-external-port.c, allocate-port.c: Dead files removed
from cvs. Reported by Neal H Walfield <neal@cs.uml.edu>.
|
|
|
|
* store.h (store_write, store_write_meth_t): Make buffer arg const*.
* copy.c (copy_write): Likewise.
* device.c (dev_write): Likewise.
* file.c (file_write): Likewise.
(file_byte_write): Likewise.
* rdwr.c (store_write): Likewise.
* remap.c (remap_write): Likewise.
* stripe.c (stripe_write): Likewise.
* task.c (task_write): Likewise.
* zero.c (zero_write): Likewise.
* mvol.c (zero_write): Likewise.
|
|
|
|
* Makeconf (%_S.h %Server.c): Split out an intermediate rule for the
cpp stage ...
(%.sdefsi: %.defs): ... into this rule.
(%_U.h %User.c): Likewise split ...
(%.udefsi: %.defs): ... into this rule.
(clean): Remove *.[su]defsi too.
|
|
|
|
* store.h (store_write, store_write_meth_t): Make buffer arg const*.
* copy.c (copy_write): Likewise.
* device.c (dev_write): Likewise.
* file.c (file_write): Likewise.
(file_byte_write): Likewise.
* rdwr.c (store_write): Likewise.
* remap.c (remap_write): Likewise.
* stripe.c (stripe_write): Likewise.
* task.c (task_write): Likewise.
* zero.c (zero_write): Likewise.
|
|
|
|
* streamio.c (trivfs_modify_stat): Fix inverted sense of tests
for O_READ, O_WRITE bits.
|
|
|
|
* Makeconf (mach_defs_names): Remove default_pager (replaced by our
own in hurd) and default_pager_helper (never used).
|
|
* main.c (main): Instead of calling daemon, do the work ourselves but
synchronize with the child so that vm_set_default_memory_manager has
definitely been called before exit.
(nohandler): New function.
|
|
|
|
Override the shared code from serverboot for device access with
a new, simpler implementation with no filesystem format support.
The new code implements the new default_pager_paging_storage RPC
to set up paging areas that can be subsets of whole Mach devices,
with no Linux signature checking. The compatibility setup entry
point works as before on whole devices.
* setup.c, file_io.h: New files.
* Makefile (SRCS): Remove def_pager_setup.c, file_io.c, strfcns.c,
ext2_file_io.c, ffs_file_io.c, ffs_compat.c, minix_file_io.c,
minix_ffs_compat.c; add setup.c to replace them all.
|
|
Use a new, more flexible RPC interface to the default pager.
This allows swapon to do its own interpretation of Linux swap
signature pages, and to support partial-device stores such as
store_open will return for regular files on disk filesystems.
* swapon.c: Include <hurd/default_pager.h>, not <mach/default_pager.h>.
(ignore_signature, require_signature, quiet): New variables.
(options): Add --silent, --no-signature, --require-signature.
(main: parse_opt): Parse them.
(check_signature): New function.
(swaponoff): Use it unless --no-signature set, to get a remapped store
using the pages indicated by the Linux signature page. Try new
default_pager_paging_storage RPC first, using a possibly-remapped
device store. If the default pager does not support that, fall back
to the old protocol that only supports whole devices (and wherein the
default pager itself interprets a Linux signature page).
* Makefile (swapon, swapoff): Depend on default_pagerUser.o.
|
|
* default_pager_types.h: New file.
default_pager.defs: Import <default_pager_types.h>.
|
|
* default_pager_types.h: New file.
default_pager.defs: Import <default_pager_types.h>.
2000-12-28 Roland McGrath <roland@frob.com>
* default_pager.defs: New file, modified from the original version
in <mach/default_pager.defs>. Adds new RPC, obsoletes an unused one.
It is compatible enough that it doesn't really matter which version
things use unless they are using the new RPC.
|
|
* default_pager.c: Use <file_io.h> instead of "file_io.h",
so mach-defpager gets its own version when it uses this source file.
(new_partition): If CHECK_LINUX_SIGNATURE arg is -3, don't print out.
|
|
|
|
* rpctrace.c: Overhaul output handling.
|
|
|
|
* node.c (diskfs_free_node): Reset hnext's hprevp.
(diskfs_node_norefs): Likewise.
(diskfs_cached_lookup): Fix insane code for finding existing node ptr.
(diskfs_get_filemap_pager_struct): Remove spurious assert.
(diskfs_get_filemap): Always add a reference to the send right.
|
|
|
|
* dir.c (diskfs_get_directs): When using st_size, calculate additional
space for . and .. entries. Skip . and .. entries when ENTRY says to.
Set d_fileno=2 for .. entry when it is the parent of the filesystem.
|
|
* node.c (diskfs_free_node): Reset hnext's hprevp.
(diskfs_node_norefs): Likewise.
(diskfs_cached_lookup): Fix insane code for finding existing node ptr.
|
|
* tmpfs.c (main): Don't lock diskfs_root_node after alloc,
which already locks it. In root node's mode, clear S_ITRANS bits
and set S_IROOT bit.
|
|
|
|
* Makefile (asm/checksum.h): New target.
(CPPFLAGS): Don't set _HURD_SYSTYPE.
* glue-include/asm/checksum.h: File removed.
|
|
|
|
* linux-src/include/linux/net.h (struct file): Move forward
decl outside of `struct socket' type definition, for gcc-2.96 syntax.
|
|
* storecat.c: Include <stdlib.h> for decls.
* w.c: Include <time.h> for decls.
|
|
* mkfs.c [!STANDALONE]: Include <time.h> for decl.
* stati.c: Likewise.
|
|
* utilities.c: Include <time.h> for decl.
|
|
* symlink.c: Include <string.h> for decls of built-ins.
* firmlink.c: Include <stdlib.h> for exit decl.
* ifsock.c: Likewise.
* null.c: Likewise.
* magic.c: Likewise.
* fifo.c: Likewise.
* hello.c: Likewise.
* hello-mt.c: Likewise.
|
|
* ops.c: Include <string.h> for decls of built-ins.
|
|
* i386/thread.c: Remove superfluous bzero decl,
just include <strings.h> instead.
|
|
* idvec.h: Include <string.h> for memcmp decl.
|
|
* wire.c (map_extent): Add dead return stmt to silence gcc warning.
|
|
* user.c: Include <string.h> for decls of built-ins.
|
|
* pager-memcpy.c: Include <string.h> for memcpy decl.
|
|
* init-first.c: Include <stdlib.h> for exit decl.
|
|
* readonly-changed.c: New file.
* Makefile (OTHERSRCS): Add it.
|
|
* lookup.c: Include <stdlib.h> for abort decl.
|