]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
22 years agoStyle improvements recommended by Bruce as a follow up to some
dwmalone [Mon, 10 Dec 2001 21:13:08 +0000 (21:13 +0000)]
Style improvements recommended by Bruce as a follow up to some
of the recent WARNS commits. The idea is:

1) FreeBSD id tags should follow vendor tags.
2) Vendor tags should not be compiled (though copyrights probably should).
3) There should be no blank line between including cdefs and __FBSDIF.

22 years agoMissed an assignment of arg6 in previous commit.
obrien [Mon, 10 Dec 2001 20:58:39 +0000 (20:58 +0000)]
Missed an assignment of arg6 in previous commit.

22 years agoRecognize numeric digits inside $id$ tags, eg: $XFree86$
peter [Mon, 10 Dec 2001 20:44:31 +0000 (20:44 +0000)]
Recognize numeric digits inside $id$ tags, eg: $XFree86$

PR: 30666
Submitted by: Tony Finch <dot@dotat.at>

22 years agoGet rid of irritating (bogus) message:
guido [Mon, 10 Dec 2001 20:27:18 +0000 (20:27 +0000)]
Get rid of irritating (bogus) message:
pcm0: ac97 codec failed to reset extended mode (0, got 80)
This was due to not masking off the correct extended function bits
in the read value from the extended status reg.

MFC after: 2 days

22 years agoAdjust for the addition of CTR6.
obrien [Mon, 10 Dec 2001 20:18:17 +0000 (20:18 +0000)]
Adjust for the addition of CTR6.

22 years agoComplete the CTR6 addition (and TR6 and ITR6...)
obrien [Mon, 10 Dec 2001 20:09:49 +0000 (20:09 +0000)]
Complete the CTR6 addition (and TR6 and ITR6...)

22 years agoAdd new boot flag to i386 boot: -p.
guido [Mon, 10 Dec 2001 20:02:22 +0000 (20:02 +0000)]
Add new boot flag to i386 boot: -p.
This flag adds a pausing utility. When ran with -p, during the kernel
probing phase, the kernel will pause after each line of output.
This pausing can be ended with the '.' key, and is automatically
suspended when entering ddb.

This flag comes in handy at systems without a serial port that either hang
during booting or reser.
Reviewed by: (partly by jlemon)
MFC after: 1 week

22 years agoInstall i4bing.4. It lives for more than year in the tree, but
phantom [Mon, 10 Dec 2001 16:55:14 +0000 (16:55 +0000)]
Install i4bing.4. It lives for more than year in the tree, but
never was installed.

MFC After: 3 days

22 years agoRegen from usbdevs rev 1.70: added some AGFA scanners
sheldonh [Mon, 10 Dec 2001 11:46:23 +0000 (11:46 +0000)]
Regen from usbdevs rev 1.70: added some AGFA scanners

22 years agoAdd some AGFA scanners:
sheldonh [Mon, 10 Dec 2001 11:40:38 +0000 (11:40 +0000)]
Add some AGFA scanners:

SnapScan 1236U SnapScan e20
SnapScan e25 SnapScan e26
SnapScan e40 SnapScan e50
SnapScan e52

PR: kern/32649
Submitted by: "Erik H. Bakke" <ebakke@trolltech.com>

22 years agoProvide a more specific help line for PLIP installs, reminding the
murray [Mon, 10 Dec 2001 10:34:47 +0000 (10:34 +0000)]
Provide a more specific help line for PLIP installs, reminding the
user that they must provide the peer's IP address in the 'extra
options to ifconfig' box.

PR: misc/21273

22 years agoI missed a string concatenation.
obrien [Mon, 10 Dec 2001 09:34:47 +0000 (09:34 +0000)]
I missed a string concatenation.

22 years agoAdd identification string for AMD-761 host to PCI bridge.
murray [Mon, 10 Dec 2001 09:27:00 +0000 (09:27 +0000)]
Add identification string for AMD-761 host to PCI bridge.

PR: kern/32255

22 years agoRemove the advice relating to the number of cylinders per cylinder
sheldonh [Mon, 10 Dec 2001 09:26:30 +0000 (09:26 +0000)]
Remove the advice relating to the number of cylinders per cylinder
group.  The highest possible value is calculated automatically since
rev 1.41 of src/sbin/newfs.c .

