dragonfly.git
19 years agoAdd collation definition for UTF-8.
Jeroen Ruigrok/asmodai [Mon, 27 Sep 2004 19:30:50 +0000 (19:30 +0000)]
Add collation definition for UTF-8.

Synchronised partially with FreeBSD.
Decided upon following Hye-Shik's original plan with a separate la_LN.UTF-8
even though it duplicates US-ASCII's contents, it is, however, much more
clear this way.

Provided by: Hye-Shik Chang <perky@FreeBSD.org>

19 years agoAdd la_LN.UTF-8.
Jeroen Ruigrok/asmodai [Mon, 27 Sep 2004 19:27:03 +0000 (19:27 +0000)]
Add la_LN.UTF-8.

19 years agoBe a coward and add ja_JP.EUC back in for now.
Jeroen Ruigrok/asmodai [Mon, 27 Sep 2004 18:43:58 +0000 (18:43 +0000)]
Be a coward and add ja_JP.EUC back in for now.

19 years agoAdd UTF-8 time definitions.
Jeroen Ruigrok/asmodai [Mon, 27 Sep 2004 14:44:33 +0000 (14:44 +0000)]
Add UTF-8 time definitions.

Synchronise Makefile with some FreeBSD changes made by Tim J. Robbins.

Provided by: Hye-Shik Chang <perky@FreeBSD.org>

19 years agoAdd en_GB.UTF-8.
Jeroen Ruigrok/asmodai [Mon, 27 Sep 2004 14:26:14 +0000 (14:26 +0000)]
Add en_GB.UTF-8.

19 years agoPrepare for the locale additions.
Jeroen Ruigrok/asmodai [Mon, 27 Sep 2004 12:54:03 +0000 (12:54 +0000)]
Prepare for the locale additions.

19 years agoAdd the Unicode 3.2 ctypes table.
Jeroen Ruigrok/asmodai [Mon, 27 Sep 2004 06:03:48 +0000 (06:03 +0000)]
Add the Unicode 3.2 ctypes table.

Provided by: Hye-Shik Chang <perky@FreeBSD.org>

19 years agoChange to use USB_PRODUCT_LINKSYS2_USB200M.
Jeroen Ruigrok/asmodai [Mon, 27 Sep 2004 05:57:58 +0000 (05:57 +0000)]
Change to use USB_PRODUCT_LINKSYS2_USB200M.

19 years agoChange SYNOPSYS to SYNOPSYS2 and regenerate.
Jeroen Ruigrok/asmodai [Mon, 27 Sep 2004 05:30:16 +0000 (05:30 +0000)]
Change SYNOPSYS to SYNOPSYS2 and regenerate.

19 years agoMinor cleanups to TIMER_USE_1 (no real fixes or anything).
Matthew Dillon [Mon, 27 Sep 2004 04:04:09 +0000 (04:04 +0000)]
Minor cleanups to TIMER_USE_1 (no real fixes or anything).

19 years agoVFS messaging/interfacing work stage 5b/99. More cleanups, remove the
Matthew Dillon [Sun, 26 Sep 2004 20:14:21 +0000 (20:14 +0000)]
VFS messaging/interfacing work stage 5b/99.  More cleanups, remove the
(unused) ni_ncp and ni_dncp from struct nameidata.  A new structure will
be used for the new API.

19 years agoClarify an element in the BUGS section related to the sticky bit.
Matthew Dillon [Sun, 26 Sep 2004 19:16:41 +0000 (19:16 +0000)]
Clarify an element in the BUGS section related to the sticky bit.

Brought-to-attention-by: =?ISO-8859-1?Q?Jonas_Sundstr=F6m?= <jonas@kirilla.com>
19 years agoRegenerate.
Jeroen Ruigrok/asmodai [Sun, 26 Sep 2004 18:18:54 +0000 (18:18 +0000)]
Regenerate.

19 years agoAdd some more vendors and some HP devices.
Jeroen Ruigrok/asmodai [Sun, 26 Sep 2004 18:18:13 +0000 (18:18 +0000)]
Add some more vendors and some HP devices.

19 years agoBe consistent in the white space usage.
Jeroen Ruigrok/asmodai [Sun, 26 Sep 2004 17:58:02 +0000 (17:58 +0000)]
Be consistent in the white space usage.

19 years agoBump to WARNS 6.
Jeroen Ruigrok/asmodai [Sun, 26 Sep 2004 17:40:17 +0000 (17:40 +0000)]
Bump to WARNS 6.

