]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
17 years agoUpdate bthidd(8) code and hook it up to the build.
emax [Thu, 7 Sep 2006 21:47:49 +0000 (21:47 +0000)]
Update bthidd(8) code and hook it up to the build.
bthidd(8) now was integrated with vkbd(4) and supports
multiple keyboards via vkbd(4)/kbdmux(4).

The code was tested with Apple Bluetooth keyboard and
SE k700i cell phone (remote control feature).

MFC after: 1 month

17 years agoWhile experimenting with cross-building by specifying just TARGET,
ru [Thu, 7 Sep 2006 20:27:56 +0000 (20:27 +0000)]
While experimenting with cross-building by specifying just TARGET,
I found one bug.  Pass our idea of TARGET_ARCH and TARGET down to
XMAKE, the cross-tools make.  Previously it worked because usually
TARGET_ARCH was specified on the initial make's command line.
This should also allow us to simplify the "universe" target, which
I'm currently testing.

17 years agoFixed the -# option to work as documented in a manpage.
ru [Thu, 7 Sep 2006 19:48:52 +0000 (19:48 +0000)]
Fixed the -# option to work as documented in a manpage.

17 years agoAdded timestamping to buildworld, similar to buildkernel.
ru [Thu, 7 Sep 2006 19:36:16 +0000 (19:36 +0000)]
Added timestamping to buildworld, similar to buildkernel.

17 years agoChange the class from uint8_t to int8_t so people can filter on >0
ambrisko [Thu, 7 Sep 2006 19:32:05 +0000 (19:32 +0000)]
Change the class from uint8_t to int8_t so people can filter on >0
events.

17 years agoNew release notes: SA-06:19.openssl, SA-06:20.bind.
bmah [Thu, 7 Sep 2006 18:58:19 +0000 (18:58 +0000)]
New release notes:  SA-06:19.openssl, SA-06:20.bind.

Modified release notes:  BIND 9.3.2-P1.

MFCs noted:  GCC 3.4.6.

17 years agoAll multicast listeners on a port should get one copy of the packet. This
jhay [Thu, 7 Sep 2006 18:44:54 +0000 (18:44 +0000)]
All multicast listeners on a port should get one copy of the packet. This
was broken during the locking changes.

17 years agoChange the event log dump on initial boot to use get_event versus
ambrisko [Thu, 7 Sep 2006 18:40:49 +0000 (18:40 +0000)]
Change the event log dump on initial boot to use get_event versus
AEN.  This makes the boot messages cleaner.  I now know how this
structure works so I can implement it versus guessing.  Remove the
not ready type code since it is ready now.

I added the time stamp/locale/class so people can parse messages better.
Create a sysctl so that we can set the locale/class level.

17 years agoPrepare for upcoming bthidd(8) update. Install vkbd(4) header into dev/vkbd.
emax [Thu, 7 Sep 2006 18:24:24 +0000 (18:24 +0000)]
Prepare for upcoming bthidd(8) update. Install vkbd(4) header into dev/vkbd.

MFC after: 1 month

17 years agoChase revision 1.10 in usage string and a comment.
ceri [Thu, 7 Sep 2006 17:10:26 +0000 (17:10 +0000)]
Chase revision 1.10 in usage string and a comment.

17 years ago- Rewrite logic to guess TARGET_ARCH/TARGET to be more readable,
ru [Thu, 7 Sep 2006 16:41:30 +0000 (16:41 +0000)]
- Rewrite logic to guess TARGET_ARCH/TARGET to be more readable,
  but without changes in behavior.

- Add sanity checking for TARGET_ARCH/TARGET.

17 years agoUse a single constant to define the sizes of the physmap[], phys_avail[],
jhb [Thu, 7 Sep 2006 15:03:02 +0000 (15:03 +0000)]
Use a single constant to define the sizes of the physmap[], phys_avail[],
and dump_avail[] arrays so they are in sync (previously it was possible
to store more entries in the physmap[] then we could store in phys_avail[],
which was pointless).  While I'm here, bump up the length of these tables
to hold 30 entries on amd64 and 16 on i386.  This allows machines with
fairly fragmented memory maps to boot ok (at least one machine would
not boot FreeBSD/i386 but would boot FreeBSD/amd64 because amd64 allowed
for more fragments).

MFC after: 3 days

