Commit Graph

53789 Commits

Author SHA1 Message Date
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
christos 10e7b7f04d Fix extreme brokeness with job control that appeared when we set USE_PGRP. 1999-07-16 05:38:20 +00:00
hubertf adf74b1e92 This patch cleans up the handling of the variable `saved' in
adventure(6).  The handling of this variable is somewhat confusing,
since it is used for two different purposes (controlling the time
required before a saved game can be restored, and controlling various
aspects of dwarf behaviour); in fact, it is also declared twice in
hdr.h.  Except possibly when saving a game fails, these uses can never
interfere; when used for controlling dwarf behaviour, we always have
saved == -1.  This can be better understood with reference to the
original PDP-10 FORTRAN source (URL in patch, since hdr.h references
the comments of the FORTRAN as still relevant to this version) of
which the C version is a direct translation: the wrong value for
`saved' meant that someone was cheating and had bypassed normal
initialisation.  Saving was done by halting and telling the user to
save their core image, so the question of carrying on after saving
failed to open the output file did not arise.

This patch separates the uses of `saved' into uses of two separate
variables.

Closes PR 8005 by Joseph Myers <jsm28@cam.ac.uk>
1999-07-16 01:38:20 +00:00
thorpej c581bf97c5 A few things to make the Linux clone(2) emulation work a bit better:
- When the exit signal is specified to be 0, don't just assume they
  meant SIGCHLD.  In the Linux world, this appears to mean "don't deliver
  an exit signal at all".
- Simplify P_EXITSIG(); don't check against initproc here, just change
  the exit signal to SIGCHLD if reparenting to initproc.

A very simple clone(2) test program now works, and the MpegTV package
starts, but doesn't run properly yet (I believe there is a separate
bug which keeps it from working properly).
1999-07-15 23:18:41 +00:00
wrstuden e4cffe98ac We're now at 1.4G due to changes in vnode flags. 1999-07-15 22:00:40 +00:00