openbsd
28 years agofrom netbsd;
deraadt [Fri, 12 Jan 1996 20:19:48 +0000 (20:19 +0000)]
from netbsd;
New generic disk framework.  Highlights:
New metrics handling.  Metrics are now kept in the new `struct disk'.
Busy time is now stored as a timeval, and transfer count in bytes.
Storage for disklabels is now dynamically allocated, so that the size
of the disk structure is not machine-dependent.
Several new functions for attaching and detaching disks, and handling
metrics calculation.
Old-style instrumentation is still supported in drivers that did it
before.  However, old-style instrumentation is being deprecated, and
will go away once the userland utilities are updated for the new
framework.
For usage and architectural details, see the forthcoming disk(9)
manual page.

28 years agoupdate to new cdio.h
deraadt [Fri, 12 Jan 1996 20:14:22 +0000 (20:14 +0000)]
update to new cdio.h

28 years agofrom netbsd; Document hint file v.2
deraadt [Fri, 12 Jan 1996 20:00:43 +0000 (20:00 +0000)]
from netbsd; Document hint file v.2

28 years agofrom netbsd; Note search mechanism
deraadt [Fri, 12 Jan 1996 19:59:53 +0000 (19:59 +0000)]
from netbsd; Note search mechanism

28 years agofrom netbsd:
deraadt [Fri, 12 Jan 1996 19:57:26 +0000 (19:57 +0000)]
from netbsd:
Make dlopen() search for libraries if given a name of the form
`lib<name>.so[.xx[.yy]]' (per Erik M. Theisen; PR#1763; patch from PR
used in simplified form).
Deal with v.2 hint files (hint srch dirs not yet used).

28 years agofrom netbsd:
deraadt [Fri, 12 Jan 1996 19:56:20 +0000 (19:56 +0000)]
from netbsd:
Create v.2 hint files.
Note: don't bother to understand v.1 files..

28 years agoRemove CCB from hash list when it gets unmapped, not the first time looked up.
hannken [Fri, 12 Jan 1996 17:52:48 +0000 (17:52 +0000)]
Remove CCB from hash list when it gets unmapped, not the first time looked up.

28 years agoclean better
deraadt [Fri, 12 Jan 1996 16:55:47 +0000 (16:55 +0000)]
clean better

28 years agoSIGBUS is an alignment fault. SIGSEGV is an access violation
deraadt [Fri, 12 Jan 1996 16:45:00 +0000 (16:45 +0000)]
SIGBUS is an alignment fault. SIGSEGV is an access violation

28 years agoproto rfork()
deraadt [Fri, 12 Jan 1996 14:45:42 +0000 (14:45 +0000)]
proto rfork()

28 years agofrom netbsd
deraadt [Fri, 12 Jan 1996 03:13:42 +0000 (03:13 +0000)]
from netbsd

28 years agodisable ddb, enable vnd
deraadt [Fri, 12 Jan 1996 02:08:49 +0000 (02:08 +0000)]
disable ddb, enable vnd

28 years agoRemove obsolete GCC
niklas [Thu, 11 Jan 1996 22:27:45 +0000 (22:27 +0000)]
Remove obsolete GCC

28 years agoRemove obsolete GCC
niklas [Thu, 11 Jan 1996 19:38:24 +0000 (19:38 +0000)]
Remove obsolete GCC

28 years agofrom leo; Fix the same typo in all files. Yanking is soooo beautiful....
deraadt [Thu, 11 Jan 1996 18:19:06 +0000 (18:19 +0000)]
from leo; Fix the same typo in all files. Yanking is soooo beautiful....

28 years agofrom netbsd; VM86 support, by John Kohl, touched up a bit by charles
deraadt [Thu, 11 Jan 1996 17:58:59 +0000 (17:58 +0000)]
from netbsd; VM86 support, by John Kohl, touched up a bit by charles

