summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2001-06-162001-04-21 Neal H Walfield <neal@cs.uml.edu>Roland McGrath
* iohelp.h (iohelp_create_iouser): Change declaration such that as error_t is now returned and the iouser is a parameter. (iohelp_create_empty_iouser): New funtion. (iohelp_create_simple_iouser): New function. (iohelp_create_complex_iouser): New funtion. * iouser-create.c (iohelp_create_iouser): Implement new semantics. (iohelp_create_empty_iouser): Implement new function. (iohelp_create_simple_iouser): Implement new function. (iohelp_create_complex_iouser): Implement new function. * iouser-dup.c (iohelp_dup_iouser): Implement new semantics. * iouser-reauth.c (iohelp_reauth): Implement new semantics.
2001-06-162001-04-01 Neal H Walfield <neal@cs.uml.edu>Roland McGrath
* dir-lookup.c (trivfs_S_dir_lookup): Use iohelp_dup_iouser as per the new semantics. * fsys-getroot.c (trivfs_S_fsys_getroot): Use iohelp_create_complex_iouser. * io-reauthenticate.c (trivfs_S_io_reauthenticate): Use iohelp_reauth as per the new semantics. * io-restrict-auth.c (trivfs_S_io_restrict_auth): Use iohelp_create_complex_iouser. Check return values. * trivfs_protid_dup (trivfs_protid_dup): Use iohelp_dup_iouser as per the new semantics.
2001-06-16fix my e-mail addressMarcus Brinkmann
2001-06-16.Roland McGrath
2001-06-162001-06-15 Roland McGrath <roland@frob.com>Roland McGrath
* exec.c (do_exec: user_fd): Add a user ref to returned port.
2001-06-16.Roland McGrath
2001-06-162001-06-15 Neal H Walfield <neal@cs.uml.edu>Roland McGrath
* file-set-translator.c (netfs_S_file_set_translator): If FS_TRANS_ORPHAN is set, do not ask the active translator to go away, just disconnect it.
2001-06-16.Roland McGrath
2001-06-162001-06-15 Neal H Walfield <neal@cs.uml.edu>Roland McGrath
* settrans.c (options): New option `--orphan'. Fix other comments to aviod confusion. (main): Add FS_TRANS_ORPHAN to ACTIVE_FLAGS if `--orphan' is specified.
2001-06-162001-06-15 Neal H Walfield <neal@cs.uml.edu>Roland McGrath
* file-set-trans.c (diskfs_S_file_set_translator): If FS_TRANS_ORPHAN is set, do not ask the active translator to go away, just disconnect it.
2001-06-162001-06-15 Neal H Walfield <neal@cs.uml.edu>Roland McGrath
* hurd_types.h: New macro, FS_TRANS_ORPHAN.
2001-06-16.Roland McGrath
2001-06-162001-06-15 Roland McGrath <roland@frob.com>Roland McGrath
* Makefile (FSSRCS): Last change got botched in merging.
2001-06-162001-06-15 Roland McGrath <roland@frob.com>Roland McGrath
* Makeconf (CPPFLAGS, CFLAGS): Append to these before we include the config.make file.
2001-06-152001-06-15 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann
* rc: Merge in recent changes from daemons/rc.sh.
2001-06-15Streamline the CVS entry.Marcus Brinkmann
2001-06-152001-06-15 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann
* rc: Apply patch from Moritz Schulte <moritz@chaosdorf.de> to be more selective with what to clean from /var/run.
2001-06-11obsolete files removedRoland McGrath
2001-06-11.Roland McGrath
2001-06-112001-06-10 Neal H Walfield <neal@cs.uml.edu>Roland McGrath
* file-inv-trans.c: Remove this file, function no longer exists. * Makefile (FSSRCS): Remove reference to file-inv-trans.c.
2001-06-112001-06-10 Neal H Walfield <neal@cs.uml.edu>Roland McGrath
* file-inv.c: Remove this file, function no longer exists. * Makefile (FSSRCS): Remove reference to file-inv.c.
2001-06-09* inode.c (diskfs_set_statfs): If number of free blocks is lessMark Kettenis
than the number of reserved blocks, set the number of available blocks to 0.
2001-06-08.Roland McGrath
2001-06-082001-06-08 Roland McGrath <roland@frob.com>Roland McGrath
* rc.sh: Start /hurd/mach-defpager before swapon.
2001-06-082001-06-08 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann
* timer-emul.c (add_timer): Don't add jiffies to EXPIRES, it is the responsibility of the caller to do this.
2001-06-082001-06-07 Roland McGrath <roland@frob.com>Roland McGrath
* rc.sh: Include $? value in message about unexpected fsck exit.
2001-06-06.Roland McGrath
2001-06-062001-06-06 Roland McGrath <roland@frob.com>Roland McGrath
* rpctrace.c (trace_and_forward): Assert that INFO has the same port right type as the right we looked up. Don't consider a message a reply unless its receiver is a send-once right.
2001-06-06.Roland McGrath
2001-06-062001-06-06 Roland McGrath <roland@frob.com>Roland McGrath
* rpctrace.c (print_reply_header): Don't call unfinished_line if expected_reply_port is null, indicating the last line was finished as a simpleroutine.
2001-06-05* setup.c (page_read_file_direct): Fix logic to find the run thatMark Kettenis
contains the data to be read. Use size in bytes instead of blocks when calling device_read. (page_write_file_direct): Fix logic to find the run that contains the data to be written. Pass SIZE_WRITTEN to device_write call instead of &WROTE when writing a whole page. Correctly calculate SEGSIZE.
2001-06-01.Roland McGrath
2001-06-012001-06-01 Roland McGrath <roland@frob.com>Roland McGrath
* users.c (trivfs_S_io_select): Fix typo in last change.
2001-05-31.Roland McGrath
2001-05-312001-05-30 Roland McGrath <roland@frob.com>Roland McGrath
* users.c (trivfs_S_io_select): Mask out SELECT_READ and/or SELECT_WRITE if those accesses are not allowed by the peropen. Don't keep old bits in AVAILABLE across waits, return only what is true at the moment we return.
2001-05-26.Roland McGrath
2001-05-262001-05-26 Roland McGrath <roland@frob.com>Roland McGrath
* users.c (trivfs_S_io_select): Don't diagnose an error for *TYPE containing irrelevant bits (i.e. SELECT_URG). It's always ok to ask even when the answer is always no.
2001-05-132001-05-13 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann
* file-exec.c: Initialize GID with st_gid rather than st_uid.
2001-05-122001-05-12 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann
* host.c (initialize_version_info): Clear last byte of KV to make sure that the string is null-terminated.
2001-05-06libstore/Marcus Brinkmann
2001-04-26 Marcus Brinkmann <marcus@ulysses.dhis.net> * set.c: Use explicit comparison to MACH_PORT_NULL. storeio/ 2001-05-06 Marcus Brinkmann <marcus@gnu.org> * dev.c (dev_open): Do not create/open the store with STORE_INACTIVE, as this doesn't work correctly. Inactivate the store afterwards instead. 2001-02-18 Marcus Brinkmann <marcus@gnu.org> * dev.h (struct dev): New member nperopens. * storeio.c (open_hook): Hold device lock and check if this is the TODO: add item about the storeio hack
2001-05-06.Roland McGrath
2001-05-062001-04-23 Neal H Walfield <neal@cs.uml.edu>Roland McGrath
* tmpfs.c (main): Pass diskfs_demuxer to diskfs_spawn_first_thread to conform to new libdiskfs semantics.
2001-05-062001-04-22 Neal H Walfield <neal@cs.uml.edu>Roland McGrath
* Makefile (OTHERSRCS): Add extern-inline.c. * diskfs.h (DISKFS_EXTERN_INLINE): New macro. (diskfs_spawn_first_thread): Update prototype to include the additional parameter, a demuxer. (diskfs_begin_using_protid_port): Moved and renamed function begin_using_protid_port from priv.h. (diskfs_end_using_protid_port): Moved and renamed function end_using_protid_port from priv.h. * extern-inline.c: New file. * fsmutations.h (FILE_INTRAN): Use new function name. (FILE_DESTRUCTOR): Likewise. (IO_INTRAN): Likewise. (IO_DESTRUCTOR): Likewise. * init-first.c: Include <hurd/ports.h>. (master_thread_function): Unnamed parameter is now the demuxer. Use that rather than diskfs_demuxer directly. (diskfs_spawn_first_thread): New parameter DEMUXER. * init-main.c (diskfs_init_main): Pass diskfs_demuxer to diskfs_spawn_first_thread to conform to new semantics. * priv.h (begin_using_protid_port): Moved to diskfs.h. (end_using_protid_port): Likewise.
2001-05-06.Roland McGrath
2001-05-062001-05-05 Roland McGrath <roland@frob.com>Roland McGrath
* node.c (diskfs_truncate): Set st_size before rounding it up, and do set it when there is a memory object.
2001-05-02.Roland McGrath
2001-05-022001-05-01 Neal H Walfield <neal@cs.uml.edu>Roland McGrath
* hurd_types.defs (startup_t): Fix typo.
2001-05-022001-05-01 Neal H Walfield <neal@cs.uml.edu>Roland McGrath
* tmpfs.c (main): Set diskfs_root_node->dn_stat.st_nlink to 2.
2001-04-292001-04-30 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann
* rr.c (rrip_work): In the MATCH_NAME case, free NMBUF if it is non-zero before returning.
2001-04-292001-04-29 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann
* lookup.c (diskfs_get_directs): If an RE entry is encountered, just decrement I again. Rearrange the code to check for a new logical sector in any case. Also make sure to always release RR before returning. This fixes some memory leaks and Debian bug report #63373.