]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
20 years agoFixed markup bugs.
Ruslan Ermilov [Thu, 17 Jun 2004 17:49:30 +0000 (17:49 +0000)]
Fixed markup bugs.
Spell function correctly when talking about restarting after a signal.

20 years agoRevert last change. If acpi is loaded or compiled into the kernel, its
Nate Lawson [Thu, 17 Jun 2004 17:27:37 +0000 (17:27 +0000)]
Revert last change.  If acpi is loaded or compiled into the kernel, its
devclass will be present even if the driver was disabled by a hint.  Using
device_get_softc() provides the right info even if it's overkill.

Explained by: jhb

20 years agoSecond half of the dev_t cleanup.
Poul-Henning Kamp [Thu, 17 Jun 2004 17:16:53 +0000 (17:16 +0000)]
Second half of the dev_t cleanup.

The big lines are:
NODEV -> NULL
NOUDEV -> NODEV
udev_t -> dev_t
udev2dev() -> findcdev()

Various minor adjustments including handling of userland access to kernel
space struct cdev etc.

20 years agoImport two fixes from the OpenBSD stable branch:
Max Laier [Thu, 17 Jun 2004 16:59:47 +0000 (16:59 +0000)]
Import two fixes from the OpenBSD stable branch:
 - prevent an endless loop with route-to lo0, fixes PR 3736 (dhartmei@)
 - The rule_number parameter for pf_get_pool() needs to be 32 bits, not 8 -
   this fixes corruption of the address pools with large rulesets.
   (mcbride@, pb@)

Reviewed-by: dhartmei

20 years agoAdd reference to mac_get_link() in man page, which was omitted when
Robert Watson [Thu, 17 Jun 2004 16:08:36 +0000 (16:08 +0000)]
Add reference to mac_get_link() in man page, which was omitted when
mac_get_link() and mac_set_link() were added.

20 years agoCommit a crude hack so we get sparc64 snapshots working again with a
David E. O'Brien [Thu, 17 Jun 2004 16:08:20 +0000 (16:08 +0000)]
Commit a crude hack so we get sparc64 snapshots working again with a
stable ld.so.  We need to revisit the rtld-elf/sparc64/rtld_start.S
rev. 1.5 and rtld-elf/sparc64/rtld_machdep.h rev. 1.5, which was
suppose to allow stock Binutils 2.13 (and later) to be used.

20 years agoFix printing of u_int64_t with a cast to unsigned long long.
Max Laier [Thu, 17 Jun 2004 15:23:51 +0000 (15:23 +0000)]
Fix printing of u_int64_t with a cast to unsigned long long.

Found-by: tinderbox(amd64)

20 years agoUse strlcpy(3) to replace the idiomatic
Robert Drehmel [Thu, 17 Jun 2004 14:07:16 +0000 (14:07 +0000)]
Use strlcpy(3) to replace the idiomatic

  strncpy(d, s, l);
  d[l - 1] = '\0';

statements.

20 years agoSave a couple of bytes for the SIO case.
Poul-Henning Kamp [Thu, 17 Jun 2004 12:02:25 +0000 (12:02 +0000)]
Save a couple of bytes for the SIO case.

20 years agoDocument boot0sio and note that it requires modem handshake to work.
Poul-Henning Kamp [Thu, 17 Jun 2004 12:01:25 +0000 (12:01 +0000)]
Document boot0sio and note that it requires modem handshake to work.

20 years agoFix another beak.
Poul-Henning Kamp [Thu, 17 Jun 2004 11:44:05 +0000 (11:44 +0000)]
Fix another beak.

Seen by: pjd

20 years agoFix a bug which occurred when the home directory given by the
Robert Drehmel [Thu, 17 Jun 2004 10:29:12 +0000 (10:29 +0000)]
Fix a bug which occurred when the home directory given by the
-d option was equal to the one already saved and which caused
the pw utility to avoid updating values passed by other options
processed before the -d option in the code path.

Spotted by: Richard Caley <rjc@interactive.co.uk>