Reminded by: Sascha Wildner

19 years agoRegenerate.
Jeroen Ruigrok/asmodai [Sun, 26 Sep 2004 17:03:27 +0000 (17:03 +0000)]
Regenerate.

19 years agoAdd Wacom Graphire 3.
Jeroen Ruigrok/asmodai [Sun, 26 Sep 2004 17:02:37 +0000 (17:02 +0000)]
Add Wacom Graphire 3.

19 years agoForced commit:
Jeroen Ruigrok/asmodai [Sun, 26 Sep 2004 16:32:47 +0000 (16:32 +0000)]
Forced commit:

Submitted by: Sascha Wildner

19 years agoBump WARNS to 6.
Jeroen Ruigrok/asmodai [Sun, 26 Sep 2004 16:32:12 +0000 (16:32 +0000)]
Bump WARNS to 6.

Put external declarations where they are supposed to go.

19 years agoBump to WARNS 6.
Jeroen Ruigrok/asmodai [Sun, 26 Sep 2004 16:29:49 +0000 (16:29 +0000)]
Bump to WARNS 6.
Use tmpsin instead of sin to avoid conflicts.

Submitted by: Sascha Wildner

19 years agoFix author name with .An macro. Add missing period.
Jeroen Ruigrok/asmodai [Sun, 26 Sep 2004 16:25:42 +0000 (16:25 +0000)]
Fix author name with .An macro.  Add missing period.

Submitted by: Sascha Wildner

19 years agoRegenerate.
Jeroen Ruigrok/asmodai [Sun, 26 Sep 2004 16:14:17 +0000 (16:14 +0000)]
Regenerate.

19 years agotsptype is an array of character constants, declare it as such.
Joerg Sonnenberger [Sun, 26 Sep 2004 16:09:48 +0000 (16:09 +0000)]
tsptype is an array of character constants, declare it as such.

Submitted-by: Sascha Wildner
19 years agoBump WARNS to 6.
Jeroen Ruigrok/asmodai [Sun, 26 Sep 2004 16:09:13 +0000 (16:09 +0000)]
Bump WARNS to 6.
Move WARNS under PROG in test.
Remove commented MLINKS in varsym, it is automatically handled through PROG.

19 years agoBump WARNS to 6.
Jeroen Ruigrok/asmodai [Sun, 26 Sep 2004 16:03:39 +0000 (16:03 +0000)]
Bump WARNS to 6.
Get rid of SRCS, rm.c is implied through PROG.

19 years agoAdd WARNS, set to 0.
Jeroen Ruigrok/asmodai [Sun, 26 Sep 2004 15:58:51 +0000 (15:58 +0000)]
Add WARNS, set to 0.

19 years agoBump WARNS to 6.
Jeroen Ruigrok/asmodai [Sun, 26 Sep 2004 15:58:32 +0000 (15:58 +0000)]
Bump WARNS to 6.

19 years agoAdd, if not present, WARNS and set to 6.
Jeroen Ruigrok/asmodai [Sun, 26 Sep 2004 15:56:47 +0000 (15:56 +0000)]
Add, if not present, WARNS and set to 6.

19 years ago- make process() static and take const arguments
Joerg Sonnenberger [Sun, 26 Sep 2004 15:56:13 +0000 (15:56 +0000)]
- make process() static and take const arguments
- use the exit code to indicate a problem while processing any of the input
- mark as WARNS=6 clean

Submitted-by: Liam J. Foy
- reduce the special casing of argc == 1 and switch to a while loop

19 years agoBump hostname to WARNS 6 by initialising silen.
Jeroen Ruigrok/asmodai [Sun, 26 Sep 2004 15:55:37 +0000 (15:55 +0000)]
Bump hostname to WARNS 6 by initialising silen.

19 years agoMake ls compile under WARNS 6.
Jeroen Ruigrok/asmodai [Sun, 26 Sep 2004 15:53:25 +0000 (15:53 +0000)]
Make ls compile under WARNS 6.

Submitted by: Sascha Wildner

19 years agoSet NCURSES_CONST to const.
Jeroen Ruigrok/asmodai [Sun, 26 Sep 2004 15:43:40 +0000 (15:43 +0000)]
Set NCURSES_CONST to const.

Submitted by: Sascha Wildner

