]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
17 years agoRe-enable raw dump format support on i386 and amd64 for /dev/fwmem.
Hidetoshi Shimokawa [Fri, 15 Jun 2007 11:35:11 +0000 (11:35 +0000)]
Re-enable raw dump format support on i386 and amd64 for /dev/fwmem.

17 years agoLocked out and expired accounts shouldn't be accessible via remote
Yaroslav Tykhiy [Fri, 15 Jun 2007 11:33:13 +0000 (11:33 +0000)]
Locked out and expired accounts shouldn't be accessible via remote
mailbox protocols.  Add pam_unix to the `account' function class, too,
for imap and pop3 to actually implement this policy.

17 years agoSplit the FILES list across multiple lines as in rc.d/Makefile
Yaroslav Tykhiy [Fri, 15 Jun 2007 11:22:10 +0000 (11:22 +0000)]
Split the FILES list across multiple lines as in rc.d/Makefile
so that the change history stays easily readable as the number
of PAM-aware services grows.

17 years agoActually use new features of perr() and perrx().
Yaroslav Tykhiy [Fri, 15 Jun 2007 10:34:36 +0000 (10:34 +0000)]
Actually use new features of perr() and perrx().

17 years agoCatch up with perr() becoming variadic.
Yaroslav Tykhiy [Fri, 15 Jun 2007 10:12:37 +0000 (10:12 +0000)]
Catch up with perr() becoming variadic.

17 years agoMake perr() variadic and add perrx() to use in cases where
Yaroslav Tykhiy [Fri, 15 Jun 2007 10:10:40 +0000 (10:10 +0000)]
Make perr() variadic and add perrx() to use in cases where
errno is irrelevant.  Some code duplication can be reduced
if perr() is variadic and perrx() is available.

17 years agoThis commit was generated by cvs2svn to compensate for changes in r170764,
Xin LI [Fri, 15 Jun 2007 07:49:35 +0000 (07:49 +0000)]
This commit was generated by cvs2svn to compensate for changes in r170764,
which included commits to RCS files with non-trunk default branches.

17 years agoApply vendor patch that implements 1/2 as aliases of l/r.
Xin LI [Fri, 15 Jun 2007 07:49:35 +0000 (07:49 +0000)]
Apply vendor patch that implements 1/2 as aliases of l/r.

Requested by:   dmalone, Chuck Swiger

17 years agoUpdate instructions about upgrading.
Xin LI [Fri, 15 Jun 2007 07:36:39 +0000 (07:36 +0000)]
Update instructions about upgrading.

17 years agoAdd a list of removed files during import
Xin LI [Fri, 15 Jun 2007 07:28:00 +0000 (07:28 +0000)]
Add a list of removed files during import

17 years agoRemove files that were taken off vendor branch. Difference
Xin LI [Fri, 15 Jun 2007 07:22:26 +0000 (07:22 +0000)]
Remove files that were taken off vendor branch.  Difference
against vendor branch is now maintained in patchsets.

17 years agoRemove old files that no longer exist in latest distribution or
Xin LI [Fri, 15 Jun 2007 07:17:50 +0000 (07:17 +0000)]
Remove old files that no longer exist in latest distribution or
removed during import.

17 years agoThis commit was generated by cvs2svn to compensate for changes in r170759,
Xin LI [Fri, 15 Jun 2007 07:17:50 +0000 (07:17 +0000)]
This commit was generated by cvs2svn to compensate for changes in r170759,
which included commits to RCS files with non-trunk default branches.

17 years agoUpdate build skeleton after diffutils 2.8.7 update.
Xin LI [Fri, 15 Jun 2007 07:09:34 +0000 (07:09 +0000)]
Update build skeleton after diffutils 2.8.7 update.

17 years agoLocalized regeneration of config.h.
Xin LI [Fri, 15 Jun 2007 07:08:19 +0000 (07:08 +0000)]
Localized regeneration of config.h.

17 years agoVirgin import of diffutils 2.8.7.
Xin LI [Fri, 15 Jun 2007 07:06:13 +0000 (07:06 +0000)]
Virgin import of diffutils 2.8.7.

17 years agoThis commit was generated by cvs2svn to compensate for changes in r170754,
Xin LI [Fri, 15 Jun 2007 07:06:13 +0000 (07:06 +0000)]
This commit was generated by cvs2svn to compensate for changes in r170754,
which included commits to RCS files with non-trunk default branches.

17 years agoAdd a man page for wlan_amrr
Kevin Lo [Fri, 15 Jun 2007 04:41:15 +0000 (04:41 +0000)]
Add a man page for wlan_amrr

Reviewed by: sam, sephe

17 years agoYou can never have enough documentation.
Gregory Neil Shapiro [Fri, 15 Jun 2007 03:21:20 +0000 (03:21 +0000)]
You can never have enough documentation.

Document the SENDMAIL_ALIASES, SENDMAIL_MAP_SRC, SENDMAIL_MAP_TYPE, and
SENDMAIL_START_SCRIPT
.Xr make.conf 5
variables.
These are used in
.Pa /etc/mail/Makefile .

PR: conf/40548
MFC after: 3 days

17 years ago- Add VRF id to sctp_ifa structure, needed mainly in panda but useful
Randall Stewart [Fri, 15 Jun 2007 03:16:48 +0000 (03:16 +0000)]
- Add VRF id to sctp_ifa structure, needed mainly in panda but useful
  during deletes of ifa's in diff VRF's when applicable.

17 years ago- Conditionally pickup Giant around the network interface
Christian S.J. Peron [Fri, 15 Jun 2007 02:53:51 +0000 (02:53 +0000)]
- Conditionally pickup Giant around the network interface
  ioctl routines if we are running with !mpsafenet
- Change un-conditional Giant acquisition around ifpromisc
  to occur only if we are running with !mpsafenet

With these locking bits in place, we can now remove the Giant
requirement from BPF, so drop the D_NEEDGIANT device flag.
This change removes Giant acquisitions around BPF device
handlers (read, write, ioctl etc).

MFC after: 1 month
Discussed with: rwatson

17 years agoKTR_GEN -> KTR_SUBSYS (for Kris).
Randall Stewart [Fri, 15 Jun 2007 02:34:36 +0000 (02:34 +0000)]
KTR_GEN -> KTR_SUBSYS (for Kris).

17 years ago- Oppps, forgot to update out the notes file for LINT builds- purge
Randall Stewart [Fri, 15 Jun 2007 02:29:19 +0000 (02:29 +0000)]
- Oppps, forgot to  update out the notes file for LINT builds- purge
  old logging options that are no longer needed.

17 years agoRemove the restriction that rtprio(2) cannot be used to set the realtime
Robert Watson [Thu, 14 Jun 2007 23:31:52 +0000 (23:31 +0000)]
Remove the restriction that rtprio(2) cannot be used to set the realtime
or idle priority of another process owned by the same user.  This means
that privilege in rtprio(2) (and rtprio_thread(2)) is required indirectly
via p_cansched(9) or directly to set realtime/idle privilege, rather than
directly affecting target process authorization.

17 years ago- Fix so ifn's are properly deleted when the ref count goes to 0.
Randall Stewart [Thu, 14 Jun 2007 22:59:04 +0000 (22:59 +0000)]
- Fix so ifn's are properly deleted when the ref count goes to 0.
- Fix so VRF's will clean themselves up when no references are around.
- Allow sctp_ifa to be passed into inpcb_bind, addr_mgmt_ep_sa to bypass
  normal validation checks.
- turn auto-asconf off for subset bound sockets
- Moves all logging to use KTR. This gets rid of most
  of the logging #ifdef's with a few exceptions reducing
  the number of config options for SCTP.

17 years agoThe struct selinfo pointed to by *sip MUST be zeroed before calling
Nate Lawson [Thu, 14 Jun 2007 22:38:50 +0000 (22:38 +0000)]
The struct selinfo pointed to by *sip MUST be zeroed before calling
selrecord() or selwake*().  Otherwise, a panic may occur.

MFC after: 1 day

17 years agoUse a single setusercontext(3) instead of a bunch of basic syscalls.
Yaroslav Tykhiy [Thu, 14 Jun 2007 22:16:21 +0000 (22:16 +0000)]
Use a single setusercontext(3) instead of a bunch of basic syscalls.
Besides aesthetic benefits, that makes at(1) jobs subject to such
login.conf(5) settings as resource limits.

17 years agoSpotted another copy of the loony error message.
Yaroslav Tykhiy [Thu, 14 Jun 2007 21:24:05 +0000 (21:24 +0000)]
Spotted another copy of the loony error message.

17 years agoMake the order of tests the same for user and kernel. Use the natural
Hartmut Brandt [Thu, 14 Jun 2007 20:11:48 +0000 (20:11 +0000)]
Make the order of tests the same for user and kernel. Use the natural
layer order from bottom to top.

17 years agoUse an array of size NGROUP_MAX for the getgroups() call instead of NGRP.
Hartmut Brandt [Thu, 14 Jun 2007 20:07:35 +0000 (20:07 +0000)]
Use an array of size NGROUP_MAX for the getgroups() call instead of NGRP.
When NGROUP_MAX is larger than NGRP the call used to fail. Now the call
succeedes, but only the first NGRP groups are actually used for authentication.

17 years agoAccording to the documentation mech_type for gss_init_sec_context() may
Hartmut Brandt [Thu, 14 Jun 2007 19:58:24 +0000 (19:58 +0000)]
According to the documentation mech_type for gss_init_sec_context() may
be passed as GSS_C_NO_OID in which case a default mech should be used.
This case was not handled and leads to core dumps when using nss_ldap.
Now use the first mech in this case. When there is no mechanism available
return an error (this part is taken from the PR).

PR: 113266
Submitted by: Eirik Nygaard <eirikald@pvv.ntnu.no> (partly)

17 years agocorrect some limits on interrupt proccessing so that
Andrew Gallatin [Thu, 14 Jun 2007 19:35:03 +0000 (19:35 +0000)]
correct some limits on interrupt proccessing so that
fast forwarding back out the same mxge interface works nicely.

17 years agoOnly require privilege to set the current time adjustment, not in order to
Robert Watson [Thu, 14 Jun 2007 18:37:58 +0000 (18:37 +0000)]
Only require privilege to set the current time adjustment, not in order to
query it.

17 years agoEnable SCTP by default for GENERIC kernels in order to give it
Xin LI [Thu, 14 Jun 2007 17:14:27 +0000 (17:14 +0000)]
Enable SCTP by default for GENERIC kernels in order to give it
more exposure.  The current state of SCTP implementation is
considered to be ready for 32-bit platforms, but still need some
work/testing on 64-bit platforms.

Approved by: re (kensmith)
Discussed with: rrs

17 years agoExpand callout compatibility macros in the main usb bridges.
Warner Losh [Thu, 14 Jun 2007 16:23:31 +0000 (16:23 +0000)]
Expand callout compatibility macros in the main usb bridges.

17 years agoMove PWR_* from usb_port.h to usb.h
Warner Losh [Thu, 14 Jun 2007 16:12:04 +0000 (16:12 +0000)]
Move PWR_* from usb_port.h to usb.h

17 years agoFix an error message that was beside the point.
Yaroslav Tykhiy [Thu, 14 Jun 2007 15:18:44 +0000 (15:18 +0000)]
Fix an error message that was beside the point.

17 years agoMove malloc definitions to usb.h.
Warner Losh [Thu, 14 Jun 2007 15:09:21 +0000 (15:09 +0000)]
Move malloc definitions to usb.h.
Also, remove usb_malloc_type: it was unused.
Remove METHODS_NONE: it was unused.
Move include of opt_usb.h from usb_port.h to usb.h, since usb_port.h is
going away (there will be a usb_compat.h for out-of-tree drivers that want it).

17 years agoFix a typical off-by-one error that can result in an unterminated string:
Yaroslav Tykhiy [Thu, 14 Jun 2007 14:44:04 +0000 (14:44 +0000)]
Fix a typical off-by-one error that can result in an unterminated string:

strncpy(dst, src, sizeof(dst));

by substituting the safer strlcpy() for strncpy().

X-Security: none (the source string isn't user-supplied)

17 years agoUse the current user's login class for the decisions about where
Yaroslav Tykhiy [Thu, 14 Jun 2007 13:07:06 +0000 (13:07 +0000)]
Use the current user's login class for the decisions about where
the nologin(5) file is located and whether the user may bypass its
restriction.

Add some error checks.

Approved by: des
PR: bin/107612

17 years ago- Suppress compiler optimization so that orb[1] must be written first.
Hidetoshi Shimokawa [Thu, 14 Jun 2007 12:52:13 +0000 (12:52 +0000)]
- Suppress compiler optimization so that orb[1] must be written first.
  We may need an explicit memory barrier for other architectures other than i386/amd64.

MFC after: 3 days

17 years agoBuffer optimization and locking cleanup. Don't resize/malloc
Ariff Abdullah [Thu, 14 Jun 2007 11:15:51 +0000 (11:15 +0000)]
Buffer optimization and locking cleanup. Don't resize/malloc
unless it is really necessary to ease down unlock/lock sequence.

17 years agoDrain all callout handlers during driver detach appropriately.
Ariff Abdullah [Thu, 14 Jun 2007 11:13:38 +0000 (11:13 +0000)]
Drain all callout handlers during driver detach appropriately.

17 years agoDon't push too hard waiting/looping for codec detection interrupt.
Ariff Abdullah [Thu, 14 Jun 2007 11:11:06 +0000 (11:11 +0000)]
Don't push too hard waiting/looping for codec detection interrupt.
Let the interrupt do the job waking us up.

17 years ago- Add option to allow sleeping malloc(9).
Ariff Abdullah [Thu, 14 Jun 2007 11:10:21 +0000 (11:10 +0000)]
- Add option to allow sleeping malloc(9).
- Cleanup locking assertions that aren't needed anymore.

17 years agoDocument the quirks of ~/.login_conf and LOGIN_MECLASS.
Yaroslav Tykhiy [Thu, 14 Jun 2007 09:33:37 +0000 (09:33 +0000)]
Document the quirks of ~/.login_conf and LOGIN_MECLASS.

17 years agoImprove mdoc(7) markup.
Yaroslav Tykhiy [Thu, 14 Jun 2007 07:31:59 +0000 (07:31 +0000)]
Improve mdoc(7) markup.

17 years agoRequire users to provide a length information for inet_ntoa_r,
Xin LI [Thu, 14 Jun 2007 07:13:28 +0000 (07:13 +0000)]
Require users to provide a length information for inet_ntoa_r,
this is common on other platforms.

Reported by: pointyhat via kris

17 years agoUpdate some comments, mostly regarding LOGIN_MECLASS and ~/.login_conf.
Yaroslav Tykhiy [Thu, 14 Jun 2007 06:42:49 +0000 (06:42 +0000)]
Update some comments, mostly regarding LOGIN_MECLASS and ~/.login_conf.

17 years agoOops, back out previous commit since it was backwards to a wrong branch.
Bruce Evans [Thu, 14 Jun 2007 05:57:13 +0000 (05:57 +0000)]
Oops, back out previous commit since it was backwards to a wrong branch.

17 years agoMFC: 1.11: fix the threshold for (not) using the simple Taylor approximation.
Bruce Evans [Thu, 14 Jun 2007 05:51:00 +0000 (05:51 +0000)]
MFC: 1.11: fix the threshold for (not) using the simple Taylor approximation.

17 years agoAdd a missing Va option.
Christian Brueffer [Thu, 14 Jun 2007 05:32:23 +0000 (05:32 +0000)]
Add a missing Va option.

17 years agoIn the previous changeset a cast of myminor to u_int were
Xin LI [Thu, 14 Jun 2007 03:16:16 +0000 (03:16 +0000)]
In the previous changeset a cast of myminor to u_int were
removed, which will cause problems on architectures where
longs are longer than ints, for instance,
"mknod foo c 0 0xffff00ff"
would fail in such cases.

Use a proper cast instead.

Prompted by: bde

17 years agoSpell statistics more correctly in comments.
Robert Watson [Thu, 14 Jun 2007 03:02:33 +0000 (03:02 +0000)]
Spell statistics more correctly in comments.

17 years agoInclude priv.h to pick up suser(9) definitions, missed in an earlier
Robert Watson [Wed, 13 Jun 2007 22:42:43 +0000 (22:42 +0000)]
Include priv.h to pick up suser(9) definitions, missed in an earlier
commit.

Warnings spotted by: kris

17 years agoDon't clobber tf_err with the eva from a page fault as the page fault
John Baldwin [Wed, 13 Jun 2007 22:37:48 +0000 (22:37 +0000)]
Don't clobber tf_err with the eva from a page fault as the page fault
address is saved in ksi_addr already.

PR: i386/101379
Submitted by: Tijl Coosemans : tijl ulyssis org

17 years agoClose a very narrow race that might cause a trigger allocation to be
Robert Watson [Wed, 13 Jun 2007 21:17:23 +0000 (21:17 +0000)]
Close a very narrow race that might cause a trigger allocation to be
leaked if a trigger is delivered as the trigger device is closed.

Obtained from: TrustedBSD Project

17 years agoconfig_detach is just used in one place, so expand it inline.
Warner Losh [Wed, 13 Jun 2007 20:58:57 +0000 (20:58 +0000)]
config_detach is just used in one place, so expand it inline.

17 years agoImprove the ktrace locking somewhat to reduce overhead:
John Baldwin [Wed, 13 Jun 2007 20:01:42 +0000 (20:01 +0000)]
Improve the ktrace locking somewhat to reduce overhead:
- Depessimize userret() in kernels where KTRACE is enabled by doing an
  unlocked check of the per-process queue of pending events before
  acquiring any locks.  Previously ktr_userret() unconditionally acquired
  the global ktrace_sx lock on every return to userland for every thread,
  even if ktrace wasn't enabled for the thread.
- Optimize the locking in exit() to first perform an unlocked read of
  p_traceflag to see if ktrace is enabled and only acquire locks and
  teardown ktrace if the test succeeds.  Also, explicitly disable tracing
  before draining any pending events so the pending events actually get
  written out.  The unlocked read is safe because proc lock is acquired
  earlier after single-threading so p_traceflag can't change between then
  and this check (well, it can currently due to a bug in ktrace I will fix
  next, but that race existed prior to this change as well).

Reviewed by: rwatson

17 years agoConditionally acquire Giant when dropping a reference on the ktrace vnode
John Baldwin [Wed, 13 Jun 2007 19:41:47 +0000 (19:41 +0000)]
Conditionally acquire Giant when dropping a reference on the ktrace vnode
during execve() when turning off tracing due to executing a setuid binary
as non-root.  Previously this could fail to acquire Giant and fail an
assertion if the ktrace file was on a non-MPSAFE filesystem and the
executable was on an MPSAFE filesystem.

MFC after: 3 days
Reported by: kris

17 years agoCatch up with the code.
Christian Brueffer [Wed, 13 Jun 2007 19:22:29 +0000 (19:22 +0000)]
Catch up with the code.

Submitted by: peter

17 years agoFailing to set new frequency should not lead to powerd exiting.
Dmitry Morozovsky [Wed, 13 Jun 2007 19:05:11 +0000 (19:05 +0000)]
Failing to set new frequency should not lead to powerd exiting.
Change err(3) to warn(3) as three other cases.

Approved by: njl, des

17 years agoAdd the vlan tag to the bridge route table. This allows a vlan trunk to be
Andrew Thompson [Wed, 13 Jun 2007 18:58:04 +0000 (18:58 +0000)]
Add the vlan tag to the bridge route table. This allows a vlan trunk to be
bridged, previously legitimate traffic was not passed as the bridge could not
tell that it was on a different Ethernet segment.

All non-tagged traffic is treated as vlan1 as per IEEE 802.1Q-2003

17 years agoRemove IPX over IP tunneling pieces from ifconfig(8), omitted portion of
Robert Watson [Wed, 13 Jun 2007 18:07:59 +0000 (18:07 +0000)]
Remove IPX over IP tunneling pieces from ifconfig(8), omitted portion of
previous commit:

  Remove IPX over IP tunneling support, which allows IPX routing over IP
  tunnels, and was not MPSAFE.  The code can be easily restored in the
  event that someone with an IPX over IP tunnel configuration can work
  with me to test patches.

  This removes one of five remaining consumers of NET_NEEDS_GIANT.

  Approved by:    re (kensmith)

Spotted by: Artem Naluzhny <tutat nhamon dot com dot ua>

17 years agoDo not attempt to enable AHCI mode on ALi SATA controllers other
Bruce M Simpson [Wed, 13 Jun 2007 17:44:49 +0000 (17:44 +0000)]
Do not attempt to enable AHCI mode on ALi SATA controllers other
than the 5288.

It is not correctly implemented in earlier silicon, and the BIOS often
lies about AHCI capability on platforms where these chips are deployed.
With this change I am able to boot FreeBSD on the ASUS Vintage AH-1
barebones system.

Approved by: sos

17 years agoAdd myself as a commiter.
Timur I. Bakeyev [Wed, 13 Jun 2007 16:37:36 +0000 (16:37 +0000)]
Add myself as a commiter.

Approved by: shaun (mentor)

17 years ago- fix bindx to check addresses against socket's protocol family
Randall Stewart [Wed, 13 Jun 2007 14:39:41 +0000 (14:39 +0000)]
- fix bindx to check addresses against socket's protocol family

17 years agoRemove IPX over IP tunneling support, which allows IPX routing over IP
Robert Watson [Wed, 13 Jun 2007 14:01:43 +0000 (14:01 +0000)]
Remove IPX over IP tunneling support, which allows IPX routing over IP
tunnels, and was not MPSAFE.  The code can be easily restored in the
event that someone with an IPX over IP tunnel configuration can work
with me to test patches.

This removes one of five remaining consumers of NET_NEEDS_GIANT.

Approved by: re (kensmith)

17 years agoRemove two more instances of the USBDEV() macro.
Ruslan Ermilov [Wed, 13 Jun 2007 12:36:01 +0000 (12:36 +0000)]
Remove two more instances of the USBDEV() macro.

17 years agoAdd missing ng_uncallout() on node shutdown.
Alexander Motin [Wed, 13 Jun 2007 11:01:17 +0000 (11:01 +0000)]
Add missing ng_uncallout() on node shutdown.

Approved by: glebius (mentor)

17 years agoMajor update for the recently overhauled nfe(4) driver.
Christian Brueffer [Wed, 13 Jun 2007 08:44:37 +0000 (08:44 +0000)]
Major update for the recently overhauled nfe(4) driver.

Reviewed by: yongari

17 years agoUnbreak high resolution profiling a little: use dummy asms to prevent
Bruce Evans [Wed, 13 Jun 2007 06:17:48 +0000 (06:17 +0000)]
Unbreak high resolution profiling a little: use dummy asms to prevent
timing loops being optimized away.

Once apon a time, gcc promised not to optimize away timing loops, but
gcc started optimizing away the call to a null function in the timing
loop here some time between gcc-3.3.3 and gcc-3.4.6, and it started
optimizing away the timing loop itself some time between gcc-3.4.6
and gcc-4.2.

17 years agoEliminate dead code: We have not performed pageouts on the kernel object
Alan Cox [Wed, 13 Jun 2007 06:10:10 +0000 (06:10 +0000)]
Eliminate dead code: We have not performed pageouts on the kernel object
in this millenium.

17 years agoRemove more unnecessary and unwanted __OtherBSD__ ifdefs.
Warner Losh [Wed, 13 Jun 2007 06:00:10 +0000 (06:00 +0000)]
Remove more unnecessary and unwanted __OtherBSD__ ifdefs.

17 years agoRemove more __OtherBSD__ ifdefs that don't make sense, and haven't for
Warner Losh [Wed, 13 Jun 2007 05:45:48 +0000 (05:45 +0000)]
Remove more __OtherBSD__ ifdefs that don't make sense, and haven't for
some time.

17 years agoExpand USB_DETACH, USB_ATTACH and USB_MATCH inline. No functional
Warner Losh [Wed, 13 Jun 2007 05:37:59 +0000 (05:37 +0000)]
Expand USB_DETACH, USB_ATTACH and USB_MATCH inline.  No functional
change, and MD5's appear to be the same.

17 years ago- import new common code for the T304
Kip Macy [Wed, 13 Jun 2007 05:36:00 +0000 (05:36 +0000)]
- import new common code for the T304
- update to firmware version 4.1.0

- switch over to standard method for initializing cdevs (contributed by scottl@)
- break out timer_reclaim_task to be per-port
- move msix teardown into separate function
- fix bus_setup_intr for msi-x for the multi-port case so that msi-x resources
  are not corrupted on unload
- handle 10/100/1000 base-T media and auto negotiation
- bind qset to cpu even for singleq case
- white space cleanups
- remove recursive PORT_LOCK
- move mtu setting to separate function
- stop and re-init port when changing mtu
- replace all direct references to m_data with calls to mtod
- handle attach failure better by not trying to de-initialize
  taskqueues when they have not been allocated
- no longer default to jumbo frames

Sponsored by: Chelsio
MFC after: 3 days

17 years agoWARNS=6
Xin LI [Wed, 13 Jun 2007 05:30:07 +0000 (05:30 +0000)]
WARNS=6

17 years agoEnable GEOM_PART_MBR by default. On ia64 this replaces GEOM_MBR.
Marcel Moolenaar [Wed, 13 Jun 2007 05:07:42 +0000 (05:07 +0000)]
Enable GEOM_PART_MBR by default. On ia64 this replaces GEOM_MBR.

17 years agoAdd the MBR partitioning scheme to g_part. This does not yet
Marcel Moolenaar [Wed, 13 Jun 2007 04:27:36 +0000 (04:27 +0000)]
Add the MBR partitioning scheme to g_part. This does not yet
support the ability to install boot code.

17 years agoMake 'ar' write test a tad more portable.
Tim Kientzle [Wed, 13 Jun 2007 03:40:02 +0000 (03:40 +0000)]
Make 'ar' write test a tad more portable.

17 years agoRead support for the new GNU tar sparse formats added in gtar 1.15 and
Tim Kientzle [Wed, 13 Jun 2007 03:35:37 +0000 (03:35 +0000)]
Read support for the new GNU tar sparse formats added in gtar 1.15 and
gtar 1.16.

17 years agoAdd some options to libarchive_test:
Tim Kientzle [Wed, 13 Jun 2007 03:30:46 +0000 (03:30 +0000)]
Add some options to libarchive_test:
   -k: like make -k, try to keep going after errors.
   -q: quiet

17 years agoFix a broken function declaration.
Tim Kientzle [Wed, 13 Jun 2007 03:29:15 +0000 (03:29 +0000)]
Fix a broken function declaration.

17 years agosctp_process_inpcb() wants an offset parameter in size_t,
Xin LI [Wed, 13 Jun 2007 02:37:00 +0000 (02:37 +0000)]
sctp_process_inpcb() wants an offset parameter in size_t,
so define it as what it is expected.  This fixes WARNS=3
without NO_WERROR build.

17 years agoRegen.
Stephane E. Potvin [Wed, 13 Jun 2007 02:18:12 +0000 (02:18 +0000)]
Regen.

17 years agoOptions spring cleanup:
Stephane E. Potvin [Wed, 13 Jun 2007 02:08:04 +0000 (02:08 +0000)]
Options spring cleanup:
- Add and document the KVM and KVM_SUPPORT options that
are needed for the ifmcstats(3) makefile
- Garbage collect unused variables
- Add missing inclusion of bsd.own.mk where needed

Approved by: kan (mentor)
Reviewed by: ru

17 years ago- Fixed cookie handling to calc an RTO when
Randall Stewart [Wed, 13 Jun 2007 01:31:53 +0000 (01:31 +0000)]
- Fixed cookie handling to calc an RTO when
  its an INIT collision case.
- Fixed RTO calc to maintain a seperate variable to track
  if a RTO calc as been done, this allows the RTO var to be
  doubled during initial timeouts.
- Reduces the amount of stack used by process control.
- Use a constant for the peer chunk overhead.
- Name change to spell candidate correctly.

17 years agoCatch up with USB cleanups and fix the world
Maksim Yevmenkin [Wed, 13 Jun 2007 00:32:00 +0000 (00:32 +0000)]
Catch up with USB cleanups and fix the world

17 years ago - Include opt_sched.h for SCHED_STATS.
Jeff Roberson [Tue, 12 Jun 2007 23:27:31 +0000 (23:27 +0000)]
 - Include opt_sched.h for SCHED_STATS.

17 years agoFix yet another (make install) stopper with wrong sourcefilter.3 links
Andrey A. Chernov [Tue, 12 Jun 2007 22:32:52 +0000 (22:32 +0000)]
Fix yet another (make install) stopper with wrong sourcefilter.3 links

17 years agoRemove compat macros. md5 the same.
Warner Losh [Tue, 12 Jun 2007 21:35:18 +0000 (21:35 +0000)]
Remove compat macros.  md5 the same.

17 years agoRecoverdisk is now part of the base system.
Poul-Henning Kamp [Tue, 12 Jun 2007 21:33:11 +0000 (21:33 +0000)]
Recoverdisk is now part of the base system.

17 years agoAdd recoverdisk to the base system, it is far too useful to live
Poul-Henning Kamp [Tue, 12 Jun 2007 21:31:39 +0000 (21:31 +0000)]
Add recoverdisk to the base system, it is far too useful to live
in obscurity over in src/tools.

(Repocopied)

17 years agofix cassert failure by adjusting padding
Kip Macy [Tue, 12 Jun 2007 21:19:12 +0000 (21:19 +0000)]
fix cassert failure by adjusting padding

17 years agoFix typo in filename from mismerged earlier rev of this file.
Bruce M Simpson [Tue, 12 Jun 2007 21:05:31 +0000 (21:05 +0000)]
Fix typo in filename from mismerged earlier rev of this file.

17 years ago - Fix kse by moving the upcalls list back out of the zero'd section.
Jeff Roberson [Tue, 12 Jun 2007 20:22:06 +0000 (20:22 +0000)]
 - Fix kse by moving the upcalls list back out of the zero'd section.
   I had tested this with the wrong libpthread.

17 years agoUse if_capenable to allow LRO enabled drivers to bypass
Andrew Gallatin [Tue, 12 Jun 2007 19:53:44 +0000 (19:53 +0000)]
Use if_capenable to allow LRO enabled drivers to bypass
the MTU check in ether_input().

17 years ago - Garbage collect unused concurrency functions.
Jeff Roberson [Tue, 12 Jun 2007 19:50:31 +0000 (19:50 +0000)]
 - Garbage collect unused concurrency functions.

17 years ago - Garbage collect unused concurrency functions.
Jeff Roberson [Tue, 12 Jun 2007 19:49:39 +0000 (19:49 +0000)]
 - Garbage collect unused concurrency functions.
 - Remove unused kse fields from struct proc.
 - Group remaining fields and #ifdef KSE them.
 - Move some kern_kse.c only prototypes out of proc and into kern_kse.

Discussed with: Julian