Commit Graph

86770 Commits

Author SHA1 Message Date
nyan
00647e3f48 MFi386: revision 1.554. 2003-02-23 13:26:21 +00:00
johan
1285e0e22b These are WARNS=2 clean, try to keep them that way. 2003-02-23 13:25:02 +00:00
nyan
34699b384d The ether_ifdetach() function requires only one argument now. 2003-02-23 13:24:26 +00:00
johan
1fe8b438d6 Remove one of two WARNS=0. 2003-02-23 13:22:41 +00:00
nyan
671c0da119 Move ar_devclass definition to if_ar.c. 2003-02-23 13:20:42 +00:00
nyan
063e374e0c Remove unneeded entries and fix indent. 2003-02-23 13:17:27 +00:00
des
7e9bb7a64d Add LINT to the target list for the test setup. 2003-02-23 12:41:32 +00:00
des
b129beb008 Add LINT to the taget list for CURRENT. 2003-02-23 12:40:21 +00:00
des
dd9279b8ca Don't try to build LINT if there is no NOTES file. 2003-02-23 12:39:25 +00:00
phk
7c7c0297c5 Mention CLOCK_MONOTONIC. 2003-02-23 10:20:23 +00:00
phk
4ddaec005d Implement CLOCK_MONOTONIC. 2003-02-23 10:18:31 +00:00
jake
8fafb8765a - Added macros PDESHIFT and PTESHIFT, use these instead of magic constants
in locore.
- Removed the macros PTESIZE and PDESIZE, use sizeof instead in C.

Sponsored by:	DARPA, Network Associates Laboratories
2003-02-23 09:45:50 +00:00
tjr
1efdc35426 Fix two unsafe uses of sprintf(). 2003-02-23 07:37:47 +00:00
sam
9da403e48c o add a CRYPTO_F_CBIMM flag to symmetric ops to indicate the callback
should be done in crypto_done rather than in the callback thread
o use this flag to mark operations from /dev/crypto since the callback
  routine just does a wakeup; this eliminates the last unneeded ctx switch
o change CRYPTO_F_NODELAY to CRYPTO_F_BATCH with an inverted meaning
  so "0" becomes the default/desired setting (needed for user-mode
  compatibility with openbsd)
o change crypto_dispatch to honor CRYPTO_F_BATCH instead of always
  dispatching immediately
o remove uses of CRYPTO_F_NODELAY
o define COP_F_BATCH for ops submitted through /dev/crypto and pass
  this on to the op that is submitted

Similar changes and more eventually coming for asymmetric ops.

MFC if re gives approval.
2003-02-23 07:25:48 +00:00
tjr
2702599ca0 Correct some err() format string bugs. 2003-02-23 06:35:33 +00:00
marcel
7e9d753cf3 Workaround for compiling LINT. Large kernels (like LINT) can have
branch targets that are too far apart for the BRADDR relocation.
This is caused by the branch prediction optimizationi in the atomic
inlines here, because they jump across sections.
The workaround is to suppress jumping to a different section when
compiling LINT. To generate correct code in that case, the section
directives are replaced by a branch and a label to deal with the
fall-through case. Reasonably good C compilers will optimize this
away anyway, so the end result isn't really that bad.
2003-02-23 06:34:21 +00:00
jwd
5a23486f36 mk file needed for 'make obj' done by $CHROOTDIR/mk 2003-02-23 06:27:21 +00:00
wollman
49ccb4d057 Add a quote from Bob Schieffer's recent book about freedom of the press. 2003-02-23 06:14:04 +00:00
marcel
3f47a37129 Fix compilation on non-i386 machines. Inconsistent conditional
compilation yielded definitions that we're used.
2003-02-23 03:39:22 +00:00
bmah
add44bfbad Add a paragraph on HyperThreading support. 2003-02-23 02:04:12 +00:00
bmah
131c27362a IPFilter has both kernel and userland components, but traditionally
we've listed updates to it in the kernel section.  Be consistent and
move its item from userland/contributed to kernel/contributed.
2003-02-23 02:01:56 +00:00
bmah
b9b170dd4c Fix some minor typos. 2003-02-23 01:59:35 +00:00
bmah
d645ea9e36 New release notes: /dev/tty fix, fstat(2) bugfix, kqueue(2)
bugfix, xl(4) bugfix, ipfw(4) skipto/log fix, non-blocking RPC fix,
mly(4) fix, smbfs bugfixes, adduser(8) passwords with special
characters, sem_open(3) multiple open fix.

