openbsd
24 years agocert.c: Merge with EOM 1.15
niklas [Wed, 8 Mar 2000 08:42:48 +0000 (08:42 +0000)]
cert.c: Merge with EOM 1.15
libcrypto.h: Merge with EOM 1.12

author: ho
KAME and ssl includes

24 years agoMerge with EOM 1.38
niklas [Wed, 8 Mar 2000 08:42:38 +0000 (08:42 +0000)]
Merge with EOM 1.38

author: niklas
Comparison to wrong var, fix by rayl@mail.com

24 years agoMerge with EOM 1.7
niklas [Wed, 8 Mar 2000 08:42:27 +0000 (08:42 +0000)]
Merge with EOM 1.7

author: ho
Add sysdep.h and compile with KAME

24 years agoMerge with EOM 1.37
niklas [Wed, 8 Mar 2000 08:42:15 +0000 (08:42 +0000)]
Merge with EOM 1.37

author: ho
Add missing #ifdef USE_X509/#endif

24 years agoMerge with EOM 1.39
niklas [Wed, 8 Mar 2000 08:41:57 +0000 (08:41 +0000)]
Merge with EOM 1.39

author: ho
FreeBSD and NetBSD use KAME

author: ho
Add netbsd

24 years agoMerge with EOM 1.32
niklas [Wed, 8 Mar 2000 08:41:41 +0000 (08:41 +0000)]
Merge with EOM 1.32

author: niklas
Use a clearer pointer arithmetic

author: niklas
Multiple DES API support

author: niklas
argh

author: niklas
More braindamage with USE_ macros

24 years agosync
jasoni [Wed, 8 Mar 2000 03:36:22 +0000 (03:36 +0000)]
sync

24 years agoAdd support for the new sigset_t and sigaction.
jasoni [Wed, 8 Mar 2000 03:35:28 +0000 (03:35 +0000)]
Add support for the new sigset_t and sigaction.

24 years agoVarious cleanups and improvements.
aaron [Wed, 8 Mar 2000 03:11:27 +0000 (03:11 +0000)]
Various cleanups and improvements.

24 years agoVarious cleanup.
aaron [Tue, 7 Mar 2000 21:11:07 +0000 (21:11 +0000)]
Various cleanup.

24 years agotypo: ignore_user_known_hosts int->flag; naddy@mips.rhein-neckar.de
markus [Tue, 7 Mar 2000 20:40:41 +0000 (20:40 +0000)]
typo: ignore_user_known_hosts int->flag; naddy@mips.rhein-neckar.de

24 years agoTypo in synopsis: sont --> const
alex [Tue, 7 Mar 2000 19:58:22 +0000 (19:58 +0000)]
Typo in synopsis: sont --> const

24 years agoUse ETHERTYPE_8021Q
chris [Tue, 7 Mar 2000 18:16:37 +0000 (18:16 +0000)]
Use ETHERTYPE_8021Q

24 years agoadd ETHERTYPE_8021Q
chris [Tue, 7 Mar 2000 18:15:47 +0000 (18:15 +0000)]
add ETHERTYPE_8021Q

24 years agoAdd 802.1Q from kuznet@ms2.inr.ac.ru via tcpdump.org
chris [Tue, 7 Mar 2000 16:50:42 +0000 (16:50 +0000)]
Add 802.1Q from kuznet@ms2.inr.ac.ru via tcpdump.org
also, make extracted_ethertype not extern

24 years agoVarious mdoc fixups.
aaron [Mon, 6 Mar 2000 21:47:27 +0000 (21:47 +0000)]
Various mdoc fixups.

