aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* 2001-08-15 Roland McGrath <roland@frob.com>Roland McGrath2001-08-154-26/+70
| | | | | | | | | | | * sizes.c: New file, a list of prime numbers useful for table sizes. * priv.h (_ihash_sizes, _ihash_nsizes): Declare. (_ihash_nextprime): Don't. * ihash.c (ihash_add): Select sizes from the _ihash_sizes array instead of using _ihash_nextprime. * Makefile: Clean up whitespace, reorder all the variable definitions. (SRCS): Remove primes.c, add sizes.c instead. (OBJS): Define dynamically.
* .Roland McGrath2001-08-152-0/+27
|
* 2001-08-12 Neal H Walfield <neal@cs.uml.edu>Roland McGrath2001-08-152-3/+4
| | | | | | | | * pager.c: Include <errno.h>. (pager_read_page): Use memset, not bzero. * storeio.c (check_open_hook): Typo fix in comment. (trivfs_modify_stat): STORE->size is a store_offset_t. It not a vm_size_t.
* 2001-08-12 Neal H Walfield <neal@cs.uml.edu>Roland McGrath2001-08-152-8/+9
| | | | | | | | | | * set.c: Do not include <malloc.h>. Include <stdlib.h>, <errno.h> and <mach.h>. (store_set_runs): Use memcpy, not bcopy. (store_set_name): Use strdup, not a strlen, malloc and strcpy. * zero.c (zero_read): When checking if mmap failed, compare against MAP_FAILED, not -1. Use memset, not bzero.
* 2001-08-12 Neal H Walfield <neal@cs.uml.edu>Roland McGrath2001-08-152-9/+14
| | | | | | | | | | | * copy.c (copy_read): The protocol dictates that *LEN is in bytes, not pages. (copy_write): Be sure that the buffer passed to vm_read is page-aligned. When determining how much to copy, use LEN, not the uninitialized *AMOUNT. (copy_clone): Use memcpy, not bcopy. * derive.c: Include <sys/types.h> and <mach.h>. (_store_derive): Initialize STORE->wrap_src.
* 2001-08-14 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann2001-08-142-1/+9
| | | | | * mgt.c (S_proc_dostop): If task_threads fails, resume the suspended task.
* .Roland McGrath2001-08-101-0/+5
|
* 2001-08-10 Roland McGrath <roland@frob.com>Roland McGrath2001-08-101-5/+4
| | | | | * showtrans.c (main): Use %.*s formats to be robust in the face of an unterminated argz in a translator setting.
* 2001-08-09 Roland McGrath <roland@frob.com>Roland McGrath2001-08-102-2/+2
| | | | | | * inode.c (diskfs_get_translator): Fail with EFTYPE if the length field stored on disk is unreasonable. Don't crash on ENOMEM. Use memcpy instead of bcopy.
* .Roland McGrath2001-08-102-0/+12
|
* 2001-08-09 Roland McGrath <roland@frob.com>Roland McGrath2001-08-102-8/+21
| | | | | | * inode.c (diskfs_get_translator): Fail with EFTYPE if the length field stored on disk is unreasonable. Don't crash on ENOMEM. Use memcpy instead of bcopy.
* .Roland McGrath2001-08-061-0/+8
|
* 2001-08-06 Roland McGrath <roland@frob.com>Roland McGrath2001-08-061-1/+1
| | | | | * wait.c (S_proc_wait: reap): Set *PID_STATUS to CHILD->p_pid. Reported by Neal H Walfield <neal@cs.uml.edu>.
* 2001-08-06 Roland McGrath <roland@frob.com>Roland McGrath2001-08-061-1/+1
| | | | | * mgt.c (allocate_proc): Don't zero P->p_pi. Reported by Neal H Walfield <neal@cs.uml.edu>.
* .Roland McGrath2001-08-051-0/+5
|
* 2001-08-05 Roland McGrath <roland@frob.com>Roland McGrath2001-08-051-14/+81
| | | | | * wait.c (sample_rusage): New function. (S_proc_mark_exit): Call it.
* .Roland McGrath2001-08-041-0/+10
|
* 2001-08-04 Roland McGrath <roland@frob.com>Roland McGrath2001-08-042-44/+63
| | | | | | | | | | * proc.h (struct proc): New members p_rusage, p_child_rusage. * wait.c (rusage_add): New static function. (alert_parent): Use it to add dead child's p_rusage into parent's p_child_rusage. (S_proc_wait): Fill *RU out param with CHILD->p_rusage, not just zeros. Rewrote subfunction child_ready and its two callers into new subfunction reap to reduce duplicated code.
* 2001-08-04 Roland McGrath <roland@frob.com>Roland McGrath2001-08-041-0/+3
| | | | * mgt.c (process_has_exited): Call ports_interrupt_rpcs last thing.
* .Roland McGrath2001-08-041-0/+10
|
* 2001-08-04 Roland McGrath <roland@frob.com>Roland McGrath2001-08-041-20/+18
| | | | | | | | | * mgt.c (S_proc_reauthenticate): Release global_lock while making RPC. Don't mach_port_deallocate an argument port when returning an error, because mig does it for us. 2001-08-03 Roland McGrath <roland@frob.com> * mgt.c (allocate_proc): Use memset instead of lots of 0 initializers.
* .Roland McGrath2001-08-041-0/+4
|
* 2001-08-03 Roland McGrath <roland@frob.com>Roland McGrath2001-08-041-3/+4
| | | | * Makefile (HURDLIBS): Define it so we link in libshouldbeinlibc.
* 2001-06-19 Roland McGrath <roland@frob.com>Roland McGrath2001-08-021-17/+34
| | | | * dir-lookup.c (diskfs_S_dir_lookup): Handle symlinks to "".
* .Roland McGrath2001-08-021-0/+4
|
* 2001-08-01 Roland McGrath <roland@frob.com>Roland McGrath2001-08-021-22/+8
| | | | * mgt.c (genpid): Rewritten.
* 2001-08-02 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann2001-08-022-0/+11
| | | | | * mgt.c (genpid): Before checking if NEXTPID is free, check if it is greater than WRAP, and if yes, start over.
* 2001-08-01 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann2001-08-012-1/+6
| | | | | * mux.c (free_name): Swap order of memory releases. Reported by Kalle Olavi Niemitalo <kon@iki.fi>
* * glue-include/linux/socket.h (SOMAXCONN): Only define if itMark Kettenis2001-07-252-2/+16
| | | | | | | wasn't already. (msg_control, msg_controllen, struct cmsghdr, cmsg_len, cmsg_type, cmsg_level, CMSG_FIRSTHDR, CMSG_NXTHDR, CMSG_DATA, CMSG_LEN): Only define if CMSG_DATA wasn't already defined.
* REmove item about creation_time of tasks (done by Roland in 1999)Marcus Brinkmann2001-07-231-3/+0
| | | | and threads (done by Thomas in 1997).
* .Roland McGrath2001-07-211-0/+3
|
* 2001-07-20 Roland McGrath <roland@frob.com>Roland McGrath2001-07-213-9/+9
| | | | | | | * panic.c: Fix obsolescent #endif syntax. * ext2_file_io.c: Likewise. * disk_inode_ffs.h: Likewise. * ffs_file_io.c: Likewise.
* .Roland McGrath2001-07-211-0/+4
|
* 2001-07-20 Roland McGrath <roland@frob.com>Roland McGrath2001-07-211-1/+1
| | | | * panic.c: Fix obsolescent #endif syntax.
* 2001-07-18 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann2001-07-184-7/+17
| | | | | | | | * copyright: Refer to new directory. * rules: Move documentation to share directory. Add -isp to dpkg-gencontrol invocation. Remove crufty hurd.info. * control: Bump up standards version.
* 2001-07-18 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann2001-07-184-6/+21
| | | | | | | * rc: Do not excempt random-seed when cleaning up /var/run. State data should be in /var/lib (FHS) or /var/state. * changelog: Update to current version. * debian/servers.boot: Add die $(serverboot).
* 2001-07-18 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann2001-07-182-4/+13
| | | | | | | * linux-src/net/ipv4/devinit.c (configure_device): Initialize IFA correctly. If we are setting the peer on an IFF_POINTOPOINT link, force the netmask to 255.255.255.255. By Neal H Walfield <neal@cs.uml.edu>.
* 2001-07-13 Neal H Walfield <neal@cs.uml.edu>Marcus Brinkmann2001-07-182-5/+18
| | | | | * options.c (parse_opt): In the cases where we hold global_lock and fail, we must release the lock before calling FAIL.
* 2001-07-13 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann2001-07-132-1/+23
| | | | | | | | | | | * host.c (S_proc_getexecdata): New variable PORTS_ALLOCATED. Set it if we allocated a new buffer for PORTS. If it is set, and allocation of a new buffer for INTS fails, unmap the buffer for PORTS. * host.c (S_proc_getexecdata): New variable I. Go over all standard ports and increase the send right user reference by one. Set *PORTSPOLY to MACH_MSG_TYPE_MOVE_SEND.
* 2001-07-11 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann2001-07-104-8/+20
| | | | | | | | | | | | * fs.defs (routine file_get_storage_info): Add dealloc to all out parameters (PORTS, INTS, OFFSETS, DATA). (routine file_get_fs_options): Add dealloc to out parameter OPTIONS. * fsys.defs (routine fsys_get_options): Add dealloc to out parameter OPTIONS. * process.defs (routine proc_getprocinfo): Add dealloc to out paramter PROCINFO.
* .Roland McGrath2001-07-033-1/+23
|
* 2001-06-21 Neal H Walfield <neal@cs.uml.edu>Roland McGrath2001-07-031-4/+6
| | | | | | * file-getcontrol.c (netfs_S_file_getcontrol): When checking if we can give the control port out, use fshelp_iscontroller rather than doing the check by hand.
* 2001-06-21 Neal H Walfield <neal@cs.uml.edu>Roland McGrath2001-07-031-20/+20
| | | | | | * file-getcontrol.c (diskfs_S_file_getcontrol): When checking if we can give the control port out, use fshelp_iscontroller rather than doing the check by hand.
* 2001-06-21 Neal H Walfield <neal@cs.uml.edu>Roland McGrath2001-07-033-2/+48
| | | | | | * fshelp.h (fshelp_iscontroller): Declare new function. * perms-iscontroller.c: New file. * Makefile (SRCS): Add it.
* .Roland McGrath2001-07-021-1/+6
|
* 2001-07-02 Roland McGrath <roland@frob.com>Roland McGrath2001-07-021-4/+6
| | | | | * init.c (reboot_system): Don't pass null pointer to RPC out param. Thanks to Moritz Schulte <moritz@chaosdorf.de> for finding this.
* 2001-06-27 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann2001-06-272-1/+11
| | | | | * info.c (S_proc_getprocinfo): If we return because mmap failed for *PIARRAY, be sure to munmap THDS if necessary.
* Adding some of the user visible changes that have been made. It turns outMarcus Brinkmann2001-06-261-1/+76
| | | | | | that there have been a lot of them! This only documents changes made until Jan 2001, and only changes to the applications, not to the libraries. It still holds that this needs more work, trolling through ChangeLogs.
* * idvec-impgids.c (_merge_implied_gids) [HAVE_GETGROUPLIST]:Mark Kettenis2001-06-262-5/+12
| | | | | | Conditionally enable code that calls getgrouplist. Use `int' instead of `size_t' for number of groups. [!HAVE_GETGROUPLIST]: Add #warning about missing getgrouplist.
* * configure.in: Add check for getgrouplist.Mark Kettenis2001-06-262-1/+8
|