Commit Graph

179549 Commits

Author SHA1 Message Date
lukem 6978bdec0e fix sign-compare issues 2009-04-11 07:20:09 +00:00
lukem 9e6bf7d7cc fix sign-compare issue 2009-04-11 07:16:30 +00:00
lukem a2b5923e3e fix sign-compare issues 2009-04-11 06:59:18 +00:00
lukem cefb0777de fix sign-compare issues 2009-04-11 06:48:36 +00:00
perry e4c34b0c5f SAVENAME was not set for rename and delete as required
Patch from christos, fixes pr 41183
2009-04-11 00:21:57 +00:00
tsutsui 20bc92487c Fix typo. 2009-04-10 23:30:57 +00:00
wiz 24e269dafa Split Nm over two lines. 2009-04-10 23:24:35 +00:00
wiz dfc0d0bdf2 Drop trailing whitespace. 2009-04-10 23:22:30 +00:00
christos 53439fb0dd bump libc for memrchr and glob_pattern_p 2009-04-10 23:19:26 +00:00
christos 6a466e7b71 add memrchr 2009-04-10 23:16:30 +00:00
christos 5207347451 Add a special lint stub for __sigaction14 which broke when we switched
to sigaction_sigtramp.
2009-04-10 23:14:58 +00:00
christos d4bf2b400d take the opportunity of the glob_pattern_p and add memrchr. 2009-04-10 23:14:07 +00:00
christos 3cf907e2b2 add memrchr 2009-04-10 23:13:38 +00:00
perry ce40f4f667 add (commented out) options LOCKDEBUG 2009-04-10 23:01:46 +00:00
perry 108f1637cb add commented out LOCKDEBUG 2009-04-10 23:00:53 +00:00
christos 84e3ca2d14 add memrchr 2009-04-10 23:00:52 +00:00
perry 167ca18cb2 LOCKDEBUG docs. Written by joerg. 2009-04-10 22:58:33 +00:00
ad 9f19801f75 add boilerplate missed in initial commit 2009-04-10 22:29:30 +00:00
ad d4b3790270 update for logging 2009-04-10 22:28:48 +00:00
ad 4caa909fff softdep is gone 2009-04-10 22:26:10 +00:00
ad 48f3755607 Sync with reality and be a bit less literal. 2009-04-10 21:30:24 +00:00
ad 81e91ba313 Remove ref to WAPBL_DEBUG_SERIALIZE. 2009-04-10 21:14:14 +00:00
perry f6bc268dff Make this reflect reality more -- next-server is necessary, there is
now this boot.cfg thing, etc. Also add a reasonable hint on how to set
up dhcp for booting install kernels via tftp.
2009-04-10 21:11:28 +00:00
perry 10604079d9 Check the size of the offered boot.cfg file. Bail out if it is larger
than 32k.

A bootconf file is normally only a few hundred bytes long. If it is
much bigger than expected, we can't load it into an 8086 real mode
segment anyway.

Much more to the point, in the pxeboot case, someone may have
configured their dhcpd to return the filename for the kernel, not
realizing that the filename is now for boot.cfg which didn't used to
be the case. If we try to load the kernel here, thinking it is
boot.cfg by accident, the boot loader will die ignominiously and
without much of an error message, so we don't want to do that.

This needs to be pulled up to 5.0 if 5.0 has all this machinery
-- I'm not sure whether it does.
2009-04-10 19:41:41 +00:00
bouyer 615c2e4e8d PR kern/41154: possible races in NFS server code
Fix some of the races (but probably not all of them) in the NFS server code.
nfssvc_nfsd(): change a splsoftclock()/spx() to mutex_enter/exit(&nfsd_lock)
 (I guess it was forgotten when the nfsd code was made SMP safe)
m_freem(nd_nam) in nfsrv_slpderef() instead of nfsrv_zapsock() to
 avoid possible use after free in nfssvc_nfsd()
Fix nfsrv_slpderef() to not release  nfsd_lock before testing SLP_VALID
 and reaquiring it just after. This could cause a use after free
 of the slp if one thread is in nfsrv_slpderef() and the other one grabs
 slp from nfssvc_sockpending and zap it.
