]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
19 years agoThis commit was generated by cvs2svn to compensate for changes in r147466,
des [Fri, 17 Jun 2005 14:39:09 +0000 (14:39 +0000)]
This commit was generated by cvs2svn to compensate for changes in r147466,
which included commits to RCS files with non-trunk default branches.

19 years agoFix markup errors caused by a bug in gendoc.pl (see P4 change #78671)
des [Fri, 17 Jun 2005 14:39:09 +0000 (14:39 +0000)]
Fix markup errors caused by a bug in gendoc.pl (see P4 change #78671)

Approved by: re (kensmith)

19 years agoThis commit was generated by cvs2svn to compensate for changes in r147464,
des [Fri, 17 Jun 2005 14:37:52 +0000 (14:37 +0000)]
This commit was generated by cvs2svn to compensate for changes in r147464,
which included commits to RCS files with non-trunk default branches.

19 years agoMFP4: (#78671) correctly escape \& in Perl strings.
des [Fri, 17 Jun 2005 14:37:52 +0000 (14:37 +0000)]
MFP4: (#78671) correctly escape \& in Perl strings.

Submitted by: ru
Approved by: re (kensmith)

19 years agoThis commit was generated by cvs2svn to compensate for changes in r147462,
des [Fri, 17 Jun 2005 14:37:16 +0000 (14:37 +0000)]
This commit was generated by cvs2svn to compensate for changes in r147462,
which included commits to RCS files with non-trunk default branches.

19 years agoMFP4: (#78670) markup nits
des [Fri, 17 Jun 2005 14:37:16 +0000 (14:37 +0000)]
MFP4: (#78670) markup nits
MFP4: (#78673) bump date

Submitted by: ru
Approved by: re (kensmith)

19 years agoThis commit was generated by cvs2svn to compensate for changes in r147460,
des [Fri, 17 Jun 2005 14:35:37 +0000 (14:35 +0000)]
This commit was generated by cvs2svn to compensate for changes in r147460,
which included commits to RCS files with non-trunk default branches.

19 years agoMFP4: (#78672) markup nits.
des [Fri, 17 Jun 2005 14:35:37 +0000 (14:35 +0000)]
MFP4: (#78672) markup nits.

Submitted by: ru
Approved by: re (kensmith)

19 years agoUpdate for OpenPAM Figwort.
des [Fri, 17 Jun 2005 08:14:42 +0000 (08:14 +0000)]
Update for OpenPAM Figwort.

Approved by: re (kensmith)

19 years agoVendor import of OpenPAM Figwort.
des [Fri, 17 Jun 2005 08:11:43 +0000 (08:11 +0000)]
Vendor import of OpenPAM Figwort.

19 years agoThis commit was generated by cvs2svn to compensate for changes in r147455,
des [Fri, 17 Jun 2005 08:11:43 +0000 (08:11 +0000)]
This commit was generated by cvs2svn to compensate for changes in r147455,
which included commits to RCS files with non-trunk default branches.

19 years agomove hostapd_cli to section 8
sam [Fri, 17 Jun 2005 05:38:43 +0000 (05:38 +0000)]
move hostapd_cli to section 8

Approved by: re (blanket wpa)

19 years agoo move hostapd to section 8
sam [Fri, 17 Jun 2005 05:37:08 +0000 (05:37 +0000)]
o move hostapd to section 8
o add placeholder for hostapd.conf

Approved by: re (blanket wpa)

19 years agoo move wpa_supplicant to section 8
sam [Fri, 17 Jun 2005 05:32:48 +0000 (05:32 +0000)]
o move wpa_supplicant to section 8
o fillin wpa_supplicant.conf.5

Approved by: re (blanket wpa)

19 years agomove wpa_cli to section 8 + minor wordsmithing
sam [Fri, 17 Jun 2005 03:08:59 +0000 (03:08 +0000)]
move wpa_cli to section 8 + minor wordsmithing

Approved by: re (blanket wpa)

19 years ago - Fix a leaked reference to a vnode via v_dd. We rely on cache_purge() and
jeff [Fri, 17 Jun 2005 01:05:13 +0000 (01:05 +0000)]
 - Fix a leaked reference to a vnode via v_dd.  We rely on cache_purge() and
   cache_zap() to clear the v_dd pointers when a directory vnode is forcibly
   discarded.  For this to work, all vnodes with v_dd pointers to a directory
   must also have name cache entries linked via v_cache_dst to that dvp
   otherwise we could not find them at cache_purge() time.  The following
   code snipit could break this guarantee by unlinking a directory before
   fetching it's dotdot.  The dotdot lookup would initialize the v_dd field
   of the unlinked directory which could never be cleared.  To fix this
   we don't initialize v_dd for orphaned vnodes.
        printf("rmdir: %d\n", rmdir("../foo")); /* foo is cwd */
        printf("chdir: %d\n", chdir(".."));
        printf("%s\n", getwd(NULL));

Sponsored by: Isilon Systems, Inc.
Discovered by: kkenn
Approved by: re (blanket vfs)

19 years agoWhitespace cleanup from last commit.
brueffer [Thu, 16 Jun 2005 22:22:05 +0000 (22:22 +0000)]
Whitespace cleanup from last commit.

Translators can ignore this.

Approved by: re (blanket)

19 years agoLimit entries to their respective architectures. We don't need e.g.
brueffer [Thu, 16 Jun 2005 22:19:05 +0000 (22:19 +0000)]
Limit entries to their respective architectures.  We don't need e.g.
ISA troubleshooting in the amd64 installation guide.

Also note that amd64 and ia64 use ACPI.

Approved by: re (blanket)
MFC after: 3 days

19 years agoRemove the obsolete device count.
brueffer [Thu, 16 Jun 2005 22:05:32 +0000 (22:05 +0000)]
Remove the obsolete device count.

Approved by: re (blanket)
MFC after: 3 days

19 years agoMarkup nit.
ru [Thu, 16 Jun 2005 21:56:03 +0000 (21:56 +0000)]
Markup nit.

Approved by: re (blanket)

19 years agoFixed compile warning.
ru [Thu, 16 Jun 2005 21:55:45 +0000 (21:55 +0000)]
Fixed compile warning.

Approved by: re (blanket)

19 years agoRemoved redundnt empty line.
ru [Thu, 16 Jun 2005 21:53:41 +0000 (21:53 +0000)]
Removed redundnt empty line.

Approved by: re (blanket)

19 years agoRemove Xref to mount_hpfs(8), it's not hooked up to the build.
brueffer [Thu, 16 Jun 2005 21:35:33 +0000 (21:35 +0000)]
Remove Xref to mount_hpfs(8), it's not hooked up to the build.

Approved by: re (blanket)
MFC after: 3 days

19 years agoA number of manpages already use ``.Fx 5.5'', define it.
ru [Thu, 16 Jun 2005 21:13:20 +0000 (21:13 +0000)]
A number of manpages already use ``.Fx 5.5'', define it.

Approved by: re (blanket)

19 years agoMarkup fixes.
ru [Thu, 16 Jun 2005 21:05:28 +0000 (21:05 +0000)]
Markup fixes.

Approved by: re (blanket)

19 years agoMarkup fixes.
ru [Thu, 16 Jun 2005 20:51:10 +0000 (20:51 +0000)]
Markup fixes.

Approved by: re (blanket)

19 years agoApply a series of scripts to automatically fix some markup bugs.
ru [Thu, 16 Jun 2005 20:21:03 +0000 (20:21 +0000)]
Apply a series of scripts to automatically fix some markup bugs.

Approved by: re (blanket)

19 years agoFixed markup.
ru [Thu, 16 Jun 2005 20:01:43 +0000 (20:01 +0000)]
Fixed markup.

Approved by: re

19 years agoonly show a tunnel information of an adequate address family.
ume [Thu, 16 Jun 2005 19:37:09 +0000 (19:37 +0000)]
only show a tunnel information of an adequate address family.

Approved by: re (dwhite)

19 years agoMarkup fixes.
ru [Thu, 16 Jun 2005 19:36:40 +0000 (19:36 +0000)]
Markup fixes.

Approved by: re

19 years ago1. Add the threads and usb categories.
ceri [Thu, 16 Jun 2005 19:27:12 +0000 (19:27 +0000)]
1. Add the threads and usb categories.
2. Fill in the blanks on the advocacy category.
3. Expand a contraction while I'm in here.

Prodded by: simon (1)
Approved by: re (hrs)
MFC after: 5 days

19 years agoMarkup fixes.
ru [Thu, 16 Jun 2005 19:01:07 +0000 (19:01 +0000)]
Markup fixes.

Approved by: re

19 years ago(Mostly) markup fixes.
ru [Thu, 16 Jun 2005 18:46:17 +0000 (18:46 +0000)]
(Mostly) markup fixes.

Approved by: re (blanket)

19 years agoProvide 32-bit runtime support on amd64 as a separate distribution, lib32.
ru [Thu, 16 Jun 2005 18:16:14 +0000 (18:16 +0000)]
Provide 32-bit runtime support on amd64 as a separate distribution, lib32.

Prodded by: obrien
Nodded by: peter
Approved by: re

19 years agoMake sure we actually read the config files before testing values from
brooks [Thu, 16 Jun 2005 18:08:04 +0000 (18:08 +0000)]
Make sure we actually read the config files before testing values from
them.

Reported by: Darren Pilgrim <dmp at bitfreak dot org>
PR: conf/82313
Approved by: re (network interface startup blanket)

19 years agoSome chipset drivers redefine the busspace_isa_{io|mem} tags. This
marcel [Thu, 16 Jun 2005 18:06:38 +0000 (18:06 +0000)]
Some chipset drivers redefine the busspace_isa_{io|mem} tags. This
not only means that it's possible (though unlikely) that we hand out
differing tags for the same bus space, it also means that the tags
we handed out are not used during bus enumeration. Both affect our
ability to compare tags. Fix the first by initializing our tags only
once. Fix the second by testing if one of the tags to compare is our
tag and the other is a busspace_isa_{io|mem} tag and declare them
equal if so.

This fixes using uart(4) as the serial console on a ds10. That is,
the low-level console worked, but we could not match the resources
to one of the UARTs found during bus enumeration, which prevented
uart(4) from becoming the console in single- or multi-user mode.

Approved by: re (kensmith)
MFC after: 2 days
Thanks to: all involved in getting a ds10 to me; directly or indirectly.
Special thanks to: Dave Knight, ISC (for not scratching my Porsche :-)

19 years agoIncrease UMA_BOOT_PAGES to prevent a crash during initialization. See
alc [Thu, 16 Jun 2005 17:06:34 +0000 (17:06 +0000)]
Increase UMA_BOOT_PAGES to prevent a crash during initialization.  See
http://docs.FreeBSD.org/cgi/mid.cgi?42AD8270.8060906 for a detailed
description of the crash.

Reported by: Eric Anderson
Approved by: re (scottl)
MFC after: 3 days

19 years agoRemove a variable that became unused as a result of changes made
kensmith [Thu, 16 Jun 2005 16:01:46 +0000 (16:01 +0000)]
Remove a variable that became unused as a result of changes made
in v1.139.  This was only exposed if MALLOC_PROFILE was defined.

Submitted by: Gary Jennejohn
Pointy hat: rwatson
Approved by: re (scottl)

19 years agoIfdef out the incomplete non-blocking IO implementation for NFS
green [Thu, 16 Jun 2005 15:43:17 +0000 (15:43 +0000)]
Ifdef out the incomplete non-blocking IO implementation for NFS
pending discussion of how implementation would proceed.  Applications
like -lc_r expect select(3) to match the EAGAIN-status of IO
functions.

Approved by: re

19 years agoPreserve sorting order.
jkoshy [Thu, 16 Jun 2005 15:07:16 +0000 (15:07 +0000)]
Preserve sorting order.

Submitted by: obrien
Approved by: re

19 years agoIn verify_rev_path6():
mlaier [Thu, 16 Jun 2005 14:55:58 +0000 (14:55 +0000)]
In verify_rev_path6():
 - do not use static memory as we are under a shared lock only
 - properly rtfree routes allocated with rtalloc
 - rename to verify_path6()
 - implement the full functionality of the IPv4 version

Also make O_ANTISPOOF work with IPv6.

Reviewed by: gnn
Approved by: re (blanket)

19 years agoTry harder to detect if the allocated memory for L2 PTP comes from a 1MB
cognet [Thu, 16 Jun 2005 13:23:39 +0000 (13:23 +0000)]
Try harder to detect if the allocated memory for L2 PTP comes from a 1MB
section or not.

Approved by: re (blanket)

19 years agoDon't pass the kernel_pmap to pmap_fault_fixup() if the fault comes from
cognet [Thu, 16 Jun 2005 13:21:52 +0000 (13:21 +0000)]
Don't pass the kernel_pmap to pmap_fault_fixup() if the fault comes from
kernel mode, always use the curthread pmap instead. There are valid cases
were we can fault on a user address from the kernel without pcb_onfault
being set.

Approved by: re (blanket)

19 years agoFix indentation in INET6 section in preperation of more serious work.
mlaier [Thu, 16 Jun 2005 13:20:36 +0000 (13:20 +0000)]
Fix indentation in INET6 section in preperation of more serious work.

Approved by: re (blanket ip6fw removal)

19 years agoFix a misplaced $FreeBSD$ I forgot to move in previous revision.
ru [Thu, 16 Jun 2005 11:36:08 +0000 (11:36 +0000)]
Fix a misplaced $FreeBSD$ I forgot to move in previous revision.

Approved by: re

19 years agoMarkup fixes.
ru [Thu, 16 Jun 2005 11:33:53 +0000 (11:33 +0000)]
Markup fixes.

Approved by: re

19 years agoRemove Xref to nonexistant smapi(9).
brueffer [Thu, 16 Jun 2005 08:06:37 +0000 (08:06 +0000)]
Remove Xref to nonexistant smapi(9).

Submitted by: markus
Approved by: re (blanket)
MFC after: 3 days

19 years agoAdd standard GPL boilerplate to these files. They are the only ones
imp [Thu, 16 Jun 2005 06:51:38 +0000 (06:51 +0000)]
Add standard GPL boilerplate to these files.  They are the only ones
contaminated with the GPL code.  While this information was present in
the COPYRIGHT.INFO file, it is FreeBSD's standard practice to, where
possible, include explicit license information in files.

Approved by: release engineer (scottl)

19 years ago - Change holdcnt use around vnode recycling. We now always keep a holdcnt
jeff [Thu, 16 Jun 2005 04:41:42 +0000 (04:41 +0000)]
 - Change holdcnt use around vnode recycling.  We now always keep a holdcnt
   ref while we're calling vgone().  This prevents transient refs from
   re-adding us to the free list.  Previously, a vfree() triggered via
   vinvalbuf() getting rid of all of a vnode's pages could place a partially
   destructed vnode on the free list where vtryrecycle() could find it.  The
   first call to vtryrecycle would hang up on the vnode lock, but when it
   failed it would place a now dead vnode onto the free list, and another
   call to vtryrecycle() would free an already free vnode.  There were many
   complications of having a zero ref count while freeing which can now go
   away.
 - Change vdropl() to release the interlock before returning.  All callers
   now respect this, so vdropl() directly frees VI_DOOMED vnodes once the
   last ref is dropped.  This means that we'll never have VI_DOOMED vnodes
   on the free list.
 - Seperate v_incr_usecount() into v_incr_usecount(), v_decr_usecount() and
   v_decr_useonly().  The incr/decr split is so that incr usecount can
   return with the interlock still held while decr drops the interlock so
   it can call vdropl() which will potentially free the vnode.  The calling
   function can't drop the lock of an already free'd node.  v_decr_useonly()
   drops a usecount without droping the hold count.  This is done so the
   usecount reaches zero in vput() before we recycle, however the holdcount
   is still 1 which prevents any new references from placing the vnode
   back on the free list.
 - Fix vnlrureclaim() to vhold the vnode since it doesn't do a vget().  We
   wouldn't want vnlrureclaim() to bump the usecount since this has
   different semantics.  Also change vnlrureclaim() to do a NOWAIT on the
   vn_lock.  When this function runs we're usually in a desperate situation
   and we wouldn't want to wait for any specific vnode to be released.
 - Fix a bunch of misc comments to reflect the new behavior.
 - Add vhold() and vdrop() to vflush() for the same reasons that we do in
   vlrureclaim().  Previously we held no reference and a vnode could have
   been freed while we were waiting on the lock.
 - Get rid of vlruvp() and vfreehead().  Neither are used.  vlruvp() should
   really be rethought before it's reintroduced.
 - vgonel() always returns with the vnode locked now and never puts the
   vnode back on a free list.  The vnode will be freed as soon as the last
   reference is released.

Sponsored by: Isilon Systems, Inc.
Debugging help from: Kris Kennaway, Peter Holm
Approved by: re (blanket vfs)

19 years ago - Fix insertions of bios which represent data earlier than anything else
jeff [Wed, 15 Jun 2005 23:32:07 +0000 (23:32 +0000)]
 - Fix insertions of bios which represent data earlier than anything else
   in the queue.  The insertion sort assumed this had already been taken
   care of.

Spotted by: Antoine Brodin
Approved by: re (scottl)

19 years agoFix four casts of the softc to a struct ifnet.
brooks [Wed, 15 Jun 2005 20:23:40 +0000 (20:23 +0000)]
Fix four casts of the softc to a struct ifnet.

Hopefully this fixes ed(4) under qemu.  I'm shocked that real hardware
is apparently working with these bugs.

Approved by: re (ifnet blanket)
Pointy hat: brooks

19 years agoUpdate hardware support. Add note on TGA. Remove DEFPA FDDI (it did
wilko [Wed, 15 Jun 2005 19:41:24 +0000 (19:41 +0000)]
Update hardware support.  Add note on TGA.  Remove DEFPA FDDI (it did
not work when I last tried).  Tell people to not spend money on anything
less than EV5 machines.

Approved by: re (blanket)

19 years agotypo: Michale -> Michael
wilko [Wed, 15 Jun 2005 19:29:03 +0000 (19:29 +0000)]
typo: Michale -> Michael

Approved by: re (scottl)

19 years agoAssorted markup fixes.
ru [Wed, 15 Jun 2005 19:04:04 +0000 (19:04 +0000)]
Assorted markup fixes.

Approved by: re

19 years agoMove ext2fs from src/gnu to src/gnu/fs.
rodrigc [Wed, 15 Jun 2005 16:43:07 +0000 (16:43 +0000)]
Move ext2fs from src/gnu to src/gnu/fs.

Discussed on arch@.

Reviewed by: kan
Approved by: re (blanket), kan
Discussed with: dumbbell

19 years agoUpdate release notes:
hrs [Wed, 15 Jun 2005 16:17:28 +0000 (16:17 +0000)]
Update release notes:
hostapd v0.3.9,
sendmail OSTYPE(freebsd6) support,
WPA Supplicant v0.3.9, and
new manual pages: bus_space(9) and pmap_page_init(9).

Approved by: re (implicitly)

19 years agoRemove incorrect BUGS entry: libthr does support process-scope thread
rwatson [Wed, 15 Jun 2005 15:21:10 +0000 (15:21 +0000)]
Remove incorrect BUGS entry: libthr does support process-scope thread
scheduling.

MFC after: 1 week
Submitted by: davidxu
Approved by: re (scottl)

19 years agoAssorted markup fixes and minor wordsmithing.
ru [Wed, 15 Jun 2005 13:31:23 +0000 (13:31 +0000)]
Assorted markup fixes and minor wordsmithing.

Approved by: re

19 years agoAdd missing command name.
ru [Wed, 15 Jun 2005 13:21:44 +0000 (13:21 +0000)]
Add missing command name.

(The error was visible on stderr.)

Approved by: re

19 years agoCorrectly handle an input file without a newline on the last line (and
dd [Wed, 15 Jun 2005 10:13:04 +0000 (10:13 +0000)]
Correctly handle an input file without a newline on the last line (and
avoid the confusing error message about the line being too long). This
change uses fgetln to detect the right conditions, but the fixed-width
line buffer is kept because too many other places in the program make
assumptions about its maximum width.

Approved by: re (scottl)

19 years agoMove ext2fs from src/gnu to src/gnu/fs.
rodrigc [Wed, 15 Jun 2005 02:36:11 +0000 (02:36 +0000)]
Move ext2fs from src/gnu to src/gnu/fs.
Discussed on arch@.

Reviewed by: kan
Approved by: re (blanket), kan

19 years agoMove couple of directories out of mtree and into their respective
lesi [Wed, 15 Jun 2005 02:27:41 +0000 (02:27 +0000)]
Move couple of directories out of mtree and into their respective
ports. This mtree now specifies basic structure of X11BASE, similarly
to BSD.local.dist.

No objections on: freebsd-x11@
Approved by: re (dwhite), portmgr

19 years agoAdd a cross-reference to the pmap_page_init(9) manual page.
hmp [Wed, 15 Jun 2005 00:21:02 +0000 (00:21 +0000)]
Add a cross-reference to the pmap_page_init(9) manual page.

Approved by: re

19 years agoDecode chroot(2) args.
alfred [Tue, 14 Jun 2005 21:51:08 +0000 (21:51 +0000)]
Decode chroot(2) args.

Approved by: re

19 years ago - Add and enhance asserts related to the wrong bufobj panic.
jeff [Tue, 14 Jun 2005 20:32:27 +0000 (20:32 +0000)]
 - Add and enhance asserts related to the wrong bufobj panic.

Sponsored by: Isilon Systems, Inc.
Approved by: re (blanket vfs)

19 years ago - In reassignbuf() add many asserts to validate the head and tail pointers
jeff [Tue, 14 Jun 2005 20:31:53 +0000 (20:31 +0000)]
 - In reassignbuf() add many asserts to validate the head and tail pointers
   of the clean and dirty lists.  This is in an attempt to catch the wrong
   bufobj problem sooner.
 - In vgonel() don't acquire an extra reference in the active case, the
   vnode lock and VI_DOOMED protect us from recursively cleaning.
 - Also in vgonel() clean up some stale comments.

Sponsored by: Isilon Systems, Inc.
Approved by: re (blanket vfs)

19 years agoMove if_alloc() higher in the attach function so sc->ifp is populated
brooks [Tue, 14 Jun 2005 17:47:31 +0000 (17:47 +0000)]
Move if_alloc() higher in the attach function so sc->ifp is populated
early.  I've moved it all the way to the top rather than part way up as
the submitter did.

Submitted by: Jung-uk Kim <jkim at niksun dot com>
Reported by: submitter, le, dougb
Approved by: re (ifnet blanket)

19 years agoEmpty CMOS batteries can cause agony with your AlphaBIOS versus
wilko [Tue, 14 Jun 2005 17:38:46 +0000 (17:38 +0000)]
Empty CMOS batteries can cause agony with your AlphaBIOS versus
SRM selection.

Found out the hard way by: gallatin
Approved by: re (scottl)

19 years agoRemove a duplicate assignment.
brooks [Tue, 14 Jun 2005 17:38:36 +0000 (17:38 +0000)]
Remove a duplicate assignment.

Reported by:    delphij
Approved by: re (ifnet blanket)

19 years agoImplement @noinst field which has at the moment the same meaning and
krion [Tue, 14 Jun 2005 15:05:43 +0000 (15:05 +0000)]
Implement @noinst field which has at the moment the same meaning and
function as @comment has.  But will be valid only for files and not
for md5 sums, rcsid's and comments in the future.

Submitted by: flz
Approved by: re@ (scottl)

19 years agoInitialize sc->an_ifp when doing if_alloc(). This prevents an(4)
delphij [Tue, 14 Jun 2005 14:50:40 +0000 (14:50 +0000)]
Initialize sc->an_ifp when doing if_alloc().  This prevents an(4)
from being panic when attaching.

Approved by: re (scottl)

19 years agoAdd missing .Ed call that was fatal for the rest of manpage.
ru [Tue, 14 Jun 2005 14:43:36 +0000 (14:43 +0000)]
Add missing .Ed call that was fatal for the rest of manpage.
Bump document date.

Approved by: re

19 years agoMove IPI_PREEMPTION option from global NOTES file to i386+amd64 specific
ups [Tue, 14 Jun 2005 14:21:25 +0000 (14:21 +0000)]
Move IPI_PREEMPTION option from global NOTES file to i386+amd64 specific
NOTES files.

Approved by: re (scottl)

19 years agoMarkup fixes.
ru [Tue, 14 Jun 2005 12:26:36 +0000 (12:26 +0000)]
Markup fixes.

Approved by: re (blanket)

19 years agoMarkup and wording fixes.
ru [Tue, 14 Jun 2005 11:50:53 +0000 (11:50 +0000)]
Markup and wording fixes.

Approved by: re (blanket)

19 years agoMarkup fixes.
ru [Tue, 14 Jun 2005 11:24:56 +0000 (11:24 +0000)]
Markup fixes.

Approved by: re (blanket)

19 years agoWhen IPC_NOWAIT is set and there is no message, msgrcv() fails
ru [Tue, 14 Jun 2005 10:56:02 +0000 (10:56 +0000)]
When IPC_NOWAIT is set and there is no message, msgrcv() fails
with errno set to ENOMSG.

PR: docs/82217
Submitted by: delphij
Approved by: re (blanket)

19 years agolocking on exit of reading from ip_sync is not correct for all instances
darrenr [Tue, 14 Jun 2005 09:18:26 +0000 (09:18 +0000)]
locking on exit of reading from ip_sync is not correct for all instances

Approved by: re (dwhite)

19 years agoImproved markup, fixes some spelling and grammar.
ru [Tue, 14 Jun 2005 08:49:14 +0000 (08:49 +0000)]
Improved markup, fixes some spelling and grammar.

Approved by: re (blanket)

19 years agoRemoved trailing whitespace.
ru [Tue, 14 Jun 2005 08:41:11 +0000 (08:41 +0000)]
Removed trailing whitespace.

Approved by: re (blanket)

19 years agoBump document date on behalf of a recent change.
ru [Tue, 14 Jun 2005 08:40:10 +0000 (08:40 +0000)]
Bump document date on behalf of a recent change.

Approved by: re (blanket)

19 years agoSort sections.
ru [Tue, 14 Jun 2005 08:25:54 +0000 (08:25 +0000)]
Sort sections.

Approved by: re (blanket)

19 years agoSorted sections and fixed prompt (PS[12]) strings.
ru [Tue, 14 Jun 2005 08:25:00 +0000 (08:25 +0000)]
Sorted sections and fixed prompt (PS[12]) strings.

Approved by: re (blanket)

19 years agoPut the description of the -c option in the right place, as
ru [Tue, 14 Jun 2005 07:50:44 +0000 (07:50 +0000)]
Put the description of the -c option in the right place, as
promised by the Argument List Processing section introduction.
What follows the option in the options list is its long name,
not its argument (as is the case for the -c option).  Also
sort references in the SEE ALSO section.

Approved by: re (blanket)

19 years agoInclude the puc(4) bus frontend for ppc(4) when both ppc and puc are
marcel [Tue, 14 Jun 2005 04:16:10 +0000 (04:16 +0000)]
Include the puc(4) bus frontend for ppc(4) when both ppc and puc are
configured.

PR: kern/80737
Submitted by: David Taylor &lt davidt-fbsd at yadt dot co dot uk &gt
Approved by: re (scottl)
MFC after: 5 days

19 years agoDon a flack jacket and start to document the FreeBSD bus_space
imp [Tue, 14 Jun 2005 03:40:01 +0000 (03:40 +0000)]
Don a flack jacket and start to document the FreeBSD bus_space
implementation.  I took the NetBSD man page, and hacked it to, I hope,
to reflect the preliminary version of the bus space that Justin Gibbs
committed as part of the CAM integration in FreeBSD 3.0.

This isn't perfect, but it is better than we have now (which is, ahem,
nothing).  Please coordinate changes to the file through me through
the 6.0 release.

Approved by: re (blanket for this one file)

19 years agoFix syscons on amd64. The SC_PIXEL_MODE commit from May 29th added a new
peter [Tue, 14 Jun 2005 02:43:45 +0000 (02:43 +0000)]
Fix syscons on amd64.  The SC_PIXEL_MODE commit from May 29th added a new
function pointer to the vga render dispatch table and initialized it with
vga_nop.  The problem is that vga_nop() is a varargs function, and the
table declares a non-varargs function pointer.  On amd64 (and I think ppc),
mixing varargs and non-varargs function pointers is fatal.

Change vga_nop() and gfb_nop() from varargs to non-varargs do-nothing
functions.  This stops the stack corruption that only happened on amd64.

Approved by:  re (scottl)

19 years agoUse new OSTYPE(freebsd6).
gshapiro [Tue, 14 Jun 2005 02:25:17 +0000 (02:25 +0000)]
Use new OSTYPE(freebsd6).

Approved by: re (scottl)
Requested by: keramida

19 years agoThis commit was generated by cvs2svn to compensate for changes in r147353,
gshapiro [Tue, 14 Jun 2005 02:23:14 +0000 (02:23 +0000)]
This commit was generated by cvs2svn to compensate for changes in r147353,
which included commits to RCS files with non-trunk default branches.

19 years agoImport OSTYPE(freebsd6) support from sendmail open source repo for FreeBSD 6.0.
gshapiro [Tue, 14 Jun 2005 02:23:14 +0000 (02:23 +0000)]
Import OSTYPE(freebsd6) support from sendmail open source repo for FreeBSD 6.0.

Approved by: re (scottl)
Requested by: keramida

19 years ago - Remove vnode lock asserts at the end of vfs syscalls. These asserts were
jeff [Tue, 14 Jun 2005 01:14:40 +0000 (01:14 +0000)]
 - Remove vnode lock asserts at the end of vfs syscalls.  These asserts were
   used to ensure that we weren't exiting the syscall with a lock still
   held.  This wasn't safe, however, because we'd already executed a vput()
   and on a loaded system the vnode may have been free'd by the time we
   assert.  This functionality is also handled by the td_locks assert in
   userret, which doesn't tell you what the syscall was, but will at least
   panic before you deadlock.

Sponsored by:   Isilon Systems, Inc.
Discovred by:   Peter Holm
Approved by: re (blanket vfs)

19 years agoAvoid a null pointer dereference by not expiring our lease if we don't
brooks [Mon, 13 Jun 2005 23:43:08 +0000 (23:43 +0000)]
Avoid a null pointer dereference by not expiring our lease if we don't
have an active one.

Submitted by: sam
Reported by: James Snow <snow at teardrop dot org>
Approved by: re (dhclient blanket)

19 years agoDon't use a cast as an lvalue.
des [Mon, 13 Jun 2005 21:18:52 +0000 (21:18 +0000)]
Don't use a cast as an lvalue.
Add a redundant test to make it painfully obvious to the reader that this
code does not support IPv6.

Approved by: re (dwhite)
MFC after: 1 week

19 years agorevert 1.53; it breaks ibss merge
sam [Mon, 13 Jun 2005 21:01:06 +0000 (21:01 +0000)]
revert 1.53; it breaks ibss merge

Noticed by: Bruno Randolf
Approved by: re (dwhite)

19 years agoInitialze ifp->if_softc.
brooks [Mon, 13 Jun 2005 17:17:07 +0000 (17:17 +0000)]
Initialze ifp->if_softc.

Submitted by: ume

19 years agoresolve merge conflicts
sam [Mon, 13 Jun 2005 17:07:31 +0000 (17:07 +0000)]
resolve merge conflicts

Approved by: re (dwhite)

19 years agoThis commit was generated by cvs2svn to compensate for changes in r147341,
sam [Mon, 13 Jun 2005 17:00:32 +0000 (17:00 +0000)]
This commit was generated by cvs2svn to compensate for changes in r147341,
which included commits to RCS files with non-trunk default branches.

19 years agostripped down import of hostapd 0.3.9
sam [Mon, 13 Jun 2005 17:00:32 +0000 (17:00 +0000)]
stripped down import of hostapd 0.3.9

Approved by: re (dwhite)

19 years agoresolve merge conflicts
sam [Mon, 13 Jun 2005 16:54:21 +0000 (16:54 +0000)]
resolve merge conflicts

19 years agoThis commit was generated by cvs2svn to compensate for changes in r147338,
sam [Mon, 13 Jun 2005 16:43:14 +0000 (16:43 +0000)]
This commit was generated by cvs2svn to compensate for changes in r147338,
which included commits to RCS files with non-trunk default branches.