Commit Graph

69958 Commits

Author SHA1 Message Date
jdolecek
a777f280d1 fix obvious bug in svr4_sys_resolvepath():
since we have not requested locked vnode (LOCKLEAF is not used for namei()
call), the vnode is returned unlocked, so we need to use vrele(), not vput()

This fixes kern/11044.
2000-09-21 21:24:33 +00:00
phil
34ad57a779 .Bl takes parameter "-offset indent", not "-indent". 2000-09-21 21:04:56 +00:00
jeffs
e13c3f735f In trap(), do not lower spl for T_BREAK. This lets ddb always run at
splhigh() so nothing can happen behind it's back.
2000-09-21 20:59:58 +00:00
itojun
5f3d7ea2b5 suppress debugging message in key_acquire2(). this is purely for debugging,
not useful/no interest from normal use.  KAME 1.155 -> 1.156
2000-09-21 20:35:09 +00:00
jdolecek
a82fc402d8 Fix bug in regexp handling, caused not quite complete conversion
from old expr.c. This fixes PR # 11060.

While here, convert the code to use asprintf() instead of strdup()
followed by truncating of new string and move definition of errstr
to block where it's used.
2000-09-21 20:32:24 +00:00
itojun
10cc02200a - repair too strong assumption on mbuf chain.
- correct byte lifetime computation to conform to RFC2401 p23 (use
  packet BEFORE compression)
- stabilize deflate calls
- present error messages better
2000-09-21 20:28:52 +00:00
thorpej
b008f5f25a Make PMAP_PAGEIDLEZERO() return a boolean value. FALSE indidcates
that the page being zero'd was not completed and that page zeroing
should be aborted.  This may be used by machine-dependent code doing
slow page access to reduce the latency of running a process that has
become runnable while in the middle of doing a slow page zero.
2000-09-21 17:46:04 +00:00
jsm
1fc5d09e80 Various improvements to parsing in battlestar, mostly from OpenBSD.
Define a constant WORDLEN.  Always use this constant and NWORD where
appropriate.

Use NWORD - 1 in battlestar.c to avoid off-by-one error.

Increment wordnumber after the INVEN verb to allow it to be followed
by a comma and other actions.

Avoid overflowing elements of the words array if input words are too
long.

Parse "," as AND except when followed by a verb, to allow such
constructions as "take foo, bar, and baz".  Trim AND AND which may
occur from the ", and" in such a list.