20 years agoThird time's a charm?? (the logic was reversed from desired)
David E. O'Brien [Thu, 17 Jun 2004 08:06:41 +0000 (08:06 +0000)]
Third time's a charm??  (the logic was reversed from desired)
Time for sleep...

Submitted by: ru

20 years agoatapicam(4) is currently off by three orders of magnitude regarding the
Brian Feldman [Thu, 17 Jun 2004 07:29:56 +0000 (07:29 +0000)]
atapicam(4) is currently off by three orders of magnitude regarding the
timeout values in the CAM CCBs.  Divide by 1000 to get values in seconds
which are what ata(4) timeouts internally use.

This does lose granularity, though, and small values can now round down
to zero.  It's probably worth making all ata(4) timeouts in terms of
hz/ticks/milliseconds/something.

20 years agoDo not preset PG_BUSY on VM_ALLOC_NOOBJ pages. Such pages are not
Alan Cox [Thu, 17 Jun 2004 06:16:58 +0000 (06:16 +0000)]
Do not preset PG_BUSY on VM_ALLOC_NOOBJ pages.  Such pages are not
accessible through an object.  Thus, PG_BUSY serves no purpose.

20 years agoAdd missing newlines.
Pawel Jakub Dawidek [Thu, 17 Jun 2004 06:04:14 +0000 (06:04 +0000)]
Add missing newlines.

20 years agoGrrr, use the userland spelling not the kernel tree spelling.
David E. O'Brien [Thu, 17 Jun 2004 05:27:56 +0000 (05:27 +0000)]
Grrr, use the userland spelling not the kernel tree spelling.

20 years agoAlways restore permissions for regular files, even if the
Tim Kientzle [Thu, 17 Jun 2004 03:09:06 +0000 (03:09 +0000)]
Always restore permissions for regular files, even if the
file already exists on disk.

Pointed out by: www/resin3 port (whose distfile contains the same file
  twice with different permissions and relies on the permissions associated
  with the second instance)
Thanks again to: Kris Kennaway

20 years agoFall out from Binutils 2.15: don't bulid the ld.so on Sparc64.
David E. O'Brien [Thu, 17 Jun 2004 03:04:24 +0000 (03:04 +0000)]
Fall out from Binutils 2.15: don't bulid the ld.so on Sparc64.

20 years agoFall out from Binutils 2.15: disable building the Alpha loader.
David E. O'Brien [Thu, 17 Jun 2004 02:59:53 +0000 (02:59 +0000)]
Fall out from Binutils 2.15: disable building the Alpha loader.

20 years agoWhile setting up a transmit packet disable interupts on the card then
Doug Ambrisko [Thu, 17 Jun 2004 02:19:11 +0000 (02:19 +0000)]
While setting up a transmit packet disable interupts on the card then
re-enable them after we are done setting up the packet.  This seems
to fix the MPI350 newer firmware hangs.

20 years agoRemove bad cookie vp kernel printf; while it does notify about an
Robert Watson [Thu, 17 Jun 2004 00:15:37 +0000 (00:15 +0000)]
Remove bad cookie vp kernel printf; while it does notify about an
interesting event, there's little or nothing the user can do about
it.

20 years agoCommit userland part of pf version 3.5 from OpenBSD (OPENBSD_3_5_BASE).
Max Laier [Wed, 16 Jun 2004 23:39:33 +0000 (23:39 +0000)]
Commit userland part of pf version 3.5 from OpenBSD (OPENBSD_3_5_BASE).

20 years agoThis commit was generated by cvs2svn to compensate for changes in r130614,
Max Laier [Wed, 16 Jun 2004 23:26:00 +0000 (23:26 +0000)]
This commit was generated by cvs2svn to compensate for changes in r130614,
which included commits to RCS files with non-trunk default branches.

20 years agoImport userland of pf 3.5 from OpenBSD (OPENBSD_3_5_BASE).
Max Laier [Wed, 16 Jun 2004 23:26:00 +0000 (23:26 +0000)]
Import userland of pf 3.5 from OpenBSD (OPENBSD_3_5_BASE).

