Bruce M Simpson
fa43ee09d4
Correct a misleading comment regarding the IPSEC_FILTERGIF option.
...
PR: 57125
Requested by: Adrian Steinmann
2004-06-22 22:02:57 +00:00
John Baldwin
becfd988a3
Update the copyright to use a 3 clause BSD license rather than one that
...
is less clear about allowing redistribution of modified copies.
Requested by: Tom Cosgrove tom dot cosgrove at arches-consulting dot com
2004-06-22 21:55:22 +00:00
John Baldwin
3c077ec681
Remove a bogus increment of %di when scanning the list of loader paths.
...
%di will already point to the character after the nul char when the
'repnz scasb' terminates.
Submitted by: Tom Cosgrove tom dot cosgrove at arches-consulting dot com
2004-06-22 21:52:20 +00:00
Bruce M Simpson
100ecbae22
Improve source-code compatibility with Linux applications using the
...
IPX stack.
PR: kern/65217
Submitted by: Radim Kolar
2004-06-22 21:46:49 +00:00
Brooks Davis
bf670bc362
Fix whitespace errors in previous commit.
...
Reported by: simon
2004-06-22 21:07:54 +00:00
Poul-Henning Kamp
fdf5c3da04
Remove the TIOCDCDTIMESTAMP option.
...
The RFC-2783 PPS-API (<sys/timepps.h>) provides better and more
configurable service.
2004-06-22 20:32:17 +00:00
Brooks Davis
3db5687d2e
Add entry for network interface cloning changes.
2004-06-22 20:28:03 +00:00
Lukas Ertl
9a98ae94ba
Fix a few spelling mistakes in comments and clean them up a bit.
2004-06-22 20:22:24 +00:00
Lukas Ertl
05344e57f6
Catch up with the dev_t -> struct cdev change.
2004-06-22 20:18:15 +00:00
Brooks Davis
4f851e29ad
Bump FreeBSD_version for if_clone overhaul.
2004-06-22 20:15:42 +00:00
Brooks Davis
f889d2ef8d
Major overhaul of pseudo-interface cloning. Highlights include:
...
- Split the code out into if_clone.[ch].
- Locked struct if_clone. [1]
- Add a per-cloner match function rather then simply matching names of
the form <name><unit> and <name>.
- Use the match function to allow creation of <interface>.<tag>
vlan interfaces. The old way is preserved unchanged!
- Also the match function to allow creation of stf(4) interfaces named
stf0, stf, or 6to4. This is the only major user visible change in
that "ifconfig stf" creates the interface stf rather then stf0 and
does not print "stf0" to stdout.
- Allow destroy functions to fail so they can refuse to delete
interfaces. Currently, we forbid the deletion of interfaces which
were created in the init function, particularly lo0, pflog0, and
pfsync0. In the case of lo0 this was a panic implementation so it
does not count as a user visiable change. :-)
- Since most interfaces do not need the new functionality, an family of
wrapper functions, ifc_simple_*(), were created to wrap old style
cloner functions.
- The IF_CLONE_INITIALIZER macro is replaced with a new incompatible
IFC_CLONE_INITIALIZER and ifc_simple consumers use IFC_SIMPLE_DECLARE
instead.
Submitted by: Maurycy Pawlowski-Wieronski <maurycy at fouk.org> [1]
Reviewed by: andre, mlaier
Discussed on: net
2004-06-22 20:13:25 +00:00
Alan Cox
9eb31321cf
Implement the protection check required by the pmap_extract_and_hold()
...
specification. This enables the elimination of Giant from that function.
Reviewed by: tegge@
2004-06-22 19:35:43 +00:00
Brian Feldman
114bf09149
Fix a problem with multiple-delivery (i.e. broadcast) in ng_bridge.
...
Only the first link0..link$NLINKS hooks would be utilized, whereas
the link hooks may be connected sparsely.
Add a counter variable so that the link hook array is only traversed
while there is still work to do, but that it continues up to the end
if it has to.
2004-06-22 18:56:47 +00:00
Lukas Ertl
1b699be2e1
No need to free the softc, because it wasn't allocated.
2004-06-22 18:13:43 +00:00
Paul Saab
6768864478
Use the maximum physical bus when rescanning those targets. This
...
fixes a panic on cards which do not have any drives attached.
2004-06-22 17:39:57 +00:00
Bruce M Simpson
171ed0933c
Fix a paste-o in key_cmpspidx_withmask().
...
PR: misc/67013
Submitted by: Zhenmin <zli4@cs.uiuc.edu>
2004-06-22 17:17:44 +00:00
David E. O'Brien
49a3940873
Adjust the system endian and a.out headers to be more MI and cross-building
...
friendly. Use the systems headers rather than local versions.
Reviewed by: ru
2004-06-22 17:05:39 +00:00
David Malone
60e52383e7
Use nanoseconds and then lexicographic ordering when the seconds of
...
the [acm]time are the same. I was going to use Scott's patch, but I
couldn't get the style quite right, so I used a patch of my own.
Submitted by: Scott Mitchell <scott+freebsd at fishballoon.org>
MFC after: 3 weeks
2004-06-22 16:02:29 +00:00
Lukas Ertl
291cb0ac69
Don't sleep in the g_down path. More error checks to come.
2004-06-22 14:54:31 +00:00
Yoshihiro Takahashi
2ed7f2ea6d
Merged from sys/dev/sio/sio.c revisions 1.439 and 1.440.
2004-06-22 12:12:10 +00:00
Yoshihiro Takahashi
a9711ba5d1
MFi386: revision 1.592.
2004-06-22 12:11:20 +00:00
Søren Schmidt
29dc49f725
Use the right ordering of args on mtx_init(). No functional changes
...
since the args in question was all zero's.
Found by: Jimmy Olgeni <olgeni@FreeBSD.org>
2004-06-22 11:18:25 +00:00
Dag-Erling Smørgrav
472d95ddf7
Whitespace cleanup.
2004-06-22 10:33:58 +00:00
Denis Peplin
ce1c898cb2
Update reference to FAQ (3.16 -> 5.3, still hardcoded)
2004-06-22 10:11:26 +00:00
Ruslan Ermilov
a36e7d1367
ng_fec(4) is not anymore incompatible with ng_ether(4).
...
Submitted by: Gleb Smirnoff
2004-06-22 09:23:31 +00:00
Oliver Eikemeier
7b89c134f9
fix handling of an unknown progeam name
...
Noticed by: Joshua Goodall <joshua@roughtrade.net>
Approved by: ru
2004-06-22 09:18:50 +00:00
Ruslan Ermilov
fbb45f8cbc
Fixed copyright owner.
2004-06-22 09:11:01 +00:00
Ruslan Ermilov
1e7c7569d8
Document the "fec" Netgraph node type.
...
Submitted by: Gleb Smirnoff
OK'ed by: julian, wpaul
2004-06-22 09:09:18 +00:00
Dag-Erling Smørgrav
ed18bbe9cb
Set up logging before trying to lock the sandbox; otherwise tbmaster(1)
...
will just log a mysterious "tinderbox returned exit code 35".
2004-06-22 08:34:46 +00:00
Christian Brueffer
889608790b
Fix typos and add spaces before `(' in some comments
...
Submitted by: markus
Approved by: njl
MFC after: 3 days
2004-06-22 08:23:26 +00:00
Lukas Ertl
3202f019e7
Catch up with g_dev_open() changes and pass over the current thread
...
pointer.
Submitted by: cperciva
2004-06-22 06:38:01 +00:00
Darren Reed
01dbed783b
revert section of code that calls netisr_queue() to match v1.33 of this file
2004-06-22 05:20:30 +00:00
Darren Reed
5e9c7ec5dc
#ifdef's for FreeBSD are wrong, causing too many variable declaractions to
...
disappear.
2004-06-22 05:16:29 +00:00
Robert Watson
5282c61738
Regenerate after updating syscalls.master.
2004-06-22 04:36:25 +00:00
Robert Watson
2ed57081a7
Mark unlink() as MPSAFE as we now acquire Giant in the unlink()
...
system call.
2004-06-22 04:34:55 +00:00
Robert Watson
9260798fd7
Acquire Giant in link() so that the system call can be marked
...
MPSAFE. Don't want to acquire Giant in kern_link() sync linux
compat code performs actions requiring Giant prior to calling
kern_link().
2004-06-22 04:34:05 +00:00
Robert Watson
7af72ad7b6
Rebuild following marking link() as MPSAFE.
2004-06-22 04:29:59 +00:00
Robert Watson
61d87ffdc0
Mark link() system call as MPSAFE.
2004-06-22 04:29:27 +00:00
Robert Watson
694b21cf7b
Acquire Giant in link() so that we can mark it as MSTD in
...
syscalls.master. Don't want to do it in kern_link() since the
Linux emulation code calls kern_link() after performing other
actions requiring Giant.
2004-06-22 04:29:07 +00:00
Robert Watson
537ca45a2e
Mark linux_emul_convpath() as GIANT_REQUIRED.
2004-06-22 04:22:34 +00:00
Robert Watson
bb7479a613
Acquire socket lock around frobbing of socket state in divert sockets.
2004-06-22 04:00:51 +00:00
Robert Watson
ffcbc0e4c5
Prefer use of the inpcb as a MAC label source for outgoing packets sent
...
via divert sockets, when available.
2004-06-22 03:58:50 +00:00
Robert Watson
fea24c0a71
Remove spl's from uipc_socket to ease in merging.
2004-06-22 03:49:22 +00:00
Darren Reed
27944d9422
one too many #endif's from the update broke the build
2004-06-22 02:44:06 +00:00
Garance A Drosehn
29d2bd4314
Get rid of a cast to '(void) ' on the return of a call to strcpy.
2004-06-22 02:18:29 +00:00
Garance A Drosehn
bdbc9a5cb9
Oops. Undo that last 'const' change. It expects similar changes to some
...
other files that I am not ready to commit yet...
2004-06-22 02:15:58 +00:00
Garance A Drosehn
db6e0b8b03
Add 'const' to a few places.
...
PR: bin/65803
Submitted by: Cyrille Lefevre
2004-06-22 02:06:42 +00:00
Garance A Drosehn
e4b70e6697
When displaying the "COMMAND" field for system-processes and/or kernel
...
threads, put the command name in square brackets instead of parenthesis.
This matches NetBSD, and also seems to be what linux does. The sentence
which is added to the man page is taken straight from NetBSD.
PR: bin/65803
Submitted by: Cyrille Lefevre
Obtained from: NetBSD
2004-06-22 01:59:54 +00:00
Scott Long
36c6fd1c0f
Fix another typo in the previous commit.
2004-06-21 23:47:47 +00:00
Poul-Henning Kamp
ec66f15d14
Put the pre FreeBSD-2.x tty compat code under BURN_BRIDGES.
2004-06-21 22:57:16 +00:00