22 years agoAdd the Bulgarian BDS and Phonetic keymaps.
roam [Mon, 10 Dec 2001 08:37:51 +0000 (08:37 +0000)]
Add the Bulgarian BDS and Phonetic keymaps.

Reviewed by: jhb
Approved by: jhb, silence on -qa
MFC after: 1 week

22 years agoUpdate to C99, s/__FUNCTION__/__func__/,
obrien [Mon, 10 Dec 2001 08:09:49 +0000 (08:09 +0000)]
Update to C99, s/__FUNCTION__/__func__/,
also don't use ANSI string concatenation.

22 years agoWARNS=2 cleanup.
mikeh [Mon, 10 Dec 2001 06:42:56 +0000 (06:42 +0000)]
WARNS=2 cleanup.

Submitted by: Maxime Henrion <mux@qualys.com>
MFC after: 2 weeks

22 years agoWARNS=2 cleanup.
mikeh [Mon, 10 Dec 2001 06:25:35 +0000 (06:25 +0000)]
WARNS=2 cleanup.

Submitted by: Maxime Henrion <mux@qualys.com>
MFC after: 2 weeks

22 years agoWARNS=2 cleanup.
mikeh [Mon, 10 Dec 2001 06:05:28 +0000 (06:05 +0000)]
WARNS=2 cleanup.

Submitted by: Maxime Henrion <mux@qualys.com>
MFC after: 2 weeks

22 years agoUpdate to C99, s/__FUNCTION__/__func__/.
obrien [Mon, 10 Dec 2001 05:58:28 +0000 (05:58 +0000)]
Update to C99, s/__FUNCTION__/__func__/.

22 years agoUpdate to C99, s/__FUNCTION__/__func__/.
obrien [Mon, 10 Dec 2001 05:51:45 +0000 (05:51 +0000)]
Update to C99, s/__FUNCTION__/__func__/.

22 years agoRepeat after me -- "Use of ANSI string concatenation can be bad."
obrien [Mon, 10 Dec 2001 05:40:12 +0000 (05:40 +0000)]
Repeat after me -- "Use of ANSI string concatenation can be bad."
In this case, C99's __func__ is properly defined as:

static const char __func__[] = "function-name";

and GCC 3.1 will not allow it to be used in bogus string concatenation.

22 years agoAdd a CTR6, we need it now.
obrien [Mon, 10 Dec 2001 05:38:23 +0000 (05:38 +0000)]
Add a CTR6, we need it now.

22 years ago o Eliminate compilation warnings on 64-bit architectures.
alc [Mon, 10 Dec 2001 03:34:06 +0000 (03:34 +0000)]
 o Eliminate compilation warnings on 64-bit architectures.

22 years agoAn XFree86 install should not depend on any compat libs any longer.
obrien [Mon, 10 Dec 2001 02:42:42 +0000 (02:42 +0000)]
An XFree86 install should not depend on any compat libs any longer.
(1) We don't need compat3x and compat4x as we build the bits on the proper
    release now (vs. getting them from the XFree people).
(2) We handle the compat2x needs thru proper port dependancies now.

22 years agoWe do have a compat4x dist for Alpha.
obrien [Mon, 10 Dec 2001 02:40:41 +0000 (02:40 +0000)]
We do have a compat4x dist for Alpha.

22 years agoUpdate the list of public NTP servers from
obrien [Mon, 10 Dec 2001 02:35:54 +0000 (02:35 +0000)]
Update the list of public NTP servers from
http://www.eecis.udel.edu/~mills/ntp/clock2.htm
Also remove any Stratum 1 servers and only include Stratum 2 and higher
servers.

PR: 32586
Submitted by: Arnaud Launay <asl@launay.org>

22 years agocleanup
dillon [Mon, 10 Dec 2001 02:18:05 +0000 (02:18 +0000)]
cleanup

22 years agoRemove PAO3 dependent part where I missed to remove at last commit.
non [Mon, 10 Dec 2001 02:07:34 +0000 (02:07 +0000)]
Remove PAO3 dependent part where I missed to remove at last commit.

22 years agoAdd auto-fill-on-delete. When deleting an 'A'uto created partition
dillon [Sun, 9 Dec 2001 23:40:02 +0000 (23:40 +0000)]
Add auto-fill-on-delete.  When deleting an 'A'uto created partition
sysinstall will automatically expand the previous partition to take up
the freed up space.  So you can 'D'elete /home and /usr will get the
combined space, or you can 'D'elete /tmp and /var will get the combined space.