20 years agoCommit pf version 3.5 and link additional files to the kernel build.
Max Laier [Wed, 16 Jun 2004 23:24:02 +0000 (23:24 +0000)]
Commit pf version 3.5 and link additional files to the kernel build.

Version 3.5 brings:
 - Atomic commits of ruleset changes (reduce the chance of ending up in an
   inconsistent state).
 - A 30% reduction in the size of state table entries.
 - Source-tracking (limit number of clients and states per client).
 - Sticky-address (the flexibility of round-robin with the benefits of
   source-hash).
 - Significant improvements to interface handling.
 - and many more ...

20 years agoThis commit was generated by cvs2svn to compensate for changes in r130610,
Max Laier [Wed, 16 Jun 2004 23:03:14 +0000 (23:03 +0000)]
This commit was generated by cvs2svn to compensate for changes in r130610,
which included commits to RCS files with non-trunk default branches.

20 years agoImport pf from OpenBSD 3.5 (OPENBSD_3_5_BASE)
Max Laier [Wed, 16 Jun 2004 23:03:14 +0000 (23:03 +0000)]
Import pf from OpenBSD 3.5 (OPENBSD_3_5_BASE)

20 years agoPrepare for pf 3.5 import:
Max Laier [Wed, 16 Jun 2004 22:59:06 +0000 (22:59 +0000)]
Prepare for pf 3.5 import:
 - Remove pflog and pfsync modules. Things will change in such a fashion
   that there will be one module with pf+pflog that can be loaded into
   GENERIC without problems (which is what most people want). pfsync is no
   longer possible as a module.
 - Add multicast address for in-kernel multicast pfsync protocol. Protocol
   glue will follow once the import is done.
 - Add one more mbuf tag

20 years agoChange remaining references to "arlconfig" to "arlcontrol".
Max Khon [Wed, 16 Jun 2004 21:31:05 +0000 (21:31 +0000)]
Change remaining references to "arlconfig" to "arlcontrol".

MFC after: 0 days

20 years agoo Return ai_batteries as 0xffffffff instead of -1. This is a nop change, but
Warner Losh [Wed, 16 Jun 2004 20:27:50 +0000 (20:27 +0000)]
o Return ai_batteries as 0xffffffff instead of -1.  This is a nop change, but
  placates gcc which seems to like to complain about -1 being assigned to
  an unsigned value.  It is well defined and intended, but since signess bugs
  are being hunted just change to 0xffffffff.
o Mask the lower 8 bits, not the lower 4 bits for the ai_capabilities word.
  All 8 bits are defined and the 0xf was almost certainly a typo.
o Define APM_UNKNOWN to 0xff for emulation layer.

20 years agoTabs were accidentally lost in the last commit.
Maxime Henrion [Wed, 16 Jun 2004 19:14:21 +0000 (19:14 +0000)]
Tabs were accidentally lost in the last commit.

Submitted by: Liam J. Foy <liamfoy@sepulcrum.org>

20 years agoUnspam sys/boot, the dev_t commit should not have touched these.
Poul-Henning Kamp [Wed, 16 Jun 2004 18:21:22 +0000 (18:21 +0000)]
Unspam sys/boot, the dev_t commit should not have touched these.

Spotted by: peter

20 years agoMy new keyboard can't spell.
Poul-Henning Kamp [Wed, 16 Jun 2004 17:03:18 +0000 (17:03 +0000)]
My new keyboard can't spell.

20 years agoRename variable name from `name' to `hostname'.
Hajimu UMEMOTO [Wed, 16 Jun 2004 16:41:23 +0000 (16:41 +0000)]
Rename variable name from `name' to `hostname'.
This is a corresponding change to bin/67994.  I'll soon commit
bin/67994 into 4-STABLE.  Actually, 5-CURRENT's getaddrinfo()
doesn't have the problem mentiond in bin/67994.  However, it is
good to be in sync variable name with 4-STABLE and KAME.

