]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
22 years agoWhile we're at it, add range checks similar to those in previous commit to
nectar [Fri, 9 Aug 2002 12:58:11 +0000 (12:58 +0000)]
While we're at it, add range checks similar to those in previous commit to
getsockname() and getpeername(), too.

22 years agomdoc(7) police: spelling.
ru [Fri, 9 Aug 2002 12:08:47 +0000 (12:08 +0000)]
mdoc(7) police: spelling.

22 years agomdoc(7) police: tidy up the formatting.
ru [Fri, 9 Aug 2002 12:07:17 +0000 (12:07 +0000)]
mdoc(7) police: tidy up the formatting.

22 years agomdoc(7) police: punctuation.
ru [Fri, 9 Aug 2002 11:36:48 +0000 (11:36 +0000)]
mdoc(7) police: punctuation.

22 years agomdoc(7) police: sort xrefs.
ru [Fri, 9 Aug 2002 11:33:23 +0000 (11:33 +0000)]
mdoc(7) police: sort xrefs.

22 years agomdoc(7) police: punctuation.
ru [Fri, 9 Aug 2002 11:24:21 +0000 (11:24 +0000)]
mdoc(7) police: punctuation.

22 years agomdoc(7) police: whitespace nits.
ru [Fri, 9 Aug 2002 11:17:56 +0000 (11:17 +0000)]
mdoc(7) police: whitespace nits.

22 years agomdoc(7) police: laundry.
ru [Fri, 9 Aug 2002 11:15:49 +0000 (11:15 +0000)]
mdoc(7) police: laundry.

22 years agomdoc(7) police: laundry.
ru [Fri, 9 Aug 2002 11:06:03 +0000 (11:06 +0000)]
mdoc(7) police: laundry.

22 years agomdoc(7) police: tidying.
ru [Fri, 9 Aug 2002 10:59:20 +0000 (10:59 +0000)]
mdoc(7) police: tidying.

22 years agomdoc(7) police: whitespace nits.
ru [Fri, 9 Aug 2002 10:49:50 +0000 (10:49 +0000)]
mdoc(7) police: whitespace nits.

22 years agomdoc(7) police: tidy up, bump document date on behalf of the -n option.
ru [Fri, 9 Aug 2002 10:46:00 +0000 (10:46 +0000)]
mdoc(7) police: tidy up, bump document date on behalf of the -n option.

22 years agomdoc(7) police: grammar.
ru [Fri, 9 Aug 2002 10:38:34 +0000 (10:38 +0000)]
mdoc(7) police: grammar.

22 years agomdoc(7) police: kill hard sentence breaks and one double space.
ru [Fri, 9 Aug 2002 10:34:57 +0000 (10:34 +0000)]
mdoc(7) police: kill hard sentence breaks and one double space.

22 years agoMake sure we set errno sensibly in case of failure.
phk [Fri, 9 Aug 2002 10:16:24 +0000 (10:16 +0000)]
Make sure we set errno sensibly in case of failure.

Spotted by: ache

22 years agoIntroduce a new error return code:
phk [Fri, 9 Aug 2002 10:15:48 +0000 (10:15 +0000)]
Introduce a new error return code:
#define EDOFUS          88              /* Programming error */
This can be used to signal error situations which indicate that the
program logic or assumptions is deficient.

22 years agoAdd safeguards to never use errno == 0 as setrunelocale() error return code
ache [Fri, 9 Aug 2002 08:22:29 +0000 (08:22 +0000)]
Add safeguards to never use errno == 0 as setrunelocale() error return code

22 years agoRemove a stray ';'.
jhay [Fri, 9 Aug 2002 08:22:02 +0000 (08:22 +0000)]
Remove a stray ';'.

22 years agoRemove a '-' that is not needed.
jhay [Fri, 9 Aug 2002 08:18:15 +0000 (08:18 +0000)]
Remove a '-' that is not needed.

Submitted by: ru