This gives the user, developer, or lay person a huge amount of flexibility
in constructing partitions from an 'A'uto base.  It takes only 3 or 4
keystrokes to achieve virtually any combination of having or not having
a /tmp and/or /home after doing an 'A'uto create.

Change 'A'uto creation of /var/tmp to 'A'uto creation /tmp, which should
be less controversial.

MFC after: 6 days

22 years agoWARNS=2 cleanup.
mikeh [Sun, 9 Dec 2001 21:56:31 +0000 (21:56 +0000)]
WARNS=2 cleanup.

Submitted by: Maxime Henrion <mux@qualys.com>
MFC after: 2 weeks

22 years agoTurn on WARNS=2, no code fixes needed.
mikeh [Sun, 9 Dec 2001 21:52:22 +0000 (21:52 +0000)]
Turn on WARNS=2, no code fixes needed.

Submitted by: Maxime Henrion <mux@qualys.com>
MFC after: 2 weeks

22 years agoAdd a NO_6_BYTE quirk for the D-series olympus digital cameras.
iedowse [Sun, 9 Dec 2001 21:38:33 +0000 (21:38 +0000)]
Add a NO_6_BYTE quirk for the D-series olympus digital cameras.

PR: kern/31250
Submitted by: Bryan Liesner <bleez@bellatlantic.net>

22 years agoDon't ignore SIGINT and SIGQUIT. The comment said "Ignore SIGINT
iedowse [Sun, 9 Dec 2001 20:18:36 +0000 (20:18 +0000)]
Don't ignore SIGINT and SIGQUIT. The comment said "Ignore SIGINT
and SIGQUIT during shutdown", but rpc.umntall is also run at boot
time, so ignoring these signals is a really bad idea: it makes it
impossible to ^C the process as it waits for a server response. I
can't see any reason to block these signals during shutdown either.

MFC after: 3 days

22 years agoWe need machine/{signal,ucontext}.h to build a cross GCC compiler.
obrien [Sun, 9 Dec 2001 19:39:49 +0000 (19:39 +0000)]
We need machine/{signal,ucontext}.h to build a cross GCC compiler.
So craft the proper versions of these and commit em.

22 years agoFollowing sys/i386/include/ansi.h rev 1.33, add additional integer types
obrien [Sun, 9 Dec 2001 19:38:21 +0000 (19:38 +0000)]
Following sys/i386/include/ansi.h rev 1.33, add additional integer types
in <machine/ansi.h> and that are required by <sys/stdint.h>.

22 years agostyle(9) cleanup: spaces -> tabs.
mikeh [Sun, 9 Dec 2001 19:34:11 +0000 (19:34 +0000)]
style(9) cleanup: spaces -> tabs.

MFC after: 2 weeks

22 years agostyle(9)
obrien [Sun, 9 Dec 2001 19:12:07 +0000 (19:12 +0000)]
style(9)

22 years agoWe need machine/types.h to build a cross GCC compiler.
obrien [Sun, 9 Dec 2001 19:11:45 +0000 (19:11 +0000)]
We need machine/types.h to build a cross GCC compiler.
(copied from src/sys/i386/include/types.h rev 1.23, except for the label_t
size, which is '10' everywhere BUT on i386)

22 years agoPer the CSRG's type.h, 'typedef' has a <tab> after it.
obrien [Sun, 9 Dec 2001 18:59:08 +0000 (18:59 +0000)]
Per the CSRG's type.h, 'typedef' has a <tab> after it.
Also add two simpler examples of typedefs to show their formatting.

22 years agoWARNS=2 cleanup.
mikeh [Sun, 9 Dec 2001 18:40:56 +0000 (18:40 +0000)]
WARNS=2 cleanup.

PR: bin/32646
MFC after: 2 weeks

22 years agomachine/limits.h
obrien [Sun, 9 Dec 2001 18:30:04 +0000 (18:30 +0000)]
machine/limits.h
(taken from i386/include/limits.h rev 1.19)

22 years agoDisable sleep requests for 5 sec after wakeup. This is needed for
iwasaki [Sun, 9 Dec 2001 18:02:36 +0000 (18:02 +0000)]
Disable sleep requests for 5 sec after wakeup.  This is needed for
some Toshiba and Thinkpad laptops.
Wakeup event is generated by power button or sleep button on some
laptops but this also generates SCI interrupt, and shutdown the system
as result.  So this is introduced so that acpi driver ignore given
requests for certain period.

