openbsd
27 years agofirst try of an OpenBSD/pmax GENERIC kernel (config file)
graichen [Mon, 13 Jan 1997 11:36:28 +0000 (11:36 +0000)]
first try of an OpenBSD/pmax GENERIC kernel (config file)

27 years agonow also the pmax builds with the in-tree ld using an ld.script similar
graichen [Mon, 13 Jan 1997 11:35:30 +0000 (11:35 +0000)]
now also the pmax builds with the in-tree ld using an ld.script similar
to the arc

27 years agomy pmax (decstation 5000/200)
graichen [Mon, 13 Jan 1997 11:31:54 +0000 (11:31 +0000)]
my pmax (decstation 5000/200)

27 years agotype change to make it compile on the pmax of now
graichen [Mon, 13 Jan 1997 11:30:32 +0000 (11:30 +0000)]
type change to make it compile on the pmax of now

27 years agoImport compat_m68k4k from NetBSD
niklas [Mon, 13 Jan 1997 11:07:47 +0000 (11:07 +0000)]
Import compat_m68k4k from NetBSD

27 years agosmall changes to get it compiled on the pmax (does'nt affect anything else)
graichen [Mon, 13 Jan 1997 10:53:26 +0000 (10:53 +0000)]
small changes to get it compiled on the pmax (does'nt affect anything else)

27 years ago<pmax/xxx> -> <machine/xxx>
graichen [Mon, 13 Jan 1997 10:31:56 +0000 (10:31 +0000)]
<pmax/xxx> -> <machine/xxx>
<mips/xxx> -> <machine/xxx>
... plus missing files from arc

27 years agoMisc installation notes for installing the powerpc port.
rahnds [Mon, 13 Jan 1997 05:03:26 +0000 (05:03 +0000)]
Misc installation notes for installing the powerpc port.
Probably will change greatly or be moved eventually.

27 years agoleds-extern.h -> ledsvar.h
kstailey [Mon, 13 Jan 1997 02:53:50 +0000 (02:53 +0000)]
leds-extern.h -> ledsvar.h

27 years agoback-panel LED control device derived from code by der Mouse
kstailey [Mon, 13 Jan 1997 00:29:23 +0000 (00:29 +0000)]
back-panel LED control device derived from code by der Mouse

27 years agoFix core dump and use libc err(3) instead of private one (which had
millert [Sun, 12 Jan 1997 23:43:03 +0000 (23:43 +0000)]
Fix core dump and use libc err(3) instead of private one (which had
slightly different semantics).  Also clean up some gcc -Wall'isms.

27 years agoMostly sync to NetBSD-current of 011196. Compiles, links, boots to single
downsj [Sun, 12 Jan 1997 15:12:06 +0000 (15:12 +0000)]
Mostly sync to NetBSD-current of 011196.  Compiles, links, boots to single
user.

KNOWN NOT WORKING:
* DIO-II devices
* Dynamic executables

NOT EVEN TRIED:
* New config support

27 years agoprotect against multiple includes
downsj [Sun, 12 Jan 1997 13:02:07 +0000 (13:02 +0000)]
protect against multiple includes

27 years agoadd sys_pipe.c
downsj [Sun, 12 Jan 1997 12:07:23 +0000 (12:07 +0000)]
add sys_pipe.c

27 years agoBe more Posixly correct; from FreeBSD
tholo [Sun, 12 Jan 1997 09:08:27 +0000 (09:08 +0000)]
Be more Posixly correct; from FreeBSD

27 years agosync and add OpenBSD IDs.
downsj [Sun, 12 Jan 1997 07:43:30 +0000 (07:43 +0000)]
sync and add OpenBSD IDs.

27 years agoRelease version certainly isn't 1.0, not really 2.0 either, but...
rahnds [Sun, 12 Jan 1997 00:43:12 +0000 (00:43 +0000)]
Release version certainly isn't 1.0, not really 2.0 either, but...

27 years agoDo not link against libcrypt, It no longer exists.
rahnds [Sun, 12 Jan 1997 00:31:27 +0000 (00:31 +0000)]
Do not link against libcrypt, It no longer exists.

27 years agoDo not link against libcrypt, It doesn't exists anymore.
rahnds [Sun, 12 Jan 1997 00:27:38 +0000 (00:27 +0000)]
Do not link against libcrypt, It doesn't exists anymore.

27 years agoDescribe boolean capabilites betterand at a better place. It was rather
pefo [Sat, 11 Jan 1997 18:35:53 +0000 (18:35 +0000)]
Describe boolean capabilites betterand at a better place. It was rather
difficult to find before.

27 years agoimplement mincore syscall, just like sunos & ultrix compat do.
mickey [Sat, 11 Jan 1997 17:57:29 +0000 (17:57 +0000)]
implement mincore syscall, just like sunos & ultrix compat do.

27 years agoSupport an ONLY_FOR_ARCHS var, that prohibits doing anything for a certain
niklas [Sat, 11 Jan 1997 11:58:11 +0000 (11:58 +0000)]
Support an ONLY_FOR_ARCHS var, that prohibits doing anything for a certain
port except for certain architectures.  If OBJMACHINE is set set WRKDIR to
work.${MACHINE}.  Fix a shell construct which pdksh interprets differently
than ash as it was written.  Make bsd.own.mk be auto-included in make(1)
invocations below this one.

27 years agoFix PR#2 in a simplistic way. Handle EOF on all getchar()s
niklas [Sat, 11 Jan 1997 10:01:27 +0000 (10:01 +0000)]
Fix PR#2 in a simplistic way.  Handle EOF on all getchar()s

27 years agoWe run OpenBSD
niklas [Sat, 11 Jan 1997 00:12:17 +0000 (00:12 +0000)]
We run OpenBSD

27 years agoUse "locore.S" versions of block io operations.
pefo [Fri, 10 Jan 1997 23:41:25 +0000 (23:41 +0000)]
Use "locore.S" versions of block io operations.
They handle unaligned memory references.

27 years agoCorrect a panic condition hitting on machines with NBPG != ffs blocksize,
niklas [Fri, 10 Jan 1997 23:18:40 +0000 (23:18 +0000)]
Correct a panic condition hitting on machines with NBPG != ffs blocksize,
plus having a large bufpages value compared to nbuf.

27 years agoone-line fix so fdisk knows that partitions marked 0x0B are Win95/FAT32
jkatz [Fri, 10 Jan 1997 19:09:58 +0000 (19:09 +0000)]
one-line fix so fdisk knows that partitions marked 0x0B are Win95/FAT32

27 years agouse opendev(3) + man page correction
kstailey [Fri, 10 Jan 1997 19:04:08 +0000 (19:04 +0000)]
use opendev(3) + man page correction

27 years agoLeading underscores... Actually, they really DID fuck this up on the MIPS
etheisen [Fri, 10 Jan 1997 18:29:48 +0000 (18:29 +0000)]
Leading underscores... Actually, they really DID fuck this up on the MIPS
and PPC platforms... Everyone else has _leading!

27 years agoChange all mips ports to use mips-unknown-openbsd2.0 like gcc does.
imp [Fri, 10 Jan 1997 06:53:35 +0000 (06:53 +0000)]
Change all mips ports to use mips-unknown-openbsd2.0 like gcc does.
This should allow for gdb to at least build on pmax, modulo potential platform
specific include files.    This impacts gas, ld, and other critical system
components.  Don't build this unless you are happy with your backups, as
always for a change of this nature.  It works for me on my machine, however.

27 years agoUNIX3.0 -> 3.0BSD in history section
kstailey [Fri, 10 Jan 1997 05:59:24 +0000 (05:59 +0000)]
UNIX3.0 -> 3.0BSD in history section

27 years agoNow that ELF symbols are working (not leading '_'), dont put them
rahnds [Thu, 9 Jan 1997 21:19:02 +0000 (21:19 +0000)]
Now that ELF symbols are working (not leading '_'), dont put them
in for these symbols either.

27 years agomax -> min typo
weingart [Thu, 9 Jan 1997 15:35:18 +0000 (15:35 +0000)]
max -> min typo

27 years agoHTTP fetches would always loop indefinitely
niklas [Thu, 9 Jan 1997 11:22:16 +0000 (11:22 +0000)]
HTTP fetches would always loop indefinitely

27 years agoClosing down on the last few differences between the build area
rahnds [Thu, 9 Jan 1997 05:46:45 +0000 (05:46 +0000)]
Closing down on the last few differences between the build area
and the checked in source.

27 years agoFix the SALIB dependancies correctly so that it builds and locates
rahnds [Thu, 9 Jan 1997 05:21:27 +0000 (05:21 +0000)]
Fix the SALIB dependancies correctly so that it builds and locates
the library.

Fix alloc.c so that the piece allocated is of the "correct" size for
the current allocation by splitting the buffer.
This was required so that free would work correctly if a large buffer
was allocated, then freed, the allocated again with a small allocation.

27 years agoallow gdb to configure on powerpc port.
rahnds [Thu, 9 Jan 1997 05:01:53 +0000 (05:01 +0000)]
allow gdb to configure on powerpc port.

27 years agoignore new kernel
rahnds [Thu, 9 Jan 1997 04:58:49 +0000 (04:58 +0000)]
ignore new kernel

27 years agoremove bpfa and bpfb, didnt know how to make device with minor of 'a' and 'b'.
rahnds [Thu, 9 Jan 1997 04:24:39 +0000 (04:24 +0000)]
remove bpfa and bpfb, didnt know how to make device with minor of 'a' and 'b'.

27 years agoChanges to shrink kc filesystem, remove update from dot.profile
rahnds [Thu, 9 Jan 1997 04:23:23 +0000 (04:23 +0000)]
Changes to shrink kc filesystem, remove update from dot.profile
and remove an extra file.

27 years agoAdd the ablity to hide symbols on ELF/OLF objects.
rahnds [Thu, 9 Jan 1997 04:16:51 +0000 (04:16 +0000)]
Add the ablity to hide symbols on ELF/OLF objects.
This is a first cut at the symbol hiding process for ELF.
The current method will not work properly on mips.
It has been tested for powerpc and should work on alpha.
The problem with mips is due to the standard PIC compilation.

27 years agoadd support for ELF in crunch, for crunchgen this means
rahnds [Thu, 9 Jan 1997 04:09:40 +0000 (04:09 +0000)]
add support for ELF in crunch, for crunchgen this means
do not add a leading underscore to symbol names.
Indicated to crunchgen by a "-E" option.

27 years agominimal kernel to fit on kc boot floppy.
rahnds [Thu, 9 Jan 1997 03:55:06 +0000 (03:55 +0000)]
minimal kernel to fit on kc boot floppy.

27 years agoBooting OpenBSD not NetBSD.
rahnds [Thu, 9 Jan 1997 03:52:51 +0000 (03:52 +0000)]
Booting OpenBSD not NetBSD.
Change the print to reflect that.

27 years agoELF does not use the leading '_' on any port, not just MIPS.
rahnds [Thu, 9 Jan 1997 03:49:38 +0000 (03:49 +0000)]
ELF does not use the leading '_' on any port, not just MIPS.

27 years agoport is powerpc not, ppc.
rahnds [Thu, 9 Jan 1997 03:18:58 +0000 (03:18 +0000)]
port is powerpc not, ppc.
Make the defines so.

27 years agosupport resident page count.
rahnds [Thu, 9 Jan 1997 03:07:15 +0000 (03:07 +0000)]
support resident page count.
Attempt at least, pmap doesn't allow
for exact tracking.

27 years agoadding further support.
rahnds [Thu, 9 Jan 1997 03:03:44 +0000 (03:03 +0000)]
adding further support.

27 years agokernel is bsd not netbsd
rahnds [Thu, 9 Jan 1997 02:46:00 +0000 (02:46 +0000)]
kernel is bsd not netbsd

27 years agoIf config-file is not starting with /, consider it to be a
niklas [Wed, 8 Jan 1997 13:37:50 +0000 (13:37 +0000)]
If config-file is not starting with /, consider it to be a
relative path.

27 years ago"Too much paranoia" + fake domain in anonftp password as some stupid sites
niklas [Wed, 8 Jan 1997 13:19:11 +0000 (13:19 +0000)]
"Too much paranoia" + fake domain in anonftp password as some stupid sites
requires it to at least look sensible.

27 years agosvr4 should support the svr3 style fcntl-cmd name F_GETLK_SVR3
niklas [Wed, 8 Jan 1997 13:04:53 +0000 (13:04 +0000)]
svr4 should support the svr3 style fcntl-cmd name F_GETLK_SVR3

27 years agoInclude mk files specified in EXTRA_SYS_MK_FILES. Needed for the ports
niklas [Wed, 8 Jan 1997 07:35:04 +0000 (07:35 +0000)]
Include mk files specified in EXTRA_SYS_MK_FILES.  Needed for the ports
mechanism.  This was the least intrusive way we found to solve the problem
of getting ports' Makefiles have bsd.own.mk included.

27 years agonote elvis born
mickey [Wed, 8 Jan 1997 06:58:41 +0000 (06:58 +0000)]
note elvis born

27 years agobacked out prev. netbsd merge except for smaller proc table
kstailey [Tue, 7 Jan 1997 23:36:03 +0000 (23:36 +0000)]
backed out prev. netbsd merge except for smaller proc table

27 years agosome strlen(constant) -> sizeof(ditto) - 1, plus make ftp://host/path work
niklas [Tue, 7 Jan 1997 22:03:39 +0000 (22:03 +0000)]
some strlen(constant) -> sizeof(ditto) - 1, plus make ftp://host/path work

27 years agoReturn exit status != 0 if any transfers fail in the commandline
niklas [Tue, 7 Jan 1997 21:34:57 +0000 (21:34 +0000)]
Return exit status != 0 if any transfers fail in the commandline
specified file fetch mode.  Makes backup locations in the ports system work.

27 years agoAdd missing files from last commit (the one of 12-Dec- 1996) that prevented
imp [Tue, 7 Jan 1997 16:53:24 +0000 (16:53 +0000)]
Add missing files from last commit (the one of 12-Dec- 1996) that prevented
configuring of gdb on mips platforms.  Thanks to Thomas Graichen for
pointing out they were missing.

27 years agoDocument the exit values
niklas [Tue, 7 Jan 1997 15:57:48 +0000 (15:57 +0000)]
Document the exit values

27 years agoReturn a sane return value so the bsd.port.mk conditions work
niklas [Tue, 7 Jan 1997 15:38:58 +0000 (15:38 +0000)]
Return a sane return value so the bsd.port.mk conditions work

27 years agoDOH! Fixing big endian broke little..
niklas [Tue, 7 Jan 1997 10:09:00 +0000 (10:09 +0000)]
DOH! Fixing big endian broke little..

27 years agodon't use LDADD+=-ltermlib on the mips - because it causes problems
graichen [Tue, 7 Jan 1997 06:52:57 +0000 (06:52 +0000)]
don't use LDADD+=-ltermlib on the mips - because it causes problems
with the linker (weak symbols)

27 years agoadd elf2aout to the mips machines - i would like to keep both of them
graichen [Tue, 7 Jan 1997 06:51:50 +0000 (06:51 +0000)]
add elf2aout to the mips machines - i would like to keep both of them
on both (pmax and arc) - because this way it is easy to build kernels
for eachother

27 years agogetpagesize(2) -> getpagesize(3)
kstailey [Tue, 7 Jan 1997 06:15:21 +0000 (06:15 +0000)]
getpagesize(2) -> getpagesize(3)

27 years agoFix for final ptdi panic on i386
tholo [Tue, 7 Jan 1997 05:37:32 +0000 (05:37 +0000)]
Fix for final ptdi panic on i386

27 years agoAllow device names to be four characters (eg mcd0 or acd0). -moj
maja [Mon, 6 Jan 1997 18:50:50 +0000 (18:50 +0000)]
Allow device names to be four characters (eg mcd0 or acd0). -moj

27 years agoadd -r switch for onlcr translation
mickey [Mon, 6 Jan 1997 11:06:45 +0000 (11:06 +0000)]
add -r switch for onlcr translation

27 years agoFix these for big endian systems
niklas [Mon, 6 Jan 1997 00:18:22 +0000 (00:18 +0000)]
Fix these for big endian systems

27 years agoOpenBSD tags
tholo [Sun, 5 Jan 1997 22:18:05 +0000 (22:18 +0000)]
OpenBSD tags

27 years agomalloc(3) paper by phk; from FreeBSD
tholo [Sun, 5 Jan 1997 22:15:44 +0000 (22:15 +0000)]
malloc(3) paper by phk; from FreeBSD

27 years agoIntegrate latest malloc(3) from FreeBSD
tholo [Sun, 5 Jan 1997 22:12:48 +0000 (22:12 +0000)]
Integrate latest malloc(3) from FreeBSD

27 years agotypo, kleink@layla.inka.de
deraadt [Sun, 5 Jan 1997 22:12:17 +0000 (22:12 +0000)]
typo, kleink@layla.inka.de

27 years agomention rfc1938
millert [Sun, 5 Jan 1997 21:30:06 +0000 (21:30 +0000)]
mention rfc1938

27 years agoSignals are now blocked while ftpd runs with euid 0, as suggested by
bitblt [Sun, 5 Jan 1997 21:28:07 +0000 (21:28 +0000)]
Signals are now blocked while ftpd runs with euid 0, as suggested by
Weiste Venema.  If this triggers any problems (most likely with ABOR not
working at certain times) let me know.

27 years agominor tweaks; htonl() -> ntohl(); added SEE ALSO
kstailey [Sun, 5 Jan 1997 19:00:50 +0000 (19:00 +0000)]
minor tweaks; htonl() -> ntohl(); added SEE ALSO

27 years agoRemove lots of timer_state structs as they just ate memory and only a few was
niklas [Sun, 5 Jan 1997 11:08:58 +0000 (11:08 +0000)]
Remove lots of timer_state structs as they just ate memory and only a few was
ever used.  Now a single state is kept for net, tty and disk events resp.
Also, call the randomness from disk_unbusy instead of biodone, as biodone
gets a lot of virtual events (from virtual filesystems etc), and as a bonus:
feed xfer time and size into the entropy pool too.

27 years agothese pieces are done
deraadt [Sun, 5 Jan 1997 08:33:42 +0000 (08:33 +0000)]
these pieces are done

27 years agoHOSTCC; from rahnds
deraadt [Sun, 5 Jan 1997 08:17:31 +0000 (08:17 +0000)]
HOSTCC; from rahnds

27 years agoabsent pcmcia cards do not interrupt
deraadt [Sun, 5 Jan 1997 04:03:26 +0000 (04:03 +0000)]
absent pcmcia cards do not interrupt

27 years agoAdd cross back, as it at least compiles now
niklas [Sun, 5 Jan 1997 02:08:05 +0000 (02:08 +0000)]
Add cross back, as it at least compiles now

27 years agoFirst stab at making a VM-controlled bankswitching driver
niklas [Sun, 5 Jan 1997 02:04:33 +0000 (02:04 +0000)]
First stab at making a VM-controlled bankswitching driver
for the CrossLink driver

27 years agoadded D to getopt() string
kstailey [Sat, 4 Jan 1997 20:31:05 +0000 (20:31 +0000)]
added D to getopt() string

27 years agospec_advlock() via lf_advlock()
kstailey [Sat, 4 Jan 1997 17:10:03 +0000 (17:10 +0000)]
spec_advlock() via lf_advlock()

27 years agoVM_PAGE_INIT takes an offset as the 3rd arg, not a pointer
niklas [Sat, 4 Jan 1997 14:17:30 +0000 (14:17 +0000)]
VM_PAGE_INIT takes an offset as the 3rd arg, not a pointer

27 years agoAdd XXX comment about the delay port
niklas [Sat, 4 Jan 1997 14:14:55 +0000 (14:14 +0000)]
Add XXX comment about the delay port

27 years agoRemove extra blank line
niklas [Sat, 4 Jan 1997 14:05:50 +0000 (14:05 +0000)]
Remove extra blank line

27 years agoGo to Buslogic and SCSI
niklas [Sat, 4 Jan 1997 14:02:50 +0000 (14:02 +0000)]
Go to Buslogic and SCSI

27 years agoPrint warning when not recognizing the boot device.
niklas [Sat, 4 Jan 1997 12:59:49 +0000 (12:59 +0000)]
Print warning when not recognizing the boot device.
Also get the partition number from the BIOS when building bootdev.

27 years agobus.h not bus.old.h
niklas [Sat, 4 Jan 1997 12:49:24 +0000 (12:49 +0000)]
bus.h not bus.old.h

27 years agoTemporarily comment out cross as it is not compiling yet
niklas [Sat, 4 Jan 1997 12:47:11 +0000 (12:47 +0000)]
Temporarily comment out cross as it is not compiling yet

27 years agoI use IP-filtering at home now too
niklas [Sat, 4 Jan 1997 12:45:45 +0000 (12:45 +0000)]
I use IP-filtering at home now too

27 years agoUse fancy macros
niklas [Sat, 4 Jan 1997 12:40:31 +0000 (12:40 +0000)]
Use fancy macros

27 years agoAdd a TOC to a temporary lib so our make(1) will not always rebuild libgcc
niklas [Sat, 4 Jan 1997 12:28:18 +0000 (12:28 +0000)]
Add a TOC to a temporary lib so our make(1) will not always rebuild libgcc

27 years agoreaddisklabel() with correct dev_t
deraadt [Sat, 4 Jan 1997 08:50:20 +0000 (08:50 +0000)]
readdisklabel() with correct dev_t

27 years agoUse new options to locate.updatedb so we don't have to make the
millert [Sat, 4 Jan 1997 01:36:52 +0000 (01:36 +0000)]
Use new options to locate.updatedb so we don't have to make the
database owned by non-root at any time.

27 years agoCommand line args to updatedb. Also, a filename of "-" for the db
millert [Sat, 4 Jan 1997 01:36:01 +0000 (01:36 +0000)]
Command line args to updatedb.  Also, a filename of "-" for the db
means output to stdout.

27 years agoFix typo, too much perl on the brain.
millert [Sat, 4 Jan 1997 01:08:04 +0000 (01:08 +0000)]
Fix typo, too much perl on the brain.

27 years agolocate shell scripts now use mktemp(1) and weekly runs updatedb
millert [Fri, 3 Jan 1997 23:33:48 +0000 (23:33 +0000)]
locate shell scripts now use mktemp(1) and weekly runs updatedb
as bin not nobody to avoid NFS problems.

27 years agoNo point in ls'ing the template, it will never exist.
millert [Fri, 3 Jan 1997 22:51:26 +0000 (22:51 +0000)]
No point in ls'ing the template, it will never exist.

27 years agoBetter error on failure.
millert [Fri, 3 Jan 1997 22:49:22 +0000 (22:49 +0000)]
Better error on failure.