PR: bin/67994
Submitted by: JINMEI Tatuya <jinmei@ocean.jinmei.org>

20 years agoMarkup fixes.
Ruslan Ermilov [Wed, 16 Jun 2004 15:57:59 +0000 (15:57 +0000)]
Markup fixes.

20 years agoTiny markup fixes.
Ruslan Ermilov [Wed, 16 Jun 2004 15:47:45 +0000 (15:47 +0000)]
Tiny markup fixes.

20 years agoHandle dead disks in a somewhat sane way.
Lukas Ertl [Wed, 16 Jun 2004 14:41:04 +0000 (14:41 +0000)]
Handle dead disks in a somewhat sane way.

20 years agoMFi386: revision 1.1161
Yoshihiro Takahashi [Wed, 16 Jun 2004 14:21:52 +0000 (14:21 +0000)]
MFi386: revision 1.1161

20 years agoTypo: s/SunOP/SunOS/g.
Maxim Konovalov [Wed, 16 Jun 2004 12:57:31 +0000 (12:57 +0000)]
Typo: s/SunOP/SunOS/g.

20 years agoI am not quite sure what broke compiling LINT:mcount.c, but a nested
Poul-Henning Kamp [Wed, 16 Jun 2004 12:22:59 +0000 (12:22 +0000)]
I am not quite sure what broke compiling LINT:mcount.c, but a nested
include of <sys/queue.h> here solves it.

20 years agoImplement 3 new functions:
Pawel Jakub Dawidek [Wed, 16 Jun 2004 10:44:26 +0000 (10:44 +0000)]
Implement 3 new functions:
- g_lcm() - calculates Least Common Multiple of two given values,
it is helpful when we need to find sector size for provider
which is based on disks with different sector size;
- g_get_mediasize() - returns media size of given provider;
- g_get_sectorsize() - returns sector size of given provider;
Those function aren't used now, but are used by geom_mirror which will be
committed soon.

20 years agoo connect(2): if there is no a route to the destination
Maxim Konovalov [Wed, 16 Jun 2004 10:02:36 +0000 (10:02 +0000)]
o connect(2): if there is no a route to the destination
do not pick up the first local ip address for the source
ip address, return ENETUNREACH instead.

Submitted by: Gleb Smirnoff
Reviewed by: -current (silence)

20 years agoDo the dreaded s/dev_t/struct cdev */
Poul-Henning Kamp [Wed, 16 Jun 2004 09:47:26 +0000 (09:47 +0000)]
Do the dreaded s/dev_t/struct cdev */
Bump __FreeBSD_version accordingly.

20 years agoFix build for IPSEC && !INET6
Bruce M Simpson [Wed, 16 Jun 2004 09:35:07 +0000 (09:35 +0000)]
Fix build for IPSEC && !INET6

PR: kern/66125
Submitted by: Cyrille Lefevre

20 years agoReverse a patch which has no effect on -CURRENT and should probably be
Bruce M Simpson [Wed, 16 Jun 2004 08:50:14 +0000 (08:50 +0000)]
Reverse a patch which has no effect on -CURRENT and should probably be
applied directly to -STABLE.

Noticed by: iedowse
Pointy hat to: bms

20 years agoAssorted markup, spelling, and grammar fixes.
Ruslan Ermilov [Wed, 16 Jun 2004 08:33:57 +0000 (08:33 +0000)]
Assorted markup, spelling, and grammar fixes.

20 years agoIn ip_forward(), when calculating the MTU in effect for an IPSEC transport
Bruce M Simpson [Wed, 16 Jun 2004 08:33:09 +0000 (08:33 +0000)]
In ip_forward(), when calculating the MTU in effect for an IPSEC transport
mode tunnel, take the per-route MTU into account, *if* and *only if* it
is non-zero (as found in struct rt_metrics/rt_metrics_lite).

PR: kern/42727
Obtained from: NetBSD (ip_input.c rev 1.151)