22 years agoAdd a third floppy to releases. It will only be built if there is a
jhay [Fri, 9 Aug 2002 07:45:42 +0000 (07:45 +0000)]
Add a third floppy to releases. It will only be built if there is a
release/${TARGET}/drivers.conf file which list drivers that have to
go into the third floppy.

Also shuffle i386/drivers.conf so that the floppies don't overflow
anymore. Anybody with real/better usage statistics is welcome to
shuffle it differently.

Reviewed by: ru

22 years agoTeach sysinstall that documents on the boot floppy might not be gzipped.
jhay [Fri, 9 Aug 2002 07:44:43 +0000 (07:44 +0000)]
Teach sysinstall that documents on the boot floppy might not be gzipped.

Reviewed by: ru

22 years agoFix wrong member variable ordering of struct acpi_bif.
iwasaki [Fri, 9 Aug 2002 07:08:53 +0000 (07:08 +0000)]
Fix wrong member variable ordering of struct acpi_bif.

22 years agoRestore autoloading of ACPI module.
obrien [Fri, 9 Aug 2002 06:07:33 +0000 (06:07 +0000)]
Restore autoloading of ACPI module.

Document the approved ways of disabling it.
Submitted by: Daniel O'Connor <doconnor@gsoft.com.au>

22 years agoAdd additional range checks for copyout targets.
rwatson [Fri, 9 Aug 2002 05:50:32 +0000 (05:50 +0000)]
Add additional range checks for copyout targets.

Submitted by: Silvio Cesare <silvio@qualys.com>

22 years agoDon't auto load ACPI -- it causes trouble with my laptop and is TOTALLY
obrien [Fri, 9 Aug 2002 05:21:01 +0000 (05:21 +0000)]
Don't auto load ACPI -- it causes trouble with my laptop and is TOTALLY
undocumented how to control its loading and queries to freebsd-current
go unanswered.

22 years agoUpdate TE policy and MAC text conversion routines to support partial
rwatson [Fri, 9 Aug 2002 03:09:38 +0000 (03:09 +0000)]
Update TE policy and MAC text conversion routines to support partial
label updates.  Biba and MLS already supported this.  This permits the
userland library to submit relative updates on MAC labels, rather
than submitting an entire label to replace the current label.  This
also requires changes to the MAC modules, which are forthcoming.

Obtained from: TrustedBSD Project
Sponsored by: DARPA, NAI Labs

22 years agoX-ref mac.3.
rwatson [Fri, 9 Aug 2002 03:03:08 +0000 (03:03 +0000)]
X-ref mac.3.

22 years agoApply the envp fix to the other call to main() as well.
gshapiro [Fri, 9 Aug 2002 02:39:38 +0000 (02:39 +0000)]
Apply the envp fix to the other call to main() as well.

Submitted by: Peter Edwards <pmedwards@eircom.net>

22 years agouse the new interface to ether_input(), with eh = NULL and
luigi [Fri, 9 Aug 2002 01:48:28 +0000 (01:48 +0000)]
use the new interface to ether_input(), with eh = NULL and
the MAC header in the mbuf.

MFC after: 3 days

22 years agoImprove the code for detecting UID ranges so that usernames such
iedowse [Fri, 9 Aug 2002 01:21:03 +0000 (01:21 +0000)]
Improve the code for detecting UID ranges so that usernames such
as "2-xhibit" are not considered as a range. Fix a problem where
the code would forget to increment argv.

PR: misc/15658

22 years agoAdd a new flag (-l) that suppresses quota checks on NFS filesystems.
iedowse [Fri, 9 Aug 2002 00:53:00 +0000 (00:53 +0000)]
Add a new flag (-l) that suppresses quota checks on NFS filesystems.

PR: bin/12939
Submitted by: Neil Blakey-Milner <nbm@rucus.ru.ac.za>

22 years agoFix a few compiler warnings, sort options and make the usage()
iedowse [Fri, 9 Aug 2002 00:43:36 +0000 (00:43 +0000)]
Fix a few compiler warnings, sort options and make the usage()
output match the synopsis.

