openbsd
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$

24 years agoSeveral people noted that non-UVM was broken
niklas [Thu, 2 Mar 2000 00:15:00 +0000 (00:15 +0000)]
Several people noted that non-UVM was broken

24 years agorm $Log$
todd [Wed, 1 Mar 2000 23:10:58 +0000 (23:10 +0000)]
rm $Log$

24 years agoIf sf_encap() fails, we need to drop the packet. If sf_encap() reassembles
aaron [Wed, 1 Mar 2000 22:49:57 +0000 (22:49 +0000)]
If sf_encap() fails, we need to drop the packet. If sf_encap() reassembles
the mbufs into one big cluster, we need to pass the new pointer to
bpf_mtap(). From art@.

24 years agoMuch nicer pte.h commented by Chuck Cranor; from NetBSD
niklas [Wed, 1 Mar 2000 22:48:14 +0000 (22:48 +0000)]
Much nicer pte.h commented by Chuck Cranor; from NetBSD

24 years agoProper bus_dma usage, fixes cache incosistencies
niklas [Wed, 1 Mar 2000 22:38:51 +0000 (22:38 +0000)]
Proper bus_dma usage, fixes cache incosistencies

24 years ago$OpenBSD$
todd [Wed, 1 Mar 2000 22:27:13 +0000 (22:27 +0000)]
$OpenBSD$

24 years ago$OpenBSD$
todd [Wed, 1 Mar 2000 22:09:56 +0000 (22:09 +0000)]
$OpenBSD$

24 years ago$OpenBSD$
todd [Wed, 1 Mar 2000 21:25:04 +0000 (21:25 +0000)]
$OpenBSD$

24 years agoorder kerberos libraries
deraadt [Wed, 1 Mar 2000 20:00:49 +0000 (20:00 +0000)]
order kerberos libraries

24 years agoPrepare for new pmap
niklas [Wed, 1 Mar 2000 19:24:33 +0000 (19:24 +0000)]
Prepare for new pmap

24 years agoorder kerberos libraries properly
deraadt [Wed, 1 Mar 2000 18:33:56 +0000 (18:33 +0000)]
order kerberos libraries properly

24 years agoWall
deraadt [Wed, 1 Mar 2000 18:33:49 +0000 (18:33 +0000)]
Wall

24 years agoInitialize xs->req_sense_length to 0. This is not used by many
millert [Wed, 1 Mar 2000 18:12:04 +0000 (18:12 +0000)]
Initialize xs->req_sense_length to 0.  This is not used by many
scsi drivers, other than dev/pci/ncr.c, but if req_sense_length is
not zero (either explicitly or through chance) the ncr driver will
fail during initialization.  This fixes the occasionaly ncr driver
init problems; thorpej@netbsd.org

24 years agoVarious cleanups.
aaron [Wed, 1 Mar 2000 18:01:21 +0000 (18:01 +0000)]
Various cleanups.

24 years agoUpdate to reflect reality; from NetBSD.
aaron [Wed, 1 Mar 2000 17:55:58 +0000 (17:55 +0000)]
Update to reflect reality; from NetBSD.

24 years ago$OpenBSD$
todd [Wed, 1 Mar 2000 17:31:20 +0000 (17:31 +0000)]
$OpenBSD$

24 years agoorder kerberos libraries
deraadt [Wed, 1 Mar 2000 17:27:28 +0000 (17:27 +0000)]
order kerberos libraries

24 years agoorder libraries sensibly for static architectures
deraadt [Wed, 1 Mar 2000 08:54:59 +0000 (08:54 +0000)]
order libraries sensibly for static architectures

24 years agodo not put extra garbage in this, since it does get linked in
deraadt [Wed, 1 Mar 2000 08:52:45 +0000 (08:52 +0000)]
do not put extra garbage in this, since it does get linked in

24 years agosync
jason [Wed, 1 Mar 2000 05:57:37 +0000 (05:57 +0000)]
sync

24 years agoadd broadcom bcm5201; netbsd
jason [Wed, 1 Mar 2000 05:57:18 +0000 (05:57 +0000)]
add broadcom bcm5201; netbsd

24 years agorm dup
todd [Wed, 1 Mar 2000 03:56:41 +0000 (03:56 +0000)]
rm dup

24 years agotypo fix; halogen@nol.net
deraadt [Wed, 1 Mar 2000 03:09:08 +0000 (03:09 +0000)]
typo fix; halogen@nol.net

24 years agoargh, fix the new formatting errors
deraadt [Wed, 1 Mar 2000 02:46:48 +0000 (02:46 +0000)]
argh, fix the new formatting errors

24 years agoMention a few more helpful man pages
ericj [Wed, 1 Mar 2000 02:35:38 +0000 (02:35 +0000)]
Mention a few more helpful man pages

24 years agokparse.h is gone
deraadt [Tue, 29 Feb 2000 23:02:19 +0000 (23:02 +0000)]
kparse.h is gone

24 years agosync
deraadt [Tue, 29 Feb 2000 21:13:30 +0000 (21:13 +0000)]
sync

24 years agoAdd /etc/ssh_host_key* to the changelist.
aaron [Tue, 29 Feb 2000 20:50:28 +0000 (20:50 +0000)]
Add /etc/ssh_host_key* to the changelist.

24 years agoexistance -> existence
aaron [Tue, 29 Feb 2000 20:36:25 +0000 (20:36 +0000)]
existance -> existence

24 years agosome key binding examples
deraadt [Tue, 29 Feb 2000 20:35:19 +0000 (20:35 +0000)]
some key binding examples

24 years agosome binding information
deraadt [Tue, 29 Feb 2000 19:49:48 +0000 (19:49 +0000)]
some binding information

24 years agomore fix to ancillary data alignment. we need padding after
itojun [Tue, 29 Feb 2000 19:16:46 +0000 (19:16 +0000)]
more fix to ancillary data alignment.  we need padding after
last cmsg_data item (see the figure on RFC2292 page 18).

24 years agoEnable the AriadneII driver + more of IDE stuff
niklas [Tue, 29 Feb 2000 19:09:44 +0000 (19:09 +0000)]
Enable the AriadneII driver + more of IDE stuff

24 years agoThis one is for jj: The AriadneII driver, adapted from Bernd Enesti's
niklas [Tue, 29 Feb 2000 19:05:22 +0000 (19:05 +0000)]
This one is for jj: The AriadneII driver, adapted from Bernd Enesti's
NetBSD driver

24 years agodelete more extras
deraadt [Tue, 29 Feb 2000 18:36:45 +0000 (18:36 +0000)]
delete more extras