Commit Graph

53893 Commits

Author SHA1 Message Date
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
mycroft
a6a973af4f +OTOH, expand WTF/WTH 1999-07-16 09:17:23 +00:00
christos
f0b7f04401 lol 1999-07-16 09:13:38 +00:00
christos
a5d95430bb made me laugh... 1999-07-16 09:10:45 +00:00
mycroft
acf6e3ddea +RTFS
(Okay, enough silliness for one night.)
1999-07-16 09:08:44 +00:00
mycroft
81ca9f7de5 +RTF* 1999-07-16 09:07:52 +00:00
mycroft
04e943018c +YKWIM 1999-07-16 09:05:47 +00:00
christos
b6e5de12eb and another 1999-07-16 09:03:45 +00:00
mycroft
c71bbc85b8 +OIC 1999-07-16 09:01:35 +00:00
christos
04be925402 sort properly 1999-07-16 09:00:42 +00:00
christos
4415e65a34 and another 1999-07-16 08:59:59 +00:00
christos
d8fb3ad56e one more 1999-07-16 08:58:50 +00:00
mycroft
d26e8a12b0 Minor editing, and add a RCS ID before someone whinges about it. 1999-07-16 08:57:07 +00:00
christos
7aa1db02d0 add a few more 1999-07-16 08:55:13 +00:00
mycroft
8493213273 A few more. 1999-07-16 08:48:33 +00:00
mycroft
73844ccc0b A small list of acronyms often used in electronic communication.
I'm not really sure what direction this list should grow in, but I suppose
someone else will figure that out.  B-)
1999-07-16 08:41:46 +00:00