22 years ago o Use pmap_page_is_mapped() in vm_page_protect() rather than the PG_MAPPED
alc [Thu, 8 Aug 2002 19:12:36 +0000 (19:12 +0000)]
 o Use pmap_page_is_mapped() in vm_page_protect() rather than the PG_MAPPED
   flag.  (This is the only place in the entire kernel where the PG_MAPPED
   flag is tested.  It will be removed soon.)

22 years agoAdd support for SX cards using TBI such as Netgear GA621.
ambrisko [Thu, 8 Aug 2002 18:33:28 +0000 (18:33 +0000)]
Add support for SX cards using TBI such as Netgear GA621.

Sponsored by: Vernier Networks.
MFC after: 1 week

22 years agoAdd support for SX cards using TBI such as Netgear GA621
ambrisko [Thu, 8 Aug 2002 18:30:39 +0000 (18:30 +0000)]
Add support for SX cards using TBI such as Netgear GA621

Sponsored by: Vernier Networks.
MFC after: 1 week

22 years agoRework storing files thoroughly. This includes:
yar [Thu, 8 Aug 2002 17:53:52 +0000 (17:53 +0000)]
Rework storing files thoroughly. This includes:

o Remove the race between stat(2) & fopen(3) when creating
  a unique file.

o Improve bound checking when generating a unique name from
  a given pathname.

o Ignore REST marker on APPE.  No RFC specifies this case,
  but the idea of resuming APPE's implies this.

o By default, deny upload resumes and appends by anonymous users.
  Previously these commands were translated to STOU silently,
  which led to broken files on server without any notification
  to the user.

o Add an option, -m, to allow anonymous users to modify
  existing files (e.g., to resume uploads) if filesystem
  permissions permit.

Portions obrainded from: OpenBSD
MFC after: 3 weeks

22 years agoUse '_end' symbol instead of 'end' to initialize minbrk and curbrk
kan [Thu, 8 Aug 2002 17:28:07 +0000 (17:28 +0000)]
Use '_end' symbol instead of 'end' to initialize minbrk and curbrk
variables. Both symbols are set to the same value by the linker,
and _end symbol has less chances to clash with application defined
global symbols.

alpha, ia64 and sparc64 ports already use _end, i386 is now
consistent with them.

Reviewed by: bde
Approved by: obrien
Reported by: pirzyk

22 years agoDon't acquire the writer lock in rtld_exit when clearing the shared
jdp [Thu, 8 Aug 2002 15:53:23 +0000 (15:53 +0000)]
Don't acquire the writer lock in rtld_exit when clearing the shared
objects' reference counts.  This function is called by the atexit
mechanism at program shutdown.  I don't think the locking is necessary
here.  It caused OpenOffice builds to hang more often than not.
Credit to Martin Blapp and Matt Dillon for helping to diagnose this
problem and for testing the fix.

22 years agoDon't bogusly depend on pcic. pccard should be enough.
imp [Thu, 8 Aug 2002 15:52:55 +0000 (15:52 +0000)]
Don't bogusly depend on pcic.  pccard should be enough.

Noticed by: jhay
Forgotten  about for two years by: imp

22 years agoThe intent in rev. 1.299 was to make the CPUTYPE assignment type check
ru [Thu, 8 Aug 2002 15:43:23 +0000 (15:43 +0000)]
The intent in rev. 1.299 was to make the CPUTYPE assignment type check
bother "only those who attempts to set it to a different value".  This
got broken in rev. 1.300 (that fixed another race).

Reported by: ache

22 years agoOnly my brain can fart while fixing a previous brain fart.
bmilekic [Thu, 8 Aug 2002 13:31:57 +0000 (13:31 +0000)]
Only my brain can fart while fixing a previous brain fart.

22 years agoYIKES, I take the pointy-hat for a really big braino here. I
bmilekic [Thu, 8 Aug 2002 13:29:32 +0000 (13:29 +0000)]
YIKES, I take the pointy-hat for a really big braino here.  I
appologize to those of you who may have been seeing crashes in
code that uses sendfile(2) or other types of external buffers
with mbufs.

Pointed out by, and provided trace:
    Niels Chr. Bank-Pedersen <ncbp at bank-pedersen.dk>

