openbsd
28 years agoDeclare emul_sunos so '040 cache flush will compile.
briggs [Sat, 16 Dec 1995 16:30:04 +0000 (16:30 +0000)]
Declare emul_sunos so '040 cache flush will compile.

28 years agoupdate from netbsd
deraadt [Sat, 16 Dec 1995 15:06:57 +0000 (15:06 +0000)]
update from netbsd

28 years agohandle time_t things that really are not time_t
deraadt [Sat, 16 Dec 1995 13:50:46 +0000 (13:50 +0000)]
handle time_t things that really are not time_t

28 years ago{in,out}*() macros are already in pio.h
deraadt [Sat, 16 Dec 1995 13:05:20 +0000 (13:05 +0000)]
{in,out}*() macros are already in pio.h

28 years agoCFCR_* -> LCR_*
deraadt [Sat, 16 Dec 1995 13:04:33 +0000 (13:04 +0000)]
CFCR_* -> LCR_*

28 years agonon-USA crypto code by davidb@werj.com.au. The source has been split
deraadt [Sat, 16 Dec 1995 12:55:27 +0000 (12:55 +0000)]
non-USA crypto code by davidb@werj.com.au.  The source has been split
& copied into two pieces so that use of crypt() pulls in a crypt.o
that contains only that one programmer interface -- this permits USA
export of binaries that use crypt() for authentication purposes.
morecrypt.c contains the other DES programmer interfaces commonly
used.

28 years agoadd sup to the tree
deraadt [Sat, 16 Dec 1995 11:46:37 +0000 (11:46 +0000)]
add sup to the tree

28 years agoupdate from netbsd
deraadt [Sat, 16 Dec 1995 10:52:54 +0000 (10:52 +0000)]
update from netbsd

28 years agolofs is gone
deraadt [Sat, 16 Dec 1995 10:50:02 +0000 (10:50 +0000)]
lofs is gone

28 years agodocument where syslogd -s would be used
deraadt [Sat, 16 Dec 1995 04:51:00 +0000 (04:51 +0000)]
document where syslogd -s would be used

28 years agonew and changed area codes; from careya@PEAK.ORG; netbsd pr #1843
deraadt [Sat, 16 Dec 1995 03:42:40 +0000 (03:42 +0000)]
new and changed area codes; from careya@PEAK.ORG; netbsd pr #1843

28 years agofor orphaned devices, print the parent that cannot be found; from banshee@gabriella...
deraadt [Fri, 15 Dec 1995 18:54:35 +0000 (18:54 +0000)]
for orphaned devices, print the parent that cannot be found; from banshee@gabriella.resort.com; netbsd pr#1800

28 years agolofs is long gone
deraadt [Fri, 15 Dec 1995 18:40:33 +0000 (18:40 +0000)]
lofs is long gone

28 years ago-s option prevents opening of UDP port; from perry@piermont.com; netbsd pr#1761
deraadt [Fri, 15 Dec 1995 18:19:23 +0000 (18:19 +0000)]
-s option prevents opening of UDP port; from perry@piermont.com; netbsd pr#1761

28 years agouse alloca() instead of malloc()
deraadt [Fri, 15 Dec 1995 15:43:24 +0000 (15:43 +0000)]
use alloca() instead of malloc()

28 years agofrom netbsd:
deraadt [Fri, 15 Dec 1995 15:41:45 +0000 (15:41 +0000)]
from netbsd:
Change mips __warn_references() macro to use the ELF warning features
in binutils 2.6 and (patched) gcc 2.7.2. Only works with gcc in ANSI C
mode, for now.

28 years agou_int32_t instead of u_long for pixels, to match rcons change
deraadt [Fri, 15 Dec 1995 15:41:21 +0000 (15:41 +0000)]
u_int32_t instead of u_long for pixels, to match rcons change

28 years agocall doshutdownhooks() earlier
deraadt [Fri, 15 Dec 1995 15:40:31 +0000 (15:40 +0000)]
call doshutdownhooks() earlier

28 years agofrom ghudson; system now provides cookies, no need to fake them
deraadt [Fri, 15 Dec 1995 15:39:16 +0000 (15:39 +0000)]
from ghudson; system now provides cookies, no need to fake them

28 years agofrom ghudson; chmod o-rx /var/crash
deraadt [Fri, 15 Dec 1995 15:38:01 +0000 (15:38 +0000)]
from ghudson; chmod o-rx /var/crash

28 years agosigsetjmp from Havard.Eidnes@runit.sintef.no; netbsd pr#1793
deraadt [Fri, 15 Dec 1995 15:35:54 +0000 (15:35 +0000)]
sigsetjmp from Havard.Eidnes@runit.sintef.no; netbsd pr#1793

