Maxim Konovalov
c0c6601311
o Fix grammar.
...
PR: bin/129938
Submitted by: Bruce Cran
2008-12-26 07:16:20 +00:00
Qing Li
eef7434f0d
The "tun?" dev need not be opened at all. One is allowed to perform
...
the following operations, e.g.:
1) ifconfig tun0 create
2) ifconfig tun0 10.1.1.1 10.1.1.2
3) route add -net 192.103.54.0/24 -iface tun0
4) ifconfig tun0 destroy
If cv wait on the TUN_CLOSED flag, then the last operation (4) will
block forever.
Revert the previous changes and fix the mtx_unlock() leak.
2008-12-25 22:32:32 +00:00
Florent Thoumie
58d93e6134
Follow symlinks when deleting directories.
...
Bump PKG_INSTALL_VER to 20081225 (Merry Christmas \o/).
PR: bin/54446
Submitted by: Andrea Barberio <insomniac@slackware.it>
MFC after: 1 month
2008-12-25 16:59:35 +00:00
Florent Thoumie
24f6714d86
Add package directory for 7.1-RELEASE in head as well as stable/7.
2008-12-25 15:44:10 +00:00
Robert Watson
9c232f86ca
Following the recent security advisory, add a comment describing our
...
invariants and approach for protocol switch methods in protsw_init(),
and also some KASSERT's for non-domain init entries in protocol
switch tables: pru_abort and pru_send must both be implemented.
For now, leave those assertions #if 0'd, since there are a few
protocols that violate them in non-harmful ways. Whether or not we
should enforce pru_abort being implemented for non-stream protocols
is an interesting question: currently abort is only invoked on stream
sockets in situations where un-accepted sockets must be abruptly
closed (i.e., close() on a listen socket with pending connections),
but in principle it is useful for datagram sockets and most datagram
socket types implement it.
MFC after: 3 weeks
2008-12-25 11:32:38 +00:00
Alexander Motin
55d25fa424
Update for the last API changes.
2008-12-25 10:18:35 +00:00
Alexander Motin
5d55747e72
ng_tty(4) module updated to match the new TTY subsystem.
2008-12-25 10:05:00 +00:00
Alexander Motin
ee8b2cf02a
Rejoin ng_tty module to the build.
2008-12-25 09:32:20 +00:00
Tom Rhodes
eaca7c7bc4
Document that kldunloadf can return EINVAL.
...
PR: 125639
2008-12-25 09:15:31 +00:00
Julian Elischer
f664dcde7c
shave about 7% off the overhead of ng_ether by using per-hook
...
receive data methods.
2008-12-25 09:02:55 +00:00
Tom Rhodes
0d186272b4
Remove reference to unimplemented "-c" option.
...
PR: 119338
2008-12-25 08:48:08 +00:00
Julian Elischer
1018c6cbf9
Hook up the ether_echo node and fix the man page
2008-12-25 07:34:14 +00:00
Tom Rhodes
2293dac2ac
Print a warning when blackhole and reject are used together.
...
Update arp.8 manual page syntax.
PR: 125896
Submitted by: Marc Olzheim <marcolz@stack.nl>
Approved by: sam
2008-12-25 06:44:19 +00:00
Weongyo Jeong
46e6dd8ffb
fix a silly bug that I missed a for-loop to initialize AL2230S PHY.
...
Reported by: Hans Petter Selasky <hselasky_at_c2i.net>
2008-12-25 04:29:40 +00:00
Kip Macy
a76e397b3b
- Close a race during which the open flag could be cleared but the tun_softc would still be referenced
...
by adding a separate TUN_CLOSED flag that is set after tunclose is done referencing it.
- drop the tun_mtx after the flag check to avoid holding it across if_detach which can recurse in to
if_tun.c
2008-12-25 02:14:25 +00:00
Julian Elischer
a0b5197620
Add a trivial node to reflect ethernet frames to whence they came.
...
MFC after: 1 month
2008-12-25 00:01:29 +00:00
Robert Watson
a8879d0d7d
In ugidfw(8), print the rule number and rule contents (as parsed and then
...
regenerated in libugidfw) rather than simply printing that the rule was
added with only the number. This makes ugidfw(8) behave a bit more like
ipfw(8), and also means that the administrator sees how the rule was
interpreted once uids/gids/etc were processed.
Obtained from: TrustedBSD Project
2008-12-24 22:40:13 +00:00
Bruce M Simpson
c494cd1e77
Add macro RB_FOREACH_SAFE(), which accepts an additional argument
...
specifying a temporary tree node pointer. It may be used in a
similar way to the *_SAFE() macros in <sys/queue.h>.
2008-12-24 19:57:22 +00:00
Tom Rhodes
138f7e4b30
Apply various fixes:
...
Silence mdoc(7) warnings;
Xref correct manual pages;
Point user to the ddb.8 manual page.
PR: 129398
Submitted by: gavin
2008-12-24 11:12:21 +00:00
Tom Rhodes
c92f699693
Update the description of -k, output files appear to
...
be left regardless of an error, signal, or complete
run.
PR: 69861
Submitted by: vlad902@gmail.com
2008-12-24 10:08:39 +00:00
Tom Rhodes
5d8e279e37
Fix a typo higter->higher.
...
Spotted by: ganbold
2008-12-24 09:17:30 +00:00
Sam Leffler
370e677c29
must pack structures for architectures like arm
...
Reviewed by: thompsa
2008-12-24 06:59:07 +00:00
Kip Macy
5e96c0a13e
Fix missed unlock and reference drop of lle
...
Found by: pho
2008-12-24 05:31:26 +00:00
David E. O'Brien
defc9d504b
Garbage collect 'fflags'.
2008-12-24 03:07:19 +00:00
Kip Macy
ee6326a30b
avoid lock recursion by deferring the link check until after LLE lock is dropped
2008-12-24 01:08:18 +00:00
Maksim Yevmenkin
8c975889a8
Change message severity level from WARN to INFO. This should reduce
...
amount of messages sent to syslog
MFC after: 1 week
2008-12-24 00:00:52 +00:00
Robert Noland
b2dc68697e
Only set registers if irqs are enabled
...
Approved by: kib
Obtained from: drm git
2008-12-23 22:53:57 +00:00
Doug Barton
125f2ee5e9
Update bmake glue for changes in 9.4.3
2008-12-23 22:51:10 +00:00
Doug Barton
d851678b62
Updates for version 9.4.3
2008-12-23 22:50:39 +00:00
Doug Barton
514216e8d6
Merge from vendor/bind9/dist as of the 9.4.3 import
2008-12-23 22:47:56 +00:00
Marcel Moolenaar
74aed9855d
Add support for the FPA floating-point format on ARM. The
...
FPA floating-point format is identical to the VFP format,
but is always stored in big-endian.
Introduce _IEEE_WORD_ORDER to describe the byte-order of
the FP representation.
Obtained from: Juniper Networks, Inc
2008-12-23 22:20:59 +00:00
Joe Marcus Clarke
4769218f4b
Do not KASSERT when vp->v_dd is NULL. Only directories which have had ".."
...
looked up would have v_dd set to a non-NULL value. This fixes a panic
seen when running installworld on a diskless system with a separate /usr
file system.
Submitted by: cracauer
Approved by: kib
2008-12-23 20:43:42 +00:00
George V. Neville-Neil
e39eeac77b
Add a new program, ether_reflect, which is useful in testing ethernet
...
devices and switches.
2008-12-23 20:25:04 +00:00
George V. Neville-Neil
d541033521
Fix a bug in the man page where we were not showing the correct flags
...
in the explanation. Several of the flags were -i, since it was a copy/paste
operation.
2008-12-23 20:07:51 +00:00
Konstantin Belousov
86dcb537c9
Keep the hold on the vnode during VOP_VPTOCNP() call, allowing the vop
...
implementation to drop vnode lock, if needed.
Reported and tested by: pho
2008-12-23 20:04:31 +00:00
Andrew Thompson
ac4b4c24ac
Remove CALLOUT_RETURNUNLOCKED from the callouts, there is no reason for them to
...
drop the lock for us.
2008-12-23 19:59:21 +00:00
George V. Neville-Neil
b638482b2c
Add the mctest program and description to the README.
2008-12-23 19:46:12 +00:00
Doug Barton
7e21e83320
The lib/bind directory has its own configure script. Update accordingly.
2008-12-23 19:19:45 +00:00
Doug Barton
a5ab4ac13e
Vendor import of BIND 9.4.3
2008-12-23 19:18:41 +00:00
Doug Barton
387c038fad
Update copyrights and comments as of 9.4.3 (no functional changes)
2008-12-23 19:15:04 +00:00
Doug Barton
2fabdf5789
Vendor import of BIND 9.4.3
2008-12-23 18:35:21 +00:00
Doug Barton
e086bf114f
Minor tweak to reflect my actual process.
2008-12-23 18:31:38 +00:00
Doug Barton
b24bc820c2
This directory was added to src/contrib/bind9 prior to the svn move so
...
that BIND 9.4.1 could compile and run on the ARM platform, but is not
part of the vendor source. It will remain in src/contrib/bind9 since
it is a local modification.
2008-12-23 18:30:32 +00:00
Tom Rhodes
d194e583b6
Netgroup database can be centralized via NIS, list it.
...
Add a missing comma and bump doc date.
PR: 127602
Submitted by: Dmitry Sivachenko <mitya@yandex-team.ru>
2008-12-23 18:00:33 +00:00
David E. O'Brien
11a2f37eed
Make signal handler safer.
...
Submitted by: Jaakko Heinonen <jh@saunalahti.fi>
2008-12-23 17:57:17 +00:00
Sam Leffler
cd5c694a56
move IXP4XX EHCI bus shim to the usb directory and rename
2008-12-23 17:40:02 +00:00
Tom Rhodes
5b34e7083c
Add "crit" to the list of keywords.
...
PR: 126934
2008-12-23 17:39:24 +00:00
Andrew Thompson
cf4d7cfcc5
Name the bus mutex by the controller name, this allows each bus to be
...
distinguished in lock profiling, etc.
2008-12-23 17:36:25 +00:00
Bjoern A. Zeeb
8c639779f4
pr_pfh has been gone from protosw since r120386 (more than 5 years ago).
...
MFC after: 4 weeks
2008-12-23 16:54:00 +00:00
Bjoern A. Zeeb
f3b28b6bfb
Remove long unused netinet/ipprotosw.h (basically since r82884).
...
Discussed with: rwatson
MFC after: 4 weeks
2008-12-23 16:52:03 +00:00