22 years agoDue to layering problems, remove the MAC checks from vn_rdwr() -- this
rwatson [Thu, 8 Aug 2002 12:45:30 +0000 (12:45 +0000)]
Due to layering problems, remove the MAC checks from vn_rdwr() -- this
VOP wrapper is called from within file systems so can result in odd
loopback effects when MAC enforcement is use with the active (as
opposed to saved) credential.  These checks will be moved elsewhere.

Obtained from: TrustedBSD Project
Sponsored by: DARPA, NAI Labs

22 years agoUse the hw.usb sysctl tree instead of debug.usb.
joe [Thu, 8 Aug 2002 12:05:51 +0000 (12:05 +0000)]
Use the hw.usb sysctl tree instead of debug.usb.

Requested by: imp

22 years agoAdd DVD+RW support to the ATA driver and burncd. This also closes
sos [Thu, 8 Aug 2002 07:59:24 +0000 (07:59 +0000)]
Add DVD+RW support to the ATA driver and burncd. This also closes
PR40430 by "Peter Haight <peterh@sapros.com>" that has semilar patches
included and which I merged with my own work.

HW sponsored by: FreeBSD Foundation & FreeBSD Mall Inc

Enjoy!

22 years agoDo some work on keeping better track of stopped/continued state.
julian [Thu, 8 Aug 2002 06:18:41 +0000 (06:18 +0000)]
Do some work on keeping better track of stopped/continued state.
I'm not sure what happenned to the original setting of the P_CONTINUED
flag. it appears to have been lost in the paper shuffling...

Submitted by: David Xu <bsddiy@yahoo.com>

22 years agoEAK! two status flags in teh proc structure were defined to the
julian [Thu, 8 Aug 2002 06:09:32 +0000 (06:09 +0000)]
EAK! two status flags in teh proc structure were defined to the
same value!

Picked up by: David Xu <bsddiy@yahoo.com>

22 years agoRewrite locale loading procedures, so any load failure will not affect
ache [Thu, 8 Aug 2002 05:51:54 +0000 (05:51 +0000)]
Rewrite locale loading procedures, so any load failure will not affect
currently cached data.  It allows a number of nice things, like: removing
fallback code from single locale loading, remove memory leak when LC_CTYPE
data loaded again and again, efficient cache use, not only for
setlocale(locale1); setlocale(locale1), but for setlocale(locale1);
setlocale("C"); setlocale(locale1) too (i.e.  data file loaded only once).

22 years agoImplement POSIX.1-2001 (XSI)'s ulimit(3).
mike [Thu, 8 Aug 2002 04:50:36 +0000 (04:50 +0000)]
Implement POSIX.1-2001 (XSI)'s ulimit(3).

Submitted by: Kyle Martin <mkm@ieee.org>

22 years agoSet errno to ENOMEM for strdup too (due to malloc errno bug)
ache [Wed, 7 Aug 2002 23:52:28 +0000 (23:52 +0000)]
Set errno to ENOMEM for strdup too (due to malloc errno bug)

22 years agoFixes for the D-Link DFE-580 card.
ambrisko [Wed, 7 Aug 2002 22:31:27 +0000 (22:31 +0000)]
Fixes for the D-Link DFE-580 card.

