openbsd
28 years agoFix prototyping, so it's compiling again.
mickey [Thu, 18 Apr 1996 04:04:54 +0000 (04:04 +0000)]
Fix prototyping, so it's compiling again.

28 years agoFix prototyping, so it's compiling again.
mickey [Thu, 18 Apr 1996 03:57:59 +0000 (03:57 +0000)]
Fix prototyping, so it's compiling again.

28 years agoAdd /sys/ddb to be installed in /usr/include.
mickey [Thu, 18 Apr 1996 01:40:09 +0000 (01:40 +0000)]
Add /sys/ddb to be installed in /usr/include.

28 years ago/var/crash/bsd{,.core}, not netbsd.
dm [Wed, 17 Apr 1996 22:02:23 +0000 (22:02 +0000)]
/var/crash/bsd{,.core}, not netbsd.

28 years agoInitial commit of manual page.
mickey [Wed, 17 Apr 1996 21:40:12 +0000 (21:40 +0000)]
Initial commit of manual page.

28 years agoShouldn't visually encode execute commands, only file names.
dm [Wed, 17 Apr 1996 17:24:13 +0000 (17:24 +0000)]
Shouldn't visually encode execute commands, only file names.

28 years agoChanged DEFTAPE from rst0 to nrst0. It is only used by mt, and running
dm [Wed, 17 Apr 1996 17:05:49 +0000 (17:05 +0000)]
Changed DEFTAPE from rst0 to nrst0.  It is only used by mt, and running
mt on /dev/rst0 can be dangerous because you think it's repositioning the
tape when in fact it rewinds right after positioning.

28 years agoFrom NetBSD: Don't open tapes for writing when repositioning.
dm [Wed, 17 Apr 1996 17:01:46 +0000 (17:01 +0000)]
From NetBSD:  Don't open tapes for writing when repositioning.
That clobbers data!

28 years agouse sh, not $SHELL.. because the latter might be something like csh
deraadt [Wed, 17 Apr 1996 08:01:41 +0000 (08:01 +0000)]
use sh, not $SHELL.. because the latter might be something like csh

28 years agokerberos nfs requires an additional include
deraadt [Wed, 17 Apr 1996 07:32:02 +0000 (07:32 +0000)]
kerberos nfs requires an additional include

28 years agoMake setting up Kerberos accounts work again
tholo [Wed, 17 Apr 1996 07:23:33 +0000 (07:23 +0000)]
Make setting up Kerberos accounts work again

28 years agoMake setting of kerberos passwords work again
tholo [Wed, 17 Apr 1996 07:22:51 +0000 (07:22 +0000)]
Make setting of kerberos passwords work again

28 years agoMake encrypted remote logins work again
tholo [Wed, 17 Apr 1996 07:21:18 +0000 (07:21 +0000)]
Make encrypted remote logins work again

28 years agoMake encrypted kerberos remote shell work again. Note that this is not
tholo [Wed, 17 Apr 1996 07:20:01 +0000 (07:20 +0000)]
Make encrypted kerberos remote shell work again.  Note that this is not
a supported configuration, and no port number is defined for it.

28 years agoMake setting of Kerberos password work properly
tholo [Wed, 17 Apr 1996 07:17:30 +0000 (07:17 +0000)]
Make setting of Kerberos password work properly

28 years agoMake encrypted remote shell work again. Note that this is not a supported
tholo [Wed, 17 Apr 1996 07:16:43 +0000 (07:16 +0000)]
Make encrypted remote shell work again.  Note that this is not a supported
configuration, and no port number is defined for it.

28 years agoMake encrypted Kerberos logins work
tholo [Wed, 17 Apr 1996 07:15:17 +0000 (07:15 +0000)]
Make encrypted Kerberos logins work

28 years agosign-extending table extended.
mickey [Wed, 17 Apr 1996 05:29:35 +0000 (05:29 +0000)]
sign-extending table extended.

28 years agoGood fixes and changes from latest Net.
mickey [Wed, 17 Apr 1996 05:23:40 +0000 (05:23 +0000)]
Good fixes and changes from latest Net.