28 years agofrom netbsd; Fix typo and make some enum. lists more compact
deraadt [Thu, 11 Jan 1996 17:54:00 +0000 (17:54 +0000)]
from netbsd; Fix typo and make some enum. lists more compact
(James Jegers; PR#592).

28 years agofrom netbsd; Fetch `-p' documentation from a previous version of
deraadt [Thu, 11 Jan 1996 17:52:34 +0000 (17:52 +0000)]
from netbsd; Fetch `-p' documentation from a previous version of
the man page

28 years agofrom netbsd; fix small documentation bug -- we have no bftp(1)
deraadt [Thu, 11 Jan 1996 17:49:42 +0000 (17:49 +0000)]
from netbsd; fix small documentation bug -- we have no bftp(1)

28 years agofrom netbsd; sync with tzdata96a
deraadt [Thu, 11 Jan 1996 17:48:48 +0000 (17:48 +0000)]
from netbsd; sync with tzdata96a

28 years agofrom netbsd; new pages
deraadt [Thu, 11 Jan 1996 17:48:19 +0000 (17:48 +0000)]
from netbsd; new pages

28 years agosync with netbsd
deraadt [Thu, 11 Jan 1996 17:47:30 +0000 (17:47 +0000)]
sync with netbsd

28 years agofrom netbsd; sync with tzcode96a
deraadt [Thu, 11 Jan 1996 17:46:15 +0000 (17:46 +0000)]
from netbsd; sync with tzcode96a

28 years agofrom netbsd:
deraadt [Thu, 11 Jan 1996 17:44:35 +0000 (17:44 +0000)]
from netbsd:
Define LD_HINTS_VERSION_2:
        - no longer hash on minor version number in hints file.
        - add list of ldconfig(8) search directories.

28 years agologin names starting with "t" were trashed; original bug report by
deraadt [Thu, 11 Jan 1996 17:41:53 +0000 (17:41 +0000)]
login names starting with "t" were trashed; original bug report by
<tommy@mdc.tijp.ti.com>. from soda@sra.co.jp; netbsd pr#1926

28 years agomerge error
deraadt [Wed, 10 Jan 1996 22:15:13 +0000 (22:15 +0000)]
merge error

28 years agoSave inquiry flags in sc_link so low-level drivers can use it.
briggs [Wed, 10 Jan 1996 19:08:04 +0000 (19:08 +0000)]
Save inquiry flags in sc_link so low-level drivers can use it.

28 years agoplan9-like rfork() implimentation by me based on some earlier incomplete
deraadt [Wed, 10 Jan 1996 18:02:12 +0000 (18:02 +0000)]
plan9-like rfork() implimentation by me based on some earlier incomplete
work by rminnich@Sarnoff.COM. still needs RFNOWAIT support.

28 years agodescribe actual openbsd rfork() details. this should be converted to a
deraadt [Wed, 10 Jan 1996 17:10:04 +0000 (17:10 +0000)]
describe actual openbsd rfork() details. this should be converted to a
mandoc manpage by some brave individual (prettier because they fit more
data on the same page). please?

28 years agoImported from FreeBSD:
chuck [Wed, 10 Jan 1996 16:26:16 +0000 (16:26 +0000)]
Imported from FreeBSD:
Add support for the SMC8416 (EtherEZ) ISA ethernet card.
The 8416 has an 8K shared mem (the old driver assumed 16K
and failed at attach time).

28 years agooriginal rfork(2) manpage from plan9. This will be modified to describe
deraadt [Wed, 10 Jan 1996 09:38:36 +0000 (09:38 +0000)]
original rfork(2) manpage from plan9. This will be modified to describe
the actual implimentation in OpenBSD.
> From: "Rob Pike" <rob@plan9.att.com>
> feel free to borrow the text of the plan 9 rfork page, with attribution.

28 years agomake in ipf directory (oops)
dm [Tue, 9 Jan 1996 16:24:18 +0000 (16:24 +0000)]
make in ipf directory (oops)

28 years agoGo ahead and look for the sonic--no problem if we don't find it.
briggs [Tue, 9 Jan 1996 16:14:28 +0000 (16:14 +0000)]
Go ahead and look for the sonic--no problem if we don't find it.

28 years agoAdd first guesses for a few more machines.
briggs [Tue, 9 Jan 1996 16:11:51 +0000 (16:11 +0000)]
Add first guesses for a few more machines.
Also set sonic flag for MACH_CLASSQ.

28 years agoAdd some more machine defines.
briggs [Tue, 9 Jan 1996 16:01:03 +0000 (16:01 +0000)]
Add some more machine defines.

28 years agoadded IP filter to netstat/rc and put examples in /usr/share/ipf
dm [Tue, 9 Jan 1996 09:29:24 +0000 (09:29 +0000)]
added IP filter to netstat/rc and put examples in /usr/share/ipf

28 years agofrom netbsd:
deraadt [Tue, 9 Jan 1996 09:24:32 +0000 (09:24 +0000)]
from netbsd:
Update a kludge from 4.4bsd/pmax: DECstation PROMs force the clock to
be in 1972 or 1973. If the clock is set to the actual time, the PROM
appears to reset the chip date to 1972 at each reboot.
Change the "year offset" from 22 years to 24 years (good till 1997)
until this code is replaced with something that uses the chip as a
seconds-since-beginning-of-year clock (encoded as a date, relative to
1972-01-01 00:00:00).

28 years agofrom netbsd; Fix setcontext call and sendsig
deraadt [Tue, 9 Jan 1996 09:24:01 +0000 (09:24 +0000)]
from netbsd; Fix setcontext call and sendsig

28 years agofrom netbsd; compile hpux_machdep.c if COMPAT_HPUX
deraadt [Tue, 9 Jan 1996 09:20:36 +0000 (09:20 +0000)]
from netbsd; compile hpux_machdep.c if COMPAT_HPUX

28 years agofrom netbsd:
deraadt [Tue, 9 Jan 1996 09:14:38 +0000 (09:14 +0000)]
from netbsd:
Part of the tostools reorganization. All directories now contain a Makefile
and the user interface to the various tools has been standarized.

28 years agofrom leo:
deraadt [Tue, 9 Jan 1996 09:13:45 +0000 (09:13 +0000)]
from leo:
Common library for all tostools. (Waldi Ravens and myself)

28 years agofrom leo:
deraadt [Tue, 9 Jan 1996 09:13:10 +0000 (09:13 +0000)]
from leo:
Atari partion table checker. Checks the validity of AHDI and/or
NetBSD/Atari partition tables. (Waldi Ravens)

28 years agospltty shouldn't need to block serial hard interrupts--just soft.
briggs [Tue, 9 Jan 1996 04:06:49 +0000 (04:06 +0000)]
spltty shouldn't need to block serial hard interrupts--just soft.
splimp can drop, too.

28 years agoAdd OpenBSD configuration, it's exactly like NetBSD.
niklas [Mon, 8 Jan 1996 22:16:07 +0000 (22:16 +0000)]
Add OpenBSD configuration, it's exactly like NetBSD.

28 years agoAs it is highly unlikely OpenBSD's object file format will divert from
niklas [Mon, 8 Jan 1996 21:28:57 +0000 (21:28 +0000)]
As it is highly unlikely OpenBSD's object file format will divert from
NetBSD's, alias it instead of implementing a distinct but identical
configuration.

28 years agoAs it is highly unlikely OpenBSD's object file format will divert from
niklas [Mon, 8 Jan 1996 21:20:43 +0000 (21:20 +0000)]
As it is highly unlikely OpenBSD's object file format will divert from
NetBSD's, alias it instead of implementing a distinct but identical
configuration.

28 years agofrom netbsd; Correct name of sysi86 function
deraadt [Mon, 8 Jan 1996 19:31:06 +0000 (19:31 +0000)]
from netbsd; Correct name of sysi86 function

28 years agofrom netbsd:
deraadt [Mon, 8 Jan 1996 19:30:21 +0000 (19:30 +0000)]
from netbsd:
Add '/emul/ultrix' pathname processing to Ultrix emulation, and move
Ultrix syscalls that require that processing out of ultrix_misc.c
to ultrix_pathname.c.

28 years agofrom ragge; Changed to work correctly with both K&R and ANSI cpp.
deraadt [Mon, 8 Jan 1996 18:55:02 +0000 (18:55 +0000)]
from ragge; Changed to work correctly with both K&R and ANSI cpp.

28 years agofrom ragge:
deraadt [Mon, 8 Jan 1996 18:54:33 +0000 (18:54 +0000)]
from ragge:
Device driver for TS11/TSV05 tape devices.
Written by Bertram Barth, based on TMSCP device driver.

28 years agoupdate from netbsd
deraadt [Mon, 8 Jan 1996 18:52:51 +0000 (18:52 +0000)]
update from netbsd

28 years agofrom netbsd; Hand-code softintr()
deraadt [Mon, 8 Jan 1996 18:52:01 +0000 (18:52 +0000)]
from netbsd; Hand-code softintr()

28 years agofrom leo; Remove a stray MAXPARTITIONS definition
deraadt [Mon, 8 Jan 1996 18:50:24 +0000 (18:50 +0000)]
from leo; Remove a stray MAXPARTITIONS definition

28 years agofrom ragge; Changed to only include <machine/asm.h>, as the other ports
deraadt [Mon, 8 Jan 1996 18:49:06 +0000 (18:49 +0000)]
from ragge; Changed to only include <machine/asm.h>, as the other ports

28 years agofrom ragge:
deraadt [Mon, 8 Jan 1996 18:48:21 +0000 (18:48 +0000)]
from ragge:
Added 'all' option to create a reasonable amount of standard devices.
Tape devices now called after their kernel names, (ie. ts0, ht0) and
not mt? for all of them. mt? names are kept as symbolic links anyway
so that it don't break anything.

28 years agofrom ragge; Change to be more consistent with device naming
deraadt [Mon, 8 Jan 1996 18:46:19 +0000 (18:46 +0000)]
from ragge; Change to be more consistent with device naming

28 years agofrom ragge; Updated to conform to reality
deraadt [Mon, 8 Jan 1996 18:45:54 +0000 (18:45 +0000)]
from ragge; Updated to conform to reality

28 years agoSupport OpenBSD configuration, by cloning NetBSD config entries.
niklas [Mon, 8 Jan 1996 18:16:01 +0000 (18:16 +0000)]
Support OpenBSD configuration, by cloning NetBSD config entries.

28 years agoTweaks for OpenBSD:
niklas [Mon, 8 Jan 1996 15:54:12 +0000 (15:54 +0000)]
Tweaks for OpenBSD:
1) recognize OpenBSD at various places
2) m68k-cbm-* is *NOT* ELF always
3) clean-info must be called before distclean in the GAS
realclean target
4) don't install unformatted ma-pages
5) add a Makefile.bsd-wrapper
6) just build gas through Makefile.bsd-wrapper yet
There are still other things to do...