This is pretty much fixes any issue I can find:
     -  Watchdog timeouts were due to starting the TX DMA engine
        before we had a packet ready for it.  So the first packet
        sent never got out only if we sent more then one packet
        at a time did the others make it out and not blow up.
        Of course reseting the chip then caused us not to transmit
        the first packet again ie. catch-22.  This required logic changes.
     -  Combine interrupts on TX packets being queued up.
     -  Don't keep running around the RX ring since we might get
        out of sync so only go around once per receive
     -  Let the RX engine recover via the poll interface which is
        similar to the TX interface.  This way the chip wakes
        up with no effort when we read enough packets.
     -  Do better hand-shaking on RX & TX packets so they don't
        start of to soon.
     -  Force a duplex setting when the link comes up after
        an ste_init or it will default to half-duplex and be
        really slow.  This only happens on subsequent ste_init.
        The first one worked.
     -  Don't call stat_update for every overflow.  We only monitor
        the collisions so the tick interval is good enough for that.
        Just read in the collision stats to minimize bus reads.
     -  Don't read the miibus every tick since it uses delays and
        delays are not good for performance.
     -  Tie link events directly to the miibus code so the port
        gets set correctly if someone changes the port settings.
     -  Reduce the extreme number of {R,T}FD's.  They would consume
        130K of kernel memory for each NIC.
     -  Set the TX_THRESH to wait for the DMA engine to complete
        before running the TX FIFO.  This hurts peak TX performance
        but under bi-directional load the DMA engine can't keep up
        with the FIFO.  Testing shows that we end up in the case
        anyways (a la dc(4) issues but worse since the RX engine hogs
everything).
     -  When stopping the card do a reset since the reset verifies the
card has stopped.  Otherwise on heavy RX load the RX DMA engine
is still stuffing packets into memory.  If that happens after
we free the DMA area memory bits get scribled in memory and
bad things happen.

This card still has seemingly unfixable issues under heavy RX load in
which the card takes over the PCI bus.

Sponsored by: Vernier Networks
MFC after: 1 week

22 years agoOnly attach one PHY device to a controller. NetBSD has similar code.
ambrisko [Wed, 7 Aug 2002 22:18:33 +0000 (22:18 +0000)]
Only attach one PHY device to a controller.  NetBSD has similar code.
The D-Link DFE-580 card will otherwise show 2 miibuses for each controller
and therefore 2 ukphy's.

Sponsored by: Vernier Networks
MFC after: 1 week

22 years ago - Adjust locking markup to match the proc markup.
jeff [Wed, 7 Aug 2002 22:05:34 +0000 (22:05 +0000)]
 - Adjust locking markup to match the proc markup.
 - Add a comment about the current, unfinished, state of vnode locking.

Suggested by: bde

22 years agoAlways set errno to ENOMEM after malloc failed (as workaround).
ache [Wed, 7 Aug 2002 22:03:46 +0000 (22:03 +0000)]
Always set errno to ENOMEM after malloc failed (as workaround).
Our malloc sometimes forget to set errno, f.e. for size overflow case.

22 years agoReset __mb_cur_max to 1 when "C" or "POSIX" locales loaded after multibyte one
ache [Wed, 7 Aug 2002 20:49:25 +0000 (20:49 +0000)]
Reset __mb_cur_max to 1 when "C" or "POSIX" locales loaded after multibyte one

22 years agoFix wrong address when EucInfo > "variable" size
ache [Wed, 7 Aug 2002 20:20:56 +0000 (20:20 +0000)]
Fix wrong address when EucInfo > "variable" size

22 years agoCorrect a bug introduced in 1.26: M_PKTHDR is set in the 'flags'
rwatson [Wed, 7 Aug 2002 20:15:29 +0000 (20:15 +0000)]
Correct a bug introduced in 1.26: M_PKTHDR is set in the 'flags'
argument, not the 'type' argument.  As a result of the buf, the
MAC label on some packet header mbufs might not be set in mbufs
allocated using m_getcl(), resulting in a page fault.

Obtained from: TrustedBSD Project
Sponsored by: DARPA, NAI Labs

22 years agoCorrect an inaccuracy in this man page regarding detecting empty fields.
archie [Wed, 7 Aug 2002 20:08:50 +0000 (20:08 +0000)]
Correct an inaccuracy in this man page regarding detecting empty fields.

MFC after: 2 days

22 years agoUse the CPU_* OID constants instead of OID_AUTO for the clock-related
tmm [Wed, 7 Aug 2002 19:43:54 +0000 (19:43 +0000)]
Use the CPU_* OID constants instead of OID_AUTO for the clock-related
sysctls for compatability with old applications.

22 years ago o Introduce pmap_page_is_mapped(). Its purpose is to obsolete
alc [Wed, 7 Aug 2002 19:37:22 +0000 (19:37 +0000)]
 o Introduce pmap_page_is_mapped().  Its purpose is to obsolete
   the PG_MAPPED flag.

