Age | Commit message (Collapse) | Author |
|
|
|
* pids.h: Fix obsolescent #endif syntax.
|
|
* assert.h: Fix obsolescent #endif syntax.
* default_pager.c: Likewise.
* queue.h: Likewise.
* load.c: Likewise.
|
|
* sock.c: Include "connq.h" for connq_destroy decl.
|
|
* io-identity.c (diskfs_S_io_identity): Use INUM; that is what
we bothered getting the lock for.
|
|
* shutdown.c: Move initialization of diskfs_fsys_lock from here ...
* init-init.c: ... to here with the rest of the initialization
code.
* init-init.c: Do not initialize global variables to zero.
|
|
* dir-chg.c (diskfs_S_dir_notice_changes): Check what malloc
returns.
* peropen-make.c (diskfs_make_peropen): Likewise.
|
|
* protid-rele: Doc fix.
* node-nput.c: Likewise.
* io-prenotify.c: Likewise.
|
|
* shutdown.c: Move initialization of diskfs_fsys_lock from here ...
* init-init.c: ... to here with the rest of the initialization
code.
|
|
* ports-noports.c, ports-clean.c, ports-soft.c, ports-idle.c,
ports-consts.c: Dead files finally removed from cvs.
|
|
* hyper.c (zeroblock, modified_global_blocks): Remove superfluous
zero initializers.
(allocate_mod_map): Likewise for static here.
(get_hypermetadata): Don't munmap old ZEROBLOCK, just keep it.
Allocate ZEROBLOCK with PROT_READ.
|
|
|
|
* 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.
* cthread_data.c: Likewise.
|
|
* host.c: Fix comments.
(ps_host_basic_info): Make INITIALIZED static; otherwise
we never cache BUF. Do not initalize static variables to 0.
(ps_host_sched_info): Likewise.
* ps.h: Doc fix.
|
|
* create-bucket.c (ports_create_bucket): Include errno.h
and stdlib.h. Do not include assert.h. Turn assertions
into errors that set errno and return NULL.
* create-class.c (ports_create_class): Likewise.
|
|
* claim-right.c (ports_claim_right): Include errno.h and
assert.h. Add assertions. Clean up the logic.
|
|
* init.c: Do not initialize global variables to 0.
* interrupt-notified-rpcs.c: Likewise.
|
|
* create-internal.c (_ports_create_internal): On error, do
not deallocate a send right, but a receive right.
|
|
* port-deref.c (ports_port_deref): Simplify logic.
|
|
* reallocate-port.c (ports_reallocate_port): Assert return from
mach_port_move_member.
* transfer-right.c (ports_transfer_right): Likewise.
|
|
|
|
* 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.
|