17 years agoBack when we had T/TCP support, we used to apply different
ru [Thu, 7 Sep 2006 13:06:00 +0000 (13:06 +0000)]
Back when we had T/TCP support, we used to apply different
timeouts for TCP and T/TCP connections in the TIME_WAIT
state, and we had two separate timed wait queues for them.
Now that is has gone, the timeout is always 2*MSL again,
and there is no reason to keep two queues (the first was
unused anyway!).

Also, reimplement the remaining queue using a TAILQ (it
was technically impossible before, with two queues).

17 years agoSecond step of TSO (TCP segmentation offload) support in our network stack.
andre [Thu, 7 Sep 2006 12:53:01 +0000 (12:53 +0000)]
Second step of TSO (TCP segmentation offload) support in our network stack.

TSO is only used if we are in a pure bulk sending state.  The presence of
TCP-MD5, SACK retransmits, SACK advertizements, IPSEC and IP options prevent
using TSO.  With TSO the TCP header is the same (except for the sequence number)
for all generated packets.  This makes it impossible to transmit any options
which vary per generated segment or packet.

The length of TSO bursts is limited to TCP_MAXWIN.

The sysctl net.inet.tcp.tso globally controls the use of TSO and is enabled.

TSO enabled sends originating from tcp_output() have the CSUM_TCP and CSUM_TSO
flags set, m_pkthdr.csum_data filled with the header pseudo-checksum and
m_pkthdr.tso_segsz set to the segment size (net payload size, not counting
IP+TCP headers or TCP options).

IPv6 currently lacks a pseudo-header checksum function and thus doesn't support
TSO yet.

Tested by: Jack Vogel <jfvogel-at-gmail.com>
Sponsored by: TCP/IP Optimization Fundraise 2005

17 years agoRemove a microoptimization for i386 that was a micropessimization for amd64.
ru [Thu, 7 Sep 2006 09:49:08 +0000 (09:49 +0000)]
Remove a microoptimization for i386 that was a micropessimization for amd64.

17 years agoFix the markup.
ru [Thu, 7 Sep 2006 08:31:59 +0000 (08:31 +0000)]
Fix the markup.

Prompted by: imp

17 years agomake "make TARGET=foo" work correctly. Before, it would fail to set
imp [Thu, 7 Sep 2006 07:37:16 +0000 (07:37 +0000)]
make "make TARGET=foo" work correctly.  Before, it would fail to set
TARGET_ARCH correctly.  Now it does, even for pc98.  We should suggest
TARGET=foo in preference to TARGET_ARCH because the former is
unambiguous and the latter isn't, so update the docs.

This means that a long standing gripe I've had with this comes to a
close.  I can build pc98 w/o specify both things.  make TARGET=arm
works (rather than trying to build a arm:amd64 image and dying badly
in the attempt).

If you specify only TARGET_ARCH, then you get the old behavior.

# we can likely simplify the UNIVERSE target now to use this, but I'm not
# up for breaking that tonight :-).

# We should consider adding some kind of sanity check for TARGET_ARCH
# and TARGET.

17 years agomore usb fallout changes
mjacob [Thu, 7 Sep 2006 06:18:34 +0000 (06:18 +0000)]
more usb fallout changes

17 years agoStatic -> static.
mjacob [Thu, 7 Sep 2006 06:00:03 +0000 (06:00 +0000)]
Static -> static.

17 years agoCatch up with USB changes, device_ptr_t was removed, we need device_t here.
trhodes [Thu, 7 Sep 2006 05:34:04 +0000 (05:34 +0000)]
Catch up with USB changes, device_ptr_t was removed, we need device_t here.

17 years agoCatch up to USB changes.
scottl [Thu, 7 Sep 2006 05:21:52 +0000 (05:21 +0000)]
Catch up to USB changes.

17 years agoRemove old debugging code from the interrupt handler.
scottl [Thu, 7 Sep 2006 05:05:41 +0000 (05:05 +0000)]
Remove old debugging code from the interrupt handler.

17 years agoMore removing compatibility macros.
imp [Thu, 7 Sep 2006 00:06:42 +0000 (00:06 +0000)]
More removing compatibility macros.

md5 still the same.

"Dave, stop.  I feel my mind slipping away." -- hal

17 years agoOnly include FreeBSD defines. This file is slated to go to the happy
imp [Wed, 6 Sep 2006 23:49:36 +0000 (23:49 +0000)]
Only include FreeBSD defines.  This file is slated to go to the happy
hunting ground in the sky.