19 years agoAdd WARNS and set to 5.
Jeroen Ruigrok/asmodai [Sun, 26 Sep 2004 15:42:09 +0000 (15:42 +0000)]
Add WARNS and set to 5.

19 years agoSet WARNS to 6.
Jeroen Ruigrok/asmodai [Sun, 26 Sep 2004 15:41:49 +0000 (15:41 +0000)]
Set WARNS to 6.

19 years agoAdd, if not already present, WARNS and set to 6.
Jeroen Ruigrok/asmodai [Sun, 26 Sep 2004 15:38:44 +0000 (15:38 +0000)]
Add, if not already present, WARNS and set to 6.

19 years agoAdd WARNS and set to 3.
Jeroen Ruigrok/asmodai [Sun, 26 Sep 2004 15:34:16 +0000 (15:34 +0000)]
Add WARNS and set to 3.

19 years agoAdd WARNS and set to 6.
Jeroen Ruigrok/asmodai [Sun, 26 Sep 2004 15:32:56 +0000 (15:32 +0000)]
Add WARNS and set to 6.

19 years agoAdd WARNS, set to 6.
Jeroen Ruigrok/asmodai [Sun, 26 Sep 2004 15:31:15 +0000 (15:31 +0000)]
Add WARNS, set to 6.

19 years agoBump WARNS to 6.
Jeroen Ruigrok/asmodai [Sun, 26 Sep 2004 15:30:45 +0000 (15:30 +0000)]
Bump WARNS to 6.

19 years agoMake WARNS ?= instead of = per all the other Makefiles.
Jeroen Ruigrok/asmodai [Sun, 26 Sep 2004 15:29:11 +0000 (15:29 +0000)]
Make WARNS ?= instead of = per all the other Makefiles.

19 years agoAdd WARNS, set to 3.
Jeroen Ruigrok/asmodai [Sun, 26 Sep 2004 15:28:02 +0000 (15:28 +0000)]
Add WARNS, set to 3.

19 years agoFix spammage introduced by dillon's commit in r1.5.
Jeroen Ruigrok/asmodai [Sun, 26 Sep 2004 15:18:29 +0000 (15:18 +0000)]
Fix spammage introduced by dillon's commit in r1.5.

19 years agoSynchronise with FreeBSD-CURRENT as of 2004-09-26.
Jeroen Ruigrok/asmodai [Sun, 26 Sep 2004 15:10:26 +0000 (15:10 +0000)]
Synchronise with FreeBSD-CURRENT as of 2004-09-26.

In a number of cases I used normal English alphabetical sorting instead of
where FreeBSD placed their entries.

19 years agoVFS messaging/interfacing work stage 5/99. Start work on the new
Matthew Dillon [Sun, 26 Sep 2004 06:00:10 +0000 (06:00 +0000)]
VFS messaging/interfacing work stage 5/99.  Start work on the new
namecache/lookup API.  The core of this API will be the concept of a
'locked namespace' rather then a 'locked vnode' for namespace centric
operations like CREATE, DELETE, and RENAME.   The namecache will no longer
be optional for a VFS but instead will become centric to all kernel
namespace operations.

This commit is mostly non-functional.  It removes an extension I had made
to VOP_LOOKUP/VOP_CACHEDLOOKUP and starts adding support functions for the
new cache_nclookup() API.  The work being backed out was originally intended
to shepard the new work, but the new interface is now so different (and far
more simplified) then the original that it's actually better to create a
new VOP for it instead of augmenting existing VOPs.

19 years agoThe wrong vendor-id was used when adding Adaptec ServeRAID Adapter support.
Matthew Dillon [Sun, 26 Sep 2004 05:30:24 +0000 (05:30 +0000)]
The wrong vendor-id was used when adding Adaptec ServeRAID Adapter support.

Submitted-by: YONETANI Tomokazu <qhwt+dfly@les.ath.cx>
19 years agoGet rid of some conditionalized code which the pmap invalidation API took
Matthew Dillon [Sun, 26 Sep 2004 01:53:51 +0000 (01:53 +0000)]
Get rid of some conditionalized code which the pmap invalidation API took
over from long ago and is no longer used.

19 years agoDocument the additional vendors applicable to the 'sk' driver.
Matthew Dillon [Sun, 26 Sep 2004 01:52:48 +0000 (01:52 +0000)]
Document the additional vendors applicable to the 'sk' driver.