Avoid crashes from EVERYTHING in the wrong place by moving it to the
start of OBJECT AND EVERYTHING and NOUNS AND EVERYTHING sequences, and
trimming EVERYTHING AND EVERYTHING.
2000-09-21 17:44:34 +00:00
bouyer
acb9f8aefa Make change similar to msg.mi.en 1.69. From Hubert Feyrer. 2000-09-21 17:12:40 +00:00
bjh21
549a6a7445 Provide a missing ".El". 2000-09-21 15:37:09 +00:00
takemura
680c6d9cd0 Recompile pbsdboot for DoCoMo Sigmarion and NEC MC/R330.
The version number gets 1.16.1 2000.09.21.
2000-09-21 14:24:40 +00:00
takemura
454e19c166 skbd -> hpckbd. hpckbd supports vrkiu as well as m38813c and tc5165. 2000-09-21 14:17:29 +00:00
bjh21
30c323755b s/usign/using/g 2000-09-21 11:44:53 +00:00
ad
7f700a8518 Document new behaviour WRT password expiry, and Xr login.conf. 2000-09-21 11:13:06 +00:00
ad
f03c136f00 When not running as the super-user: if the user's password has expired or is
due to expire within _PASSWORD_WARNDAYS (or the setting from login.conf),
force the user to set a different password than the one they are currently
using. (Yes, it's actually worthwhile doing this.)
2000-09-21 11:11:49 +00:00
ad
82759dbdf5 Use .{B,Bs,F,N,O}x and fix miscellaneous errors. 2000-09-21 10:43:49 +00:00
jsm
6d1847f667 Don't try to wear anything that isn't OBJECT or NOUNS. Don't try to
wear DOOR or anything without a short description.  Fixes crashes on
"wear knfo" (bug reported by Peter Maydell
<pmaydell@chiark.greenend.org.uk>), "wear wear", "wear kick", "wear
door" and "wear goddess".  Partly from OpenBSD.
2000-09-21 10:38:50 +00:00
ad
d43acf7d93 Provide the option of running newsyslog at boot time; mainly for laptop
people.
2000-09-21 10:36:02 +00:00
ad
07318ea12f Document `-s' option. 2000-09-21 10:29:11 +00:00
ad
80064cab88 New option, `-s': don't bother with PID files or signals. 2000-09-21 10:27:34 +00:00
jsm
a4454d2982 If no hand-to-hand weapons are available, try using the laser to kill
in murder().  From OpenBSD.
2000-09-21 10:22:36 +00:00
ad
121d744ba2 - Document Bsx macro.
- Fx, Nx and Ox appear to be parsed and callable.
2000-09-21 10:22:17 +00:00
ad
29a800506a - Document Bsx and Ox macros.
- Add some missing TOC entries.
2000-09-21 10:20:51 +00:00
ad
94fcdfba6e KNF, const. 2000-09-21 10:17:24 +00:00
hubertf
6a676a7bb4 Note that rpcbind was formerly known as portmap. See PR 11055. 2000-09-21 10:15:33 +00:00
ad
88ec60f200 - Pull in <util.h> to get secure_path() declared.
- Resolve preprocessor symbol clash.
2000-09-21 10:15:32 +00:00
ad
bc62e61b83 Remove dup (WRT util.h) decl of secure_path(). 2000-09-21 10:13:15 +00:00
jsm
16d8e9af6f die() on EOF; based on OpenBSD. 2000-09-21 09:49:03 +00:00
jsm
956f5c6ba6 From OpenBSD: in kiss(), "take" the bathing goddess if required, and
give a better error message if the person to kiss is not present.
2000-09-21 09:48:10 +00:00
itojun
9c55bd3b1a repair infinite loop in ipcomp packet generation. oops. 2000-09-21 06:08:26 +00:00
jhawk
7f1db25a27 Revert rev 1.7, because retaining any symbols
causes fdset booting to require 2 floppy swaps.

XXX Need to deal with install(8) suggesting you can patch
vars.
2000-09-21 04:43:32 +00:00
thorpej
a429573227 Some more register definitions for the DP83815. 2000-09-21 04:05:43 +00:00
sato
2ea1ab1fbb add MC/R330.
add sigmarion.
2000-09-21 03:19:57 +00:00
sato
109c7bc1e5 regen. 2000-09-21 03:18:04 +00:00
sato
d5a2a40be6 Add NEC MC/R330.
Add DoCoMo sigmarion.
2000-09-21 03:16:10 +00:00
oster
3ee0550572 convert tsleep()->ltsleep(), which makes the kernel complain less
when compiled with LOCKDEBUG.
2000-09-21 01:45:46 +00:00
oster
014e17fbdc Correct a few calls to VOP_CLOSE(). 2000-09-21 01:37:35 +00:00
itojun
cb4931c8e7 repair cut-and-paste bug. from: francis dupont. sync with kame 2000-09-20 23:35:51 +00:00
itojun
d2c6420404 do not inject empty mbuf to zlib. 2000-09-20 23:35:16 +00:00
fvdl
76e330bdb3 Fix typo. 2000-09-20 22:59:44 +00:00
itojun
3ad679d8fd call {de,in}flateEnd on failure, otherwise obsolete state will be kept. 2000-09-20 22:34:24 +00:00
gmcgarry
69a9911e49 Fix spelling. 2000-09-20 22:08:01 +00:00
itojun
ffb333a57c plug mbuf leak (error case). need more investigation. 2000-09-20 21:43:52 +00:00
hubertf
d2c5531d61 Remove some stale debug code, OK'd by itojun 2000-09-20 21:28:51 +00:00
hubertf
10384ae3ba Doesn't it make you nervous to see a "lastchance" warning, telling you
that "your hard disk" is about to get nuked, and you are no longer sure
which of your ten disks you told sysinst to wipe?

Change this to tell you:
``Ok, we are now ready to install NetBSD on your hard disk (wd0). Nothing ...''
2000-09-20 21:21:14 +00:00
itojun
6aadfa317f on SADB_UPDATE, check SPI range only for AH/ESP, not IPComp.
endian/signedness fix for debug messages.
KAME 1.154 -> 1.155
2000-09-20 19:55:05 +00:00
hubertf
5fffd5f0c2 * Fix changing of /etc/rc.conf after the main file moved recently.
'rc_configured' is still changed via sed's s///, wscons=yes is appended
   via "echo >>".
 * make target-routines (target_expand(), and whatnot) work if no root
   disk was selected. With this, sysinst can now be used on a "normal"
   system to adjust the system's timezone. Use the entry in the "Utilities"
   menu for that.

Both changes were tested by a full i386 installation.
2000-09-20 19:53:35 +00:00
hubertf
b438f1b65b Improve wording for timezone selection menu a bit. 2000-09-20 19:46:33 +00:00
hubertf
5f9422b41a Tell people that the default values for /etc/rc.conf are in
/etc/default/rc.conf. (People moving files should care for this...)
2000-09-20 19:42:04 +00:00
agc
61daa070a6 If we're about to add a user whose specified home directory does
not exist, and the "-m" argument has not been specified, then output
a warning.
2000-09-20 19:28:40 +00:00