22 years agoCache the credential provided during accton() for use in later accounting
rwatson [Wed, 7 Aug 2002 19:30:16 +0000 (19:30 +0000)]
Cache the credential provided during accton() for use in later accounting
vnode operations.  This permits the rights of the user (typically root)
used to turn on accounting to be used when writing out accounting entries,
rather than the credentials of the process generating the accounting
record.  This fixes accounting in a number of environments, including
file systems that offer revocation support, MAC environments, some
securelevel scenarios, and in some NFS environments.

Obtained from: TrustedBSD Project
Sponsored by: DARPA, NAI Labs

22 years agoDocument file descriptor reopening and current standardization status.
wollman [Wed, 7 Aug 2002 18:03:30 +0000 (18:03 +0000)]
Document file descriptor reopening and current standardization status.

22 years ago o Introduce pmap_page_is_mapped(). Its purpose is to obsolete
alc [Wed, 7 Aug 2002 18:03:00 +0000 (18:03 +0000)]
 o Introduce pmap_page_is_mapped().  Its purpose is to obsolete
   the PG_MAPPED flag.

22 years agoStyle fixes in preparation for rewritting
ache [Wed, 7 Aug 2002 18:02:45 +0000 (18:02 +0000)]
Style fixes in preparation for rewritting

22 years agoRefresh the credential on the first initproc thread following divorcing
rwatson [Wed, 7 Aug 2002 17:53:31 +0000 (17:53 +0000)]
Refresh the credential on the first initproc thread following divorcing
the initproc credential from the proc0 credential.  Otherwise, the
proc0 credential is used instead of initproc's credentil when authorizing
start_init() activities prior to initproc hitting userland for the
first time.  This could result in the incorrect credential being used
to authorize mounting of the root file system, which could in turn cause
problems for NFS when used in combination with uid/gid ipfw rules, or
with MAC.

Discussed with: julian

22 years agoAdded Russian translation of the .Ex -std macro.
ru [Wed, 7 Aug 2002 17:47:24 +0000 (17:47 +0000)]
Added Russian translation of the .Ex -std macro.

MFC after: 3 days

22 years agoPOSIX.1-2001 says ``man -k'' should produce results equivalent to
ru [Wed, 7 Aug 2002 17:39:35 +0000 (17:39 +0000)]
POSIX.1-2001 says ``man -k'' should produce results equivalent to
the ``grep -Ei'' searching.

MFC after: 3 days

22 years agoAdd capability for limiting the maximum number of simultaneous
ume [Wed, 7 Aug 2002 17:03:14 +0000 (17:03 +0000)]
Add capability for limiting the maximum number of simultaneous
invocations of each service from a single IP address.

Requested by: matusita
Reviewed by: dwmalone
Tested by: matusita on snapshots.jp.FreeBSD.org
MFC after: 2 weeks

22 years agoStyle fixes
ache [Wed, 7 Aug 2002 16:49:20 +0000 (16:49 +0000)]
Style fixes

22 years agoStyle fixes in preparation of code rewritting
ache [Wed, 7 Aug 2002 16:45:23 +0000 (16:45 +0000)]
Style fixes in preparation of code rewritting

22 years agoUse new interface for ether_input().
luigi [Wed, 7 Aug 2002 16:08:54 +0000 (16:08 +0000)]
Use new interface for ether_input().
Remove some unnecessary assignments to mbuf fields in sis_newbuf(),
the "length" fields are of no use while the mbuf is in the receive ring.

MFC after: 3 days

22 years agoWe no longer have a COPY.
ru [Wed, 7 Aug 2002 16:01:06 +0000 (16:01 +0000)]
We no longer have a COPY.

22 years agoMakefile.inc1 may eventually be merged with Makefile, so fix an
ru [Wed, 7 Aug 2002 13:41:46 +0000 (13:41 +0000)]
Makefile.inc1 may eventually be merged with Makefile, so fix an
endless recursion bug similar to the one that has been fixed in
release/Makefile,v 1.698, in advance.  A related fix to make(1)
has been committed in make/main.c,v 1.68.