19 years agoVFS messaging/interfacing work stage 5/99. Start work on the new
Matthew Dillon [Sun, 26 Sep 2004 01:25:52 +0000 (01:25 +0000)]
VFS messaging/interfacing work stage 5/99.  Start work on the new
namecache/lookup API.  The core of this API will be the concept of a
'locked namespace' rather then a 'locked vnode' for namespace centric
operations like CREATE, DELETE, and RENAME.   The namecache will no longer
be optional for a VFS but instead will become centric to all kernel
namespace operations.

This commit is mostly non-functional.  It removes an extension I had made
to VOP_LOOKUP/VOP_CACHEDLOOKUP and starts adding support functions for the
new cache_nclookup() API.  The work being backed out was originally intended
to shepard the new work, but the new interface is now so different (and far
more simplified) then the original that it's actually better to create a
new VOP for it instead of augmenting existing VOPs.

19 years agoOnly assume a numeric group id if the ENTIRE string is numeric.
Matthew Dillon [Sat, 25 Sep 2004 20:38:21 +0000 (20:38 +0000)]
Only assume a numeric group id if the ENTIRE string is numeric.

Reported-by: "Martin P. Hellwig" <mhellwig@xs4all.nl>
19 years agoAllow ip_output to be called with rt=NULL by making the FAST_IPSEC code
Joerg Sonnenberger [Sat, 25 Sep 2004 17:01:16 +0000 (17:01 +0000)]
Allow ip_output to be called with rt=NULL by making the FAST_IPSEC code
included by default.

Obtained-from: FreeBSD netinet/ip_output.c, 1.201

This fixes a panic from PF.

Reported-by: Aggelos Economopoulos via IRC
19 years agoFrom FreeBSD:
Joerg Sonnenberger [Sat, 25 Sep 2004 15:20:33 +0000 (15:20 +0000)]
From FreeBSD:
Introduce an M_ASSERTPKTHDR() macro which performs the very common task
of asserting that an mbuf has a packet header.  Use it instead of hand-
rolled versions wherever applicable.

Submitted by: Hiten Pandya <hiten@unixdaemons.com>

19 years agoFix a bug where DragonFly's nat was closing TCP connections every 10 minutes.
Matthew Dillon [Sat, 25 Sep 2004 03:42:58 +0000 (03:42 +0000)]
Fix a bug where DragonFly's nat was closing TCP connections every 10 minutes.
This was due to the TCPS state not being properly initialized (our TCPS_CLOSED
state is not 0).

Submitted-by: YONETANI Tomokazu <qhwt+dfly@les.ath.cx>
19 years agoAdd GPL-free patch. This is the extended version of Larry Wall's original
Joerg Sonnenberger [Fri, 24 Sep 2004 18:44:28 +0000 (18:44 +0000)]
Add GPL-free patch. This is the extended version of Larry Wall's original
patch.

Obtained-from: OpenBSD
Submitted-by: Sascha Wildner <saw@online.de>
19 years agoFix typo
Joerg Sonnenberger [Fri, 24 Sep 2004 12:39:25 +0000 (12:39 +0000)]
Fix typo

19 years agoThe inode size must be unsigned-extended to a quad, not sign-extended, so
Matthew Dillon [Fri, 24 Sep 2004 09:18:03 +0000 (09:18 +0000)]
The inode size must be unsigned-extended to a quad, not sign-extended, so
the size of files in the 2-4GB range on DVDs are properly reported.

Taken-from: Jun Kuriyama <kuriyama@imgsrc.co.jp> post on freebsd-current@

19 years agoAdd support for the LinkSys EG1032 GigE PCI card, and add support for
Matthew Dillon [Thu, 23 Sep 2004 23:18:01 +0000 (23:18 +0000)]
Add support for the LinkSys EG1032 GigE PCI card, and add support for
the D-Link DGE-530T GigE card.  These cards are commonly available
off-the-shelf.  These are just SK-9521/Marvell chipsets with new vendor
PCI IDs.

Taken-from: FreeBSD-5

19 years agoWhile I'm here, convert other strcpy -> strlcpy
Scott Ullrich [Thu, 23 Sep 2004 21:39:08 +0000 (21:39 +0000)]
While I'm here, convert other strcpy -> strlcpy

Reviewed-by: Matthew Dillon

19 years agoConvert strcpy -> strlcpy and convert strcpy and strcat -> snprintf
Scott Ullrich [Thu, 23 Sep 2004 20:20:59 +0000 (20:20 +0000)]
Convert strcpy -> strlcpy and convert strcpy and strcat -> snprintf