All of these items are bugfixes listed in errata/article.sgml
rev. 1.27.  It seemed to me that if they were important enough to
list in the errata, they were important enough for the release notes.
2003-02-23 01:57:54 +00:00
ru
8a2a909130 Sort options. 2003-02-23 01:50:07 +00:00
ru
5ecd4995a5 Deal with vestiges of d_boot[01]. 2003-02-23 01:48:42 +00:00
ru
8b5b8ec6a7 mdoc(7) police: markup laundry. 2003-02-23 01:47:49 +00:00
ru
e69b772638 mdoc(7) police: kill unnecessary xref. 2003-02-23 01:46:25 +00:00
ru
02bba10246 mdoc(7) police: expand contraction. 2003-02-23 01:45:51 +00:00
ru
ff8af582bd mdoc(7) police: kill self-xref. 2003-02-23 01:45:25 +00:00
ru
6443b5bbe9 Punctuation. 2003-02-23 01:44:59 +00:00
ru
44b0b43515 Typo. 2003-02-23 01:44:37 +00:00
ru
26cbc7939f Fixed SYNOPSIS.
Expanded stdin/stdout definitions.
Ordered the SEE ALSO references.
Moved some chat from the BUGS section to freebsd-chat@.
Removed ``cvs log'' material from the HISTORY section.
2003-02-23 01:44:14 +00:00
ru
0fe24b2245 Grammar. 2003-02-23 01:43:45 +00:00
grehan
c2c6624864 Drop down Apple Partition Map code that has been in use by some
ppc developers for a while.

OK'd by:  phk
2003-02-23 01:25:35 +00:00
orion
4d55664d0f Fix compilation on alpha. Pointy hat to Marcel. 2003-02-23 01:06:58 +00:00
sam
87582b9c57 Add a new config option IPSEC_FILTERGIF to control whether or not
packets coming out of a GIF tunnel are re-processed by ipfw, et. al.
By default they are not reprocessed.  With the option they are.

This reverts 1.214.  Prior to that change packets were not re-processed.
After they were which caused problems because packets do not have
distinguishing characteristics (like a special network if) that allows
them to be filtered specially.

This is really a stopgap measure designed for immediate MFC so that
4.8 has consistent handling to what was in 4.7.

PR:		48159
Reviewed by:	Guido van Rooij <guido@gvr.org>
MFC after:	1 day
2003-02-23 00:47:06 +00:00
mikeh
e34fd150f8 More changes from NetBSD:
* use correct error detection of realloc failure
     * strtol negative return check
     * use strtol to validate string instead of rolling our own
       validation code
     * terminate the command sequence correctly
2003-02-23 00:24:03 +00:00
mikeh
0bf8ac731d Grab some changes from NetBSD:
fix const poisoning
     add cast to silence warning
     pull in unistd.h
2003-02-23 00:06:35 +00:00
alc
34f029068a The root of the splay tree maintained within the pm_pteobj always refers
to the last accessed pte page.  Thus, the pm_ptphint is redundant and can
be removed.
2003-02-22 23:43:08 +00:00
jake
e57fb3b9bb unsigned -> pt_entry_t.
Sponsored by:	DARPA, Network Associates Laboratories
2003-02-22 23:41:27 +00:00
jake
696c85b9bd Add a /a modifier to the show ktr ddb command, which prints the whole trace
buffer without stopping.  Useful if you just want to capture the output but
can't run ktrdump.
2003-02-22 23:30:37 +00:00
orion
0557718520 o Add back support for DXS channels.
o Make DXS3 the primary playback channel.  It may be the only
universally supported channel with the assorted revisions of this
chipset.

o Add sysctl and handler for enabling s/pdif output from DXS3.
2003-02-22 23:28:15 +00:00
mckusick
d1a87a25b8 Fix the -R flag so that it provides sequential "random" numbers
so that the regression test will succeed.

Sponsored by:   DARPA & NAI Labs.
2003-02-22 23:26:11 +00:00
grehan
9e23e010b0 Expose powerpc_mb() to user-space. Currently needed for atomic.h users,
this may go away in the future.
2003-02-22 22:58:13 +00:00
jlemon
e56303ef04 Check to see if the TF_DELACK flag is set before returning from
tcp_input().  This unbreaks delack handling, while still preserving
correct T/TCP behavior

Tested by: maxim
Sponsored by: DARPA, NAI Labs
2003-02-22 21:54:57 +00:00
johan
f1348f0233 Remove unused variable to make badsect WARNS=2 clean. 2003-02-22 21:33:42 +00:00
zarzycki
291636d3d4 Apple PR-2449102: getdomainname() doesn't document that it is NIS/YP specific 2003-02-22 19:02:23 +00:00
johan
7030319e02 Use strlcpy instead of strncpy.
Submitted by:	imp
Reviewed by:	silence on -audit
2003-02-22 18:08:34 +00:00
rwatson
2383991687 Don't panic when enumerating SYSCTL_NODE() nodes without any children
nodes.

Submitted by:	green, Hiten Pandya <hiten@unixdaemons.com>
2003-02-22 17:58:06 +00:00
bmilekic
c0bff2da93 Make xl use m_getcl() to allocate an mbuf and a cluster in one shot,
as opposed to one after the other.  This is faster in both -CURRENT
and -STABLE.  Additionally, there is less code duplication for
error-checking.

One thing to note is that this code seems to return(1) when no buffers
are available; perhaps ENOBUFS should be the correct return value?

Partially submitted & tested by: Hiten Pandya <hiten@unixdaemons.com>
MFC after: 1 week
2003-02-22 14:46:31 +00:00