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

28 years agoStyle police
niklas [Sun, 24 Mar 1996 16:13:34 +0000 (16:13 +0000)]
Style police

28 years agoFrom NetBSD: Add clobbers missing in asm statements
niklas [Sun, 24 Mar 1996 15:59:41 +0000 (15:59 +0000)]
From NetBSD: Add clobbers missing in asm statements

28 years agoMoved boolean_t back to vm_param.h; not protected by _KERNEL. It needs to
tholo [Sat, 23 Mar 1996 19:13:11 +0000 (19:13 +0000)]
Moved boolean_t back to vm_param.h; not protected by _KERNEL.  It needs to
be available to userland (libc, libkvm, others), but will break software if
defined in <sys/types.h>.

28 years agoUse __inline, not inline
tholo [Sat, 23 Mar 1996 18:30:11 +0000 (18:30 +0000)]
Use __inline, not inline

28 years agoFix previous changes; accept and forward a device name, do not just use
tholo [Fri, 22 Mar 1996 18:29:50 +0000 (18:29 +0000)]
Fix previous changes; accept and forward a device name, do not just use
a generic name "pci" for interrupt statistics

28 years agoFix previous changes; we actually take a device name too so as to avoid
tholo [Fri, 22 Mar 1996 18:27:25 +0000 (18:27 +0000)]
Fix previous changes; we actually take a device name too so as to avoid
having just non-descript "pci" devices show up in interrupt stats

28 years agosethostid() actually do return a value
tholo [Fri, 22 Mar 1996 07:38:15 +0000 (07:38 +0000)]
sethostid() actually do return a value

28 years agosethostid() is documented and has historically returned int, not long
tholo [Fri, 22 Mar 1996 07:37:29 +0000 (07:37 +0000)]
sethostid() is documented and has historically returned int, not long

28 years agoFrom NetBSD: Merge of 960317
niklas [Thu, 21 Mar 1996 00:15:18 +0000 (00:15 +0000)]
From NetBSD: Merge of 960317

28 years agoFrom NetBSD: eliminate setjmp.h
niklas [Thu, 21 Mar 1996 00:12:55 +0000 (00:12 +0000)]
From NetBSD: eliminate setjmp.h

28 years agoFrom NetBSD: eliminate setjmp.h
niklas [Thu, 21 Mar 1996 00:07:42 +0000 (00:07 +0000)]
From NetBSD: eliminate setjmp.h

28 years agoFrom NetBSD: Remove ns_cksum.c (now in sys/conf/files)
niklas [Thu, 21 Mar 1996 00:04:55 +0000 (00:04 +0000)]
From NetBSD: Remove ns_cksum.c (now in sys/conf/files)

28 years agoWe moved away from NetBSD+OpenBSD long ago; / really does live
hvozda [Wed, 20 Mar 1996 19:49:09 +0000 (19:49 +0000)]
We moved away from NetBSD+OpenBSD long ago; / really does live
on wd0a finally.  Also we swap to files when we are really beating
the machine.

28 years agoFix back wrong patches.
mickey [Wed, 20 Mar 1996 01:00:35 +0000 (01:00 +0000)]
Fix back wrong patches.

28 years agoFix back wrong patches.
mickey [Wed, 20 Mar 1996 00:43:58 +0000 (00:43 +0000)]
Fix back wrong patches.

28 years agoFix back wrong patches.
mickey [Wed, 20 Mar 1996 00:31:00 +0000 (00:31 +0000)]
Fix back wrong patches.

28 years agoFix RCS Id botch in last change
niklas [Tue, 19 Mar 1996 23:26:49 +0000 (23:26 +0000)]
Fix RCS Id botch in last change

28 years agoFrom NetBSD: merge of 960317
niklas [Tue, 19 Mar 1996 23:14:49 +0000 (23:14 +0000)]
From NetBSD: merge of 960317