22 years ago- Replace M_WAIT with M_TRYWAIT since the M_WAIT flag is deprecated.
arr [Sun, 9 Dec 2001 17:48:08 +0000 (17:48 +0000)]
- Replace M_WAIT with M_TRYWAIT since the M_WAIT flag is deprecated.

Spotted by: bde

22 years agoBack out previous commit.
des [Sun, 9 Dec 2001 15:11:55 +0000 (15:11 +0000)]
Back out previous commit.

Requested by: ru

22 years agoSet fetchDebug if v_level is 3 or more.
des [Sun, 9 Dec 2001 15:07:26 +0000 (15:07 +0000)]
Set fetchDebug if v_level is 3 or more.

PR: bin/32615
MFC after: 1 week

22 years agoDon't build with NDEBUG.
des [Sun, 9 Dec 2001 15:06:38 +0000 (15:06 +0000)]
Don't build with NDEBUG.

PR: bin/32615
MFC after: 1 week

22 years agoConditionalize some debugging code that didn't use the DEBUG macro.
des [Sun, 9 Dec 2001 15:05:58 +0000 (15:05 +0000)]
Conditionalize some debugging code that didn't use the DEBUG macro.

MFC after: 1 week

22 years agoIntroduce a fetchDebug global. Change the DEBUG macro so it only runs the
des [Sun, 9 Dec 2001 15:05:19 +0000 (15:05 +0000)]
Introduce a fetchDebug global.  Change the DEBUG macro so it only runs the
debugging code if fetchDebug is set.

PR: bin/32615
MFC after: 1 week

22 years agoDon't assume that the number of fds to select on is known quantity (in
jkh [Sun, 9 Dec 2001 09:53:27 +0000 (09:53 +0000)]
Don't assume that the number of fds to select on is known quantity (in
this case 16).  Use dynamic FD_SETs and calculated high-water marks
throughout.  There are also too many versions of telnet in the tree.

Obtained from:  OpenBSD and Apple's Radar database
MFC after:      2 days

22 years agoCleanup sysinstall's 'A'uto partitioning mode to provide more reasonable
dillon [Sun, 9 Dec 2001 09:47:09 +0000 (09:47 +0000)]
Cleanup sysinstall's 'A'uto partitioning mode to provide more reasonable
defaults both in regards to the size of the partitions that are created
and in regards to safety and functional separation.

Still TODO: extend the previous partition to cover a deleted partition
if the previous partiton was auto-created, and supply some sort of
solution for /tmp.

Reviewed by: Just about everyone
Approved by: Nobody except maybe my pet mouse fred
Obtained from: God, so complain to HIM
MFC after: 1 week

22 years ago o Eliminate unnecessary synchronization from filt_aiodetach().
alc [Sun, 9 Dec 2001 08:16:36 +0000 (08:16 +0000)]
 o Eliminate unnecessary synchronization from filt_aiodetach().
 o The manual page for kevent says that EVFILT_AIO returns under the same
   conditions as aio_error().  With that in mind, set the data field
   of the returned struct kevent to the value that would be returned
   by aio_error().
 o Fix two compilation warnings.

22 years ago- Cross reference the section 9 printf man page since it contains
arr [Sun, 9 Dec 2001 08:12:06 +0000 (08:12 +0000)]
- Cross reference the section 9 printf man page since it contains
  information with regards to in-kernel format directives that are
  not in printf.3

22 years agoWARNS=2 cleanup.
mikeh [Sun, 9 Dec 2001 07:51:26 +0000 (07:51 +0000)]
WARNS=2 cleanup.

PR: bin/32567
MFC after: 2 weeks

22 years agoWARNS=2 cleanup and fix potential unitialized variable bug.
mikeh [Sun, 9 Dec 2001 07:32:55 +0000 (07:32 +0000)]
WARNS=2 cleanup and fix potential unitialized variable bug.

PR: bin/32567
MFC after: 2 weeks

22 years agoWARNS=2 cleanup.
mikeh [Sun, 9 Dec 2001 07:22:26 +0000 (07:22 +0000)]
WARNS=2 cleanup.

PR: bin/32567
MFC after: 2 weeks

22 years agoThe ScanLogic SL11R-IDE claims to be SCSI-compatible, but actually requires
msmith [Sun, 9 Dec 2001 06:02:46 +0000 (06:02 +0000)]
The ScanLogic SL11R-IDE claims to be SCSI-compatible, but actually requires
the UFI command set.  Even with this patch, it's incredibly slow on my
laptop, but at least now it works.

