Commit Graph

53858 Commits

Author SHA1 Message Date
oster ce7cb7114d rf_UnconfigureVnodes() needs to be called in the DO_RAID_FAIL macro. 1999-07-19 01:36:07 +00:00
oster 0c7600ca4e sectorsPerStripeUnit should be larger than 0. If it isn't, simply fail.
(Thanks to Thor Lancelot Simon for noting the problem).
1999-07-19 01:35:19 +00:00
hubertf ccb3350fe4 Drop setgid privs passed from dm(6).
Patch submitted in PR 5945 by Joseph S. Myers <jsm28@cam.ac.uk>
1999-07-19 00:42:59 +00:00
hubertf 3521abbb40 As in previously sent patches: backgammon(6) does not need setgid
games privileges from dm, so should revoke them on startup.

Patch submitteed in PR 8024 bye Joseph Myers <jsm28@cam.ac.uk>
1999-07-19 00:33:58 +00:00
eeh 5e22318a8d More fun with pmap. 1999-07-18 23:55:57 +00:00
eeh c6a358d0a8 Lower spl for softints. 1999-07-18 23:54:20 +00:00
eeh 27bc6dd353 Switch to NetBSD/sparc ELF for 32-bit userland. 1999-07-18 23:52:58 +00:00
eeh 01474710ca Switch over to NetBSD/sparc ELF for 32-bit userland. 1999-07-18 23:51:08 +00:00
chs a8f10f9e37 allow uvm_km_alloc_poolpage1() to use kernel-reserve pages. 1999-07-18 22:55:30 +00:00
chs 47602880d7 KNF. 1999-07-18 21:33:20 +00:00
tsubai 035071b460 Add VM_MAX_KERNEL_BUF definition. 1999-07-18 17:54:19 +00:00
tsubai e9f1ccdcd1 Decrease default NKMEMCLUSTERS. (128MB -> 8MB) 1999-07-18 17:53:18 +00:00
mrg d184a54b3b +IMO +IMNSHO +PITA 1999-07-18 13:47:50 +00:00
abs 68801ce8f6 s/makeing/making/ 1999-07-18 07:22:36 +00:00
abs 2ceba51630 Work with obj dirs (It seems that ${.CURDIR}/... is your friend).
If I _had_ to pick an arch on which to learn how this stuff works, it probably
would not have been vax... unless of course I was experimenting with time
compressing drugs.  If we have a 1.4.2, this is definitely a candidate.
1999-07-18 05:55:45 +00:00
thorpej f6d7947c4b Add a test for mprotect()'ing a region from PROT_NONE to anything else
which is in an address space configured MCL_FUTURE.
1999-07-18 00:43:22 +00:00
thorpej 5ee6f3960d Rework uvm_map_protect():
- Fix some locking bugs; a couple of places would return an error condition
  without unlocking the map.
- Deal with maps marked WIREFUTURE; if making an entry VM_PROT_NONE ->
  anything else, and it is not already marked as wired, wire it.