20 years agoIn ip_forward(), set m->m_pkthdr.len correctly such that the mbuf chain
Bruce M Simpson [Wed, 16 Jun 2004 08:28:54 +0000 (08:28 +0000)]
In ip_forward(), set m->m_pkthdr.len correctly such that the mbuf chain
is sane, and ipsec4_getpolicybyaddr() will therefore complete.

PR: kern/42727
Obtained from: KAME (kame/freebsd4/sys/netinet/ip_input.c rev 1.42)

20 years agoPremptively fix GCC3.4 issue: add break; after empty default: clauses.
Poul-Henning Kamp [Wed, 16 Jun 2004 08:12:06 +0000 (08:12 +0000)]
Premptively fix GCC3.4 issue:  add break; after empty default: clauses.

PR: 65493
Submitted by: Pawel Worach <sajd@telia.com>

20 years agoAdd some lock assertions. Lock a small part of pmap_enter().
Alan Cox [Wed, 16 Jun 2004 07:51:19 +0000 (07:51 +0000)]
Add some lock assertions.  Lock a small part of pmap_enter().

20 years agoAdd descriptions for new path, info, maint, cat, bdeps, and
Kirill Ponomarev [Wed, 16 Jun 2004 07:29:21 +0000 (07:29 +0000)]
Add descriptions for new path, info, maint, cat, bdeps, and
rdeps variables and some new examples for "make search".

Approved by: josef (mentor)
MFC after: 2 days

20 years agoUpdated Bmake framework for Binutils 2.15.
David E. O'Brien [Wed, 16 Jun 2004 07:09:44 +0000 (07:09 +0000)]
Updated Bmake framework for Binutils 2.15.

20 years agomdoc(7) police
Bruce M Simpson [Wed, 16 Jun 2004 07:03:54 +0000 (07:03 +0000)]
mdoc(7) police

Submitted by: ru

20 years agoMFamd64
Alan Cox [Wed, 16 Jun 2004 07:03:15 +0000 (07:03 +0000)]
MFamd64
 Introduce pmap locking to many of the pmap functions.

20 years agoMake netstat(1) more closely follow documented behaviour. If a TCP
Bruce M Simpson [Wed, 16 Jun 2004 07:00:50 +0000 (07:00 +0000)]
Make netstat(1) more closely follow documented behaviour. If a TCP
socket in LISTEN state happens to be bound to an interface, it will
show up in netstat(1) output even without the -a switch.

As the definition of "sockets used by server processes" is a
difficult one to qualify with regards to UDP, do not change the
output behaviour for UDP sockets.

PR: bin/26359

20 years agoUpdate HEAD with the stock binutils_2_15_20040523 file.
David E. O'Brien [Wed, 16 Jun 2004 06:55:49 +0000 (06:55 +0000)]
Update HEAD with the stock binutils_2_15_20040523 file.

20 years agoWhen parsing an argument as an address in getaddr(), heed the -host option
Bruce M Simpson [Wed, 16 Jun 2004 06:29:41 +0000 (06:29 +0000)]
When parsing an argument as an address in getaddr(), heed the -host option
in all cases.  The failure mode in the PR is easily reproducible without
this patch.

PR: bin/43139

20 years agoDocument the behaviour of the net.link.ether.inet.proxyall sysctl MIB
Bruce M Simpson [Wed, 16 Jun 2004 06:16:29 +0000 (06:16 +0000)]
Document the behaviour of the net.link.ether.inet.proxyall sysctl MIB
variable.

PR: docs/21826
Reviewed by: ru
Requested by: Bernd Luevelsmeyer

20 years agoBlah, these came back. Use a bigger hammer.
David E. O'Brien [Wed, 16 Jun 2004 06:14:51 +0000 (06:14 +0000)]
Blah, these came back.  Use a bigger hammer.

20 years agoMerge rev 1.2 (configuration changes to support FreeBSD) into Binutils 2.15.
David E. O'Brien [Wed, 16 Jun 2004 06:13:06 +0000 (06:13 +0000)]
Merge rev 1.2 (configuration changes to support FreeBSD) into Binutils 2.15.

