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

28 years agoupdate for new syscalls.master
deraadt [Thu, 14 Dec 1995 05:23:57 +0000 (05:23 +0000)]
update for new syscalls.master

28 years agofrom netbsd:
deraadt [Thu, 14 Dec 1995 05:21:37 +0000 (05:21 +0000)]
from netbsd:
Only expect vm_fork() to return if __FORK_BRAINDAMAGE is defined.
Use splstatclock() rather than splhigh() in one place.
Eliminate unused third arg to vm_fork().

28 years agofrom netbsd; limfree()
deraadt [Thu, 14 Dec 1995 05:19:32 +0000 (05:19 +0000)]
from netbsd; limfree()

28 years agofrom netbsd:
deraadt [Thu, 14 Dec 1995 05:16:06 +0000 (05:16 +0000)]
from netbsd:
Extend use of vm_object_prefer() to vm_allocate_with_pager().
Make vm_object_prefer() call MD aligner for "pageless" objects too,
so we can have more control over the virtual address to be used.

Implementation could be simpler if we by-pass the object to mapped, but
we'd loose the ability to adapt alignment to objects that were previously
mmap'ed with MAP_FIXED on.

Only expect vm_fork() to return if __FORK_BRAINDAMAGE is defined.
Eliminate unused third arg to vm_fork().

28 years agofrom netbsd; add hpux compat
deraadt [Thu, 14 Dec 1995 04:59:39 +0000 (04:59 +0000)]
from netbsd; add hpux compat

28 years agoupdate from netbsd
deraadt [Thu, 14 Dec 1995 04:57:19 +0000 (04:57 +0000)]
update from netbsd

28 years agofrom netbsd:
deraadt [Thu, 14 Dec 1995 04:53:01 +0000 (04:53 +0000)]
from netbsd:
Still incomplete, but much more complete FPE from Ken Nakata
<kenn@remus.rutgers.edu>.  This emulator does not yet emulate
the following functions:
        FSINH, FETOXM1, FTANH, FATAN, FASIN, FATANH, FSIN, FTAN,
        FETOX, FTWOTOX, FTENTOX, FCOSH, FACOS, FCOS, FSINCOS
It is sufficient, however, to allow programs like df, w, and newfs,
to run to completion with correct results.
Portions of this code were based on the sparc fpe and on initial
work by gwr.

28 years agoupdate from netbsd
deraadt [Thu, 14 Dec 1995 04:46:58 +0000 (04:46 +0000)]
update from netbsd

28 years agofrom netbsd:
deraadt [Thu, 14 Dec 1995 04:25:00 +0000 (04:25 +0000)]
from netbsd:
"goto start" after sleeping for locked iso_node in cd9660_lock, like
in ufs_lock.
NBPG may not be computable by the preprocessor. Make "do clustered io"
a run-time decision. Note: the compiler can optimize it away.

28 years agofrom netbsd; fix casts; should cast pointers to longs, not ints
deraadt [Thu, 14 Dec 1995 04:20:38 +0000 (04:20 +0000)]
from netbsd; fix casts; should cast pointers to longs, not ints

28 years agofrom netbsd (mostly by ws):
deraadt [Thu, 14 Dec 1995 04:19:50 +0000 (04:19 +0000)]
from netbsd (mostly by ws):
Win95 ignores case on lookup
Really don't generate long names when mounted with -s
Fix cookie handling
Don't forward credentials to bread, it makes nfs panic
(Of course, nfs shouldn't rely on the credentials not being referenced)
Don't give directory entry to deget, it could result in a deadlock
Use device blocks, not clusters for logical block numbers
Add support for Win'95 separate creation/modification/access timestamps
Re-introduce lowercase filenames for non-Win'95-filesystems
Fix thinko with block boundaries in directories
Don't overwrite dirclust, it's needed later on
Enable flock(2).

28 years agofrom netbsd:
deraadt [Thu, 14 Dec 1995 04:14:50 +0000 (04:14 +0000)]
from netbsd:
When converting from termios to sgtty, if RAW is set, use the previous
settings of LITOUT and PASS8, since these cannot be determined from the
termios modes.

28 years agofrom netbsd; shmfork does not need to know about vfork
deraadt [Thu, 14 Dec 1995 04:13:58 +0000 (04:13 +0000)]
from netbsd; shmfork does not need to know about vfork

28 years agofrom netbsd; change profil() arguments
deraadt [Thu, 14 Dec 1995 04:11:12 +0000 (04:11 +0000)]
from netbsd; change profil() arguments

28 years agofrom netbsd; emulation records
deraadt [Thu, 14 Dec 1995 04:10:21 +0000 (04:10 +0000)]
from netbsd; emulation records

28 years agofrom netbsd; If we abort, make sure to free ep_emul_arg
deraadt [Thu, 14 Dec 1995 04:09:14 +0000 (04:09 +0000)]
from netbsd; If we abort, make sure to free ep_emul_arg

28 years agofrom netbsd; init proc0 fd0 differently
deraadt [Thu, 14 Dec 1995 04:08:44 +0000 (04:08 +0000)]
from netbsd; init proc0 fd0 differently

28 years agofrom netbsd:
deraadt [Thu, 14 Dec 1995 04:06:32 +0000 (04:06 +0000)]
from netbsd:
1) undef various EXEC_ cpp symbols before defining them, in case
they're already defined for some reason (this can happen
on the alpha, for example, which needs to define EXEC_ECOFF
in the std.alpha config file).
2) add hpux compat

28 years agofrom netbsd; wrap against multiple inclusion
deraadt [Thu, 14 Dec 1995 04:03:44 +0000 (04:03 +0000)]
from netbsd; wrap against multiple inclusion

28 years agofrom netbsd:
deraadt [Thu, 14 Dec 1995 04:02:58 +0000 (04:02 +0000)]
from netbsd:
represent profiling size, scale more correctly (as size_t, u_int, resp.)