28 years agoadd rfork.o and minherit.o
deraadt [Mon, 8 Jan 1996 11:36:02 +0000 (11:36 +0000)]
add rfork.o and minherit.o

28 years agoInitial GNU binutils 2.6 import
niklas [Mon, 8 Jan 1996 11:03:33 +0000 (11:03 +0000)]
Initial GNU binutils 2.6 import

28 years agofrom netbsd:
deraadt [Mon, 8 Jan 1996 09:33:31 +0000 (09:33 +0000)]
from netbsd:
Deal with GCC's dead code elimination being suboptimal.
Modify splraise() to allow better optimization.
Make cpl, ipending, and astpending volatile.
Make sure interrupts are disabled before jumping to a resume point,
to prevent races.
Make FPU faults use INTRFASTEXIT, and remove INTREXIT.
Build the frame for recursive interrupts manually, and make sure to
disable interrupts to avoid races.
VS: ----------------------------------------------------------------------

28 years agofrom netbsd; Make the block size always a whole number of samples
deraadt [Mon, 8 Jan 1996 07:44:56 +0000 (07:44 +0000)]
from netbsd; Make the block size always a whole number of samples

28 years agograichen@freebsd.org: fixed -type:=direct mounts in amd
dm [Mon, 8 Jan 1996 07:36:23 +0000 (07:36 +0000)]
graichen@freebsd.org: fixed -type:=direct mounts in amd