28 years agoMerging w/ NetBSD 021796.
mickey [Tue, 19 Mar 1996 21:09:06 +0000 (21:09 +0000)]
Merging w/ NetBSD 021796.
speaker upgraded to the current.
some changes to the VM stuff (ie kern_thread.c added and so).

28 years agoMissed from last import.
mickey [Tue, 19 Mar 1996 16:30:10 +0000 (16:30 +0000)]
Missed from last import.

28 years agoSIOCAIFCONF -> SIOCAIFADDR
niklas [Tue, 19 Mar 1996 11:03:33 +0000 (11:03 +0000)]
SIOCAIFCONF -> SIOCAIFADDR

28 years agoFrom NetBSD: Add prototype for sigaltstack; from John Kohl in PR #2129
niklas [Mon, 18 Mar 1996 19:15:53 +0000 (19:15 +0000)]
From NetBSD: Add prototype for sigaltstack; from John Kohl in PR #2129

28 years agoFrom NetBSD: a a => a (close pr 2204 by Simon Burge <simonb@telstra.com.au>).
niklas [Mon, 18 Mar 1996 08:43:29 +0000 (08:43 +0000)]
From NetBSD: a a  => a  (close pr 2204 by Simon Burge <simonb@telstra.com.au>).

28 years agoLink in libstdc++ now that libg++ 2.7.1 is in the tree.
etheisen [Sat, 16 Mar 1996 07:00:18 +0000 (07:00 +0000)]
Link in libstdc++ now that libg++ 2.7.1 is in the tree.

28 years agoWorkaround for testing of Makefile.bsd-wrapper encountered while porting
etheisen [Sat, 16 Mar 1996 05:32:40 +0000 (05:32 +0000)]
Workaround for testing of Makefile.bsd-wrapper encountered while porting
libg++.

28 years agoAllow native BSD build of libg++ 2.7.1. This is a complete replacement of
etheisen [Sat, 16 Mar 1996 05:18:41 +0000 (05:18 +0000)]
Allow native BSD build of libg++ 2.7.1.  This is a complete replacement of
the GNU build procedure, not a wrapper.  Generates standard, profiled,
shared object, and shared library versions of libiberty, libstdc++, and
libg++.  libiberty version 0.0, libstdc++ version 27.1, and libg++ version
27.1.  Requires modification of bsd.subdir.mk pmake include.  Targets
linked with the shared libraries libstdc++ and libg++ will, by default,
automatically be run time linked with libm and libcurses.

28 years agoAllow standard GNU build with openbsd.
etheisen [Sat, 16 Mar 1996 04:20:13 +0000 (04:20 +0000)]
Allow standard GNU build with openbsd.

28 years agoReinstate dead COPYING for libg++ 2.7.1
niklas [Fri, 15 Mar 1996 22:45:54 +0000 (22:45 +0000)]
Reinstate dead COPYING for libg++ 2.7.1

28 years agoImport of GNU libg++ 2.7.1 port (prepared by Erik Theisen)
niklas [Fri, 15 Mar 1996 22:17:26 +0000 (22:17 +0000)]
Import of GNU libg++ 2.7.1 port (prepared by Erik Theisen)

28 years agoFix bogosity in import of Lite2 fix
tholo [Fri, 15 Mar 1996 07:24:42 +0000 (07:24 +0000)]
Fix bogosity in import of Lite2 fix

28 years agoRemoved for 2.7.1 import.
etheisen [Fri, 15 Mar 1996 06:42:24 +0000 (06:42 +0000)]
Removed for 2.7.1 import.

28 years agoFrom Lite2; mark terminal devices as exclusively opened before flushing
tholo [Thu, 14 Mar 1996 08:41:45 +0000 (08:41 +0000)]
From Lite2; mark terminal devices as exclusively opened before flushing

28 years agoFrom Lite2; only try to match a destination address on a point-to-point
tholo [Thu, 14 Mar 1996 08:35:35 +0000 (08:35 +0000)]
From Lite2; only try to match a destination address on a point-to-point
interface if the destination address has been set