20 years agoMerge rev 1.2 (teach `ld' how to access FreeBSD's ld ELF hints) into
David E. O'Brien [Wed, 16 Jun 2004 06:09:06 +0000 (06:09 +0000)]
Merge rev 1.2 (teach `ld' how to access FreeBSD's ld ELF hints) into
Binutils 2.15.

20 years agoMerge rev 1.2 (FreeBSD a.out configuration support) into Binutils 2.15.
David E. O'Brien [Wed, 16 Jun 2004 06:03:34 +0000 (06:03 +0000)]
Merge rev 1.2 (FreeBSD a.out configuration support) into Binutils 2.15.

20 years agoMerge our ELF branding into Binutils 2.15.
David E. O'Brien [Wed, 16 Jun 2004 06:02:14 +0000 (06:02 +0000)]
Merge our ELF branding into Binutils 2.15.

20 years agoThis commit was generated by cvs2svn to compensate for changes in r130561,
David E. O'Brien [Wed, 16 Jun 2004 05:45:41 +0000 (05:45 +0000)]
This commit was generated by cvs2svn to compensate for changes in r130561,
which included commits to RCS files with non-trunk default branches.

20 years agoImport of Binutils from the FSF 2.15 branch (just post-.0 release).
David E. O'Brien [Wed, 16 Jun 2004 05:45:41 +0000 (05:45 +0000)]
Import of Binutils from the FSF 2.15 branch (just post-.0 release).
These bits are taken from the FSF anoncvs repo on 23-May-2004 04:41:00 UTC.

20 years agoMFamd64
Alan Cox [Wed, 16 Jun 2004 05:42:44 +0000 (05:42 +0000)]
MFamd64
 Remove dead or unneeded code, e.g., spl calls.

20 years agoDisconnect a temporarily-connected UDP socket in out-of-mbufs case. This
Bruce M Simpson [Wed, 16 Jun 2004 05:41:00 +0000 (05:41 +0000)]
Disconnect a temporarily-connected UDP socket in out-of-mbufs case. This
fixes the problem of UDP sockets getting wedged in a connected state (and
bound to their destination) under heavy load.
Temporary bind/connect should probably be deleted in future
as an optimization, as described in "A Faster UDP" [Partridge/Pink 1993].

Notes:
 - INP_LOCK() is already held in udp_output(). The connection is in effect
   happening at a layer lower than the socket layer, therefore in theory
   socket locking should not be needed.
 - Inlining the in_pcbdisconnect() operation buys us nothing (in the case
   of the current state of the code), as laddr is not part of the
   inpcb hash or the udbinfo hash. Therefore there should be no need
   to rehash after restoring laddr in the error case (this was a
   concern of the original author of the patch).

PR: kern/41765
Requested by: gnn
Submitted by: Jinmei Tatuya (with cleanups)
Tested by: spray(8)

20 years agoDisable gdb from the build due to the impending binutils 2.15 import.
David E. O'Brien [Wed, 16 Jun 2004 05:19:00 +0000 (05:19 +0000)]
Disable gdb from the build due to the impending binutils 2.15 import.
GDB 5.12 cannot consume the 2.15 bfd and libiberty.

20 years agoTurn on RFC 1724 compliant behaviour with regards to IP_ADD_MEMBERSHIP;
Bruce M Simpson [Wed, 16 Jun 2004 05:08:57 +0000 (05:08 +0000)]
Turn on RFC 1724 compliant behaviour with regards to IP_ADD_MEMBERSHIP;
routed should be able to specify multicast memberships to be added by
interface index. This should fix the unnumbered / point-to-point case
for RIPv2.

PR: bin/51927
Requested by: Eugene Grosbein

20 years agoDocument the behaviour of IP_ADD_MEMBERSHIP as per RFC 1724.
Bruce M Simpson [Wed, 16 Jun 2004 05:04:17 +0000 (05:04 +0000)]
Document the behaviour of IP_ADD_MEMBERSHIP as per RFC 1724.

PR: bin/51927