28 years agoProduce less output on -q as promised by the man page;
deraadt [Mon, 8 Jan 1996 07:32:12 +0000 (07:32 +0000)]
Produce less output on -q as promised by the man page;
from jhawk@mit.edu; netbsd pr#998

28 years agoadd fdshare() and fdinit() calls for dealing with filedesc structures
deraadt [Sun, 7 Jan 1996 17:38:21 +0000 (17:38 +0000)]
add fdshare() and fdinit() calls for dealing with filedesc structures

28 years agoadd minherit() system call
deraadt [Sun, 7 Jan 1996 17:20:35 +0000 (17:20 +0000)]
add minherit() system call

28 years agoFix it so we can resurrect dead files on tagged branches.
niklas [Sun, 7 Jan 1996 15:48:21 +0000 (15:48 +0000)]
Fix it so we can resurrect dead files on tagged branches.

28 years agoWhen servicing a memory error on the sun4/sun4c make
davem [Sun, 7 Jan 1996 15:18:08 +0000 (15:18 +0000)]
When servicing a memory error on the sun4/sun4c make
sure the store buffers on the chip are completely flushed to ensure
proper handler completion.

28 years agofrom netbsd: Put #includes in the right order
deraadt [Sun, 7 Jan 1996 14:35:01 +0000 (14:35 +0000)]
from netbsd: Put #includes in the right order