Note that the drive is reported to CAM with the vendor and device IDs from
the device itself, forcing the user to patch the da(4) quirk table
manually.

22 years agoAllow maxusers to be specified as 0 in the kernel config, which will
dillon [Sun, 9 Dec 2001 01:57:09 +0000 (01:57 +0000)]
Allow maxusers to be specified as 0 in the kernel config, which will
cause the system to auto-size to between 32 and 512 depending on the
amount of memory.

MFC after: 1 week

22 years agoConsider PROTO_IPV6 as compressible by CCP.
brian [Sun, 9 Dec 2001 01:29:12 +0000 (01:29 +0000)]
Consider PROTO_IPV6 as compressible by CCP.

Spotted by: Nick Sayer <nsayer@quack.kfu.com>

22 years agoPull in more stuff from procfs now that it's been pseudofsized.
des [Sun, 9 Dec 2001 00:38:59 +0000 (00:38 +0000)]
Pull in more stuff from procfs now that it's been pseudofsized.

22 years agoFix various bugs in the debugging code and reenable it.
des [Sun, 9 Dec 2001 00:35:30 +0000 (00:35 +0000)]
Fix various bugs in the debugging code and reenable it.

22 years agoFix an incorrect PFS_TRACE. Also, use __func__ instead of __FUNCTION__.
des [Sun, 9 Dec 2001 00:28:12 +0000 (00:28 +0000)]
Fix an incorrect PFS_TRACE.  Also, use __func__ instead of __FUNCTION__.

22 years agop_trespass() has been dead for over a year.
des [Sat, 8 Dec 2001 23:56:37 +0000 (23:56 +0000)]
p_trespass() has been dead for over a year.

22 years agoReplace %i formatting characters with %d since printf(9) doesn't support %i.
alfred [Sat, 8 Dec 2001 23:46:38 +0000 (23:46 +0000)]
Replace %i formatting characters with %d since printf(9) doesn't support %i.

Someone forgot the long flamefest I lost to add %i to kernel printf.

22 years agoFix a KSEfication brain-o in procfs_doprocfile(): return the path of the target process,
des [Sat, 8 Dec 2001 22:34:14 +0000 (22:34 +0000)]
Fix a KSEfication brain-o in procfs_doprocfile(): return the path of the target process,
not the calling process.  While we're here, also unstaticize procfs_doprocfile() and
procfs_docurproc() so linprocfs can call them directly instead of duplicating them.

Submitted by: Dominic Mitchell <dom@semantico.com>

22 years agoDon't assume that the number of fds to select on is known quantity (in
jkh [Sat, 8 Dec 2001 21:51:34 +0000 (21:51 +0000)]
Don't assume that the number of fds to select on is known quantity (in
this case 16).  Use dynamic FD_SETs and calculated high-water marks
throughout.
Obtained from: OpenBSD and Apple's Radar database
MFC after: 2 days

22 years agoAdd support for Brazilian IP Addresses. Example `whois 200.236.70.0'.
mike [Sat, 8 Dec 2001 21:22:42 +0000 (21:22 +0000)]
Add support for Brazilian IP Addresses.  Example `whois 200.236.70.0'.

PR: 30676

22 years agoThe nbuf calculation was assuming that PAGE_SIZE = 4096 bytes, which is
dillon [Sat, 8 Dec 2001 20:37:08 +0000 (20:37 +0000)]
The nbuf calculation was assuming that PAGE_SIZE = 4096 bytes, which is
bogus.  The calculation has been adjusted to use units of kilobytes.

Noticed by: Chad David <davidc@acns.ab.ca>
MFC after: 1 week

22 years agoStart using .St macro for POSIX.1-2001.
ru [Sat, 8 Dec 2001 19:06:23 +0000 (19:06 +0000)]
Start using .St macro for POSIX.1-2001.

22 years agoDecember 6th -- the IEEE Standards Board approves the Austin Group
ru [Sat, 8 Dec 2001 19:02:36 +0000 (19:02 +0000)]
December 6th -- the IEEE Standards Board approves the Austin Group
Specification as IEEE Std 1003.1-2001.  Yay!