Also, remove the #defines OBE.

17 years agos/Static/static/g
imp [Wed, 6 Sep 2006 23:44:25 +0000 (23:44 +0000)]
s/Static/static/g
s/device_ptr_t/device_t/g

No md5 changes in the .o's

# Note to the md5 tracking club: $FreeBSD$ changes md5 after every commit
# so you need to checkout -kk to get $FreeBSD$ instead of the actual value
# of the keyword.

17 years agoMore antideclarification.
imp [Wed, 6 Sep 2006 23:29:53 +0000 (23:29 +0000)]
More antideclarification.

md5 still the same after all these years (and after -g was removed).

17 years agoReserve a precious 16bit gap in the mbuf pkthdr struct for ethernet 802.1pq
andre [Wed, 6 Sep 2006 22:33:49 +0000 (22:33 +0000)]
Reserve a precious 16bit gap in the mbuf pkthdr struct for ethernet 802.1pq
vlan tags.

17 years agoMake TSO (TCP segmentation offload) capabilities visible and accessible with
andre [Wed, 6 Sep 2006 22:07:14 +0000 (22:07 +0000)]
Make TSO (TCP segmentation offload) capabilities visible and accessible with
'ifconfig em0 tso' and 'ifconfig em0 -tso'.  TSO for IPv4 and IPv6 is always
enabled or disabled together.  The driver may enable only one if it doesn't
support both.

Document 'tso' and '-tso' in the ifconfig(8) man pages.

Sponsored by: TCP/IP Optimization Fundraise 2005

17 years agoUnbreak in the case when device apic is compiled into non-SMP kernel.
sobomax [Wed, 6 Sep 2006 22:05:34 +0000 (22:05 +0000)]
Unbreak in the case when device apic is compiled into non-SMP kernel.

Reported by: jhay
MFC after: 2 weeks

17 years agoUse sysctl_handle_long() instead of duplicating it's logic for
jhb [Wed, 6 Sep 2006 21:59:36 +0000 (21:59 +0000)]
Use sysctl_handle_long() instead of duplicating it's logic for
kern.ipc.maxsockbuf so that this sysctl works for 32-bit binaries running
on amd64 via compat/freebsd32.

MFC after: 3 days

17 years agoRemove the portibility layer goo.
imp [Wed, 6 Sep 2006 21:53:28 +0000 (21:53 +0000)]
Remove the portibility layer goo.
Produces the same .o as before.

md5 by: /sbin/md5

17 years agoFirst step of TSO (TCP segmentation offload) support in our network stack.
andre [Wed, 6 Sep 2006 21:51:59 +0000 (21:51 +0000)]
First step of TSO (TCP segmentation offload) support in our network stack.

 o add IFCAP_TSO[46] for drivers to announce this capability for IPv4 and IPv6
 o add CSUM_TSO flag to mbuf pkthdr csum_flags field
 o add tso_segsz field to mbuf pkthdr
 o enhance ip_output() packet length check to allow for large TSO packets
 o extend tcp_maxmtu[46]() with a flag pointer to pass interface capabilities
 o adjust all callers of tcp_maxmtu[46]() accordingly

Discussed on: -current, -net
Sponsored by: TCP/IP Optimization Fundraise 2005

17 years agoMostly re-write man page to reflect current state of this interface.
imp [Wed, 6 Sep 2006 21:43:55 +0000 (21:43 +0000)]
Mostly re-write man page to reflect current state of this interface.
Warn of races.

# Doc police: Please review

17 years agoThis commit was generated by cvs2svn to compensate for changes in r162079,
dougb [Wed, 6 Sep 2006 21:27:11 +0000 (21:27 +0000)]
This commit was generated by cvs2svn to compensate for changes in r162079,
which included commits to RCS files with non-trunk default branches.

17 years agoVendor import of BIND 9.3.2-P1, which addresses the following security
dougb [Wed, 6 Sep 2006 21:27:11 +0000 (21:27 +0000)]
Vendor import of BIND 9.3.2-P1, which addresses the following security
vulnerabilities:

http://www.niscc.gov.uk/niscc/docs/re-20060905-00590.pdf?lang=en
2066.  [security]      Handle SIG queries gracefully. [RT #16300]

http://www.kb.cert.org/vuls/id/697164
1941.  [bug]           ncache_adderesult() should set eresult even if no
                       rdataset is passed to it. [RT #15642]

All users of BIND 9 are encouraged to upgrade to this version.

17 years agojhb points out that these mallocs don't need to be checked because
imp [Wed, 6 Sep 2006 20:22:43 +0000 (20:22 +0000)]
jhb points out that these mallocs don't need to be checked because
of M_WAITOK.

17 years agoWhile convenient, avoid using alloca() for reasons specified in
ru [Wed, 6 Sep 2006 20:15:43 +0000 (20:15 +0000)]
While convenient, avoid using alloca() for reasons specified in
the BUGS section of the alloca(3) manpage.  In particular, when
the number of TCP sockets is several tens of thousand, trying to
"sysctl -a" would SIGSEGV on the net.inet.tcp.pcblist entry (it
would exceed the stacksize ulimit, in an undetectable manner).

Reported by: Igor Sysoev

17 years agoMFp4: check the return value of malloc and report an error when invalid.
imp [Wed, 6 Sep 2006 19:46:02 +0000 (19:46 +0000)]
MFp4: check the return value of malloc and report an error when invalid.

17 years agoCheck inp_flags instead of inp_vflag for INP_ONESBCAST flag.
andre [Wed, 6 Sep 2006 19:04:36 +0000 (19:04 +0000)]
Check inp_flags instead of inp_vflag for INP_ONESBCAST flag.

PR: kern/99558
Tested by: Andrey V. Elsukov <bu7cher-at-yandex.ru>
Sponsored by: TCP/IP Optimization Fundraise 2005
MFC after: 3 days

17 years agoImprove description of if_capabilities, if_capenable and ifi_hwassist.
andre [Wed, 6 Sep 2006 18:06:04 +0000 (18:06 +0000)]
Improve description of if_capabilities, if_capenable and ifi_hwassist.

Sponsored by: TCP/IP Optimization Fundraise 2005

17 years agoFix stateful filtering of loopback IPv6 traffic to an address not configured
mlaier [Wed, 6 Sep 2006 17:19:45 +0000 (17:19 +0000)]
Fix stateful filtering of loopback IPv6 traffic to an address not configured
on lo0.  While here fix a comment.

PR: kern/102647
Reported by: Frank Steinborn
Submitted by: suz (earlier version)
MFC after: 3 days

17 years agoFix the socket option IP_ONESBCAST by giving it its own case in ip_output()
andre [Wed, 6 Sep 2006 17:12:10 +0000 (17:12 +0000)]
Fix the socket option IP_ONESBCAST by giving it its own case in ip_output()
and skip over the normal IP processing.

Add a supporting function ifa_ifwithbroadaddr() to verify and validate the
supplied subnet broadcast address.

PR: kern/99558
Tested by: Andrey V. Elsukov <bu7cher-at-yandex.ru>
Sponsored by: TCP/IP Optimization Fundraise 2005
MFC after: 3 days

17 years agoRemove leading zeros
brian [Wed, 6 Sep 2006 15:58:59 +0000 (15:58 +0000)]
Remove leading zeros

Suggested by: mdoc police (ru)

17 years agoRemove call to fdfree() for the AIO daemons to prevent kernel panics
mp [Wed, 6 Sep 2006 15:11:20 +0000 (15:11 +0000)]
Remove call to fdfree() for the AIO daemons to prevent kernel panics
with linprocfs. This call is not needed since file descriptor sharing
was removed in v1.125.

Reviewed by: alc, davidxu, ambrisko
MFC after: 3 days

17 years agoRefine previous revision to allow acpi_wakecode.h to be safely built
ru [Wed, 6 Sep 2006 14:23:40 +0000 (14:23 +0000)]
Refine previous revision to allow acpi_wakecode.h to be safely built
from both the acpi module build directory and a kernel build directory.
The latter didn't work when one attempted to build a kernel which had
"device acpi" with the "make kernel-toolchain buildkernel" command
because a cross-compiler couldn't find anything in the standard system
include path (it's empty in the kernel-toolchain case).

Fix this by passing a better root path to kernel headers (src/sys)
which works for both cases, kernel and module (-I@ only worked for
module).

Also, while here, pass -nostdinc (and a different spelling for icc) --
it's a feature that the kernel source tree is self-contained, and this
change enforces this.

Reported by: glebius

17 years agoo Backout rev. 1.125 of in_pcb.c. It appeared to behave extremely
glebius [Wed, 6 Sep 2006 13:56:35 +0000 (13:56 +0000)]
o Backout rev. 1.125 of in_pcb.c. It appeared to behave extremely
  bad under high load. For example with 40k sockets and 25k tcptw
  entries, connect() syscall can run for seconds. Debugging showed
  that it iterates the cycle millions times and purges thousands of
  tcptw entries at a time.
  Besides practical unusability this change is architecturally
  wrong. First, in_pcblookup_local() is used in connect() and bind()
  syscalls. No stale entries purging shouldn't be done here. Second,
  it is a layering violation.
o Return back the tcptw purging cycle to tcp_timer_2msl_tw(),
  that was removed in rev. 1.78 by rwatson. The commit log of this
  revision tells nothing about the reason cycle was removed. Now
  we need this cycle, since major cleaner of stale tcptw structures
  is removed.
o Disable probably necessary, but now unused
  tcp_twrecycleable() function.

Reviewed by: ru

17 years agoRemove __DATE__ so that compiling the same source produces the same binary
brian [Wed, 6 Sep 2006 06:33:39 +0000 (06:33 +0000)]
Remove __DATE__ so that compiling the same source produces the same binary
(for non-static binaries at least).

17 years agoIf the peer REJects our MRU request and that request is for a value
brian [Wed, 6 Sep 2006 06:23:55 +0000 (06:23 +0000)]
If the peer REJects our MRU request and that request is for a value
less than the current MTU, set our mtu to the value requested.

17 years agoReplace internal usage of struct umtx with umutex which can supports
davidxu [Wed, 6 Sep 2006 04:04:10 +0000 (04:04 +0000)]
Replace internal usage of struct umtx with umutex which can supports
real-time if we want, no functionality is changed.

17 years agoThe poison pill of death: adding a target mode reply handler and target
mjacob [Tue, 5 Sep 2006 23:53:07 +0000 (23:53 +0000)]
The poison pill of death: adding a target mode reply handler and target
resources to a non-FC card killed us dead. Sorry for the breakage since
last July 12.

17 years agoFix problems with destroy and forcible destroy functionality:
pjd [Tue, 5 Sep 2006 21:56:00 +0000 (21:56 +0000)]
Fix problems with destroy and forcible destroy functionality:
- hold/release device in start/done routines, this will probably slow
  down things a bit, but previous code was racy;
- only release device if g_gate_destroy() failed - if it succeeded device
  is dead and there is nothing to release;
- various other changes which makes forcible destruction reliable.

MFC after: 3 days

17 years agoCoverity: initialize some variables before potential use.
mjacob [Tue, 5 Sep 2006 20:28:28 +0000 (20:28 +0000)]
Coverity: initialize some variables before potential use.

17 years ago- Move descriptions of BOOT_COMCONSOLE_PORT, BOOT_COMCONSOLE_SPEED,
ru [Tue, 5 Sep 2006 20:00:07 +0000 (20:00 +0000)]
- Move descriptions of BOOT_COMCONSOLE_PORT, BOOT_COMCONSOLE_SPEED,
  and LOADER_TFTP_SUPPORT options into the world section since boot
  blocks are built as part of the world.

- Document BOOT_PXELDR_ALWAYS_SERIAL and BOOT_PXELDR_PROBE_KEYBOARD
  options of pxeboot(8).

MFC after: 3 days

17 years ago- Include <sys/reboot.h> to get the RB_* defines.
ru [Tue, 5 Sep 2006 19:28:03 +0000 (19:28 +0000)]
- Include <sys/reboot.h> to get the RB_* defines.

- Make the PROBE_KEYBOARD option better resemble the -P option in
  boot2, i.e., if keyboard isn't present then boot with both
  RB_SERIAL and RB_MULTIPLE set.

Reviewed by: jhb

17 years agoUse net.inet6.ip6.redirect / ip6_sendredirects as part of the decision
jhay [Tue, 5 Sep 2006 19:20:42 +0000 (19:20 +0000)]
Use net.inet6.ip6.redirect / ip6_sendredirects as part of the decision
to generate icmp6 redirects. Now it is possible to switch redirects off.

MFC after: 1 week

17 years agoThe FreeBSD by default "disables" hyper-threading cores, by not scheduling
sobomax [Tue, 5 Sep 2006 17:15:24 +0000 (17:15 +0000)]
The FreeBSD by default "disables" hyper-threading cores, by not scheduling
any threads to them. However, it still counts those cores as "active but
permanently idle" when calculating system-wide CPUs statistics. It is
incorrect, since it skews statistics quite a bit and creates real problems
for certain types of applications (monitoring applications for example),
by making them believe that the system does have enough idle CPU resources,
while in fact it does not.

Correct the problem by not calling performance counting routines on "disabled"
cores. The cleaner solution would be to just disable APIC timer interrupts on
those cores completely, but ENOTIME here and it is not clear if the
additional complexity really worth minor performance gain.

Reviewed by: ssouhlal
Sponsored by: Sippy Software, Inc.
MFC after: 2 weeks

17 years agoInclude agp_i810.c in amd64 AGP builds to get support for the Intel 915 Express
anholt [Tue, 5 Sep 2006 16:55:13 +0000 (16:55 +0000)]
Include agp_i810.c in amd64 AGP builds to get support for the Intel 915 Express
chipsets.

PR: kern/93676
Submitted by: Jan Blaha <Jan.Blaha@unet.cz>
MFC after: 1 week

17 years agoalloca() cannot check if the allocation is valid; mention the consequences.
ru [Tue, 5 Sep 2006 16:30:11 +0000 (16:30 +0000)]
alloca() cannot check if the allocation is valid; mention the consequences.

Obtained from: OpenBSD

17 years agoGC dead code. If we want to stay polite to the foreign compilers,
ru [Tue, 5 Sep 2006 16:21:26 +0000 (16:21 +0000)]
GC dead code.  If we want to stay polite to the foreign compilers,
we can find another way to issue an #error, but using a preprocessed
assembler for that purpose and clobbering libc.a with an empty .o
just for the sake of #error reporting is way too much of a burden.

17 years agoNew release notes: libpcap 0.9.4, tcpdump 3.9.4.
bmah [Tue, 5 Sep 2006 14:55:31 +0000 (14:55 +0000)]
New release notes:  libpcap 0.9.4, tcpdump 3.9.4.

17 years agoSame as pthread_setschedparam, use sizeof(struct sched_param) instead.
davidxu [Tue, 5 Sep 2006 14:39:06 +0000 (14:39 +0000)]
Same as pthread_setschedparam, use sizeof(struct sched_param) instead.

17 years agoPass correct parameter size.
davidxu [Tue, 5 Sep 2006 14:37:22 +0000 (14:37 +0000)]
Pass correct parameter size.

17 years agoFinally fix rev. 1.256
glebius [Tue, 5 Sep 2006 14:00:59 +0000 (14:00 +0000)]
Finally fix rev. 1.256

Pointy hat to: glebius

17 years agoRemove extra parenthesis in last commit.
glebius [Tue, 5 Sep 2006 12:22:54 +0000 (12:22 +0000)]
Remove extra parenthesis in last commit.

Nitpicked by: ru

17 years agoDocument 'show vnode'.
pjd [Tue, 5 Sep 2006 12:17:53 +0000 (12:17 +0000)]
Document 'show vnode'.

Reminded by: ru

17 years ago- Make net.inet.tcp.maxtcptw modifiable at run time.
glebius [Tue, 5 Sep 2006 12:08:47 +0000 (12:08 +0000)]
- Make net.inet.tcp.maxtcptw modifiable at run time.
- If net.inet.tcp.maxtcptw was ever set explicitly, do
  not change it if kern.ipc.maxsockets is changed.

17 years agoMerge all code of do_lock_normal, do_lock_pi and do_lock_pp into
davidxu [Tue, 5 Sep 2006 12:01:09 +0000 (12:01 +0000)]
Merge all code of do_lock_normal, do_lock_pi and do_lock_pp into
function do_lock_umutex.

17 years agoSome minor corrections:
kientzle [Tue, 5 Sep 2006 05:59:46 +0000 (05:59 +0000)]
Some minor corrections:
  * Expose functions for setting the "skip file" dev/ino information
  * Expose functions for setting/querying the block size on reads
  * Correctly propagate errors out of archive_read_close/archive_write_close
  * Update manpage with information about new functions

17 years agoAdd lines to remove pccardd(8) stuff (binary and manuals).
matusita [Tue, 5 Sep 2006 01:17:51 +0000 (01:17 +0000)]
Add lines to remove pccardd(8) stuff (binary and manuals).

Found by: "make delete-old" on my 7-current box
Reviewed by: imp
MFC after: 1 week

17 years agoAdd 'show vnode <addr>' DDB command.
pjd [Mon, 4 Sep 2006 22:15:44 +0000 (22:15 +0000)]
Add 'show vnode <addr>' DDB command.

17 years agobump version for libpcap+tcpdump imports
sam [Mon, 4 Sep 2006 21:49:31 +0000 (21:49 +0000)]
bump version for libpcap+tcpdump imports

17 years agoupdate for v3.9.4
sam [Mon, 4 Sep 2006 20:27:05 +0000 (20:27 +0000)]
update for v3.9.4

MFC after: 1 month

17 years agoresolve merge conflicts
sam [Mon, 4 Sep 2006 20:25:04 +0000 (20:25 +0000)]
resolve merge conflicts

MFC after: 1 month

17 years agosigh, put back buffer overflow fix of 1.1.11 that seems to have
sam [Mon, 4 Sep 2006 20:12:45 +0000 (20:12 +0000)]
sigh, put back buffer overflow fix of 1.1.11 that seems to have
not gone into the 0.9.4 release; don't put it on the vendor branch
so we won't lose it on the next import if they continue to lose it

17 years agoThis commit was generated by cvs2svn to compensate for changes in r162017,
sam [Mon, 4 Sep 2006 20:04:42 +0000 (20:04 +0000)]
This commit was generated by cvs2svn to compensate for changes in r162017,
which included commits to RCS files with non-trunk default branches.

17 years agoImport of tcpdump v3.9.4
sam [Mon, 4 Sep 2006 20:04:42 +0000 (20:04 +0000)]
Import of tcpdump v3.9.4

17 years agoupdate instructions
sam [Mon, 4 Sep 2006 19:54:49 +0000 (19:54 +0000)]
update instructions

17 years agoresolve merge conflicts
sam [Mon, 4 Sep 2006 19:54:21 +0000 (19:54 +0000)]
resolve merge conflicts

MFC after: 1 month

17 years agoThis commit was generated by cvs2svn to compensate for changes in r162012,
sam [Mon, 4 Sep 2006 19:43:23 +0000 (19:43 +0000)]
This commit was generated by cvs2svn to compensate for changes in r162012,
which included commits to RCS files with non-trunk default branches.

17 years agoImport of libpcap v0.9.4
sam [Mon, 4 Sep 2006 19:43:23 +0000 (19:43 +0000)]
Import of libpcap v0.9.4

17 years agoadd define's from config.h for pcap-int.h; this is a noop now
sam [Mon, 4 Sep 2006 19:30:44 +0000 (19:30 +0000)]
add define's from config.h for pcap-int.h; this is a noop now
but will be required for libpcap 0.9.4

17 years agomore juniper dlt's
sam [Mon, 4 Sep 2006 19:24:34 +0000 (19:24 +0000)]
more juniper dlt's

MFC after: 1 month

17 years agoAdd SIIG 4 port serial card based on the Oxford OX16PCI954.
marcel [Mon, 4 Sep 2006 18:27:14 +0000 (18:27 +0000)]
Add SIIG 4 port serial card based on the Oxford OX16PCI954.

17 years ago- Talk about chips rather than chip sets as AMD LANCE and PCnet are
marius [Mon, 4 Sep 2006 16:45:08 +0000 (16:45 +0000)]
- Talk about chips rather than chip sets as AMD LANCE and PCnet are
  single-chip.
- Add some more rationale about le(4).
- Add/un-comment hardware notes for C-Bus and ISA adapters.

17 years ago(pw_copy): Handle the case of a malformed line in master.passwd
thomas [Mon, 4 Sep 2006 15:09:21 +0000 (15:09 +0000)]
(pw_copy): Handle the case of a malformed line in master.passwd
 (copy it silently, do not dereference NULL pointer).

PR:             bin/102848
Reviewed by:    security-officer (cperciva)
MFC after:      1 week

17 years agoAdd locking to vge_ifmedia_upd().
mr [Mon, 4 Sep 2006 13:14:44 +0000 (13:14 +0000)]
Add locking to vge_ifmedia_upd().
With this WD-timeouts for vge(4) got reduced signifficantly.
Testet on -stable.

Submitted by: Oleg Bulyzhin
MFC after: 1 day

17 years agoReword previous commit, now supporting better English.
trhodes [Mon, 4 Sep 2006 10:20:53 +0000 (10:20 +0000)]
Reword previous commit, now supporting better English.

Discussed with: ceri

17 years agoFix typo in comment.
thomas [Mon, 4 Sep 2006 08:32:17 +0000 (08:32 +0000)]
Fix typo in comment.

17 years agoIf building the module as part of the kernel build, determine
ru [Mon, 4 Sep 2006 07:40:53 +0000 (07:40 +0000)]
If building the module as part of the kernel build, determine
the "device isa" presence out of the opt_isa.h in the kernel
build directory, rather than always assuming its presence.
sparc64 is still special cased and is not affected by this
change.

Noticed by: bde

17 years agoWhite space cleanup, no functional change.
rwatson [Mon, 4 Sep 2006 06:06:23 +0000 (06:06 +0000)]
White space cleanup, no functional change.

17 years agoAvoid an infinite loop in empty_both_buffers() by adding a timeout.
dwhite [Mon, 4 Sep 2006 00:19:31 +0000 (00:19 +0000)]
Avoid an infinite loop in empty_both_buffers() by adding a timeout.
This helps systems that don't actually have atkbd controllers, such as the Intel
SBX82 blade, boot without device.hints hacks.

Hardware for this fix provided by iXsystems.

PR: 94822
Submitted by: Devon H. O'Dell <devon.odell@coyotepoint.com>
MFC After: 3 days

17 years agoMake vm_page_release_contig() static.
alc [Sun, 3 Sep 2006 22:24:08 +0000 (22:24 +0000)]
Make vm_page_release_contig() static.

17 years agoBelated update for login.conf checks.
trhodes [Sun, 3 Sep 2006 21:31:20 +0000 (21:31 +0000)]
Belated update for login.conf checks.
Bump doc date.

17 years agoDo as the USII CPU manual suggests and leave interrupts enabled
marius [Sun, 3 Sep 2006 21:20:21 +0000 (21:20 +0000)]
Do as the USII CPU manual suggests and leave interrupts enabled
for a bit before retrying to resend an IPI in order to avoid
deadlocks if the other CPU is also trying to send one.
OpenSolaris uses a delay of 1 microsecond here but waiting 2
microseconds with interrupts enabled like Linux does shouldn't
hurt but is a bit safer.

MFC after: 1 day

17 years agoUse a #define to refer to /etc/crontab.
ru [Sun, 3 Sep 2006 17:52:19 +0000 (17:52 +0000)]
Use a #define to refer to /etc/crontab.

17 years agoRegenerate.
rwatson [Sun, 3 Sep 2006 16:24:36 +0000 (16:24 +0000)]
Regenerate.

17 years agoSet freebsd32 system call event identifiers for:
rwatson [Sun, 3 Sep 2006 16:17:49 +0000 (16:17 +0000)]
Set freebsd32 system call event identifiers for:

- old truncate, ftruncate
- old getpeername, gethostid, sethostid, getrlimit, setrlimit, killpg.
- old quota, getsockname, getdirentries.
- lgetfh
- old getdomainname, setdomainname
- sysarch, rtprio, __getcwd, jail, sigtimedwait
- extattrctl, extattr_{get,set,delete,list}_{file,fd,link}
- getresgid, getresuid, kqueue, eaccess, nmount, sendfile
- fhstatfs, kldunloadf

Right identifiers for:

- nfssvc

Remove incorrect identifier for:

- __acl_get_file

Compile tested with help of: sam
Obtained from: TrustedBSD Project

17 years agoRegenerate for updated audit event identifiers.
rwatson [Sun, 3 Sep 2006 15:11:13 +0000 (15:11 +0000)]
Regenerate for updated audit event identifiers.

17 years agoAssign proper audit event identifiers to a number of system calls not
rwatson [Sun, 3 Sep 2006 15:10:40 +0000 (15:10 +0000)]
Assign proper audit event identifiers to a number of system calls not
covered in previous passes:

- sysarch, rtprio
- clock_settime
- preadv/pwritev
- __getcwd
- kqueue
- fhstatfs
- kldunloadf

Obtained from: TrustedBSD Project

17 years agoSupport Celsius (nn.nC), Fahrenheit (nn.nF) and Kelvin (nnnn) to
ume [Sun, 3 Sep 2006 15:10:04 +0000 (15:10 +0000)]
Support Celsius (nn.nC), Fahrenheit (nn.nF) and Kelvin (nnnn) to
specify temperature.

Reviewed by: njl
MFC after: 3 days