28 years agofrom netbsd; do not save caller-saved registers
deraadt [Sun, 7 Jan 1996 14:28:52 +0000 (14:28 +0000)]
from netbsd; do not save caller-saved registers

28 years agofrom netbsd:
deraadt [Sun, 7 Jan 1996 13:53:36 +0000 (13:53 +0000)]
from netbsd:
Move the obviously machine-dependent HP-UX compat code to hpux_machdep.{c,h}.
A fair bit of this, the m68k core dump and exec goo, can probably be
made into a generic m68k hpux module, eventually.

28 years agoupdate from netbsd
deraadt [Sun, 7 Jan 1996 13:22:47 +0000 (13:22 +0000)]
update from netbsd

28 years agofrom leo:
deraadt [Sun, 7 Jan 1996 13:19:06 +0000 (13:19 +0000)]
from leo:
Add an nvram-driver. This driver makes it possible to read/write the
configuration info stored in the nvram on the mc146818

28 years agofrom netbsd; Keep more debugging history (Paul Goyette). Synced with mac68k version
deraadt [Sun, 7 Jan 1996 13:18:25 +0000 (13:18 +0000)]
from netbsd; Keep more debugging history (Paul Goyette). Synced with mac68k version

28 years agopass a useful environment to ip-up/ip-down scripts; this is not a
deraadt [Sun, 7 Jan 1996 09:55:33 +0000 (09:55 +0000)]
pass a useful environment to ip-up/ip-down scripts; this is not a
security problem
different fix than from banshee@gabriella.resort.com; netbsd pr#1866

28 years agomore traditional semantics. if wheel group has no listed users, anyone
deraadt [Sun, 7 Jan 1996 09:51:21 +0000 (09:51 +0000)]
more traditional semantics. if wheel group has no listed users, anyone
can su to root. default wheel group lists "root" as a user, thus
defaulting to a secure envirment. from arnej@pvv.unit.no; netbsd pr#1894

28 years agodiff(1) invokes pr(1) with invalid option "-f";
deraadt [Sun, 7 Jan 1996 07:43:18 +0000 (07:43 +0000)]
diff(1) invokes pr(1) with invalid option "-f";
from earle@netbsd4me.jpl.nasa.gov; netbsd pr#1896

28 years agocreated devices for the IP filter log on all architectures
dm [Sun, 7 Jan 1996 07:40:59 +0000 (07:40 +0000)]
created devices for the IP filter log on all architectures

28 years agotypo in strspn manpage; from kashmir@umiacs.umd.edu; netbsd pr#1905
deraadt [Sun, 7 Jan 1996 07:37:38 +0000 (07:37 +0000)]
typo in strspn manpage; from kashmir@umiacs.umd.edu; netbsd pr#1905

28 years agodate formatting glitch; from kashmir@umiacs.UMD.EDU; netbsd pr#1906
deraadt [Sun, 7 Jan 1996 07:36:11 +0000 (07:36 +0000)]
date formatting glitch; from kashmir@umiacs.UMD.EDU; netbsd pr#1906

28 years agoaccept either ffs or ufs for filesystem name
deraadt [Sun, 7 Jan 1996 05:28:00 +0000 (05:28 +0000)]
accept either ffs or ufs for filesystem name

