summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2001-04-012001-03-03 Roland McGrath <roland@frob.com>Roland McGrath
* 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.
2001-03-31.Roland McGrath
2001-03-312001-03-31 Roland McGrath <roland@frob.com>Roland McGrath
* 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.
2001-03-312001-03-29 Neal H Walfield <neal@cs.uml.edu>Roland McGrath
* 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.
2001-03-312001-03-29 Neal H Walfield <neal@cs.uml.edu>Roland McGrath
* 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.
2001-03-312001-03-29 Neal H Walfield <neal@cs.uml.edu>Roland McGrath
* claim-right.c (ports_claim_right): Include errno.h and assert.h. Add assertions. Clean up the logic.
2001-03-312001-03-29 Neal H Walfield <neal@cs.uml.edu>Roland McGrath
* init.c: Do not initialize global variables to 0. * interrupt-notified-rpcs.c: Likewise.
2001-03-312001-03-29 Neal H Walfield <neal@cs.uml.edu>Roland McGrath
* create-internal.c (_ports_create_internal): On error, do not deallocate a send right, but a receive right.
2001-03-312001-03-29 Neal H Walfield <neal@cs.uml.edu>Roland McGrath
* port-deref.c (ports_port_deref): Simplify logic.
2001-03-312001-03-29 Neal H Walfield <neal@cs.uml.edu>Roland McGrath
* reallocate-port.c (ports_reallocate_port): Assert return from mach_port_move_member. * transfer-right.c (ports_transfer_right): Likewise.
2001-03-31.Roland McGrath
2001-03-312001-03-31 Roland McGrath <roland@frob.com>Roland McGrath
* 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.
2001-03-31.Roland McGrath
2001-03-312001-03-29 Neal H Walfield <neal@cs.uml.edu>Roland McGrath
* idvec-auth.c (idvec_merge_auth): Really allow parameters to be NULL.
2001-03-312001-03-31 Roland McGrath <roland@frob.com>Roland McGrath
* ugids.h: Fix obsolescent #endif syntax.
2001-03-312001-03-31 Roland McGrath <roland@frob.com>Roland McGrath
* 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.
2001-03-282001-03-28 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann
* 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.
2001-03-26.Roland McGrath
2001-03-262001-03-26 Roland McGrath <roland@frob.com>Roland McGrath
* intern-external-port.c, allocate-port.c: Dead files removed from cvs. Reported by Neal H Walfield <neal@cs.uml.edu>.
2001-03-12.Roland McGrath
2001-03-122001-03-07 Roland McGrath <roland@frob.com>Roland McGrath
* 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.
2001-03-12syntax tweak to avoid makeinfo complaintRoland McGrath
2001-03-122001-03-11 Roland McGrath <roland@frob.com>Roland McGrath
* 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.
2001-03-07.Roland McGrath
2001-03-072001-03-07 Roland McGrath <roland@frob.com>Roland McGrath
* 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.
2001-03-01.Roland McGrath
2001-03-012001-02-28 Roland McGrath <roland@frob.com>Roland McGrath
* streamio.c (trivfs_modify_stat): Fix inverted sense of tests for O_READ, O_WRITE bits.
2001-02-28.Roland McGrath
2001-02-282000-12-28 Roland McGrath <roland@frob.com>Roland McGrath
* Makeconf (mach_defs_names): Remove default_pager (replaced by our own in hurd) and default_pager_helper (never used).
2001-02-282001-02-28 Roland McGrath <roland@frob.com>Roland McGrath
* 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.
2001-02-28.Roland McGrath
2001-02-282000-12-28 Roland McGrath <roland@frob.com>Roland McGrath
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.
2001-02-282001-02-27 Roland McGrath <roland@frob.com>Roland McGrath
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.
2001-02-282001-01-11 Marcus Brinkmann <marcus@gnu.org>Roland McGrath
* default_pager_types.h: New file. default_pager.defs: Import <default_pager_types.h>.
2001-02-282001-01-11 Marcus Brinkmann <marcus@gnu.org>Roland McGrath
* 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.
2001-02-282001-02-28 Roland McGrath <roland@frob.com>Roland McGrath
* 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.
2001-02-27.Roland McGrath
2001-02-272001-02-27 Roland McGrath <roland@frob.com>Roland McGrath
* rpctrace.c: Overhaul output handling.
2001-02-26.Roland McGrath
2001-02-262001-02-26 Roland McGrath <roland@frob.com>Roland McGrath
* 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.
2001-02-26.Roland McGrath
2001-02-262001-02-26 Roland McGrath <roland@frob.com>Roland McGrath
* 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.
2001-02-262001-02-26 Roland McGrath <roland@frob.com>Roland McGrath
* node.c (diskfs_free_node): Reset hnext's hprevp. (diskfs_node_norefs): Likewise. (diskfs_cached_lookup): Fix insane code for finding existing node ptr.
2001-02-262001-02-26 Roland McGrath <roland@frob.com>Roland McGrath
* 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.
2001-02-26.Roland McGrath
2001-02-262001-02-25 Roland McGrath <roland@frob.com>Roland McGrath
* Makefile (asm/checksum.h): New target. (CPPFLAGS): Don't set _HURD_SYSTYPE. * glue-include/asm/checksum.h: File removed.
2001-02-26.Roland McGrath
2001-02-262001-02-25 Roland McGrath <roland@frob.com>Roland McGrath
* linux-src/include/linux/net.h (struct file): Move forward decl outside of `struct socket' type definition, for gcc-2.96 syntax.
2001-02-262001-02-25 Roland McGrath <roland@frob.com>Roland McGrath
* storecat.c: Include <stdlib.h> for decls. * w.c: Include <time.h> for decls.
2001-02-262001-02-25 Roland McGrath <roland@frob.com>Roland McGrath
* mkfs.c [!STANDALONE]: Include <time.h> for decl. * stati.c: Likewise.