Submitted-by: Christer Ã–berg ( christer.oberg _AT_ ornsat.com )

19 years agoAdd the -L and -l options to install. -L allows an alternative /etc directory
Matthew Dillon [Thu, 23 Sep 2004 19:13:51 +0000 (19:13 +0000)]
Add the -L and -l options to install.  -L allows an alternative /etc directory
path to be specified and causes install to search LOPT/group and
LOPT/master.passwd for group and user names.  If the -l option is also
specified, install will fallback to system files if the group or user name
cannot be found in the alternative /etc directory.

This is intended to allow us to ensure that the correct uid's and gid's are
used in a release build and to allow new uid's and gid's to be used during
an installworld before they have necessarily been added to the system
password and group files.

19 years agoBYTE_ORDER ==> _BYTE_ORDER
Joerg Sonnenberger [Thu, 23 Sep 2004 16:46:02 +0000 (16:46 +0000)]
BYTE_ORDER ==> _BYTE_ORDER

19 years agoChange the conditionals to use the protected _BYTE_ORDER defines.
Joerg Sonnenberger [Thu, 23 Sep 2004 16:44:32 +0000 (16:44 +0000)]
Change the conditionals to use the protected _BYTE_ORDER defines.

19 years agoTypo.
Joerg Sonnenberger [Thu, 23 Sep 2004 16:13:21 +0000 (16:13 +0000)]
Typo.

19 years agoUse the protected names for BYTE_ORDER and co, the others are not defined
Joerg Sonnenberger [Thu, 23 Sep 2004 16:11:47 +0000 (16:11 +0000)]
Use the protected names for BYTE_ORDER and co, the others are not defined
by default from machine/endian.h anymore. Also change the implicit
!LITTLE_ENDIAN == BIG_ENDIAN where it is used.

19 years agoUpdate FireWire device nodes.
Hidetoshi Shimokawa [Thu, 23 Sep 2004 14:30:16 +0000 (14:30 +0000)]
Update FireWire device nodes.

19 years agoAdd dcons(4).
Hidetoshi Shimokawa [Thu, 23 Sep 2004 14:22:48 +0000 (14:22 +0000)]
Add dcons(4).

19 years agoUnbreak addump().
Jeroen Ruigrok/asmodai [Thu, 23 Sep 2004 11:50:03 +0000 (11:50 +0000)]
Unbreak addump().
request.callout must be callout_init()'ed before a call to ad_transfer().

Submitted by: YONETANI Tomokazu <qhwt+dragonfly-commits@les.ath.cx>

19 years agoHooks to build dcons(4)/dcons_crom(4).
Hidetoshi Shimokawa [Thu, 23 Sep 2004 06:52:05 +0000 (06:52 +0000)]
Hooks to build dcons(4)/dcons_crom(4).

19 years agoAdd dcons(4) related manpages.
Hidetoshi Shimokawa [Thu, 23 Sep 2004 06:44:30 +0000 (06:44 +0000)]
Add dcons(4) related manpages.

19 years agodconschat - user interface to dcons(4)
Hidetoshi Shimokawa [Thu, 23 Sep 2004 06:38:29 +0000 (06:38 +0000)]
dconschat - user interface to dcons(4)

Obtained from: FreeBSD

19 years agoAdd support for eui64(5) to libc.
Hidetoshi Shimokawa [Thu, 23 Sep 2004 06:33:04 +0000 (06:33 +0000)]
Add support for eui64(5) to libc.
This is required for upcoming dconschat(8).

Obtained from: FreeBSD

19 years agoUse opt_dcons.h.
Hidetoshi Shimokawa [Thu, 23 Sep 2004 06:18:46 +0000 (06:18 +0000)]
Use opt_dcons.h.
Remove unnecessary CFLAGS.

19 years agoAdd dcons(4), a pseudo console driver for FireWire and KVM interface.
Hidetoshi Shimokawa [Thu, 23 Sep 2004 05:09:49 +0000 (05:09 +0000)]
Add dcons(4), a pseudo console driver for FireWire and KVM interface.
dcons_crom(4) is a glue for FireWire interface.

Obtained from: FreeBSD

19 years agoRemove unused variable.
Matthew Dillon [Thu, 23 Sep 2004 01:55:15 +0000 (01:55 +0000)]
Remove unused variable.

