Commit Graph

128613 Commits

Author SHA1 Message Date
Joseph Koshy
9167cd6392 - Replace the use of DPSRCS with something more appropriate. DPSRCS
is for when you need something in ".depend", but not compiled in.
- Style fixes: Spell ${.OBJDIR} as ".".
- Neaten a comment.

Submitted by:	ru
2006-11-12 18:43:25 +00:00
Bjoern A. Zeeb
2ea36b5d02 Remove some comments about NetBSD. This in on FreeBSD and we do not
want to confuse people at the very beginning.
Sync TOC/paragraph numbers in the text.

Requested by: Benedikt Stockebrand during his talk at EuroBSDCon 2006
Reviewed by: gnn
2006-11-12 18:38:07 +00:00
Hajimu UMEMOTO
da525eb2e7 Teach an IPV6CP to pppd(8).
The eui64.[ch] and ipv6cp.[ch] were taken from ppp-2.3.11.
However, our stock pppd(8) doesn't provide option_t nor some
utility functions.  So, I made some hacks to adjust to our
stock pppd(8).
The sys_bsd.c part was taken from NetBSD with some
modifications to adjust to our stock pppd(8).

MFC after:	1 week
2006-11-12 17:36:58 +00:00
Hajimu UMEMOTO
39383a88d2 This commit was generated by cvs2svn to compensate for changes in r164219,
which included commits to RCS files with non-trunk default branches.
2006-11-12 17:13:45 +00:00
Hajimu UMEMOTO
1b1804f84b Import eui64.[ch] and ipv6cp.[ch] of ppp-2.3.11 2006-11-12 17:13:45 +00:00
Andrey A. Chernov
bcb0669391 Back out 1.120, it was premature. 2006-11-12 12:02:34 +00:00
David Xu
60d4823594 Copy base user priority in NO_KSE case. 2006-11-12 11:48:37 +00:00
Kip Macy
c975898ccb GRRRRR - missed this in the last commit 2006-11-12 05:16:28 +00:00
Tom Rhodes
bedc1c9c96 Fix mispatch of includes list; allows my kernel to build successfully. 2006-11-12 03:34:03 +00:00
Kip Macy
54e57f7613 show lock class in profiling output for default case where type is not specified when initializing the lock
Approved by: scottl (standing in for mentor rwatson)
2006-11-12 03:30:01 +00:00
David Xu
812fb4a89f Use mi_switch, this should fix loadavg calculation problem in NO_KSE case. 2006-11-12 03:18:22 +00:00
Kip Macy
9d6220e622 Support up to 4 nucleus mappings to workaround issue hit by jb@ when booted
off of CD
2006-11-12 01:21:15 +00:00
Florent Thoumie
a47ca15be9 Fix USB printer Xerox WorkCentre M15 adding a quirk to bypass
reported bidirectional functionality.