1999-07-18 00:41:56 +00:00
itojun a382c0c34d avoid false warnings on 22x reply code checks. previous code was too picky.
From: Wolfgang Rupprecht <wolfgang@wsrcc.com>
1999-07-17 22:39:18 +00:00
jtk 92bf84ec68 implement emulation of SIOCGIFHWADDR, PR 7997 1999-07-17 22:03:55 +00:00
jtk c13299119a add LINUX_SIOCGIFHWADDR 1999-07-17 21:46:28 +00:00
thorpej b6f435026c Add a set of "lockflags", which can control the locking behavior
of some functions.  Use these flags in uvm_map_pageable() to determine
if the map is locked on entry (replaces an already present boolean_t
argument `islocked'), and if the function should return with the map
still locked.
1999-07-17 21:35:49 +00:00
hubertf aac1ec24ab Adventure(6) should check for errors (e.g. disk full or quota
exceeded) when writing out saved games. Do so!

Patch supplied by Joseph Myers <jsm28@cam.ac.uk> in PR 8016
1999-07-17 20:02:48 +00:00
hubertf d5f85ed9c9 The patch below improves the security of the game atc(6), by having it
open the score file at the start and then drop all setgid privileges
while keeping a (close-on-exec) file descriptor open to it.  In order
to allow this the static data files have to be made world readable.
In addition a potential buffer overrun with corrupted score files is
avoided by more careful use of scanf (note that SCORE_SCANF_FMT is
defined alongside the definition of the relevant structure).

Submitted in PR 8015 by Joseph Myers <jsm28@cam.ac.uk>
1999-07-17 19:57:03 +00:00
hubertf fbaff02b26 Add two .Els that nroff was complaining to miss. 1999-07-17 19:48:40 +00:00
hubertf dceb24647b This patch (a) makes arithmetic(6) revoke any setgid privileges it got
from dm; (b) marks an unused parameter as such.

Submitted in PR 8014 by Joseph Myers <jsm28@cam.ac.uk>
1999-07-17 19:11:30 +00:00
christos 6653fa8b3c How did this bug survive for so long? 'who am i' was busted because
it checked for valid utmp entries with usr.ut_name != NULL which can
never happen ofcourse, instead of usr.ut_name[0] != '\0'
1999-07-17 16:41:44 +00:00
itojun 936dae3338 use /etc/pim6dd.conf, instaed of /usr/local/v6/etc/pim6dd.conf. 1999-07-17 14:12:21 +00:00
itojun 986bd48816 pim6dd: IPv6 PIM (protocol independent multicast),
dense mode routing daemon.
1999-07-17 14:06:24 +00:00
itojun 0e03316884 typo and wording fixes. sync'ed with latest KAME. 1999-07-17 13:03:28 +00:00
itojun b479094c45 no need to include faith.h on non-IPv6 build, so wrap by #ifdef.
(dunno if it's better to always include it or not)
1999-07-17 12:53:05 +00:00
itojun 5d77559eed add manpage for faith pseudo interface (which is for
IPv6-to-IPv4 tcp relay translation).
1999-07-17 07:09:40 +00:00
itojun c74f79d16f fix faith interface support. need testing.
(i understand this is a dirty hack, of course)
1999-07-17 07:07:08 +00:00
itojun c60ae5de13 add NetBSD RCS ID. retain KAME RCS ID (quoted). 1999-07-17 06:57:59 +00:00
itojun 9e2ce6114e tweak IPv6 case so that "route show" does not truncate numeric IPv6 address.
PR: 7955
1999-07-17 06:51:27 +00:00
thorpej fcc55e7687 Garbage-collect uvm_km_get(); nothing actually uses it. 1999-07-17 06:41:36 +00:00
thorpej a448b59581 Implement uao_flush(). This is pretty much identical to the "amap flush"
code in uvm_map_clean().
1999-07-17 06:06:36 +00:00
thorpej b9aef1ceeb Add code which creates a System V shared memory segment, attaches to it,
makes it resident, MADV_FREE's it, and then checks to see that the pages
are indeed no longer resident.  This tests the uvm_aobj flush routine.
1999-07-17 06:01:52 +00:00
wrstuden 976aedb7ac Adjust mountroot routines to vrele rootvp in case of mount error. Closes
PR 7977 by Neil Carson, <neil@brini.com>.
1999-07-17 01:08:28 +00:00
tron a868069601 Add a few more CPU models as suggested by Scott Telford in PR i386/7048. 1999-07-17 00:42:20 +00:00
christos ea4e0f4bc9 - don't core-dump if hints file is too short
- unmap the space and close fd's
- bcopy -> memcpy
- stat the file to get the size to map, instead of doing multiple mmaps.
1999-07-16 22:23:29 +00:00
wrstuden 2f1cf7a7f1 Oops. Got a little too agressive with changing 06->07. 1999-07-16 20:49:34 +00:00
hwr 814a7df4d8 SCR_NCR_MAX_WIDE is not size in bytes, but 8*(n+1) bits.
Fixes kern/7913 by Dave Huang.
1999-07-16 20:26:57 +00:00
christos 605e8fdded thanks a lot :-) 1999-07-16 16:02:48 +00:00
ad fe6a4d8ffd Remove 'already the console' check, which will be handled by fballoc(),
fbattach() and fbconnect() shortly.
1999-07-16 14:23:47 +00:00
ad 77895f938d - cdplay(1) first appeared in 1.5.
- correct date on manpage.
1999-07-16 14:15:49 +00:00
fvdl 79aef7d85a Acronymfomania. Add YMMV. 1999-07-16 13:19:32 +00:00
christos 0bd174205d times can be shorter... 1999-07-16 09:26:59 +00:00
christos a3ab8847da opinions... 1999-07-16 09:24:46 +00:00
mycroft d56d3dda8d +TTFN 1999-07-16 09:21:03 +00:00
christos b95578e121 mit appropriate. 1999-07-16 09:18:28 +00:00