19 years agoFix typo of->pf.
Jeroen Ruigrok/asmodai [Wed, 22 Sep 2004 09:21:41 +0000 (09:21 +0000)]
Fix typo of->pf.

19 years agoThis should read const char *, not char char *.
Joerg Sonnenberger [Wed, 22 Sep 2004 08:54:27 +0000 (08:54 +0000)]
This should read const char *, not char char *.

19 years agos/pidfile/my_pidfile/
Joerg Sonnenberger [Wed, 22 Sep 2004 08:38:09 +0000 (08:38 +0000)]
s/pidfile/my_pidfile/

This should be converted to use pidfile(3) instead if the hand-rolled
implementation.

19 years agoAdd pidfile(3).
Joerg Sonnenberger [Wed, 22 Sep 2004 05:06:57 +0000 (05:06 +0000)]
Add pidfile(3).

Obtained-from: NetBSD

19 years agoUse const char* for tcpstates
Joerg Sonnenberger [Wed, 22 Sep 2004 05:00:06 +0000 (05:00 +0000)]
Use const char* for tcpstates

19 years agoUesrland part of PF
Joerg Sonnenberger [Tue, 21 Sep 2004 21:25:28 +0000 (21:25 +0000)]
Uesrland part of PF

Obtained-from: OpenBSD
Ported-by: Devon O'Dell and Simon 'corecode' Schubert
Additioncally, do a pass over the code to get it WARNS=6 clean.
This means mostly fixing const'ness of strings and cleanup sign/unsigned
comparisions. The warnings in authpf about unused arguments have been
removed by use of __unused.

19 years agoPF uses -1 as rule number for the default entry. To make the value more
Joerg Sonnenberger [Tue, 21 Sep 2004 21:20:58 +0000 (21:20 +0000)]
PF uses -1 as rule number for the default entry. To make the value more
explicit, change this to (uint32_t)(-1).

19 years agoInclude machine/cpu.h for userland to get clear_lwkt_resched.
Joerg Sonnenberger [Tue, 21 Sep 2004 18:46:00 +0000 (18:46 +0000)]
Include machine/cpu.h for userland to get clear_lwkt_resched.

19 years agoSync defines with sys/globaldata.h.
Joerg Sonnenberger [Tue, 21 Sep 2004 18:40:30 +0000 (18:40 +0000)]
Sync defines with sys/globaldata.h.

19 years agoUse libcaps_free_stack instead of kmem_free for userland
Joerg Sonnenberger [Tue, 21 Sep 2004 18:09:57 +0000 (18:09 +0000)]
Use libcaps_free_stack instead of kmem_free for userland

19 years agoAdd a new option "TIMER_USE_1", which allows switching the primary heart
Joerg Sonnenberger [Tue, 21 Sep 2004 13:02:51 +0000 (13:02 +0000)]
Add a new option "TIMER_USE_1", which allows switching the primary heart
beat from i8254 timer 2 to timer 1. This also reactivates the console beep
if TIMER_USE_1 is active.

19 years agoFixup the location of openssl / fix release builds.
Matthew Dillon [Tue, 21 Sep 2004 03:25:16 +0000 (03:25 +0000)]
Fixup the location of openssl / fix release builds.

Reported-by: David Rhodus <sdrhodus@gmail.com>
19 years agoHook the new bc and dc into the tree. Unhook the old gnu bc/dc and add
Matthew Dillon [Mon, 20 Sep 2004 22:03:17 +0000 (22:03 +0000)]
Hook the new bc and dc into the tree.  Unhook the old gnu bc/dc and add
entries to the upgrade target to remove obsolete examples and documentation.

Submitted-by: Sascha Wildner <saw@online.de>
19 years agoAdd various ICMP defines used by PF.
Joerg Sonnenberger [Mon, 20 Sep 2004 21:30:01 +0000 (21:30 +0000)]
Add various ICMP defines used by PF.

Submitted-by: Simon Schubert and Devon O'Dell
Obtained-from: OpenBSD

19 years agoInstall PF header files.
Joerg Sonnenberger [Mon, 20 Sep 2004 21:19:28 +0000 (21:19 +0000)]
Install PF header files.

19 years agoAdd KTR, a facility that logs kernel events to help debugging. You can access
Eirik Nygaard [Mon, 20 Sep 2004 20:38:17 +0000 (20:38 +0000)]
Add KTR, a facility that logs kernel events to help debugging. You can access
the logged information with ddb. If KTR_VERBOSE is defined a string will also be
printed with printf() to your console.