Requested by: bde (who has them merged already)

22 years agoPacify ``make -f /dev/null -V FOO''.
ru [Wed, 7 Aug 2002 13:25:51 +0000 (13:25 +0000)]
Pacify ``make -f /dev/null -V FOO''.

22 years agoImprove stack manipulation code of ACPI wakeup routine.
iwasaki [Wed, 7 Aug 2002 12:48:28 +0000 (12:48 +0000)]
Improve stack manipulation code of ACPI wakeup routine.
The new code just override stack top value with saved return address
rather than pop/push operation.

Submitted by: jhb

22 years agoRemove an unnecessary cast.
mdodd [Wed, 7 Aug 2002 11:35:18 +0000 (11:35 +0000)]
Remove an unnecessary cast.

22 years agoMove code block added in 1.157 to a safer part of fork1().
mdodd [Wed, 7 Aug 2002 11:31:45 +0000 (11:31 +0000)]
Move code block added in 1.157 to a safer part of fork1().

Submitted by:  jake

22 years agoClose descriptor, if error happens in loadCat()
ache [Wed, 7 Aug 2002 07:02:37 +0000 (07:02 +0000)]
Close descriptor, if error happens in loadCat()

22 years agoBack out workaround of fixing "suspend/fg" by price of breaking "stop $$/fg".
ache [Wed, 7 Aug 2002 05:44:50 +0000 (05:44 +0000)]
Back out workaround of fixing "suspend/fg" by price of breaking "stop $$/fg".

This is real kernel bug (threads) and don't attempt to mask it by
workarounds to increase chances to fix it in the kernel.

22 years agoAdd Intersil and Symbol as vendors for 802.11 cards that the wi driver
imp [Wed, 7 Aug 2002 05:40:34 +0000 (05:40 +0000)]
Add Intersil and Symbol as vendors for 802.11 cards that the wi driver
supports.

Obtained from: NetBSD

22 years agoTypo: s/seperately/separately
schweikh [Tue, 6 Aug 2002 20:36:02 +0000 (20:36 +0000)]
Typo: s/seperately/separately

PR: misc/41235
Submitted by: Fesskat Tudeer <freebsd-fesskat@fesskat.org>
MFC after: 3 days

22 years agoFix -o ac(reg|dir)(min|max) options. The appropriate flags weren't
semenu [Tue, 6 Aug 2002 20:26:30 +0000 (20:26 +0000)]
Fix -o ac(reg|dir)(min|max) options. The appropriate flags weren't
translated from ALTF_* to NFSMNT_* thus these options weren't accepted
by kernel.

PR: bin/30334
MFC after: 1 week

22 years agoOur awk does not implement the ARGIND variable, so we were attempting
iedowse [Tue, 6 Aug 2002 19:31:04 +0000 (19:31 +0000)]
Our awk does not implement the ARGIND variable, so we were attempting
to parse the binary .kld file as a list of symbols. Fix this by
simply deleting the unwanted argument from the ARGV[] array instead
of trying to skip over it.

22 years agoSet the ident field of the struct kevent that is registered by _aio_aqueue()
alc [Tue, 6 Aug 2002 19:01:08 +0000 (19:01 +0000)]
Set the ident field of the struct kevent that is registered by _aio_aqueue()
to the address of the user's aiocb rather than the kernel's aiocb.  (In other
words, prior to this change, the ident field returned by kevent(2) on
completion of an AIO was effectively garbage.)

Submitted by: Romer Gil <rgil@cs.rice.edu>

22 years agoRemove new console devices with cnremove before initializing them in
jake [Tue, 6 Aug 2002 18:56:41 +0000 (18:56 +0000)]
Remove new console devices with cnremove before initializing them in
cninit.  This allows a console driver to replace the existing console
by calling cninit again, eg during the device probe.  Otherwise the
multiple console code sends output to both, which is unfortunate if
they're using the same hardware.

22 years agoprintf() formats fixes
fjoe [Tue, 6 Aug 2002 17:00:02 +0000 (17:00 +0000)]
printf() formats fixes

