openbsd
27 years agoFrom NetBSD: Warn about potentially unsafe uid/gid overrides.
millert [Thu, 16 Jan 1997 03:58:23 +0000 (03:58 +0000)]
From NetBSD: Warn about potentially unsafe uid/gid overrides.

27 years agoSupport VM_PSSTRINGS. Man, this has been sitting in my tree for a while...
millert [Thu, 16 Jan 1997 03:57:31 +0000 (03:57 +0000)]
Support VM_PSSTRINGS.  Man, this has been sitting in my tree for a while...

27 years agogetopt(3) returns an int, not char.
millert [Thu, 16 Jan 1997 00:35:52 +0000 (00:35 +0000)]
getopt(3) returns an int, not char.

27 years agogetopt(3) returns -1 when out of args, not EOF, whee!
millert [Wed, 15 Jan 1997 23:40:20 +0000 (23:40 +0000)]
getopt(3) returns -1 when out of args, not EOF, whee!

27 years agosync with NetBSD 970112 -moj
maja [Wed, 15 Jan 1997 23:24:12 +0000 (23:24 +0000)]
sync with NetBSD 970112 -moj

27 years agoadd prototype of reboot2() via machdep.h
kstailey [Wed, 15 Jan 1997 23:00:00 +0000 (23:00 +0000)]
add prototype of reboot2() via machdep.h

27 years agomoved init of ret in randomioctl() to better location
kstailey [Wed, 15 Jan 1997 22:33:53 +0000 (22:33 +0000)]
moved init of ret in randomioctl() to better location

27 years agoFrom NetBSD: make testdb() fail if database version string has length zero.
millert [Wed, 15 Jan 1997 22:08:15 +0000 (22:08 +0000)]
From NetBSD: make testdb() fail if database version string has length zero.
Also, KNF, b* -> mem*, getopt tests against -1, not EOF, and index -> strchr.
Added OpenBSD tags.

27 years agoWell, actually this seemed to be a bug in generic code, that
rahnds [Wed, 15 Jan 1997 15:22:13 +0000 (15:22 +0000)]
Well, actually this seemed to be a bug in generic code, that
was being exercised. running with a 8k fs blk size and 4 k page
size was a problem. Now running with fs blk size == page size works
much better. The fix checked in a week or to back probably would fix
this too.

27 years agoadded prototypes, made some functions static, removed unused variables
kstailey [Wed, 15 Jan 1997 07:09:29 +0000 (07:09 +0000)]
added prototypes, made some functions static, removed unused variables
now compiles with -Werror -Wall -Wstrict-prototypes

27 years agoadd IPXIP option commented out, explanation.
mickey [Wed, 15 Jan 1997 07:06:12 +0000 (07:06 +0000)]
add IPXIP option commented out, explanation.

27 years agoextra braces to prevent warning about missing braces
kstailey [Wed, 15 Jan 1997 07:00:19 +0000 (07:00 +0000)]
extra braces to prevent warning about missing braces

27 years agosc_link.adapter_buswidth, set to 16 if wide scsi. if 0 it gets converted
deraadt [Wed, 15 Jan 1997 05:50:27 +0000 (05:50 +0000)]
sc_link.adapter_buswidth, set to 16 if wide scsi. if 0 it gets converted
to 8 internally so that drivers do not need to init it for regular scsi :-)

27 years agomore missing prototypes and other warnings fixed
kstailey [Wed, 15 Jan 1997 05:35:46 +0000 (05:35 +0000)]
more missing prototypes and other warnings fixed

27 years agoMinor formatting tweak from NetBSD (perry) + OpenBSD tags.
millert [Wed, 15 Jan 1997 05:27:55 +0000 (05:27 +0000)]
Minor formatting tweak from NetBSD (perry) + OpenBSD tags.

27 years agoDon't need this, /sys/compat/m68k4k works better.
downsj [Wed, 15 Jan 1997 04:54:45 +0000 (04:54 +0000)]
Don't need this, /sys/compat/m68k4k works better.

OpenBSD/hp300 is now 8k!

27 years agoprevent -Wall warning:
kstailey [Wed, 15 Jan 1997 03:52:27 +0000 (03:52 +0000)]
prevent -Wall warning:
nfs_vfsops.c:456: warning: `adjsock' might be used uninitialized in this function

27 years agoprevent warning:
kstailey [Wed, 15 Jan 1997 03:27:14 +0000 (03:27 +0000)]
prevent warning:
in_pcb.c:182: warning: `old' might be used uninitialized in this function

27 years agoprevent warning:
kstailey [Wed, 15 Jan 1997 03:19:24 +0000 (03:19 +0000)]
prevent warning:
ppp_tty.c:790: warning: `s' might be used uninitialized in this function

27 years agofixed warning:
kstailey [Wed, 15 Jan 1997 03:06:28 +0000 (03:06 +0000)]
fixed warning:
kernfs_vnops.c:305: warning: long unsigned int format, u_int arg (arg 3)

27 years ago8k
downsj [Wed, 15 Jan 1997 02:55:29 +0000 (02:55 +0000)]
8k

27 years agoprevent this warning:
kstailey [Wed, 15 Jan 1997 02:03:53 +0000 (02:03 +0000)]
prevent this warning:
rnd.c:823: warning: `ret' might be used uninitialized in this function
when compiling with -Wall