28 years agoCleanups & fixes from latest NetBSD primarily to run doscmd, etc.
mickey [Wed, 17 Apr 1996 05:18:48 +0000 (05:18 +0000)]
Cleanups & fixes from latest NetBSD primarily to run doscmd, etc.
GENERIC added to the compile/.cvsignore (it is used for 'make links'
for example), thus conf/GENERIC should appear magically ...

28 years agoRemoved vax ifdefed function from kern_subr.c (from NetBSD).
mickey [Wed, 17 Apr 1996 05:09:13 +0000 (05:09 +0000)]
Removed vax ifdefed function from kern_subr.c (from NetBSD).
Do sync in the order of umount (vfs_syscals.c), as it was pointed
by someone in NetBSD's lists.

28 years agoAdd MD5 routines to be used by anyone in the kernel.
mickey [Wed, 17 Apr 1996 05:03:07 +0000 (05:03 +0000)]
Add MD5 routines to be used by anyone in the kernel.
Moved from dev/rnd.c

28 years agoUpdate w/ the fact of MD5 presence in the libkern.a
mickey [Wed, 17 Apr 1996 04:59:48 +0000 (04:59 +0000)]
Update w/ the fact of MD5 presence in the libkern.a

28 years agoAdd prototypes for MD5 routines.
mickey [Wed, 17 Apr 1996 04:58:36 +0000 (04:58 +0000)]
Add prototypes for MD5 routines.

28 years agoMinor cleanups. Checked against Lite2.
mickey [Wed, 17 Apr 1996 04:50:21 +0000 (04:50 +0000)]
Minor cleanups. Checked against Lite2.
(NetBSD's was really just a Lite2's, but w/ 64bit support)

28 years agofix a bug w/ fd/tty file (from netbsd).
mickey [Wed, 17 Apr 1996 04:46:59 +0000 (04:46 +0000)]
fix a bug w/ fd/tty file (from netbsd).

28 years agofixed compilation errors--but NQNFS may not work with new NFS code
dm [Wed, 3 Apr 1996 14:13:05 +0000 (14:13 +0000)]
fixed compilation errors--but NQNFS may not work with new NFS code

28 years agoPull in <bsd.own.mk> to get the SKEY/KERBEROS/KERBEROS5 definitions
tholo [Wed, 3 Apr 1996 05:44:45 +0000 (05:44 +0000)]
Pull in <bsd.own.mk> to get the SKEY/KERBEROS/KERBEROS5 definitions

28 years agoAdd an somehow lost file from the FSF 2.7.2 distr
niklas [Tue, 2 Apr 1996 20:31:07 +0000 (20:31 +0000)]
Add an somehow lost file from the FSF 2.7.2 distr

28 years agogram.y must be built before client.c.
etheisen [Sun, 31 Mar 1996 18:45:35 +0000 (18:45 +0000)]
gram.y must be built before client.c.

28 years agoFrom NetBSD: NFSv3 import (tomorrow's Net's kernel)
mickey [Sun, 31 Mar 1996 13:15:23 +0000 (13:15 +0000)]
From NetBSD: NFSv3 import (tomorrow's Net's kernel)
Open's patches kept in. i'll possibly take a look at Lite2 soon,
is there smth usefull ?..

28 years agoFix 960317 NetBSD merge error. Merge caused local OpenBSD mod lossage.
etheisen [Sun, 31 Mar 1996 04:56:00 +0000 (04:56 +0000)]
Fix 960317 NetBSD merge error.  Merge caused local OpenBSD mod lossage.

NetBSD's byacc %expect mods are buggy and don't handle syntax or semantic
errors.  Additionally, they do not mimic the BISON behavior they try to
emulate.  Our local OpenBSD %expect mods are much better.

28 years agoFrom NetBSD: merge of 960317
niklas [Sat, 30 Mar 1996 22:18:06 +0000 (22:18 +0000)]
From NetBSD: merge of 960317