22 years agomdoc(7) police: fix markup, sort xrefs, grammar nit.
ru [Sat, 8 Dec 2001 18:15:29 +0000 (18:15 +0000)]
mdoc(7) police: fix markup, sort xrefs, grammar nit.

22 years agomdoc(7) police:
ru [Sat, 8 Dec 2001 18:07:29 +0000 (18:07 +0000)]
mdoc(7) police:

- kill empty lines
- kill whitespace at EOL
- kill hard sentence breaks
- fix document date
- fix markup
- sort xrefs
- first appeared in 5.0, not 4.4

22 years agomdoc(7) police: Style style(9).
ru [Sat, 8 Dec 2001 17:48:18 +0000 (17:48 +0000)]
mdoc(7) police: Style style(9).

22 years agomdoc(7) police:
ru [Sat, 8 Dec 2001 16:58:48 +0000 (16:58 +0000)]
mdoc(7) police:

- bump document date
- add -n to SYNOPSIS
- remove whitespace at EOL
- remove hard sentence break
- be a bit verbose about "vcd" operation

22 years agomdoc(7) police: sort xrefs.
ru [Sat, 8 Dec 2001 16:43:24 +0000 (16:43 +0000)]
mdoc(7) police: sort xrefs.

22 years agomdoc(7) police: bump document date, fix markup.
ru [Sat, 8 Dec 2001 16:40:19 +0000 (16:40 +0000)]
mdoc(7) police: bump document date, fix markup.

22 years agomdoc(7) police: sort xrefs.
ru [Sat, 8 Dec 2001 16:28:20 +0000 (16:28 +0000)]
mdoc(7) police: sort xrefs.

22 years agomdoc(7) police: markup nits.
ru [Sat, 8 Dec 2001 16:17:49 +0000 (16:17 +0000)]
mdoc(7) police: markup nits.

22 years agomdoc(7) police: fix markup in revision 1.25.
ru [Sat, 8 Dec 2001 16:15:44 +0000 (16:15 +0000)]
mdoc(7) police: fix markup in revision 1.25.

22 years agomdoc(7) police: change xref to vfs_mountedon(9).
ru [Sat, 8 Dec 2001 16:06:02 +0000 (16:06 +0000)]
mdoc(7) police: change xref to vfs_mountedon(9).

22 years agoBe more specific in an example of fortune's -e option.
keramida [Sat, 8 Dec 2001 04:54:55 +0000 (04:54 +0000)]
Be more specific in an example of fortune's -e option.

PR: 32085
Submitted by: setantae@submonkey.net <setantae@submonkey.net>

22 years agoUpdate the comment about System initialization to reflect the use of
davidc [Sat, 8 Dec 2001 04:20:54 +0000 (04:20 +0000)]
Update the comment about System initialization to reflect the use of
DOMAIN_SET(9) instead of SYSINIT for adding domains at startup.

Reviewed by: alfred

22 years agobuf.9 incorrectly uses 'BUF' as an arg to .Nm where it should be 'buf'.
davidc [Sat, 8 Dec 2001 04:15:37 +0000 (04:15 +0000)]
buf.9 incorrectly uses 'BUF' as an arg to .Nm where it should be 'buf'.
Because of this apropos notes a BUF(9) page that does not exist.

Reviewed by: alfred