28 years agonew mapdev/()/mapiodev() calling convention uses "struct rom_reg *" to supply
deraadt [Fri, 15 Dec 1995 13:56:14 +0000 (13:56 +0000)]
new mapdev/()/mapiodev() calling convention uses "struct rom_reg *" to supply
base plus an offset
new dvma routines

28 years agosettable ring buffer sizes from pk
deraadt [Fri, 15 Dec 1995 13:54:11 +0000 (13:54 +0000)]
settable ring buffer sizes from pk

28 years agoMI le driver
deraadt [Fri, 15 Dec 1995 13:53:06 +0000 (13:53 +0000)]
MI le driver

28 years agosimplify vm inclusions
deraadt [Fri, 15 Dec 1995 13:52:37 +0000 (13:52 +0000)]
simplify vm inclusions

28 years agofrom gwr, changes in sun3 port
deraadt [Fri, 15 Dec 1995 13:51:45 +0000 (13:51 +0000)]
from gwr, changes in sun3 port

28 years agofrom netbsd:
deraadt [Fri, 15 Dec 1995 13:50:37 +0000 (13:50 +0000)]
from netbsd:
Prevent possible race condition in ctx_alloc().
Remove some bogus casts
Make pmap_prefer() also return a preferred virtual address when there's no
associated physical page

28 years agodelete archaic chuck of code relating to dumpdev
deraadt [Fri, 15 Dec 1995 13:49:18 +0000 (13:49 +0000)]
delete archaic chuck of code relating to dumpdev

28 years agoupgrade should put /.profile back; from jtk@kolvir.arlington.ma.us;
deraadt [Fri, 15 Dec 1995 12:14:51 +0000 (12:14 +0000)]
upgrade should put /.profile back; from jtk@kolvir.arlington.ma.us;
netbsd pr#1798

28 years agochange u_long to u_int32_t to match rcons
deraadt [Fri, 15 Dec 1995 09:32:48 +0000 (09:32 +0000)]
change u_long to u_int32_t to match rcons

28 years agoclose file only if previously opened; from bgrayson@pine.ece.utexas.edu;
deraadt [Fri, 15 Dec 1995 08:58:45 +0000 (08:58 +0000)]
close file only if previously opened; from bgrayson@pine.ece.utexas.edu;
netbsd pr#1822

28 years agofrom netbsd; 64-bit cleanup
deraadt [Fri, 15 Dec 1995 08:09:38 +0000 (08:09 +0000)]
from netbsd; 64-bit cleanup