22 years agoNew release notes: SA-02:35, SA-02:36, SA-02:37.
bmah [Tue, 6 Aug 2002 15:44:55 +0000 (15:44 +0000)]
New release notes:  SA-02:35, SA-02:36, SA-02:37.

22 years agoTry harder to "set signal flags proprly [sic] for ast()". See rev.1.154.
bde [Tue, 6 Aug 2002 15:22:09 +0000 (15:22 +0000)]
Try harder to "set signal flags proprly [sic] for ast()".  See rev.1.154.

22 years agoRegen.
rwatson [Tue, 6 Aug 2002 15:16:55 +0000 (15:16 +0000)]
Regen.

22 years agoRename mac_policy() to mac_syscall() to be more reflective of its
rwatson [Tue, 6 Aug 2002 15:15:53 +0000 (15:15 +0000)]
Rename mac_policy() to mac_syscall() to be more reflective of its
purpose.

Submitted by: cvance@tislabs.com
Obtained from: TrustedBSD Project
Sponsored by: DARPA, NAI Labs

22 years ago- Use time.h not sys/time.h.
mdodd [Tue, 6 Aug 2002 12:46:14 +0000 (12:46 +0000)]
- Use time.h not sys/time.h.
- Fix printf format errors.

Submitted by:  bde

22 years agoDon't automagically call vslock() from SYSCTL_OUT(). Instead, complain
truckman [Tue, 6 Aug 2002 11:28:09 +0000 (11:28 +0000)]
Don't automagically call vslock() from SYSCTL_OUT().  Instead, complain
about calls to SYSCTL_OUT() made with locks held if the buffer has not
been pre-wired.  SYSCTL_OUT() should not be called while holding locks,
but if this is not possible, the buffer should be wired by calling
sysctl_wire_old_buffer() before grabbing any locks.

22 years agoUse the new docproj-jadetex port for disc#3. Previously, docproj was
murray [Tue, 6 Aug 2002 08:25:03 +0000 (08:25 +0000)]
Use the new docproj-jadetex port for disc#3.  Previously, docproj was
not included in its entirety because JADETEX was not defined.

22 years agoSort prototypes by function name.
tjr [Tue, 6 Aug 2002 06:26:06 +0000 (06:26 +0000)]
Sort prototypes by function name.

22 years agoConnect bmtphy to the mii module build.
benno [Tue, 6 Aug 2002 06:09:47 +0000 (06:09 +0000)]
Connect bmtphy to the mii module build.

Forgotten a long time ago by: benno

22 years agoWhitespace formatting changes: line up macro bodies, function names,
tjr [Tue, 6 Aug 2002 05:19:33 +0000 (05:19 +0000)]
Whitespace formatting changes: line up macro bodies, function names,
place tabs after #define and typedef. Sort typedefs by name.

Requested by: mike

22 years agoBuild iswctype.c and manual pages for the functions it defines.
tjr [Tue, 6 Aug 2002 00:49:59 +0000 (00:49 +0000)]
Build iswctype.c and manual pages for the functions it defines.

22 years agoRemove Australia from list of locations supposedly having a bank
grog [Mon, 5 Aug 2002 23:54:22 +0000 (23:54 +0000)]
Remove Australia from list of locations supposedly having a bank
holiday on 6 August.  Since this claim isn't dependent on the weekday,
I have my strong doubts about the other locations too, but I can't
confirm, so I'm leaving them in.

22 years agoHandle PMTU discovery in syn-ack packets slightly differently;
silby [Mon, 5 Aug 2002 22:34:15 +0000 (22:34 +0000)]
Handle PMTU discovery in syn-ack packets slightly differently;
rely on syncache flags instead of directly accessing the route
entry.

MFC after: 3 days

22 years agoFix typo in vnode flags causing deadlock in msdosfs_fsync().
pb [Mon, 5 Aug 2002 21:07:30 +0000 (21:07 +0000)]
Fix typo in vnode flags causing deadlock in msdosfs_fsync().

Reviewed by: jeff