28 years agofrom beurton@fnet.fr: Darren Reed's IP filter
dm [Sun, 7 Jan 1996 02:33:01 +0000 (02:33 +0000)]
from beurton@fnet.fr:  Darren Reed's IP filter

28 years ago/bsd and OpenBSD got changed back to /netbsd and NetBSD in the
dm [Sat, 6 Jan 1996 20:04:21 +0000 (20:04 +0000)]
/bsd and OpenBSD got changed back to /netbsd and NetBSD in the
timing patch.  I switched them back.

28 years agofrom netbsd; some U tags
deraadt [Sat, 6 Jan 1996 17:48:39 +0000 (17:48 +0000)]
from netbsd; some U tags

28 years agofrom 4.4lite2; additional data from SIOCGIFCONF is at least sockaddr sized
deraadt [Sat, 6 Jan 1996 17:46:35 +0000 (17:46 +0000)]
from 4.4lite2; additional data from SIOCGIFCONF is at least sockaddr sized

28 years agofrom netbsd; add a way to build kbd and mouse devices
deraadt [Sat, 6 Jan 1996 17:29:32 +0000 (17:29 +0000)]
from netbsd; add a way to build kbd and mouse devices

28 years agofrom netbsd:
deraadt [Sat, 6 Jan 1996 17:28:12 +0000 (17:28 +0000)]
from netbsd:
Implement vhangup(); more or less as suggested in PR#1560 (matthew green).
I'm vrele'ing s_ttyvp here too, so sys_exit() won't have to go over it again.

28 years agoupdate from jtk@kolvir.arlington.ma.us; netbsd pr#1650
deraadt [Sat, 6 Jan 1996 17:24:56 +0000 (17:24 +0000)]
update from jtk@kolvir.arlington.ma.us; netbsd pr#1650

28 years agofrom netbsd; Added support for sysi86 and eaccess syscalls
deraadt [Sat, 6 Jan 1996 17:22:38 +0000 (17:22 +0000)]
from netbsd; Added support for sysi86 and eaccess syscalls

28 years agofrom freebsd: rename some fields.
deraadt [Sat, 6 Jan 1996 16:00:24 +0000 (16:00 +0000)]
from freebsd: rename some fields.
note: the use of unions and structures in here is bad; the use of
bitfields is even worse. the interface defined here desperately
needs a cleanup.

28 years agothe modern world defaults to 8n1
deraadt [Sat, 6 Jan 1996 15:57:15 +0000 (15:57 +0000)]
the modern world defaults to 8n1

28 years agoone more inet_ntoa() improvement
deraadt [Sat, 6 Jan 1996 15:55:59 +0000 (15:55 +0000)]
one more inet_ntoa() improvement

28 years agofrom jtk@kolvir.arlington.ma.us:
deraadt [Sat, 6 Jan 1996 15:33:19 +0000 (15:33 +0000)]
from jtk@kolvir.arlington.ma.us:
numerous stability fixes related to locking.

28 years agoone tests code before one commits it. initialize ttymalloc'd struct properly.
deraadt [Sat, 6 Jan 1996 13:45:43 +0000 (13:45 +0000)]
one tests code before one commits it. initialize ttymalloc'd struct properly.
also with mrg: use B1200 instead of 1200.

28 years agoby mrg and myself on irc: fix a ttymalloc() memory leak, TIOCM* botch
deraadt [Sat, 6 Jan 1996 12:57:16 +0000 (12:57 +0000)]
by mrg and myself on irc: fix a ttymalloc() memory leak, TIOCM* botch

28 years agoMakefile.yp is /var/yp/Makefile
deraadt [Sat, 6 Jan 1996 11:42:15 +0000 (11:42 +0000)]
Makefile.yp is /var/yp/Makefile

28 years agoresurrect Makefile.yp
deraadt [Sat, 6 Jan 1996 11:39:40 +0000 (11:39 +0000)]
resurrect Makefile.yp

28 years agoAdd support for ostart and ostop
niklas [Fri, 5 Jan 1996 18:02:24 +0000 (18:02 +0000)]
Add support for ostart and ostop

28 years agofix, and handle openbsd case too
deraadt [Fri, 5 Jan 1996 16:46:01 +0000 (16:46 +0000)]
fix, and handle openbsd case too