28 years agofrom gwr
deraadt [Fri, 15 Dec 1995 08:08:30 +0000 (08:08 +0000)]
from gwr
Correct error which caused truncation of port number on i386 (PR#1823)

28 years agofrom gwr:
deraadt [Fri, 15 Dec 1995 08:08:16 +0000 (08:08 +0000)]
from gwr:
Check return value from sendrecv so that ARP timeout does not cause
garbage to be entered into the ARP table.  Also fix ARP_DEBUG code.

28 years agofrom netbsd:
deraadt [Fri, 15 Dec 1995 08:07:52 +0000 (08:07 +0000)]
from netbsd:
Make `time difference' a signed quantity explicitly.
bzero entire structures instead of explicitly storing 0's.

28 years agoR3000, not RS3000
deraadt [Fri, 15 Dec 1995 04:34:17 +0000 (04:34 +0000)]
R3000, not RS3000

28 years agorearrange to make it compile; from azcb0@juts.ccc.amdahl.com, netbsd pr#1838
deraadt [Fri, 15 Dec 1995 02:55:22 +0000 (02:55 +0000)]
rearrange to make it compile; from azcb0@juts.ccc.amdahl.com, netbsd pr#1838

28 years agolook for additional sources in crypt/
deraadt [Fri, 15 Dec 1995 02:39:07 +0000 (02:39 +0000)]
look for additional sources in crypt/

28 years agouse the real bdes
deraadt [Fri, 15 Dec 1995 02:38:26 +0000 (02:38 +0000)]
use the real bdes

28 years agofrom netbsd; use bus-specific copying functions
deraadt [Fri, 15 Dec 1995 02:36:27 +0000 (02:36 +0000)]
from netbsd; use bus-specific copying functions

28 years agofrom netbsd; mi lance driver
deraadt [Fri, 15 Dec 1995 02:35:08 +0000 (02:35 +0000)]
from netbsd; mi lance driver

28 years agofrom ragge; Add defs to understand K&R cpp
deraadt [Fri, 15 Dec 1995 02:33:45 +0000 (02:33 +0000)]
from ragge; Add defs to understand K&R cpp

28 years agoupdate from netbsd
deraadt [Fri, 15 Dec 1995 02:33:01 +0000 (02:33 +0000)]
update from netbsd

28 years agofrom netbsd:
deraadt [Fri, 15 Dec 1995 02:32:09 +0000 (02:32 +0000)]
from netbsd:
Make consistent with `make install' (from Arne Juul; PR#1665).
Added directories to contain the Section 9 man pages.

28 years agoclamp maxproc to not exceed pt space
deraadt [Fri, 15 Dec 1995 02:25:39 +0000 (02:25 +0000)]
clamp maxproc to not exceed pt space

28 years agocpu_fork changes type
deraadt [Fri, 15 Dec 1995 02:24:42 +0000 (02:24 +0000)]
cpu_fork changes type

28 years agobcopy & friends move to m68k tree
deraadt [Fri, 15 Dec 1995 02:24:11 +0000 (02:24 +0000)]
bcopy & friends move to m68k tree

28 years agoINSTALL kernel was just used by netbsd1.1 for their release..
deraadt [Fri, 15 Dec 1995 02:09:36 +0000 (02:09 +0000)]
INSTALL kernel was just used by netbsd1.1 for their release..

28 years agofrom netbsd; update grf_ul; support files now only used if needed
deraadt [Fri, 15 Dec 1995 02:03:23 +0000 (02:03 +0000)]
from netbsd; update grf_ul; support files now only used if needed

28 years agofrom netbsd; bcopy moves to m68k tree
deraadt [Fri, 15 Dec 1995 01:57:48 +0000 (01:57 +0000)]
from netbsd; bcopy moves to m68k tree

28 years agofrom netbsd; cpu_fork changes types
deraadt [Fri, 15 Dec 1995 01:57:26 +0000 (01:57 +0000)]
from netbsd; cpu_fork changes types

28 years agofrom netbsd; enable interrupts
deraadt [Fri, 15 Dec 1995 01:55:30 +0000 (01:55 +0000)]
from netbsd; enable interrupts

28 years agofrom netbsd:
deraadt [Fri, 15 Dec 1995 01:54:57 +0000 (01:54 +0000)]
from netbsd:
Update from Bill Studenmund <wrstuden@loki.stanford.edu> with some minor
cleanup from me.  Now supports serial console.
Double ring limits from Bill Studenmund <wrstuden@loki.stanford.edu>.

28 years agocommon bcopy used by all the m68k ports
deraadt [Fri, 15 Dec 1995 01:53:03 +0000 (01:53 +0000)]
common bcopy used by all the m68k ports

28 years agosupport pci 3c590 ethernet cards
deraadt [Fri, 15 Dec 1995 01:50:43 +0000 (01:50 +0000)]
support pci 3c590 ethernet cards

28 years agofrom netbsd; assert -Werror
deraadt [Fri, 15 Dec 1995 01:48:07 +0000 (01:48 +0000)]
from netbsd; assert -Werror

28 years agofrom netbsd; do not override other CFLAGS settings
deraadt [Fri, 15 Dec 1995 01:45:45 +0000 (01:45 +0000)]
from netbsd; do not override other CFLAGS settings

28 years agouse m_pkthdr.len for FIONREAD, correctly indicates how much data is available
deraadt [Fri, 15 Dec 1995 01:40:58 +0000 (01:40 +0000)]
use m_pkthdr.len for FIONREAD, correctly indicates how much data is available

28 years agoupdate from netbsd
deraadt [Thu, 14 Dec 1995 13:59:54 +0000 (13:59 +0000)]
update from netbsd

28 years agofrom netbsd:
deraadt [Thu, 14 Dec 1995 13:57:47 +0000 (13:57 +0000)]
from netbsd:
delete bogus declaration of abort() and include stdlib.h, so that this
compiles w/o warning.

28 years agofrom ragge; unneccessary
deraadt [Thu, 14 Dec 1995 12:53:50 +0000 (12:53 +0000)]
from ragge; unneccessary

28 years agore-add my source routing stuff (geeezzz)
deraadt [Thu, 14 Dec 1995 12:37:58 +0000 (12:37 +0000)]
re-add my source routing stuff (geeezzz)

28 years agoupdate from netbsd (without losing local changes)
deraadt [Thu, 14 Dec 1995 11:35:51 +0000 (11:35 +0000)]
update from netbsd (without losing local changes)

28 years agolibcrypt is now an empty library
deraadt [Thu, 14 Dec 1995 10:00:50 +0000 (10:00 +0000)]
libcrypt is now an empty library

28 years agocompile -DDES always
deraadt [Thu, 14 Dec 1995 09:34:36 +0000 (09:34 +0000)]
compile -DDES always

28 years agoDo not use hardcoded realm or host names
tholo [Thu, 14 Dec 1995 08:43:39 +0000 (08:43 +0000)]
Do not use hardcoded realm or host names

28 years agoforgotten file from netbsd
deraadt [Thu, 14 Dec 1995 08:30:08 +0000 (08:30 +0000)]
forgotten file from netbsd

28 years ago__FORK_BRAINDAMAGE
deraadt [Thu, 14 Dec 1995 08:21:09 +0000 (08:21 +0000)]
__FORK_BRAINDAMAGE

28 years agoput back the pica stuff i killed
deraadt [Thu, 14 Dec 1995 08:14:17 +0000 (08:14 +0000)]
put back the pica stuff i killed

28 years agoupdate from netbsd
deraadt [Thu, 14 Dec 1995 06:59:45 +0000 (06:59 +0000)]
update from netbsd

28 years agofrom netbsd; profil() fixed for 64 bit
deraadt [Thu, 14 Dec 1995 06:53:22 +0000 (06:53 +0000)]
from netbsd; profil() fixed for 64 bit

28 years agoKerberos IV code, based on a merge of fixed code from KTH and original
tholo [Thu, 14 Dec 1995 06:52:32 +0000 (06:52 +0000)]
Kerberos IV code, based on a merge of fixed code from KTH and original
4.4BSD Lite code (international edition).  Provides all functionality
from the original 4.4BSD code plus standard Kerberos elements that were
omitted in the 4.4BSD code.

28 years agofrom netbsd; also backup syscallargs.h
deraadt [Thu, 14 Dec 1995 06:51:55 +0000 (06:51 +0000)]
from netbsd; also backup syscallargs.h

28 years agofrom netbsd:
deraadt [Thu, 14 Dec 1995 06:50:40 +0000 (06:50 +0000)]
from netbsd:
make netinet work on systems where pointers and longs are 64 bits
(like the alpha).  Biggest problem: IP headers were overlayed with
structure which included pointers, and which therefore didn't overlay
properly on 64-bit machines.  Solution: instead of threading pointers
through IP header overlays, add a "queue element" structure to do
the threading, and point it at the ip headers.

28 years agofrom netbsd; new mrouted
deraadt [Thu, 14 Dec 1995 06:45:58 +0000 (06:45 +0000)]
from netbsd; new mrouted

28 years agofrom netbsd: add 3c590 and adaptec ultra
deraadt [Thu, 14 Dec 1995 06:37:01 +0000 (06:37 +0000)]
from netbsd: add 3c590 and adaptec ultra

28 years agofrom netbsd:
deraadt [Thu, 14 Dec 1995 06:35:34 +0000 (06:35 +0000)]
from netbsd:
Don't use the softc at probe time on pci devices because it has not been
allocated yet

28 years agofrom netbsd; print nicer messages
deraadt [Thu, 14 Dec 1995 06:34:02 +0000 (06:34 +0000)]
from netbsd; print nicer messages

28 years agofrom netbsd; Convert IRQ, DRQ, and port numbers to int
deraadt [Thu, 14 Dec 1995 06:31:04 +0000 (06:31 +0000)]
from netbsd; Convert IRQ, DRQ, and port numbers to int

28 years agofrom netbsd:
deraadt [Thu, 14 Dec 1995 06:28:55 +0000 (06:28 +0000)]
from netbsd:
Add support for the 3c59x (pci) cards in the 3c5x9 driver. In addition
add the necessary bits for the 3c589 (pcmcia) card without adding any
of the pcmcia framework.
Also call epstop() in the attach routine to make sure that the pci card
gets reset properly.

28 years agofrom netbsd:
deraadt [Thu, 14 Dec 1995 06:22:33 +0000 (06:22 +0000)]
from netbsd:
Make it work on little-endian monochrome buffers; per Ted.
Must change `u_long' to `u_int32_t' as Jason pointed out.
since 'long's in this code are meant to be exactly 32-bits wide, use
'int32_t's instead, so that this code is usable on the alpha.

28 years agofrom netbsd:
deraadt [Thu, 14 Dec 1995 06:20:26 +0000 (06:20 +0000)]
from netbsd:
Bring in several changes from the ccd:
        * Be a bit better with prototypes
        * Use struct dkdevice in vnd_softc.
        * Prevent the unit from being unconfigured while open.
        * Implement a simple locking mechanism and use it for sanity's
          sake.
Still needs more work; needs to support disklabels and the like.

28 years agofrom netbsd; add copyright notice
deraadt [Thu, 14 Dec 1995 06:19:25 +0000 (06:19 +0000)]
from netbsd; add copyright notice

28 years agofrom netbsd:
deraadt [Thu, 14 Dec 1995 06:19:03 +0000 (06:19 +0000)]
from netbsd:
Fix a race condition where if a process is asleep waiting on an
exclusive lock of a ccd device while another process is unconfiguring
that same device, the first process would never awaken (unless interrupted).

28 years agofrom netbsd; print illegal setting messages nicer
deraadt [Thu, 14 Dec 1995 06:16:14 +0000 (06:16 +0000)]
from netbsd; print illegal setting messages nicer

28 years agofrom netbsd; fix definition of nullcnpollc, and add a prototype for it
deraadt [Thu, 14 Dec 1995 06:10:16 +0000 (06:10 +0000)]
from netbsd; fix definition of nullcnpollc, and add a prototype for it

28 years agofrom netbsd; cpu_fork() now returns void
deraadt [Thu, 14 Dec 1995 06:07:34 +0000 (06:07 +0000)]
from netbsd; cpu_fork() now returns void

28 years agofrom netbsd; Return 0 in the child, not the parent pid.
deraadt [Thu, 14 Dec 1995 06:07:06 +0000 (06:07 +0000)]
from netbsd; Return 0 in the child, not the parent pid.

28 years agofrom netbsd; add copyright notice
deraadt [Thu, 14 Dec 1995 06:05:53 +0000 (06:05 +0000)]
from netbsd; add copyright notice

28 years agofrom netbsd: include /dev/io as one of the `kmem' devices
deraadt [Thu, 14 Dec 1995 06:05:20 +0000 (06:05 +0000)]
from netbsd: include /dev/io as one of the `kmem' devices

28 years agofrom netbsd; Make sure vt_coldinit() is called before vt_coldmalloc()
deraadt [Thu, 14 Dec 1995 06:04:25 +0000 (06:04 +0000)]
from netbsd; Make sure vt_coldinit() is called before vt_coldmalloc()

28 years agofrom netbsd:
deraadt [Thu, 14 Dec 1995 05:56:35 +0000 (05:56 +0000)]
from netbsd:
If the read or write request can fit into a 6-byte cdb, then
use a 6-byte cdb, otherwise use the 10-byte as before.
In sdattach(), make a note if the device is "ancient" (i.e.
inqbuf.version & SID_ANSII == 0).
Implement sdminphys(): if the device is "ancient", shorten the
transfer so it will fit into a 6-byte cdb.

In sdminphys(), add a comment about the semantics of the "length" field
in a 6-byte read/write cdb (namely, length == 0 really means 256), and
that we handle this conservatively by limiting the transfer to 255 blocks.
*sigh* One just never knows how a pre-scsi-1 device is going to behave.

Remove a couple of now unneeded assignments.

28 years agofrom netbsd:
deraadt [Thu, 14 Dec 1995 05:55:20 +0000 (05:55 +0000)]
from netbsd:
If the read or write request can fit into a 6-byte cdb, then
use a 6-byte cdb, otherwise use the 10-byte as before.

28 years agofrom netbsd:
deraadt [Thu, 14 Dec 1995 05:51:38 +0000 (05:51 +0000)]
from netbsd:
add a bunch of rogues
Trim NULs, in addition to spaces, in scsi_strvis().

28 years agofrom netbsd; flesh out the mode pages
deraadt [Thu, 14 Dec 1995 05:50:53 +0000 (05:50 +0000)]
from netbsd; flesh out the mode pages

28 years agofrom netbsd; Add quirk for Exabyte 8200/rev. 263H (from Paul Goyette; PR#1797)
deraadt [Thu, 14 Dec 1995 05:45:18 +0000 (05:45 +0000)]
from netbsd; Add quirk for Exabyte 8200/rev. 263H (from Paul Goyette; PR#1797)

28 years agoprofil() args have changed type..
deraadt [Thu, 14 Dec 1995 05:43:37 +0000 (05:43 +0000)]
profil() args have changed type..

28 years agofrom netbsd; alpha has 2-leval boot
deraadt [Thu, 14 Dec 1995 05:39:09 +0000 (05:39 +0000)]
from netbsd; alpha has 2-leval boot

28 years agoupdate from netbsd
deraadt [Thu, 14 Dec 1995 05:37:15 +0000 (05:37 +0000)]
update from netbsd

28 years agoupdate from netbsd (verbatim)
deraadt [Thu, 14 Dec 1995 05:26:17 +0000 (05:26 +0000)]
update from netbsd (verbatim)