28 years agoFrom Lite2; improve handling of socket options on raw datagrams and multi-
tholo [Thu, 14 Mar 1996 08:28:58 +0000 (08:28 +0000)]
From Lite2; improve handling of socket options on raw datagrams and multi-
cast routing commands

28 years agoFrom Lite2; fix mbuf leak
tholo [Thu, 14 Mar 1996 08:11:54 +0000 (08:11 +0000)]
From Lite2; fix mbuf leak

28 years agoFrom Lite2; skip slow start calculation if socket state is listen
tholo [Thu, 14 Mar 1996 08:09:49 +0000 (08:09 +0000)]
From Lite2; skip slow start calculation if socket state is listen

28 years agoFix from Lite2
tholo [Thu, 14 Mar 1996 08:06:57 +0000 (08:06 +0000)]
Fix from Lite2

28 years agoFrom Lite2; we should fail a malloc, not block waiting for memory to become
tholo [Thu, 14 Mar 1996 07:58:29 +0000 (07:58 +0000)]
From Lite2; we should fail a malloc, not block waiting for memory to become
available in in_pcballoc()

28 years agoNew pages for VM interface.
mickey [Mon, 11 Mar 1996 13:04:48 +0000 (13:04 +0000)]
New pages for VM interface.
Introduction need to be expanded.

28 years agoDebbuger changed towards the latest Mach.
mickey [Mon, 11 Mar 1996 11:15:52 +0000 (11:15 +0000)]
Debbuger changed towards the latest Mach.
Some minor changes for Linux ;) emulation.
Small bug fixes from NetBSD.

28 years agosendmail 8.7.5
dm [Sat, 9 Mar 1996 22:08:29 +0000 (22:08 +0000)]
sendmail 8.7.5

28 years agorestored IP filtering
dm [Sat, 9 Mar 1996 21:30:22 +0000 (21:30 +0000)]
restored IP filtering

28 years agoAdd OpenBSD configuration (clone NetBSD entries)
niklas [Sat, 9 Mar 1996 21:03:30 +0000 (21:03 +0000)]
Add OpenBSD configuration (clone NetBSD entries)

28 years agoAttempt to get the canonical name of a host before doing realm lookup, it
tholo [Sat, 9 Mar 1996 20:11:52 +0000 (20:11 +0000)]
Attempt to get the canonical name of a host before doing realm lookup, it
might be a CNAME which does not match anything we know about

28 years agoMake building with ${HOSTCC} work in obj-dirs
niklas [Sat, 9 Mar 1996 09:16:46 +0000 (09:16 +0000)]
Make building with ${HOSTCC} work in obj-dirs

28 years agoFrom NetBSD: 960217 merge
niklas [Sat, 9 Mar 1996 02:42:53 +0000 (02:42 +0000)]
From NetBSD: 960217 merge

28 years agoRudimentary support for compilation in a cross environment
niklas [Sat, 9 Mar 1996 01:33:25 +0000 (01:33 +0000)]
Rudimentary support for compilation in a cross environment
Host tools will be compiled with HOSTCC instead of CC.
Note, these are not complete in *any* way\!

28 years ago-f state was negated in remote operation
niklas [Sat, 9 Mar 1996 00:01:19 +0000 (00:01 +0000)]
-f state was negated in remote operation

28 years agoFrom NetBSD:
mickey [Fri, 8 Mar 1996 23:42:59 +0000 (23:42 +0000)]
From NetBSD:
linux compatibility changes.

28 years agoFrom NetBSD:
niklas [Fri, 8 Mar 1996 23:34:21 +0000 (23:34 +0000)]
From NetBSD:
Add remote tape capabilities.
Since we're setuid, let's be paranoid.
Picked up a little lint in the dryer.

28 years agoFrom NetBSD:
niklas [Fri, 8 Mar 1996 22:02:54 +0000 (22:02 +0000)]
From NetBSD:
Add remote tape capabilities.
Since we're setuid, let's be paranoid.
Picked up a little lint in the dryer.