See ktr(4) and ktr(9) for information on how to use KTR.

Obtained from: FreeBSD

19 years agoAlso define global uid_t and gid_t variables and remove some warnings.
Joerg Sonnenberger [Mon, 20 Sep 2004 19:32:19 +0000 (19:32 +0000)]
Also define global uid_t and gid_t variables and remove some warnings.
WARNS=6 clean now.

19 years agoSwitch to 9.2.4rc7.
Jeroen Ruigrok/asmodai [Mon, 20 Sep 2004 15:33:00 +0000 (15:33 +0000)]
Switch to 9.2.4rc7.

19 years agoWARNS=6 cleanes
Joerg Sonnenberger [Mon, 20 Sep 2004 13:11:54 +0000 (13:11 +0000)]
WARNS=6 cleanes
- proper prototypes
- constify certain strings
- remove pre-ISO C junk

19 years agoRemove a '+', remnant of patchset.
Jeroen Ruigrok/asmodai [Mon, 20 Sep 2004 11:54:11 +0000 (11:54 +0000)]
Remove a '+', remnant of patchset.

Discovered by: Edmondas Girkantas

19 years agoMerge from vendor branch BIND:
Jeroen Ruigrok/asmodai [Mon, 20 Sep 2004 06:33:19 +0000 (06:33 +0000)]
Merge from vendor branch BIND:
Add BIND 9.2.4rc7.

Notable changes:

1643.   [bug]           dns_db_closeversion() could leak memory / node
                        references. [RT #11163]

1650.   [bug]           dig, nslookup: flush standard out after each command.

1654.   [bug]           isc_result_totext() contained array bounds read
                        error.

1681.   [bug]           Only set SO_REUSEADDR when a port is specified in
                        isc_socket_bind(). [RT #11742]

1686.   [bug]           Named sent a extraneous NOTIFY when it received a
                        redundant UPDATE request. [RT #11943]

1687.   [bug]           Race condition in dispatch. [RT #10272]

1690.   [bug]           Delay detaching view from the client until UPDATE
                        processing completes when shutting down. [RT #11714]

19 years agoAdd BIND 9.2.4rc7.
Jeroen Ruigrok/asmodai [Mon, 20 Sep 2004 06:33:19 +0000 (06:33 +0000)]
Add BIND 9.2.4rc7.

Notable changes:

1643.   [bug]           dns_db_closeversion() could leak memory / node
                        references. [RT #11163]

1650.   [bug]           dig, nslookup: flush standard out after each command.

1654.   [bug]           isc_result_totext() contained array bounds read
                        error.

1681.   [bug]           Only set SO_REUSEADDR when a port is specified in
                        isc_socket_bind(). [RT #11742]

1686.   [bug]           Named sent a extraneous NOTIFY when it received a
                        redundant UPDATE request. [RT #11943]

1687.   [bug]           Race condition in dispatch. [RT #10272]

1690.   [bug]           Delay detaching view from the client until UPDATE
                        processing completes when shutting down. [RT #11714]

19 years agoM_NOWAIT -> M_WAITOK
Matthew Dillon [Mon, 20 Sep 2004 06:32:58 +0000 (06:32 +0000)]
M_NOWAIT -> M_WAITOK

19 years agoM_NOWAIT -> M_INTWAIT/M_WAITOK. Plus fix a NULL free() that can occur if
Matthew Dillon [Mon, 20 Sep 2004 06:32:41 +0000 (06:32 +0000)]
M_NOWAIT -> M_INTWAIT/M_WAITOK.  Plus fix a NULL free() that can occur if
initialization fails (which can occur if contigmalloc fails).

19 years agoHere are (BSD licensed) replacements for bc and dc:
Matthew Dillon [Mon, 20 Sep 2004 04:20:39 +0000 (04:20 +0000)]
Here are (BSD licensed) replacements for bc and dc:

Submitted-by: Sascha Wildner <saw@online.de>
Taken-From: OpenBSD, with minor modifications.

19 years agoUse the appropriate #defines instead of hard-coding constants.
Matthew Dillon [Mon, 20 Sep 2004 04:10:44 +0000 (04:10 +0000)]
Use the appropriate #defines instead of hard-coding constants.

Submitted-by: Matt Emmerton <memmerto@yahoo.com>