27 years agoadded prototypes
kstailey [Wed, 15 Jan 1997 00:41:55 +0000 (00:41 +0000)]
added prototypes

27 years agoAdd DESTDIR support for crt{begin,end}.o (powerpc only so far)
niklas [Wed, 15 Jan 1997 00:36:56 +0000 (00:36 +0000)]
Add DESTDIR support for crt{begin,end}.o (powerpc only so far)

27 years agoClarification. From NetBSD.
millert [Wed, 15 Jan 1997 00:01:22 +0000 (00:01 +0000)]
Clarification.  From NetBSD.

27 years agoRemove locc. -moj
maja [Tue, 14 Jan 1997 14:45:42 +0000 (14:45 +0000)]
Remove locc. -moj

27 years agohack: if we're M68K, also allow us to strip M68K4K. Works for me.
downsj [Tue, 14 Jan 1997 10:33:00 +0000 (10:33 +0000)]
hack: if we're M68K, also allow us to strip M68K4K.  Works for me.

27 years agoUse <fcntl.h>, not <sys/file.h>. Approved by Bob Corbett.
tholo [Tue, 14 Jan 1997 04:47:08 +0000 (04:47 +0000)]
Use <fcntl.h>, not <sys/file.h>.  Approved by Bob Corbett.

27 years agoUpdate to tzdata1996n
millert [Tue, 14 Jan 1997 04:36:47 +0000 (04:36 +0000)]
Update to tzdata1996n

27 years agoUpdate to tzcode1996o + our fixes. Fixes problem pointed out
millert [Tue, 14 Jan 1997 03:16:42 +0000 (03:16 +0000)]
Update to tzcode1996o + our fixes.  Fixes problem pointed out
by cross@va.pubnix.com.

27 years agoDebugger() is needed by KGDB not just DDB
kstailey [Tue, 14 Jan 1997 02:25:20 +0000 (02:25 +0000)]
Debugger() is needed by KGDB not just DDB

27 years agoBe extra careful when chdir'ing to subdirs.
millert [Tue, 14 Jan 1997 01:02:42 +0000 (01:02 +0000)]
Be extra careful when chdir'ing to subdirs.

27 years agoRAW_PART
deraadt [Tue, 14 Jan 1997 00:46:42 +0000 (00:46 +0000)]
RAW_PART

27 years agopreliminary support for the Apollo 060 accelerator
niklas [Mon, 13 Jan 1997 23:38:27 +0000 (23:38 +0000)]
preliminary support for the Apollo 060 accelerator
Thanks a lot, Michael van Elst <mlelstv@serpens.swb.de>

27 years agoAdd a commented out option NSIP with explanation
niklas [Mon, 13 Jan 1997 23:32:16 +0000 (23:32 +0000)]
Add a commented out option NSIP with explanation

27 years agoreformatted ala KNF
kstailey [Mon, 13 Jan 1997 21:28:24 +0000 (21:28 +0000)]
reformatted ala KNF

27 years agoegid for open; spotted by oliver@secnet.com
deraadt [Mon, 13 Jan 1997 21:23:35 +0000 (21:23 +0000)]
egid for open; spotted by oliver@secnet.com

27 years agotalk about inetd; kleink@layla.inka.de
deraadt [Mon, 13 Jan 1997 20:54:25 +0000 (20:54 +0000)]
talk about inetd; kleink@layla.inka.de

27 years agocorrect; kleink@layla.inka.de
deraadt [Mon, 13 Jan 1997 20:45:28 +0000 (20:45 +0000)]
correct; kleink@layla.inka.de

27 years agodoc "more" command; jdc@orthanc.ncl.ac.uk
deraadt [Mon, 13 Jan 1997 20:36:23 +0000 (20:36 +0000)]
doc "more" command; jdc@orthanc.ncl.ac.uk

27 years agofix DIO-II mappings, NetBSD PR#3097.
downsj [Mon, 13 Jan 1997 18:03:53 +0000 (18:03 +0000)]
fix DIO-II mappings, NetBSD PR#3097.

27 years agoImportant change to the installation notes.
rahnds [Mon, 13 Jan 1997 17:54:31 +0000 (17:54 +0000)]
Important change to the installation notes.
pax must be used with the "-pe" option to keep
file ownership, group and permissions (eg suid) on the extracted file.

27 years agoSync to 970110 NetBSD
niklas [Mon, 13 Jan 1997 11:51:02 +0000 (11:51 +0000)]
Sync to 970110 NetBSD

27 years agodon't build the stand dir for now
graichen [Mon, 13 Jan 1997 11:43:41 +0000 (11:43 +0000)]
don't build the stand dir for now

27 years agouse the cpu_exec from the arc
graichen [Mon, 13 Jan 1997 11:42:47 +0000 (11:42 +0000)]
use the cpu_exec from the arc

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