]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
20 years agoAssorted mdoc(7) fixes.
Ruslan Ermilov [Thu, 1 Apr 2004 07:54:27 +0000 (07:54 +0000)]
Assorted mdoc(7) fixes.

20 years agoFix last commit to conform to mdoc style.
Mike Silbersack [Thu, 1 Apr 2004 07:36:56 +0000 (07:36 +0000)]
Fix last commit to conform to mdoc style.

Submitted by: hmp

20 years agoMatch the specific MPC106 host bridge PCI ID rather than all
Peter Grehan [Thu, 1 Apr 2004 07:34:36 +0000 (07:34 +0000)]
Match the specific MPC106 host bridge PCI ID rather than all
generic host bridges: this avoids a race with the UniNorth
generic match.

20 years agoDon't print out 'GIANT-LOCKED' for INTR_FAST drivers.
Scott Long [Thu, 1 Apr 2004 07:18:42 +0000 (07:18 +0000)]
Don't print out 'GIANT-LOCKED' for INTR_FAST drivers.

20 years agoDocument the m_defrag function. (Mostly copied from the description
Mike Silbersack [Thu, 1 Apr 2004 06:50:21 +0000 (06:50 +0000)]
Document the m_defrag function.  (Mostly copied from the description
in uipc_mbuf.c)

20 years agoMove the ivar accessing routines back to inlines (reverting acpivar.h
Nate Lawson [Thu, 1 Apr 2004 04:21:33 +0000 (04:21 +0000)]
Move the ivar accessing routines back to inlines (reverting acpivar.h
rev 1.44 and acpi.c rev 1.96).  Now gcc can handle larger inlines and we
really need external drivers to be able to read their acpi ivars.

20 years agoMove the name attribute to the end of the conftxt line to simplify
Peter Grehan [Thu, 1 Apr 2004 01:33:37 +0000 (01:33 +0000)]
Move the name attribute to the end of the conftxt line to simplify
libdisk parsing (the name may be empty, or contain spaces).

Submitted by:  Suleiman Souhlal <refugee@segfaulted.com>

20 years agoradiotap updates:
Sam Leffler [Thu, 1 Apr 2004 00:38:45 +0000 (00:38 +0000)]
radiotap updates:

o force little-endian byte order for header
o pad header to 32-bit boundary to guard against applications that assume
  packet data alignment

20 years agocorrect xmit-side radiotap collection by tap'ing the frame before
Sam Leffler [Thu, 1 Apr 2004 00:33:33 +0000 (00:33 +0000)]
correct xmit-side radiotap collection by tap'ing the frame before
prepending the h/w header

20 years agoRemove sysctl kern.ps_argsopen, it is not very useful, one should use
Pawel Jakub Dawidek [Thu, 1 Apr 2004 00:10:45 +0000 (00:10 +0000)]
Remove sysctl kern.ps_argsopen, it is not very useful, one should use
security.bsd.see_other_uids instead.

Discussed with: phk, rwatson

20 years agoRemove ps_argsopen check. It is was bogus in the past and was corrected
Pawel Jakub Dawidek [Thu, 1 Apr 2004 00:08:20 +0000 (00:08 +0000)]
Remove ps_argsopen check. It is was bogus in the past and was corrected
not quite well by me - if kern.ps_argsopen was set to 0, users weren't
permitted to see arguments of even own processes.
But kern.ps_argsopen is going away, so just remove this check and leave
security checks for p_cansee() function.

20 years agoRemove ps_argsopen from this check, because of two reasons:
Pawel Jakub Dawidek [Thu, 1 Apr 2004 00:04:23 +0000 (00:04 +0000)]
Remove ps_argsopen from this check, because of two reasons:
1. This check if wrong, because it is true by default
   (kern.ps_argsopen is 1 by default) (p_cansee() is not even checked).
2. Sysctl kern.ps_argsopen is going away.

20 years agoDescribe the sorting options in better and more complete detail.
Garance A Drosehn [Wed, 31 Mar 2004 23:51:12 +0000 (23:51 +0000)]
Describe the sorting options in better and more complete detail.
Also improve the description of `-L' a little.

MFC after: 4 days

20 years agoAbstract "is a particular SLIP unit free" check behind slisunitfree(),
Robert Watson [Wed, 31 Mar 2004 22:59:56 +0000 (22:59 +0000)]
Abstract "is a particular SLIP unit free" check behind slisunitfree(),
and use that instead of manual list searches in a couple of places.

20 years agoFix a bug with preloaded image -- for some reason [that i don't
Luigi Rizzo [Wed, 31 Mar 2004 21:48:02 +0000 (21:48 +0000)]
Fix a bug with preloaded image -- for some reason [that i don't
completely understand], md_takeroot() runs before md_preloaded(),
rendering both useless.
As a fix, move the body (effectively one line!) of md_takeroot()
into md_preloaded(), and get rid of the stuff that has become useless.

Bug and fix reported 10 days ago on -current, no reply.

20 years agoRaise WARNS level to 2.
Dag-Erling Smørgrav [Wed, 31 Mar 2004 21:33:55 +0000 (21:33 +0000)]
Raise WARNS level to 2.

20 years agoDeal with aliasing warnings.
Dag-Erling Smørgrav [Wed, 31 Mar 2004 21:32:58 +0000 (21:32 +0000)]
Deal with aliasing warnings.

Reviewed by: ru
Approved by: silence on the lists

20 years agoUnder a heavy RX load, at least with D-Link DFE-550TX adapters,
Ruslan Ermilov [Wed, 31 Mar 2004 21:10:01 +0000 (21:10 +0000)]
Under a heavy RX load, at least with D-Link DFE-550TX adapters,
the driver's RX ring head may fall behind the chip, causing the
stuck traffic, disordered packets, etc.  Work around this by
adopting the technique of resyncing RX head used in dc(4) and
xl(4) drivers, but do it in a slightly different place to reduce
the number of resyncs needed.

Also, set the NIC's RX polling period to a more meaningful value,
to stop overloading the PCI bus (this also reduces the number of
resyncs by a factor of 3 or more in a long run; the actual number
is very dependent on a nature of the traffic).

Maintain the statistics counter as the hw.ste_rxsyncs sysctl.

In cooperation with: Vsevolod Lobko
OK'ed by: ambrisko
MFC after: 5 days

20 years agoUnbreak the build by dealing with an unexpected dependency on tcpdump source
Bruce M Simpson [Wed, 31 Mar 2004 20:58:39 +0000 (20:58 +0000)]
Unbreak the build by dealing with an unexpected dependency on tcpdump source
present in ndp(8).

The vendor branch import uses a _U_ macro to apply the GCC 'unused' attribute
to the rcs ids embedded in each source file.  Teach ndp about this.

20 years agoAdded polling(4) support for ste(4).
Ruslan Ermilov [Wed, 31 Mar 2004 20:39:20 +0000 (20:39 +0000)]
Added polling(4) support for ste(4).

MFC after: 5 days

20 years agoMoved comments on 3ware 9000 series RAID controller driver options from
Vinod Kashyap [Wed, 31 Mar 2004 18:46:13 +0000 (18:46 +0000)]
Moved comments on 3ware 9000 series RAID controller driver options from
options to NOTES.

20 years agoFix regression in setkey whereby parser would fail to recognise tcp as
Bruce M Simpson [Wed, 31 Mar 2004 18:38:02 +0000 (18:38 +0000)]
Fix regression in setkey whereby parser would fail to recognise tcp as
both a security protocol and an upper level protocol for encapsulation.

PR: bin/63616
Submitted by: ume@

20 years agopcap clients should use strlcpy() from the base system libc by default also.
Bruce M Simpson [Wed, 31 Mar 2004 18:15:37 +0000 (18:15 +0000)]
pcap clients should use strlcpy() from the base system libc by default also.

20 years agosnprintf() and vsnprintf() are part of our base system libc, therefore
Bruce M Simpson [Wed, 31 Mar 2004 18:14:27 +0000 (18:14 +0000)]
snprintf() and vsnprintf() are part of our base system libc, therefore
pcap should not fall back to its own implementations in the absence of
HAVE_SNPRINTF and HAVE_VSNPRINTF defines when compiled and installed
as part of the world. This should fix builds of pflogd and packages
depending on the base system libpcap.

Reported by: Andrzej Tobola

20 years agoStaticize pnp methods, style fixes. Remove unused variable to unbreak
Nate Lawson [Wed, 31 Mar 2004 17:35:28 +0000 (17:35 +0000)]
Staticize pnp methods, style fixes.  Remove unused variable to unbreak
kernel build.

20 years agoAdd ACPI path in location string for ACPI namespace aware PCI device.
Takanori Watanabe [Wed, 31 Mar 2004 17:27:19 +0000 (17:27 +0000)]
Add ACPI path in location string for  ACPI namespace aware PCI device.

20 years agoAdd an interface to pass an argument to the resource parsing functions.
Nate Lawson [Wed, 31 Mar 2004 17:23:46 +0000 (17:23 +0000)]
Add an interface to pass an argument to the resource parsing functions.
This is just groundwork for changing sysresource behavior.

PR:
Submitted by:
Reviewed by:
Approved by:
Obtained from:
MFC after:

20 years agoStyle fix.
Takanori Watanabe [Wed, 31 Mar 2004 17:21:14 +0000 (17:21 +0000)]
Style fix.

Pointed out by: njl

20 years agoMerge of tcpdump 3.8.3 from tcpdump.org.
Bruce M Simpson [Wed, 31 Mar 2004 15:00:44 +0000 (15:00 +0000)]
Merge of tcpdump 3.8.3 from tcpdump.org.

20 years agoMerge of tcpdump 3.8.3 from tcpdump.org, with the following caveats:
Bruce M Simpson [Wed, 31 Mar 2004 14:57:24 +0000 (14:57 +0000)]
Merge of tcpdump 3.8.3 from tcpdump.org, with the following caveats:

 print-atm.c no longer performs special handling for FORE headers; these
 can no doubt be re-added at a later date.

 print-fr.c is effectively a no-op.

 print-llc.c has had the default_print_unaligned() call removed as
 tcpdump no longer defines this function, however the prototype is still
 present. Suggest we roll in a diff to use print_unknown_data().

20 years agoAdd more DLT types required by libpcap 0.8.3.
Bruce M Simpson [Wed, 31 Mar 2004 14:22:13 +0000 (14:22 +0000)]
Add more DLT types required by libpcap 0.8.3.
Maintain numeric sort order.

20 years agoUpdate system bpf headers for libpcap 0.8.3.
Bruce M Simpson [Wed, 31 Mar 2004 14:09:26 +0000 (14:09 +0000)]
Update system bpf headers for libpcap 0.8.3.
Maintain listing of DLT link types in numeric order.

20 years agoSupport the D-Link DGE-530T. Mine appears to have a blank eeprom, so assume
Stephen McKay [Wed, 31 Mar 2004 12:35:51 +0000 (12:35 +0000)]
Support the D-Link DGE-530T.  Mine appears to have a blank eeprom, so assume
they all do and handle that without alarming the user.  Also pull in a bit
of defensive code from OpenBSD that triggers when a card is recognised but
not properly classified as either Genesis or Yukon.  Not that I could ever
have needed this. :-)

Obtained from: OpenBSD/NetBSD (partially)
MFC after: 2 weeks

20 years agoCorrect imported pcap.h for FreeBSD builds.
Bruce M Simpson [Wed, 31 Mar 2004 10:21:28 +0000 (10:21 +0000)]
Correct imported pcap.h for FreeBSD builds.

20 years agoThis commit was generated by cvs2svn to compensate for changes in r127668,
Bruce M Simpson [Wed, 31 Mar 2004 09:17:26 +0000 (09:17 +0000)]
This commit was generated by cvs2svn to compensate for changes in r127668,
which included commits to RCS files with non-trunk default branches.

20 years agoImport tcpdump 3.8.3, from http://www.tcpdump.org/releases/tcpdump-3.8.3.tar.gz
Bruce M Simpson [Wed, 31 Mar 2004 09:17:26 +0000 (09:17 +0000)]
Import tcpdump 3.8.3, from http://www.tcpdump.org/releases/tcpdump-3.8.3.tar.gz

20 years agoMerge of libpcap 0.8.3 from tcpdump.org.
Bruce M Simpson [Wed, 31 Mar 2004 09:15:09 +0000 (09:15 +0000)]
Merge of libpcap 0.8.3 from tcpdump.org.

20 years agoThis commit was generated by cvs2svn to compensate for changes in r127664,
Bruce M Simpson [Wed, 31 Mar 2004 09:07:39 +0000 (09:07 +0000)]
This commit was generated by cvs2svn to compensate for changes in r127664,
which included commits to RCS files with non-trunk default branches.

20 years agoImport libpcap 0.8.3, from http://www.tcpdump.org/releases/libpcap-0.8.3.tar.gz
Bruce M Simpson [Wed, 31 Mar 2004 09:07:39 +0000 (09:07 +0000)]
Import libpcap 0.8.3, from http://www.tcpdump.org/releases/libpcap-0.8.3.tar.gz

20 years agoExtensive documentation changes to the script, but only
Luigi Rizzo [Wed, 31 Mar 2004 08:43:20 +0000 (08:43 +0000)]
Extensive documentation changes to the script, but only
comments and empty lines have been touched.

All of this should go in the diskless(8) manpage, now if we had
some kind of 'literate programming' tool to extract the comments
from the script and put them in a reasonable nroff format, it
would be a lot easier to keep code and docs in sync

20 years agoGive in to the oblique nagging and move AAC and AHC/AHD comments out of
Scott Long [Wed, 31 Mar 2004 08:22:09 +0000 (08:22 +0000)]
Give in to the oblique nagging and move AAC and AHC/AHD comments out of
/sys/conf/options and into /sys/conf/NOTES

20 years agoRemove unused variable.
Julian Elischer [Wed, 31 Mar 2004 08:20:44 +0000 (08:20 +0000)]
Remove unused variable.

20 years agoThe end argument to bus_alloc_resource() should have been ~0 and
Peter Grehan [Wed, 31 Mar 2004 07:40:46 +0000 (07:40 +0000)]
The end argument to bus_alloc_resource() should have been ~0 and
not ~1, but the call has been switched over to bus_alloc_resource_any()
which has the same effect.

Submitted by: Suleiman Souhlal <refugee@segfaulted.com>

20 years agoFix Yet Another 16 byte stack alignment bug. Thankfully, this one is
Peter Wemm [Wed, 31 Mar 2004 07:27:31 +0000 (07:27 +0000)]
Fix Yet Another 16 byte stack alignment bug.  Thankfully, this one is
solved by a simple 'make world'.  The signalcontext function was going
to the trouble of generating an even 16 byte alignment, but in fact it
needed to be odd aligned to simulate the 8-byte return address having
been pushed by the caller.  This fixes yet another group of crashes in
applications using libpthread.  And yet again, it was my fault all along.

While here, rename the duplicate internal ctx_wrapper() functions to
makectx_wrapper() and sigctx_wrapper() so that traces aren't ambiguous.

20 years agoMinor changes mostly as discussed on the lists a few days ago:
Luigi Rizzo [Wed, 31 Mar 2004 07:24:15 +0000 (07:24 +0000)]
Minor changes mostly as discussed on the lists a few days ago:

 + SUBDIR.cpio.gz prevents files from SUBDIR/ to be copied when
   priming the memory filesystems. This restores the old behaviour
   and makes the copy process a lot more efficient

 + look for templates also in the list of directories supplied by
   bootp/dhcp via the T134 option aka kern.bootp_cookie

 + keep track of directories temporarily mounted with "remount"
   or "diskless_remount" commands and unmount them once we are done
   with them (at the end of this script).

20 years agoIn sofree(), avoid nested declaration and initialization in
Robert Watson [Wed, 31 Mar 2004 03:48:35 +0000 (03:48 +0000)]
In sofree(), avoid nested declaration and initialization in
declaration.  Observe that initialization in declaration is
frequently incompatible with locking, not just a bad idea
due to style(9).

Submitted by: bde

20 years agoAdd David Young's descriptive text for the radiotap interface.
Bruce M Simpson [Wed, 31 Mar 2004 02:57:30 +0000 (02:57 +0000)]
Add David Young's descriptive text for the radiotap interface.
Add David Young to copyright comments.

20 years agoFix a typo: remove duplicate word 'interface'.
Bruce M Simpson [Wed, 31 Mar 2004 02:53:46 +0000 (02:53 +0000)]
Fix a typo: remove duplicate word 'interface'.

20 years ago - Add an optimized page copy function for use by pmap_copy_page(). It is
Alan Cox [Wed, 31 Mar 2004 02:03:49 +0000 (02:03 +0000)]
 - Add an optimized page copy function for use by pmap_copy_page().  It is
   roughly four times faster than bcopy() for uncached pages.
 - Sort the function prototypes in md_var.h.

20 years agoExport uipc_connect2() from uipc_usrreq.c instead of unp_connect2(),
Robert Watson [Wed, 31 Mar 2004 01:41:30 +0000 (01:41 +0000)]
Export uipc_connect2() from uipc_usrreq.c instead of unp_connect2(),
and consume that interface in portalfs and fifofs instead.  In the
new world order, unp_connect2() assumes that the unpcb mutex is
held, whereas uipc_connect2() validates that the passed sockets are
UNIX domain sockets, then grabs the mutex.

NB: the portalfs and fifofs code gets down and dirty with UNIX domain
sockets.  Maybe this is a bad thing.

20 years agoBy default, ich4 has NAMBAR and NABMBAR i/o spaces as
Mathew Kanner [Wed, 31 Mar 2004 00:11:24 +0000 (00:11 +0000)]
By default, ich4 has NAMBAR and NABMBAR i/o spaces as
read-only.  Need to enable "legacy support", by poking
into pci config space.  (comment from the patch)

Submited by: Autrijus Tang <autrijus@autrijus.org>
Approved by: tanimura (mentor)

20 years agoImplement a '-f' flag to teach bsdlabel to work on files instead of
Luigi Rizzo [Tue, 30 Mar 2004 23:15:03 +0000 (23:15 +0000)]
Implement a '-f' flag to teach bsdlabel to work on files instead of
disk partitions.

20 years agoadd support for setting 802.11 rtsthreshold, transmit power,
Sam Leffler [Tue, 30 Mar 2004 22:59:22 +0000 (22:59 +0000)]
add support for setting 802.11 rtsthreshold, transmit power,
and 11g protection mode

Reviewed by: imp (just code)

20 years agoo add support for controlling the power of transmitted frames
Sam Leffler [Tue, 30 Mar 2004 22:57:57 +0000 (22:57 +0000)]
o add support for controlling the power of transmitted frames
o add support for controlling the 11g protection mechanism used
  to protect OFDM frames in a mixed 11b/g network

Reviewed by: imp

20 years agoAdd a snapshot of build32.sh for amd64 systems. The readme and comments
Peter Wemm [Tue, 30 Mar 2004 22:57:11 +0000 (22:57 +0000)]
Add a snapshot of build32.sh for amd64 systems.  The readme and comments
describe the (severe) restrictions and future plans.

20 years agoOnly call if_init when doing SIOCSIFADDR if the interface is not marked
Sam Leffler [Tue, 30 Mar 2004 22:53:52 +0000 (22:53 +0000)]
Only call if_init when doing SIOCSIFADDR if the interface is not marked
up (IFF_UP).  This eliminates extraneous AP scanning.

Reviewed by: imp

20 years agoFix today's faux pas by:
Tom Rhodes [Tue, 30 Mar 2004 22:31:22 +0000 (22:31 +0000)]
Fix today's faux pas by:

Removing the -compact option passed to .Bl macro to avoid useless .Pp macros;
Adding a missing period;
Using .Xr with .Nd since makewhatis(1) has no support for cases where the Xref is absent.

Informed by: ru

20 years agoAdd an adduser.conf manual page.
Tom Rhodes [Tue, 30 Mar 2004 21:50:42 +0000 (21:50 +0000)]
Add an adduser.conf manual page.
Hook it to the build in Makefile.
Xref from adduser.8.
Update adduser.8's BUGS section.
Bump the date on adduser.8.

20 years agoRemove the -pthread from the last commit, as OpenSSL doesn't actually
David Malone [Tue, 30 Mar 2004 21:04:04 +0000 (21:04 +0000)]
Remove the -pthread from the last commit, as OpenSSL doesn't actually
call any pthread functions as we use compile it. We keep the
-DOPENSSL_THREADS, which stops OpenSSL doing thread-unsafe stuff.

Requested by: ru

20 years agoSynopsis fixes:
Colin Percival [Tue, 30 Mar 2004 20:48:16 +0000 (20:48 +0000)]
Synopsis fixes:
 * `pkg_info -flags' needs either `-a' or a package name. [1]
 * Add -Q option to manual page.
 * Update `usage:' to match the manual page.

PR: misc/64786 [1]
Reviewed by: ru
MFC after: 3 days

20 years agoAdd a cross reference to exports(5). While exports is not directly
Simon L. B. Nielsen [Tue, 30 Mar 2004 20:43:07 +0000 (20:43 +0000)]
Add a cross reference to exports(5).  While exports is not directly
tied to nfsd(8), exports is the configuration file users will most
likely need to configure when dealing with a NFS server.

Submitted by: Florian Hars <hars@bik-gmbh.de>
PR: docs/64714
MFC after: 3 days

20 years agoRemove a stray \n from a setproctitle.
David Malone [Tue, 30 Mar 2004 20:01:25 +0000 (20:01 +0000)]
Remove a stray \n from a setproctitle.

Submitted by: Niki Denev <nike_d@cytexbg.com>

20 years agoPrevious commit fixed one braino but left another in place.
Dag-Erling Smørgrav [Tue, 30 Mar 2004 19:25:44 +0000 (19:25 +0000)]
Previous commit fixed one braino but left another in place.

20 years agoSychronize with reality: nologin(8) is now in /usr/sbin
Colin Percival [Tue, 30 Mar 2004 19:24:56 +0000 (19:24 +0000)]
Sychronize with reality: nologin(8) is now in /usr/sbin

Reminded by: trhodes

20 years agoSwitch ste_encap() over to using m_defrag().
Ruslan Ermilov [Tue, 30 Mar 2004 19:23:38 +0000 (19:23 +0000)]
Switch ste_encap() over to using m_defrag().

No functional change, the previous ste_encap() was correct WRT
long mbuf chains; this just reduces code duplication.

MFC after: 3 days
Prodded by: ambrisko

20 years agoSynchronize with reality: nologin(8) is now in /usr/sbin
Colin Percival [Tue, 30 Mar 2004 19:19:02 +0000 (19:19 +0000)]
Synchronize with reality: nologin(8) is now in /usr/sbin

Reminded by: trhodes

20 years agoAdded options for 3ware 9000 series RAID controller driver (twa).
Vinod Kashyap [Tue, 30 Mar 2004 18:53:18 +0000 (18:53 +0000)]
Added options for 3ware 9000 series RAID controller driver (twa).

20 years agoFrom the list of calendars, remove some duplicate entries which were added
Colin Percival [Tue, 30 Mar 2004 18:28:36 +0000 (18:28 +0000)]
From the list of calendars, remove some duplicate entries which were added
as a result of mis-sorting.

PR Submitter wanted to see a sorted list of non-national holidays followed
by a sorted list of national holidays; I'm not going to do this, because I
don't think we want to get into the "what is a nation?" debate.

PR: docs/64848
Submitted by: Ulrich Spoerlein <q@uni.de> (approximately)
MFC after: 3 days

20 years agoShut up a couple of annoying gcc warnings. Do not enclose the fixes with
Max Laier [Tue, 30 Mar 2004 18:28:30 +0000 (18:28 +0000)]
Shut up a couple of annoying gcc warnings. Do not enclose the fixes with
#ifdefs in order to loop it back to OpenBSD after the next import. There are
a some implicit asserts involved which might be better spelled out
explicitly (af == AF_INET ...)

Approved by: bms(mentor)

20 years agoAdd two most recent Security Advisories to errata.
Ken Smith [Tue, 30 Mar 2004 17:43:26 +0000 (17:43 +0000)]
Add two most recent Security Advisories to errata.

20 years agoWhen a dynamic NSS module is built and linked against a thread
Jacques Vidrine [Tue, 30 Mar 2004 15:56:15 +0000 (15:56 +0000)]
When a dynamic NSS module is built and linked against a thread
library, it may pull in that thread library at run time.  If the
process started out single-threaded, this could cause attempts to
release locks that do not exist.  Guard against this possibility by
checking __isthreaded before invoking thread primitives.

A similar problem remains if the process is linked against one thread
library, but the NSS module is linked against another.  This can only
be avoided by careful design of the NSS module.

Submitted by: Sean McNeil <sean@mcneil.com> (mostly; bugs are mine)

20 years agoManual page for ng_sppp module.
Roman Kurakin [Tue, 30 Mar 2004 15:28:09 +0000 (15:28 +0000)]
Manual page for ng_sppp module.

Approved by: imp (mentor)
Reviewed by: julian

20 years agoBump date and remove trailing whitespace.
Dag-Erling Smørgrav [Tue, 30 Mar 2004 15:11:16 +0000 (15:11 +0000)]
Bump date and remove trailing whitespace.

20 years agoUse KERN_PROC_PROC instead of KERN_PROC_ALL on the call to kvm_getprocs(),
Garance A Drosehn [Tue, 30 Mar 2004 15:10:50 +0000 (15:10 +0000)]
Use KERN_PROC_PROC instead of KERN_PROC_ALL on the call to kvm_getprocs(),
so we get one line per process instead of one for each kernel-thread.

Noticed by: ache & tjr

20 years agoDocument ntpdate_hosts.
Dag-Erling Smørgrav [Tue, 30 Mar 2004 15:10:39 +0000 (15:10 +0000)]
Document ntpdate_hosts.

20 years agoRemove the POSIX and en_US.US-ASCII links after ache@ explained why they
Dag-Erling Smørgrav [Tue, 30 Mar 2004 14:20:45 +0000 (14:20 +0000)]
Remove the POSIX and en_US.US-ASCII links after ache@ explained why they
are unnecessary (and a bad idea).

20 years agoReplace td2 with td on the assumption that this was a typo. This should at
Benno Rice [Tue, 30 Mar 2004 13:57:34 +0000 (13:57 +0000)]
Replace td2 with td on the assumption that this was a typo.  This should at
least unbreak the build.

Pointy hat to: peter
Not tested either by: benno

20 years agoMFi386: WARNS=4 clean.
Yoshihiro Takahashi [Tue, 30 Mar 2004 12:22:31 +0000 (12:22 +0000)]
MFi386: WARNS=4 clean.

20 years agoBuild OpenSSL so that it extects that is may be used in a threaded
David Malone [Tue, 30 Mar 2004 11:30:02 +0000 (11:30 +0000)]
Build OpenSSL so that it extects that is may be used in a threaded
environment. This stops some ports keeling over on an OpenSSL assert.
(The patch is not exactly the one from the PR, but has been refined
based on advice from freebsd-threads.)

PR: 51205
Submitted by: Jim Westfall <jwestfall@surrealistic.net>
MFC after: 1 month

20 years agoThe VLAN TCI field should be operated in network byte order.
Ruslan Ermilov [Tue, 30 Mar 2004 10:24:52 +0000 (10:24 +0000)]
The VLAN TCI field should be operated in network byte order.
This fixes the VLAN support for nge(4).

Reported by: Jacob S. Barrett
MFC after: 3 days

20 years agoAdd cross-references to isideogram(3), isphonogram(3), isrune(3),
Tim J. Robbins [Tue, 30 Mar 2004 08:11:57 +0000 (08:11 +0000)]
Add cross-references to isideogram(3), isphonogram(3), isrune(3),
isspecial(3) and wctype(3).

20 years agoWhite space and wording changes to init_param3().
Alan Cox [Tue, 30 Mar 2004 08:00:11 +0000 (08:00 +0000)]
White space and wording changes to init_param3().

Mostly submitted by: bde

20 years agoSync manpage's synopsis with usage().
Ruslan Ermilov [Tue, 30 Mar 2004 07:37:04 +0000 (07:37 +0000)]
Sync manpage's synopsis with usage().

20 years agoDisable serialize_methods and enable _OSI support by default. The former
Nate Lawson [Tue, 30 Mar 2004 07:35:18 +0000 (07:35 +0000)]
Disable serialize_methods and enable _OSI support by default.  The former
is necessary because some IBMs use recursive methods (pointed out by
Robert Moore from Intel).  The latter was a typo on my part.  It was disabled
by default when it should have been enabled.

20 years agoAdd basic manual pages for isideogram(), isphonogram(), isrune()
Tim J. Robbins [Tue, 30 Mar 2004 07:23:54 +0000 (07:23 +0000)]
Add basic manual pages for isideogram(), isphonogram(), isrune()
and isspecial().

20 years agoTrim cross-references.
Tim J. Robbins [Tue, 30 Mar 2004 07:19:35 +0000 (07:19 +0000)]
Trim cross-references.

20 years agoDocument the isnumber() and ishexnumber() functions, and explain how they
Tim J. Robbins [Tue, 30 Mar 2004 07:02:04 +0000 (07:02 +0000)]
Document the isnumber() and ishexnumber() functions, and explain how they
differ (at least in theory) from isdigit() and isxdigit().

20 years agoFixed a style bug in previous commit (misformatted comment). Fixed
Bruce Evans [Tue, 30 Mar 2004 07:01:56 +0000 (07:01 +0000)]
Fixed a style bug in previous commit (misformatted comment).  Fixed
some nearby bugs (rotted and missing comments).  Use similar wording
for describing broken options.

20 years agoDown to WARNS=2 for a while.
Jun Kuriyama [Tue, 30 Mar 2004 06:16:41 +0000 (06:16 +0000)]
Down to WARNS=2 for a while.

20 years agoCatch all cases where bread() returns an error and a valid *bp, and release
Scott Long [Tue, 30 Mar 2004 05:01:48 +0000 (05:01 +0000)]
Catch all cases where bread() returns an error and a valid *bp, and release
the *bp.

Obtained from: DragonFlyBSD

20 years agoSwitch to using strtoul() for parsing a potential UID or GID, which gets
Garance A Drosehn [Tue, 30 Mar 2004 04:20:33 +0000 (04:20 +0000)]
Switch to using strtoul() for parsing a potential UID or GID, which gets
this to correctly handle UID's and GID's larger than 2147483647.

Noticed by: bde
MFC after: 1 week

20 years agoInitial check-in of the device driver for 3ware's 9000 series
Vinod Kashyap [Tue, 30 Mar 2004 03:46:00 +0000 (03:46 +0000)]
Initial check-in of the device driver for 3ware's 9000 series
PATA/SATA RAID controllers.  This driver is a SIM under CAM, and
so, behaves like a driver for a SCSI controller.

20 years agoPrefer NULL to 0 when testing and assigning pointer values.
Robert Watson [Tue, 30 Mar 2004 02:16:25 +0000 (02:16 +0000)]
Prefer NULL to 0 when testing and assigning pointer values.

20 years agoBruce would really like the prototype for fmt() to be split across lines
Garance A Drosehn [Tue, 30 Mar 2004 02:02:40 +0000 (02:02 +0000)]
Bruce would really like the prototype for fmt() to be split across lines
this way (although I still think it "looks weird"...).

Requested by: bde
MFC after: 1 week

20 years agoMinor style fixes, mostly adding indent-protection on some comment-blocks.
Garance A Drosehn [Tue, 30 Mar 2004 01:59:22 +0000 (01:59 +0000)]
Minor style fixes, mostly adding indent-protection on some comment-blocks.

Noticed by: bde
MFC after: 1 week

20 years agoReplace pscomp() with a cleaner version, mostly written by bde (*).
Garance A Drosehn [Tue, 30 Mar 2004 01:45:23 +0000 (01:45 +0000)]
Replace pscomp() with a cleaner version, mostly written by bde (*).
This corrects a problem of lost-precision for `-r' (sort-by-CPU).  Also,
for sort-by-CPU and sort-by-memory, any processes which have the same
value CPU or MEMORY are now sorted by TTY and then (if needed) by pid.

(* - I just added the NODEV checks, after doing some testing of my own)

Submitted by: bde
MFC after: 1 week

20 years agoMake libdisk WARNS=4 clean.
Jun Kuriyama [Tue, 30 Mar 2004 01:39:00 +0000 (01:39 +0000)]
Make libdisk WARNS=4 clean.

Glanced by: jhb

20 years agoShorten some XXXKSE commentry
Peter Wemm [Mon, 29 Mar 2004 22:46:54 +0000 (22:46 +0000)]
Shorten some XXXKSE commentry

20 years agoKill some XXXKSE's. vnlru/syncer are single threaded.
Peter Wemm [Mon, 29 Mar 2004 22:45:33 +0000 (22:45 +0000)]
Kill some XXXKSE's.  vnlru/syncer are single threaded.

20 years agoClean up the stub fake vnode locking implemenations. The main reason this
Peter Wemm [Mon, 29 Mar 2004 22:41:21 +0000 (22:41 +0000)]
Clean up the stub fake vnode locking implemenations.  The main reason this
stuff was here (NFS) was fixed by Alfred in November.  The only remaining
consumer of the stub functions was umapfs, which is horribly horribly
broken.  It has missed out on about the last 5 years worth of maintenence
that was done on nullfs (from which umapfs is derived).  It needs major
work to bring it up to date with the vnode locking protocol.  umapfs really
needs to find a caretaker to bring it into the 21st century.

Functions GC'ed:
vop_noislocked, vop_nolock, vop_nounlock, vop_sharedlock.