24 years agoDo not leave `(' characters dangling at the end of lines; instead, use the
aaron [Mon, 6 Mar 2000 21:46:55 +0000 (21:46 +0000)]
Do not leave `(' characters dangling at the end of lines; instead, use the
appropriate mdoc macros to handle these cases.

24 years agoversion 1.2.3
deraadt [Mon, 6 Mar 2000 21:34:10 +0000 (21:34 +0000)]
version 1.2.3

24 years agofix pr 1113, fclose() -> pclose(), todo: remote popen()
markus [Mon, 6 Mar 2000 20:29:04 +0000 (20:29 +0000)]
fix pr 1113, fclose() -> pclose(), todo: remote popen()

24 years agosync
deraadt [Mon, 6 Mar 2000 19:07:38 +0000 (19:07 +0000)]
sync

24 years agodo signed hex instead of %D
mickey [Mon, 6 Mar 2000 14:16:23 +0000 (14:16 +0000)]
do signed hex instead of %D

24 years ago- ``Option:'' -> ``The options are as follows:''
aaron [Mon, 6 Mar 2000 13:12:49 +0000 (13:12 +0000)]
- ``Option:'' -> ``The options are as follows:''
- Correct some mdoc usage.
- Nicer ENVIRONMENT section.

24 years agoCorrect SYNOPSIS (rev(1) accepts more than one file argument); from FreeBSD.
aaron [Mon, 6 Mar 2000 13:02:46 +0000 (13:02 +0000)]
Correct SYNOPSIS (rev(1) accepts more than one file argument); from FreeBSD.

24 years agoCovert to mdoc; from FreeBSD, with some modifications by me.
aaron [Mon, 6 Mar 2000 12:23:41 +0000 (12:23 +0000)]
Covert to mdoc; from FreeBSD, with some modifications by me.

24 years agoSome section re-ordering.
aaron [Mon, 6 Mar 2000 03:17:38 +0000 (03:17 +0000)]
Some section re-ordering.

24 years agoAdd HISTORY sections; from FreeBSD.
aaron [Mon, 6 Mar 2000 03:15:59 +0000 (03:15 +0000)]
Add HISTORY sections; from FreeBSD.

24 years agooops
mickey [Mon, 6 Mar 2000 03:03:52 +0000 (03:03 +0000)]
oops

24 years agomdoc'ify; from FreeBSD, with many modifications by me.
aaron [Mon, 6 Mar 2000 02:38:19 +0000 (02:38 +0000)]
mdoc'ify; from FreeBSD, with many modifications by me.

24 years agodo not save/restore callee-save regs on trap, except for DDB
mickey [Mon, 6 Mar 2000 02:21:01 +0000 (02:21 +0000)]
do not save/restore callee-save regs on trap, except for DDB

24 years agoDon't issue an initial SCSI bus reset for Ultra3 cards. What seems to
mjacob [Sun, 5 Mar 2000 22:22:55 +0000 (22:22 +0000)]
Don't issue an initial SCSI bus reset for Ultra3 cards. What seems to
happen is that the SCSI bus reset, even after several seconds delay, seems
to cause the Qlogic to then destroy several subsequent commands (which,
ha ha, happen during probing for devices). I dunno why this is- some Qlogic
f/w problem that we need to step around.

24 years agoroll minor revision level
mjacob [Sun, 5 Mar 2000 22:20:09 +0000 (22:20 +0000)]
roll minor revision level

24 years agoClean up some error messages so that the channel source is printed. Don't
mjacob [Sun, 5 Mar 2000 22:18:59 +0000 (22:18 +0000)]
Clean up some error messages so that the channel source is printed. Don't
wipe out the whole marker flag when a bus event happens on one channel- just
or in the channel that needs to have a marker sent. Correctly mark a
PORT CHANGED error with a 'selection timeout'.

24 years agoregen
mickey [Sun, 5 Mar 2000 21:42:50 +0000 (21:42 +0000)]
regen

24 years agoadd toshiba pci-isa bridge; from aaron@
mickey [Sun, 5 Mar 2000 21:42:00 +0000 (21:42 +0000)]
add toshiba pci-isa bridge; from aaron@

24 years agoRemove hard sentence breaks.
aaron [Sun, 5 Mar 2000 20:34:12 +0000 (20:34 +0000)]
Remove hard sentence breaks.

24 years agofix size check case for getgroups; pbucich@sion.com
deraadt [Sun, 5 Mar 2000 20:32:13 +0000 (20:32 +0000)]
fix size check case for getgroups; pbucich@sion.com

24 years agoVarious improvements, including a few HISTORY sections added from FreeBSD.
aaron [Sun, 5 Mar 2000 20:09:19 +0000 (20:09 +0000)]
Various improvements, including a few HISTORY sections added from FreeBSD.

24 years agoChange prompt string from "Location:" to "Office Location:", to disambiguate
aaron [Sun, 5 Mar 2000 19:20:36 +0000 (19:20 +0000)]
Change prompt string from "Location:" to "Office Location:", to disambiguate
from what is expected, and to be consistent with finger(1); from FreeBSD.

24 years agoexport bios_pciinfo for the whole _KERNEL, there will be more files to use it
mickey [Sun, 5 Mar 2000 19:07:43 +0000 (19:07 +0000)]
export bios_pciinfo for the whole _KERNEL, there will be more files to use it

24 years agoD not forget our memmap changes, ok mickey@
niklas [Sun, 5 Mar 2000 18:40:59 +0000 (18:40 +0000)]
D not forget our memmap changes, ok mickey@

24 years agoAdda a stripcom function to strip comments (and leading whitespace,
millert [Sun, 5 Mar 2000 16:55:22 +0000 (16:55 +0000)]
Adda a stripcom function to strip comments (and leading whitespace,
depending on IFS).  This replaces the ed and sed code previously
used to do this.

24 years agoFinish standardizing options list introduction.
aaron [Sun, 5 Mar 2000 00:28:49 +0000 (00:28 +0000)]
Finish standardizing options list introduction.

24 years agoIn Unix land we prefer "whitespace" to "white space" or "white-space". At
aaron [Sat, 4 Mar 2000 22:19:22 +0000 (22:19 +0000)]
In Unix land we prefer "whitespace" to "white space" or "white-space". At
least, this is the impression I get from looking at a lot of Perl docs.

24 years agoPoint out that dmesg is most commonly used to review system startup msgs.
aaron [Sat, 4 Mar 2000 21:46:49 +0000 (21:46 +0000)]
Point out that dmesg is most commonly used to review system startup msgs.

24 years agoMany improvements and general cleanup/standardization.
aaron [Sat, 4 Mar 2000 21:11:59 +0000 (21:11 +0000)]
Many improvements and general cleanup/standardization.

24 years agoAdd EXAMPLES section, with OPENBSD printed in lights.
aaron [Sat, 4 Mar 2000 20:44:56 +0000 (20:44 +0000)]
Add EXAMPLES section, with OPENBSD printed in lights.

24 years agomdoc'ify
aaron [Sat, 4 Mar 2000 20:41:44 +0000 (20:41 +0000)]
mdoc'ify

24 years agoTry to standardize the options list introduction; it should read "The options
aaron [Sat, 4 Mar 2000 20:02:22 +0000 (20:02 +0000)]
Try to standardize the options list introduction; it should read "The options
are as follows:", except in special cases.

24 years agosync
deraadt [Sat, 4 Mar 2000 18:47:03 +0000 (18:47 +0000)]
sync

24 years agoamd devices; dave@dtsp.co.nz
deraadt [Sat, 4 Mar 2000 18:46:42 +0000 (18:46 +0000)]
amd devices; dave@dtsp.co.nz

24 years agoTypo
louis [Sat, 4 Mar 2000 17:54:06 +0000 (17:54 +0000)]
Typo

24 years agoClearer note about the daily security report.
louis [Sat, 4 Mar 2000 17:41:36 +0000 (17:41 +0000)]
Clearer note about the daily security report.

24 years agoMake P_tmpdir point to /tmp/ not /var/tmp
millert [Sat, 4 Mar 2000 17:16:02 +0000 (17:16 +0000)]
Make P_tmpdir point to /tmp/ not /var/tmp
Really, there should be a way to make configurable by the admin
at runtime (say, a gettmpdir() function).

24 years agoRemove unnecessary, unreached, confusing code.
art [Sat, 4 Mar 2000 16:42:15 +0000 (16:42 +0000)]
Remove unnecessary, unreached, confusing code.

24 years agoCut the number of dependencies to reduce problems on low-memory machines.
art [Sat, 4 Mar 2000 16:40:29 +0000 (16:40 +0000)]
Cut the number of dependencies to reduce problems on low-memory machines.

24 years agoImprove.
aaron [Sat, 4 Mar 2000 15:53:40 +0000 (15:53 +0000)]
Improve.

24 years agoUse .Va for errno.
aaron [Sat, 4 Mar 2000 15:39:43 +0000 (15:39 +0000)]
Use .Va for errno.

24 years agoVarious cleanups and mdoc'ing.
aaron [Sat, 4 Mar 2000 15:29:56 +0000 (15:29 +0000)]
Various cleanups and mdoc'ing.

24 years agoChange invalid 'CHAT' loglevel to 'VERBOSE'
djm [Sat, 4 Mar 2000 07:07:05 +0000 (07:07 +0000)]
Change invalid 'CHAT' loglevel to 'VERBOSE'

24 years agoto be Posix.1g compliant, fix ancillary message alignment. it will now be
itojun [Sat, 4 Mar 2000 02:34:23 +0000 (02:34 +0000)]
to be Posix.1g compliant, fix ancillary message alignment.  it will now be
aligned to ALIGNBYTES (arch dependent).
NOTE: the change requires you to recompile IPv6 userland, if you are
on arch that is ALIGNBYTES != sizeof(long) - 1 (sparc seems to be it).
sorry for the mess.

24 years agoRefresh the NAT IP pointer after a potential mbuf reallocation. This
brian [Sat, 4 Mar 2000 02:21:58 +0000 (02:21 +0000)]
Refresh the NAT IP pointer after a potential mbuf reallocation.  This
caused frequent lock-ups for individual sessions over a NAT'd ppp link
when MTU sizes ended up more or less exactly wrong.

24 years agohandle corrupt inetd.conf files better; sdb@ssr.com
deraadt [Sat, 4 Mar 2000 01:10:06 +0000 (01:10 +0000)]
handle corrupt inetd.conf files better; sdb@ssr.com

24 years agoFix some printf-type argument bugs
brian [Fri, 3 Mar 2000 21:52:56 +0000 (21:52 +0000)]
Fix some printf-type argument bugs

24 years agoReverse rutgers change (attachtoparent vs. spawncli)
millert [Fri, 3 Mar 2000 19:31:26 +0000 (19:31 +0000)]
Reverse rutgers change (attachtoparent vs. spawncli)

New ttreinit function that enters application mode, enables the keypad
and resets the tty size.

New spawn module that calls tttidy() to exit application mode (and cleanup)
then calls ttreinit() after resume to get back into application mode.  Assumes
we have job control.  This takes advantage of the xterm 'alternate screen'.

24 years agosync
deraadt [Fri, 3 Mar 2000 18:13:16 +0000 (18:13 +0000)]
sync

24 years agoIf we attempted reschedule two times without suceeding, uiomove will yield,
art [Fri, 3 Mar 2000 16:58:49 +0000 (16:58 +0000)]
If we attempted reschedule two times without suceeding, uiomove will yield,
giving other processes a chance to run.

A process feeding a huge buffer to {read,write}{,v} on a file that doesn't
need to wait for I/O, could have hogged a lot of cpu in the kernel, blocking
all userland activity.

Based on a similiar fix in FreeBSD.

24 years agoKeep track of the number of times we trigger a reschedule before the
art [Fri, 3 Mar 2000 16:49:24 +0000 (16:49 +0000)]
Keep track of the number of times we trigger a reschedule before the
context switch actually happens.

24 years agoTurns out that our implementation of STAT wasn't RFC 959 compliant.
bitblt [Fri, 3 Mar 2000 15:51:45 +0000 (15:51 +0000)]
Turns out that our implementation of STAT wasn't RFC 959 compliant.
This version is now RFC 959 compliant, using a patch adapted from one
sent in by david.leonard@eecs.uq.edu.au

24 years agoremove WIDE's experimental ip reass code, mistakingly merged in partially.
itojun [Fri, 3 Mar 2000 13:09:28 +0000 (13:09 +0000)]
remove WIDE's experimental ip reass code, mistakingly merged in partially.
NetBSD PR: 9412
Fix from: ho@crt.se

24 years agoUse the LIST_FIRST macro to get the head of zombproc list.
art [Fri, 3 Mar 2000 11:46:09 +0000 (11:46 +0000)]
Use the LIST_FIRST macro to get the head of zombproc list.

24 years agoUse LIST_ macros instead of internal field names to walk the allproc list.
art [Fri, 3 Mar 2000 11:31:42 +0000 (11:31 +0000)]
Use LIST_ macros instead of internal field names to walk the allproc list.

24 years agofix a comment
art [Fri, 3 Mar 2000 11:17:03 +0000 (11:17 +0000)]
fix a comment

24 years agoStyle.
angelos [Fri, 3 Mar 2000 11:15:43 +0000 (11:15 +0000)]
Style.

24 years agoRemove extraneous newline.
angelos [Fri, 3 Mar 2000 06:19:22 +0000 (06:19 +0000)]
Remove extraneous newline.

24 years ago$OpenBSD$
todd [Fri, 3 Mar 2000 00:54:45 +0000 (00:54 +0000)]
$OpenBSD$

24 years agoPrep for CardBus support; from NetBSD.
aaron [Thu, 2 Mar 2000 23:03:26 +0000 (23:03 +0000)]
Prep for CardBus support; from NetBSD.

24 years agoprotect more reads and rights^Wwrites w/ spl; avoid inline which blows the code in...
mickey [Thu, 2 Mar 2000 23:02:48 +0000 (23:02 +0000)]
protect more reads and rights^Wwrites w/ spl; avoid inline which blows the code in twice

24 years agosun3 is alive, thanks to Miod Vallat <miodrag@ifrance.com>
todd [Thu, 2 Mar 2000 23:02:14 +0000 (23:02 +0000)]
sun3 is alive, thanks to Miod Vallat <miodrag@ifrance.com>
add ksyms, proto fix, msgbuf

24 years agosun3 is alive, thanks to Miod Vallat <miodrag@ifrance.com>
todd [Thu, 2 Mar 2000 23:01:45 +0000 (23:01 +0000)]
sun3 is alive, thanks to Miod Vallat <miodrag@ifrance.com>
add ksyms, proto fix.

24 years agosun3 is alive, thanks to Miod Vallat <miodrag@ifrance.com>, add ksyms.
todd [Thu, 2 Mar 2000 22:59:05 +0000 (22:59 +0000)]
sun3 is alive, thanks to Miod Vallat <miodrag@ifrance.com>, add ksyms.

24 years agoadd missing return value
millert [Thu, 2 Mar 2000 21:55:41 +0000 (21:55 +0000)]
add missing return value

24 years agoNew function: m_getptr(), takes as argument an mbuf chain and an
angelos [Thu, 2 Mar 2000 21:40:49 +0000 (21:40 +0000)]
New function: m_getptr(), takes as argument an mbuf chain and an
offset, returns a pointer to them specific mbuf and the offset inside
it that corresponds to the offset argument (so one can find where the
n'th byte is in an mbuf).

24 years agoAdd prototype for m_getptr()
angelos [Thu, 2 Mar 2000 21:39:19 +0000 (21:39 +0000)]
Add prototype for m_getptr()

24 years agoFix; don't print settings with other options present. Slightly modify
ho [Thu, 2 Mar 2000 18:50:00 +0000 (18:50 +0000)]
Fix; don't print settings with other options present. Slightly modify
the -o option handling. Modify manpage to match. (angelos@ ok)
Angelos also spotted that usage() still said 'wiconfig', not 'wicontrol'.

24 years agoEXTMEM_SIZE is a dead meat; remove commented-out entries
mickey [Thu, 2 Mar 2000 18:38:27 +0000 (18:38 +0000)]
EXTMEM_SIZE is a dead meat; remove commented-out entries

24 years agointeractivly -> interactively (Germans can't spell) :-)
aaron [Thu, 2 Mar 2000 18:33:30 +0000 (18:33 +0000)]
interactivly -> interactively (Germans can't spell) :-)

24 years agoalternativly -> alternatively
aaron [Thu, 2 Mar 2000 18:27:37 +0000 (18:27 +0000)]
alternativly -> alternatively

24 years agoUse a char, not a char[1] in ttgetc and cast the return value to int.
millert [Thu, 2 Mar 2000 17:01:41 +0000 (17:01 +0000)]
Use a char, not a char[1] in ttgetc and cast the return value to int.
Perhaps this should really be a u_char but I don't think it really matters.

24 years agoReorganize to be more like the BSD version + KNF
millert [Thu, 2 Mar 2000 15:51:36 +0000 (15:51 +0000)]
Reorganize to be more like the BSD version + KNF

24 years ago$OpenBSD$
todd [Thu, 2 Mar 2000 14:46:34 +0000 (14:46 +0000)]
$OpenBSD$

24 years agoSpelling; jj@dynarc.se
aaron [Thu, 2 Mar 2000 13:44:33 +0000 (13:44 +0000)]
Spelling; jj@dynarc.se

24 years agoAdd an option DDB_SAFE_CONSOLE that defaults db_console to 1.
art [Thu, 2 Mar 2000 10:50:28 +0000 (10:50 +0000)]
Add an option DDB_SAFE_CONSOLE that defaults db_console to 1.
In many cases, setting db_console in /etc/rc is too late.

24 years agoMake libkafs compatible with in-tree afs.
art [Thu, 2 Mar 2000 10:17:28 +0000 (10:17 +0000)]
Make libkafs compatible with in-tree afs.

24 years agodo not add ifa_dstaddr for non-pointopoint interface. IPv6 has no
itojun [Thu, 2 Mar 2000 09:44:28 +0000 (09:44 +0000)]
do not add ifa_dstaddr for non-pointopoint interface.  IPv6 has no
concept for "broadcast".

24 years agotypo fix.
itojun [Thu, 2 Mar 2000 07:44:08 +0000 (07:44 +0000)]
typo fix.

24 years agoAn option description does not need to contain "The -foo option...".
aaron [Thu, 2 Mar 2000 04:17:50 +0000 (04:17 +0000)]
An option description does not need to contain "The -foo option...".

24 years agoShorten capability descriptions so they don't wrap to the next line. Looks a
aaron [Thu, 2 Mar 2000 04:08:11 +0000 (04:08 +0000)]
Shorten capability descriptions so they don't wrap to the next line. Looks a
bit nicer.

24 years agocount is unsigned (size_t) so cast to u_long, not long
millert [Thu, 2 Mar 2000 04:05:44 +0000 (04:05 +0000)]
count is unsigned (size_t) so cast to u_long, not long

24 years ago$OpenBSD$
todd [Thu, 2 Mar 2000 01:49:09 +0000 (01:49 +0000)]
$OpenBSD$

24 years ago$OpenBSD$
todd [Thu, 2 Mar 2000 00:29:47 +0000 (00:29 +0000)]
$OpenBSD$