28 years agoFrom NetBSD: merge of 960317
niklas [Sat, 30 Mar 1996 15:29:23 +0000 (15:29 +0000)]
From NetBSD: merge of 960317

28 years agoFrom NetBSD:
niklas [Sat, 30 Mar 1996 14:54:11 +0000 (14:54 +0000)]
From NetBSD:
Added support for m68060 (activate with -m68060).  This change has
already been accepted and integrated into the FSF source tree.

28 years agoFrom NetBSD:
niklas [Sat, 30 Mar 1996 14:30:28 +0000 (14:30 +0000)]
From NetBSD:
Remove the DBX_NO_XREFS definition from the NetBSD m68k, ns32k, and
sparc gcc configuration.  It isn't needed, as NetBSD uses gdb.

28 years agoFrom NetBSD:
niklas [Sat, 30 Mar 1996 14:25:42 +0000 (14:25 +0000)]
From NetBSD:
Patch from J"orn Rennecke that fixes code generation bugs with long
long comparisons.  As of this date, this change hasn't made it into
the development sources.  We must consider this when it comes time
to integrate a newer gcc release.

Thu Mar  7 01:16:23 1996  J"orn Rennecke (amylaar@meolyon.hanse.de)

* expmed.c (negate_rtx): Don't negate LONG_MIN if mode is wider
than HOST_WIDE_INT.

gcc now produces worse code for this test case than gcc 2.5.8 when
invoked with -O , but it will optimize as good as gcc 2.5.8 (i.e. all
comparisons vanish) when invoked with -O2 , thus I think it doesn't
matter.  If anyone is interested in looking into this, the code in
expr.c, function expand_expr, case MINUS_EXPR, if-clause for if
(TREE_UNSIGNED (type) || TREE_OVERFLOW (negated)), will refuse to
convert the subtraction into an addition if there is an overflow in
the conversion or negation of the constant.  If both host and target
machine are binary computers with 2-complement representation, the
overflow should not matter.

28 years agoSubstantially improve random number generation by using the largest prime
tholo [Sat, 30 Mar 1996 10:01:47 +0000 (10:01 +0000)]
Substantially improve random number generation by using the largest prime
that fits inside 32 bits as the denominator; take care not to overflow.
Regenerate initial seed after replacing the generator

28 years agofdeject not eject. Net/OpenBSD tracking error.
etheisen [Sat, 30 Mar 1996 08:29:08 +0000 (08:29 +0000)]
fdeject not eject. Net/OpenBSD tracking error.

28 years agoDDB support added.
mickey [Sat, 30 Mar 1996 04:53:15 +0000 (04:53 +0000)]
DDB support added.

28 years agoAdded: sysctl access to the ddb variables.
mickey [Sat, 30 Mar 1996 04:51:25 +0000 (04:51 +0000)]
Added: sysctl access to the ddb variables.
Fixed: "netbsd" strings in sym table handling routines.
now it is usefull to change max_{width,line} according
to your real console geometry, just w/ sysctl program.

28 years agoAdd $OpenBSD$, fix comments.
mickey [Sat, 30 Mar 1996 02:03:43 +0000 (02:03 +0000)]
Add $OpenBSD$, fix comments.

28 years agoBug w/ rename fixed.
mickey [Sat, 30 Mar 1996 01:40:48 +0000 (01:40 +0000)]
Bug w/ rename fixed.
Strange thing still present w/ removes, the situation
seemd to be like extra VREF made somewhere, that is,
lower nfs does not remove, but rename file in '.nfs*' thing that
disapears at umap umount. this thing happend w/ nullfs too.

28 years agolost change from vnode_if.[hc] evolution.
mickey [Fri, 29 Mar 1996 19:06:46 +0000 (19:06 +0000)]
lost change from vnode_if.[hc] evolution.
"vnode_if.h" must be <sys/vnode_if.h>

28 years agoInitial commit of random data source devices' manual.
mickey [Fri, 29 Mar 1996 13:42:59 +0000 (13:42 +0000)]
Initial commit of random data source devices' manual.