22 years agoOnly use __FBSDID if it is defined. This fixes the 4.4-release (but
imp [Sat, 8 Dec 2001 02:28:16 +0000 (02:28 +0000)]
Only use __FBSDID if it is defined.  This fixes the 4.4-release (but
not stable) -> current upgrade path.

Reviewed by: markm

22 years agoPrevent infinite loop, when kevent(2) is called wihout eventlist (i.e.
sobomax [Sat, 8 Dec 2001 00:53:37 +0000 (00:53 +0000)]
Prevent infinite loop, when kevent(2) is called wihout eventlist (i.e.
eventlist == NULL or nevents == 0).

22 years agoLong ago, there was just /etc/daily. Then /etc/security was split out
cjc [Fri, 7 Dec 2001 23:57:39 +0000 (23:57 +0000)]
Long ago, there was just /etc/daily. Then /etc/security was split out
of /etc/daily. Some time later, /etc/daily became a set of periodic(8)
scripts. Now, this evolution continues, and /etc/security has been
broken into periodic(8) scripts to make local customization easier and
more maintainable.

Reviewed by: ru
Approved by: ru

22 years agoAdd a man page describing the fuctions directly related to network domains.
davidc [Fri, 7 Dec 2001 20:58:07 +0000 (20:58 +0000)]
Add a man page describing the fuctions directly related to network domains.

Reviewed by: alfred

22 years agoThe previous commit log message should have said:
arr [Fri, 7 Dec 2001 19:34:03 +0000 (19:34 +0000)]
The previous commit log message should have said:
  - Fix a bunch of malloc calls that are passing M_WAIT instead of the
    correct flag, M_WAITOK.

22 years agoWhen rfc1323 is mentioned in the context of buffer sizes, not that it
rwatson [Fri, 7 Dec 2001 18:17:37 +0000 (18:17 +0000)]
When rfc1323 is mentioned in the context of buffer sizes, not that it
is enabled by default in FreeBSD.

22 years agoo Expand list of tunables documented in loader.8 to include kern.maxusers,
rwatson [Fri, 7 Dec 2001 18:05:24 +0000 (18:05 +0000)]
o Expand list of tunables documented in loader.8 to include kern.maxusers,
  since other related tunables were also documented here.  Add a cross
  reference to tuning(7) for information on setting this value
  appropriately.

22 years agoo Add a mention of kern.openfiles to the description of kern.maxfiles,
rwatson [Fri, 7 Dec 2001 18:02:16 +0000 (18:02 +0000)]
o Add a mention of kern.openfiles to the description of kern.maxfiles,
  and suggest using this value to get a sense of the needs of the system.

22 years ago- Fix a bunch of malloc calls where the M_FLAG is incorrectly used; it
arr [Fri, 7 Dec 2001 17:59:15 +0000 (17:59 +0000)]
- Fix a bunch of malloc calls where the M_FLAG is incorrectly used; it
  should be M_WAITOK.

Spotted by: des

22 years agoGet rid of unused anymore file! Alpha works fine with our strtod() now.
phantom [Fri, 7 Dec 2001 17:19:09 +0000 (17:19 +0000)]
Get rid of unused anymore file! Alpha works fine with our strtod() now.

22 years agoo Update rc.network to reflect the recent change of default in the
rwatson [Fri, 7 Dec 2001 17:03:14 +0000 (17:03 +0000)]
o Update rc.network to reflect the recent change of default in the
  kernel TCP timer code: rather than checking for tcp_keepalive being
  set to "YES", check for "NO" and turn off keepalives if the variable
  is set in that manner.

o Note: eventually, it would make sense to remove this variable from
  rc.conf management, and instead rely on sysctl.conf.  In fact, this
  is probably true of a number of rc.conf variables whose sole aim
  is to drive the setting of sysctls at boot time.

22 years agoo Our currenty userland boot code (due to rc.conf and rc.network) always
rwatson [Fri, 7 Dec 2001 17:01:28 +0000 (17:01 +0000)]
o Our currenty userland boot code (due to rc.conf and rc.network) always
  enables TCP keepalives using the net.inet.tcp.always_keepalive by default.
  Synchronize the kernel default with the userland default.

22 years agoReturn 'c' back to signed due to potential comparison problems
ache [Fri, 7 Dec 2001 16:33:47 +0000 (16:33 +0000)]
Return 'c' back to signed due to potential comparison problems
Use simpler test for valid ranges

Submitted by: bde

22 years agoFix a typo.
ru [Fri, 7 Dec 2001 14:58:41 +0000 (14:58 +0000)]
Fix a typo.

Submitted by: "Alexey V. Neyman" <alex.neyman@auriga.ru>

22 years agoFix typo: 'fragement' -> 'fragment'
sheldonh [Fri, 7 Dec 2001 13:18:28 +0000 (13:18 +0000)]
Fix typo: 'fragement' -> 'fragment'

22 years ago* localeconv() usage is not FLOATING_POINT specific anymore (due to "'" flag
phantom [Fri, 7 Dec 2001 12:38:47 +0000 (12:38 +0000)]
* localeconv() usage is not FLOATING_POINT specific anymore (due to "'" flag
  addition) so move locale.h inclusion out of FLOATING_POINT ifdef's.
* add more comments

22 years agoGet pam_mod_misc.h from .CURDIR rather than .OBJDIR or /usr/include.
des [Fri, 7 Dec 2001 11:51:47 +0000 (11:51 +0000)]
Get pam_mod_misc.h from .CURDIR rather than .OBJDIR or /usr/include.

Sponsored by: DARPA, NAI Labs