20 years agoConvert GIANT_REQUIRED to NET_ASSERT_GIANT for socket access.
Robert Watson [Wed, 16 Jun 2004 03:36:06 +0000 (03:36 +0000)]
Convert GIANT_REQUIRED to NET_ASSERT_GIANT for socket access.

20 years agoConvert GIANT_REQUIRED to NET_ASSERT_GIANT where Giant is used to
Robert Watson [Wed, 16 Jun 2004 03:12:50 +0000 (03:12 +0000)]
Convert GIANT_REQUIRED to NET_ASSERT_GIANT where Giant is used to
protect socket operations.  Leave one "as-is" as it also frobs
rootvp.

20 years agoCorrect an error in the implementation of pmap_is_prefaultable(). When I
Alan Cox [Wed, 16 Jun 2004 03:11:24 +0000 (03:11 +0000)]
Correct an error in the implementation of pmap_is_prefaultable().  When I
introduced this function in revision 1.441, I inverted one of the
comparisons.

20 years agoThis library has to change whenever the kernel process structure changes.
Julian Elischer [Wed, 16 Jun 2004 00:34:31 +0000 (00:34 +0000)]
This library has to change whenever the kernel process structure changes.

20 years agoNice, is a property of a process as a whole..
Julian Elischer [Wed, 16 Jun 2004 00:26:31 +0000 (00:26 +0000)]
Nice, is a property of a process as a whole..
I mistakenly moved it to the ksegroup when breaking up the process
structure. Put it back in the proc structure.

20 years agoDisable "bulk dequeue" when enabling ALTQ so it does not irritate the
Max Laier [Tue, 15 Jun 2004 23:59:37 +0000 (23:59 +0000)]
Disable "bulk dequeue" when enabling ALTQ so it does not irritate the
timing.

20 years agoReplace IF_HANDOFF with new IFQ_HANDOFF to enqueue with ALTQ once enabled on
Max Laier [Tue, 15 Jun 2004 23:57:42 +0000 (23:57 +0000)]
Replace IF_HANDOFF with new IFQ_HANDOFF to enqueue with ALTQ once enabled on
the respective drivers.

20 years agoChange strategy based on a suggestion from Ian Dowse. Instead of trying
Peter Wemm [Tue, 15 Jun 2004 23:57:02 +0000 (23:57 +0000)]
Change strategy based on a suggestion from Ian Dowse.  Instead of trying
to keep track of different section base addresses at a symbol-by-symbol
level, just set the symbol values at load time.

20 years agoAvoid to touch red zone, in libpthread, ucontext may be saved by kernel's
David Xu [Tue, 15 Jun 2004 21:46:36 +0000 (21:46 +0000)]
Avoid to touch red zone, in libpthread, ucontext may be saved by kernel's
get_mcontext, and libpthread will use signalcontext to deliver signal in
userland, it looks same as kernel's send_sig does.

Reviewed by: deischen, tjr

20 years agoFix several bugs related to subdisk drive_offset calculation.
Lukas Ertl [Tue, 15 Jun 2004 20:56:25 +0000 (20:56 +0000)]
Fix several bugs related to subdisk drive_offset calculation.

20 years agoOops. My last commit included a bug that would make "su -m" always
Mark Murray [Tue, 15 Jun 2004 20:23:02 +0000 (20:23 +0000)]
Oops. My last commit included a bug that would make "su -m" always
use /bin/sh. Fix this.

20 years agoIf a device is not ONLINE, do not attempt to submit any commands
Paul Saab [Tue, 15 Jun 2004 19:40:47 +0000 (19:40 +0000)]
If a device is not ONLINE, do not attempt to submit any commands
or I/O to the volume.  This solves a panic when removing a disk in
a RAID 0 volume.

Reported by: le

20 years agoRemove a stale comment.
Alan Cox [Tue, 15 Jun 2004 19:28:40 +0000 (19:28 +0000)]
Remove a stale comment.