28 years agoInitial commit of rnd devices' manual.
mickey [Fri, 29 Mar 1996 13:29:32 +0000 (13:29 +0000)]
Initial commit of rnd devices' manual.

28 years agoThe random data source driver itself.
mickey [Fri, 29 Mar 1996 12:09:55 +0000 (12:09 +0000)]
The random data source driver itself.
Initial commit.

28 years agoInitial commit of random source driver.
mickey [Fri, 29 Mar 1996 12:05:34 +0000 (12:05 +0000)]
Initial commit of random source driver.

28 years agoFrom NetBSD: merge of 960317
niklas [Fri, 29 Mar 1996 10:16:00 +0000 (10:16 +0000)]
From NetBSD: merge of 960317

28 years agoFrom NetBSD: merge of 960317
niklas [Thu, 28 Mar 1996 23:21:51 +0000 (23:21 +0000)]
From NetBSD: merge of 960317

28 years agoFrom NetBSD: merge of 960317
niklas [Thu, 28 Mar 1996 21:48:12 +0000 (21:48 +0000)]
From NetBSD: merge of 960317

28 years agoFrom NetBSD: merge of 960317
niklas [Thu, 28 Mar 1996 18:24:33 +0000 (18:24 +0000)]
From NetBSD: merge of 960317

28 years agoFrom NetBSD: Use tr instead of caesar to generate fortunes-o
niklas [Thu, 28 Mar 1996 13:51:06 +0000 (13:51 +0000)]
From NetBSD: Use tr instead of caesar to generate fortunes-o

28 years agoMoved GNU spec stuff into Makefile.bsd-wrapper1 using PREREQ variable.
etheisen [Thu, 28 Mar 1996 07:31:07 +0000 (07:31 +0000)]
Moved GNU spec stuff into Makefile.bsd-wrapper1 using PREREQ variable.
This makes full BSD build support a reality for libiberty.  make obj
tags depends now works.  General cleanup and commenting.

28 years agoMisc. cleanup, esp. for obj-dirs, DESTDIR compilations and missing
niklas [Wed, 27 Mar 1996 23:00:01 +0000 (23:00 +0000)]
Misc. cleanup, esp. for obj-dirs, DESTDIR compilations and missing
dependencies.

28 years agoFrom NetBSD: merge of 960317
niklas [Wed, 27 Mar 1996 19:32:19 +0000 (19:32 +0000)]
From NetBSD: merge of 960317

28 years agoRevert last change which lost the functionality introduced in rev 1.4
niklas [Tue, 26 Mar 1996 22:50:34 +0000 (22:50 +0000)]
Revert last change which lost the functionality introduced in rev 1.4

28 years agoSomehow happened to coexist two versions of this in the same file.
mickey [Tue, 26 Mar 1996 15:38:45 +0000 (15:38 +0000)]
Somehow happened to coexist two versions of this in the same file.
fixed, older removed.