2009-04-10 19:04:14 +00:00
bouyer 2f4b50f71c PR kern/41158: nfs_rename() locking against myself
nfsrv_rename() can exit without calling genfs_renamelock_exit() because
the nfsm_reply() can do return (0) on error.
Change nfsm_reply to use 'error = 0; goto nfsmout' instead.
Fix a few place so it's safe to goto nfsmout from nfsm_reply, or other
macros calling it.
As a side effect it could fix a missing vrele(dirp) in various place where
nfsm_reply could return(0).
2009-04-10 18:58:50 +00:00
wiz eb506f3e76 New sentence, new line. Use Sq for quoting single characters. Quote <> for
HTML. Whitespace fix.
2009-04-10 18:18:22 +00:00
wiz c1b6a79f1e New sentence, new line. Add RCS Id. Punctuation. 2009-04-10 18:15:26 +00:00
dyoung 1e6430c160 Use a PMF shutdown hook instead of shutdownhook_establish(). This ought
to stop the crash during shutdown that yamt@ reports in kern/41182.
2009-04-10 17:36:42 +00:00
joerg f758fd1284 Remove manual spacing. 2009-04-10 17:14:07 +00:00
joerg 862dc79d1d Use .Pp in SEE ALSO instead of .br. 2009-04-10 17:08:32 +00:00
joerg 9b09f83a36 Tweak markup. 2009-04-10 17:07:15 +00:00
bouyer f331ab29d9 fix Xorg build on alpha:
- don't build/install drivers that are x86-specific
- add extra files to sets lists.
2009-04-10 17:00:44 +00:00
joerg 760b4799c4 Add rc_directories to specify where to look for rc scripts.
For the moment all scripts must be in /root and non-existent directories
are skipped.
2009-04-10 16:18:04 +00:00
apb 91fe922f05 Add LINKSOWN, LINKSGRP, and LINKSMODE variables for use by bsd.links.mk
when installing hard links.  They have no effect except when using a
metalog, in which case the information is added to the metalog.  In
the future, these variables may be replaced by a method for explicitly
recording hard links in a metadata log.

Also change a few things that called ${INSTALL_LINK} without going
through bsd.links.mk.

Reviewed by perry and joerg.  This should fix PR 24457 and PR 41155.
2009-04-10 16:16:12 +00:00
bouyer b6373695b9 Revert accidental switch of alpha to Xorg. We don't have the XdecNetBSD
and XalphaNetBSD drivers in xorg yet.
Fixes release build for alpha.
2009-04-10 16:14:54 +00:00
joerg 0ddbe25c6d Quote + using \&+, not \+. 2009-04-10 15:28:24 +00:00
joerg b9bcc8d926 Fix missing quote. 2009-04-10 15:23:31 +00:00
joerg 8ac31712af Improve markup. 2009-04-10 15:23:02 +00:00
joerg 35dbfb46ae Fix missing quote. 2009-04-10 15:22:24 +00:00
joerg 497a9e953f Don't force line breaks, .It already does that. 2009-04-10 15:21:09 +00:00
joerg 8af8b775fe Fix missing quote. 2009-04-10 15:19:21 +00:00
joerg c4b5640b2b Use .It "" instead of .br, they are different logical lines.
Don't use .Xo/.Xc to work around ancient macro argument limit.
2009-04-10 15:16:06 +00:00
joerg e3f8cea2e7 Add missing quote. 2009-04-10 15:15:10 +00:00
joerg d0835e27ec No offset, no -offset. 2009-04-10 15:14:06 +00:00
joerg 330aff3e67 Improve markup. 2009-04-10 15:11:41 +00:00
joerg 9cfdf0ccd3 Quote non-macro as argument to .It. 2009-04-10 15:09:26 +00:00
joerg 54bb6a60ae Remove redundant, misspelled .Pp. Terminate .Rs. 2009-04-10 15:09:08 +00:00
joerg c2d5fab96a Use paragraphs instead of .br. 2009-04-10 15:07:08 +00:00
joerg 8c31ac9a75 Don't use conditional macros to comment out parts of the FreeBSD man
page, just use comments. Use proper table markup. Improve spacing.
2009-04-10 15:05:06 +00:00