20 years agoOverhaul the markup.
Ruslan Ermilov [Tue, 15 Jun 2004 19:26:11 +0000 (19:26 +0000)]
Overhaul the markup.

20 years agoConnect geom(8) to the build.
Pawel Jakub Dawidek [Tue, 15 Jun 2004 17:31:35 +0000 (17:31 +0000)]
Connect geom(8) to the build.

Reminded by: des

20 years agos/device_get_handle/acpi_get_handle
Nate Lawson [Tue, 15 Jun 2004 16:49:20 +0000 (16:49 +0000)]
s/device_get_handle/acpi_get_handle

Submitted by: Hiroyuki Aizu

20 years agomdoc(7) police
Bruce M Simpson [Tue, 15 Jun 2004 16:48:42 +0000 (16:48 +0000)]
mdoc(7) police

Submitted by: ru

20 years agoFix spelling.
Doug Rabson [Tue, 15 Jun 2004 16:03:49 +0000 (16:03 +0000)]
Fix spelling.

20 years agoFill in locking annotation for additional socket fields:
Robert Watson [Tue, 15 Jun 2004 13:43:11 +0000 (13:43 +0000)]
Fill in locking annotation for additional socket fields:

so_timeo        Used as a sleep/wakeup address, no locking.
sb_*            Almost all socket buffer fields locked with
                sockbuf lock for the oskcet buffer.
so_cred         Static after socket creation.

20 years agoOverhaul the markup.
Ruslan Ermilov [Tue, 15 Jun 2004 12:48:50 +0000 (12:48 +0000)]
Overhaul the markup.

20 years agoOops, backout debug code..
Søren Schmidt [Tue, 15 Jun 2004 11:38:48 +0000 (11:38 +0000)]
Oops, backout debug code..

20 years agoDont set prefetch etc on VIA chips, causes problems on newer chips and
Søren Schmidt [Tue, 15 Jun 2004 11:16:36 +0000 (11:16 +0000)]
Dont set prefetch etc on VIA chips, causes problems on newer chips and
ATAPI devices.

20 years agoIncrease robustness of SATA handling.
Søren Schmidt [Tue, 15 Jun 2004 11:02:09 +0000 (11:02 +0000)]
Increase robustness of SATA handling.

20 years agoAdd pmap locking to pmap_extract(), pmap_mincore(), and pmap_remove().
Alan Cox [Tue, 15 Jun 2004 07:41:44 +0000 (07:41 +0000)]
Add pmap locking to pmap_extract(), pmap_mincore(), and pmap_remove().

20 years agoUpdate some internal comments about the --no-same-permissions option.
Tim Kientzle [Tue, 15 Jun 2004 07:16:44 +0000 (07:16 +0000)]
Update some internal comments about the --no-same-permissions option.
Thanks to: Kris Kennaway for doing some gtar research for me.

20 years agoBe a little more careful about creating directories:
Tim Kientzle [Tue, 15 Jun 2004 07:12:04 +0000 (07:12 +0000)]
Be a little more careful about creating directories:
 * Restore directories with 0700 permissions initially,
   then use the fixup pass to correct the permissions
 * Trim trailing "/" and "/." in mkdirpath()

Suggested by: Garrett Wollman

20 years agoAs near as I can tell, --no-same-permissions is a no-op in
Tim Kientzle [Tue, 15 Jun 2004 06:44:41 +0000 (06:44 +0000)]
As near as I can tell, --no-same-permissions is a no-op in
gtar, so that makes it easy to implement.

Required by: audio/timidity port
Thanks to: Kris Kennaway

20 years agoOops. bsdtar's old -X option didn't take an argument; the new
Tim Kientzle [Tue, 15 Jun 2004 06:24:54 +0000 (06:24 +0000)]
Oops.  bsdtar's old -X option didn't take an argument; the new
(gtar-compatible) one does require an argument.

20 years agoAdd gtar-compatible -X/--exclude-from
Tim Kientzle [Tue, 15 Jun 2004 05:55:41 +0000 (05:55 +0000)]
Add gtar-compatible -X/--exclude-from