PR:		usb/104704
Submitted by:	Eygene <rea-fbsd@codelabs.ru>
X-MFC after:	6.2-RELEASE
2006-11-11 23:53:25 +00:00
Ruslan Ermilov
cf31ff2692 More MUTEX_PROFILING -> LOCK_PROFILING. 2006-11-11 23:37:52 +00:00
Dag-Erling Smørgrav
bb43b6d5b6 Back out 1.122, it was poorly thought out. 2006-11-11 23:26:08 +00:00
Ruslan Ermilov
e50a1ba261 Enforce RELEASENOUPDATE if EXTSRCDIR is used.
Suggested by:	jb
2006-11-11 23:18:28 +00:00
Randall Stewart
7f34832b95 In a true restart case, the send_lock was
not being aquired. This meant that when we cleanup
the outbound we may have one in transit to be
added with the old sequence number. This is bad
since then we loose a message :(

Also the report_outbound needed to have the right
lock when its called which it did not.. I added
the lock with of course a flag since we want to
have the lock before we call it in the restart
case.

This also fixed the FIX ME case where, in the cookie
collision case, we mark for retransmit any that
were bundled with the cookie that was dropped.
This also means changes to the output routine
so we can assure getting the COOKIE-ACK sent
BEFORE we retransmit the Data.

Approved by:	gnn
2006-11-11 22:44:12 +00:00
Kris Kennaway
7926709d6d Request pre-commit review of BSD.{local,x11*}.dist by portmgr, since these
files interface with ports and we have policies for how/when they should be
updated.
2006-11-11 22:24:10 +00:00
Dag-Erling Smørgrav
d898531a74 Back out 1.121, it was premature. 2006-11-11 22:23:49 +00:00
Giorgos Keramidas
1f3d67aade Add support for filtering sockets by protocol type. The default
behavior of sockstat(1) will still be to show "udp", "tcp" and
"divert" protocols, but we can now provide a (comma-separated)
list of protocols, as in:

    % sockstat -P tcp

to list only TCP sockets, or we can filter more than one protocol
by separating the protocol names with a comma:

    % sockstat -P tcp,udp

Protocol names are parsed with getprotobyname(3), so any protocol
whose name is listed in `/etc/protocols' should work fine.

Submitted by:	Josh Carroll <josh.carroll@psualum.com>
Approved by:	des
2006-11-11 22:11:54 +00:00
Ruslan Ermilov
564739a2ef Regen (cosmetics in sys/sysproto.h). 2006-11-11 22:01:25 +00:00
Ruslan Ermilov
9f70620442 Regen.
Forgotten by:	trhodes
2006-11-11 21:49:08 +00:00
Alan Cox
cc0d48ffb6 Eliminate unused global variables. 2006-11-11 20:57:52 +00:00
Bruce A. Mah
92a36a3a0f New release note: ping(8) -W (+MFC).
MFCs noted:  fsdb(8) btime, zlib 1.2.3.
2006-11-11 19:12:52 +00:00
Christian Brueffer
9004e82868 New release notes:
if_bridge(4) RSTP support.
2006-11-11 19:06:30 +00:00
Maxim Konovalov
52fc06f0f2 o Indent by tab. 2006-11-11 18:45:20 +00:00
Maxim Konovalov
08a8d24059 o Add several regression tests for dup(2), dup2(2) and fcntl(F_DUPFD).
Obtained from:	OpenBSD
2006-11-11 18:32:50 +00:00
Joseph Koshy
3eb1a62e69 MFP4: Add an implementation of the ELF(3) and GELF(3) API set.
Bump __FreeBSD_version.

Reviewed by:	jb
2006-11-11 17:16:35 +00:00
Tom Rhodes
5416cda829 Re-enable module build for POSIX semaphores.
Update the manual page describe loading the sem module.

Approved by:	silence on -arch and -standards
2006-11-11 16:49:29 +00:00
Tom Rhodes
c4f7f0fd4a Update includes for sys/posix4 move.
Approved by:	silence on -arch and -standards
2006-11-11 16:46:31 +00:00
Bruce A. Mah
371056ed4d New release notes: SCTP, TSO, sun4v, ppp(4) IPv6 support, KSE a
kernel option.

Updated release notes:  OpenSSH 4.5p1.
2006-11-11 16:36:03 +00:00
Tom Rhodes
5d02334f97 These files have been repo-copied to the "normal" kernel hierarchy. 2006-11-11 16:29:38 +00:00
Tom Rhodes
1877aa1aa7 Merge sys/posix4/sched.h into sys/sched.h.
Approved by:	silence on -arch and -standards
2006-11-11 16:27:52 +00:00
Tom Rhodes
6aeb05d7be Merge posix4/* into normal kernel hierarchy.
Reviewed by:	glanced at by jhb
Approved by:	silence on -arch@ and -standards@
2006-11-11 16:26:58 +00:00
Tom Rhodes
bdd04ab184 Update #includes list. 2006-11-11 16:19:12 +00:00
Tom Rhodes
e191bfe6bf Forced commit to note that these files have been repo-copied from
src/sys/posix4/.

Repo-copy done by:	kuriyama
2006-11-11 16:15:35 +00:00
Randall Stewart
6a91f103b6 Turns out we would reset the TSN seq counter during
a colliding INIT. This if fine except when we have
data outstanding... we basically reset it to the
previous value it was.. so then we end up assigning
the same TSN to two different data chunks.
This patch:

1) Finds a missing lock for when we change the stream
   numbers during COOKIE and INIT-ACK processing.. we
   were NOT locking the send_buffer.. which COULD cause
   problems (found by inspection looking for <2>)

2) Fixes a case during a colliding INIT where we incorrectly
   reset the sending Sequence thus in some cases duplicately
   assigning a TSN.

3) Additional enhancments to logging so we can see strm/tsn in
   the receiver AND new tracking to watch what the sender
   is doing with TSN and STRM seq's.

Approved by:	gnn
2006-11-11 15:59:01 +00:00
Hajimu UMEMOTO
9f3b75b7b4 Teach an IPv6 to ppp(4).
Obtained from:	NetBSD
MFC after:	1 week
2006-11-11 15:02:04 +00:00
David Xu
d8efa3cc8c define UMUTEX_CONTESTED as an unsigned integer. 2006-11-11 14:00:39 +00:00
David Xu
58c7bab332 Move code calculating new inherited priority into single function. 2006-11-11 13:33:47 +00:00
David Xu
5a21514727 Unbreak userland priority inheriting in NO_KSE case. 2006-11-11 13:11:29 +00:00
Ceri Davies
9741b9d59b Remove a warning regarding disk entries in /dev.
Approved by:	ru (mentor)
MFC after:	4 days
2006-11-11 12:59:59 +00:00
Ceri Davies
8495277664 Ensure that the load of rules into the alternate ruleset worked before
loading them into the live one too.

PR:		conf/97311
Submitted by:	David Bushong
Reviewed by:	silence on rc@
Approved by:	ru (mentor)
MFC after:	10 days
2006-11-11 10:48:34 +00:00
Ceri Davies
6e92263034 Fix a pair of user-visible typos.
Approved by:	ru (mentor)
2006-11-11 10:43:11 +00:00
Ceri Davies
6de4428149 Back up /boot/kernel rather than /kernel for non-interactive upgrades.
Approved by:	ru (mentor)
MFC after:	4 days
2006-11-11 10:42:04 +00:00
Ceri Davies
c615ed418d Add /lib and /libexec to the list of directories that have the schg
flag removed prior to an upgrade.

Approved by:	ru (mentor)
MFC after:	4 days
2006-11-11 10:38:10 +00:00
Ruslan Ermilov
cd852a2996 Fix build (forgotten MUTEX_PROFILING.9 -> LOCK_PROFILING.9). 2006-11-11 08:59:34 +00:00
Ruslan Ermilov
cbdbe9c47c Replace a reference to no longer existing MUTEX_PROFILING(9) with
a LOCK_PROFILING(9).
2006-11-11 08:41:39 +00:00
Kip Macy
b10430af6b fix messup in last fix 2006-11-11 07:52:38 +00:00
Kip Macy
ed6a7c42f6 tinderbox fix 2006-11-11 07:38:48 +00:00