28 years agoFrom NetBSD: vnode_if.[ch] made machine independent.
mickey [Tue, 26 Mar 1996 15:09:28 +0000 (15:09 +0000)]
From NetBSD: vnode_if.[ch] made machine independent.
very usefull (for <sys/vnode.h> inclusion).
from the other side this is really machine independent ...
tested w/ i386, but should not cause errors w/ other arch's.
pls, test it (don't forget to reconfig kernel ;)

28 years agoMake "make obj" work, make builds to obj directories work. Don't put
niklas [Tue, 26 Mar 1996 00:27:38 +0000 (00:27 +0000)]
Make "make obj" work, make builds to obj directories work.  Don't put
object files in SRCS variables, add them to OBJS instead.  Also
explicitly mention -lg++ because g++ won't use the -L path for getting
libg++ unless done via the command line.

28 years agoFixup /usr/include/g++ hierarchy specification
niklas [Mon, 25 Mar 1996 23:59:13 +0000 (23:59 +0000)]
Fixup /usr/include/g++ hierarchy specification

28 years agoAdd support for building lint(1) library
tholo [Mon, 25 Mar 1996 23:31:14 +0000 (23:31 +0000)]
Add support for building lint(1) library

28 years agoMake a proper lvalue in INC
tholo [Mon, 25 Mar 1996 23:12:10 +0000 (23:12 +0000)]
Make a proper lvalue in INC

28 years agoAdd const qualifier to match prototype
tholo [Mon, 25 Mar 1996 23:10:34 +0000 (23:10 +0000)]
Add const qualifier to match prototype

28 years agoProtect use of long long with /* LONGLONG */
tholo [Mon, 25 Mar 1996 23:05:29 +0000 (23:05 +0000)]
Protect use of long long with /* LONGLONG */

28 years agoUse __asm, not asm
tholo [Mon, 25 Mar 1996 22:57:38 +0000 (22:57 +0000)]
Use __asm, not asm

28 years agoPrototype __syscall() correctly
tholo [Mon, 25 Mar 1996 22:52:20 +0000 (22:52 +0000)]
Prototype __syscall() correctly

28 years agoCannot do operations on a void pointer
tholo [Mon, 25 Mar 1996 22:34:43 +0000 (22:34 +0000)]
Cannot do operations on a void pointer

28 years agoUpdate prototypes to match declarations
tholo [Mon, 25 Mar 1996 22:31:44 +0000 (22:31 +0000)]
Update prototypes to match declarations
Remove unused variables
Install all man-page links

28 years agoAdd prototypes for internal functions
tholo [Mon, 25 Mar 1996 22:16:37 +0000 (22:16 +0000)]
Add prototypes for internal functions
Change inline to __inline

28 years agoProtect internal mcount symbol from lint(1)
tholo [Mon, 25 Mar 1996 22:11:05 +0000 (22:11 +0000)]
Protect internal mcount symbol from lint(1)
Use __asm, not asm

28 years agoPull in prototypes
tholo [Mon, 25 Mar 1996 22:06:52 +0000 (22:06 +0000)]
Pull in prototypes
Do the right thing in presense of __STDC__

28 years agoPull in more prototypes
tholo [Mon, 25 Mar 1996 21:58:38 +0000 (21:58 +0000)]
Pull in more prototypes

28 years agoPull prototypes into scope
tholo [Mon, 25 Mar 1996 21:54:35 +0000 (21:54 +0000)]
Pull prototypes into scope
Remove graticious casts

28 years agoPrototype internal functions
tholo [Mon, 25 Mar 1996 21:39:14 +0000 (21:39 +0000)]
Prototype internal functions
Do the right thing in presense of __STDC__

28 years agoinitgroups(3) 2nd argument should be gid_t
tholo [Mon, 25 Mar 1996 21:33:17 +0000 (21:33 +0000)]
initgroups(3) 2nd argument should be gid_t

28 years agoCast negative args to their unsigned type
tholo [Mon, 25 Mar 1996 21:28:35 +0000 (21:28 +0000)]
Cast negative args to their unsigned type

28 years agoUse correct prototype in the presense of __STDC__
tholo [Mon, 25 Mar 1996 21:23:56 +0000 (21:23 +0000)]
Use correct prototype in the presense of __STDC__

28 years agoAdd prototypes for internal functions
tholo [Mon, 25 Mar 1996 21:22:10 +0000 (21:22 +0000)]
Add prototypes for internal functions

28 years agoMinor cleanup
tholo [Mon, 25 Mar 1996 21:19:50 +0000 (21:19 +0000)]
Minor cleanup

28 years agoAdd prototypes for local functions, add const qualifiers where needed
tholo [Mon, 25 Mar 1996 21:17:36 +0000 (21:17 +0000)]
Add prototypes for local functions, add const qualifiers where needed

28 years agoChanged according to the kernel.
mickey [Mon, 25 Mar 1996 18:12:21 +0000 (18:12 +0000)]
Changed according to the kernel.

28 years agoFixed bug while copying args in mount that may cause a crash.
mickey [Mon, 25 Mar 1996 18:02:55 +0000 (18:02 +0000)]
Fixed bug while copying args in mount that may cause a crash.
Types changes and so.

28 years agoFrom NetBSD: merge of 960317
niklas [Mon, 25 Mar 1996 15:54:43 +0000 (15:54 +0000)]
From NetBSD: merge of 960317

28 years agoSomewhat better support for building lint library
tholo [Mon, 25 Mar 1996 07:13:00 +0000 (07:13 +0000)]
Somewhat better support for building lint library

28 years agoMove thread prototypes back to <sys/proc.h>
tholo [Sun, 24 Mar 1996 18:07:57 +0000 (18:07 +0000)]
Move thread prototypes back to <sys/proc.h>
Duplicate boolean_t definition in <sys/types.h>, protected by _KERNEL
Only use boolean_t definition in <vm/vm_param.h> when not _KERNEL
Mark latter two with XXX

28 years agoMove thread prototypes to <vm/vm_param.h> for consistency XXX
tholo [Sun, 24 Mar 1996 17:40:44 +0000 (17:40 +0000)]
Move thread prototypes to <vm/vm_param.h> for consistency   XXX

28 years agoThe delay functions takes unsigned arguments.
niklas [Sun, 24 Mar 1996 17:31:36 +0000 (17:31 +0000)]
The delay functions takes unsigned  arguments.

28 years agoActually make CLKF_BASEPRI do what it's supposed to do.
niklas [Sun, 24 Mar 1996 17:28:35 +0000 (17:28 +0000)]
Actually make CLKF_BASEPRI do what it's supposed to do.

28 years agoUse IPL_ constants instead of numeric values. Get rid of sicallbacks
niklas [Sun, 24 Mar 1996 17:26:22 +0000 (17:26 +0000)]
Use IPL_ constants instead of numeric values.  Get rid of sicallbacks
in favour of the remapped IPL facility.  Some argument type fixes as
well.

28 years agoPrefix "long long" with "/* LONGLONG */" to shut up lint(1)
tholo [Sun, 24 Mar 1996 17:07:32 +0000 (17:07 +0000)]
Prefix "long long" with "/* LONGLONG */" to shut up lint(1)

28 years agoiprint is used without DEBUG too
tholo [Sun, 24 Mar 1996 17:05:35 +0000 (17:05 +0000)]
iprint is used without DEBUG too

28 years agoAdd kern/kern_thread.c
tholo [Sun, 24 Mar 1996 17:02:43 +0000 (17:02 +0000)]
Add kern/kern_thread.c

28 years agoAdd prototype for mincore(2)
tholo [Sun, 24 Mar 1996 17:01:33 +0000 (17:01 +0000)]
Add prototype for mincore(2)

28 years agoOur lint(1) understands __const, __inline, __signed and __volatile
tholo [Sun, 24 Mar 1996 17:00:37 +0000 (17:00 +0000)]
Our lint(1) understands __const, __inline, __signed and __volatile

28 years agoPrefix usage of "long long" with a "/* LONGLONG */" comment to shut up
tholo [Sun, 24 Mar 1996 16:53:36 +0000 (16:53 +0000)]
Prefix usage of "long long" with a "/* LONGLONG */" comment to shut up
lint(1) about it

28 years agoUse __asm in place of asm
tholo [Sun, 24 Mar 1996 16:52:31 +0000 (16:52 +0000)]
Use __asm in place of asm

28 years agoProvide empty __warn_references() when we are not running GCC
tholo [Sun, 24 Mar 1996 16:51:43 +0000 (16:51 +0000)]
Provide empty __warn_references() when we are not running GCC

28 years agoUGLY, UGLY hack to force config create a pcmciabus.h file which is
niklas [Sun, 24 Mar 1996 16:50:15 +0000 (16:50 +0000)]
UGLY, UGLY hack to force config create a pcmciabus.h file which is
needed as there are multiattachable ISA devices that need it to exist.

28 years agoDo not define __indr_reference when running lint(1)
tholo [Sun, 24 Mar 1996 16:46:38 +0000 (16:46 +0000)]
Do not define __indr_reference when running lint(1)