openbsd
27 years agoSome updates based on information from Bob Nestor <rnestor@metronet.com>
briggs [Sun, 13 Apr 1997 14:14:51 +0000 (14:14 +0000)]
Some updates based on information from Bob Nestor <rnestor@metronet.com>
about his SONIC-T LC/PDS card.

27 years agoMake it compile after disklabel changes
pefo [Sun, 13 Apr 1997 11:53:26 +0000 (11:53 +0000)]
Make it compile after disklabel changes

27 years agobuf oflow; bitblt
deraadt [Sun, 13 Apr 1997 05:08:24 +0000 (05:08 +0000)]
buf oflow; bitblt

27 years agoAdd support for PCI NE2000 clones. I finally got around to doing this :-)
millert [Sun, 13 Apr 1997 04:52:31 +0000 (04:52 +0000)]
Add support for PCI NE2000 clones.  I finally got around to doing this :-)
Tested on alpha, should work on i386 as well.  Note that we treat
a PCI NE2000 as a 16-bit card for now since the driver can not
deal with > 16 bit cards.  To fix this isa16bit in ed_softc needs to
be changed to bus_width (in bytes).  I plan to do this as part
of the split ed driver.

27 years agoderive from INST, not GENERIC.
mickey [Sun, 13 Apr 1997 04:20:10 +0000 (04:20 +0000)]
derive from INST, not GENERIC.
we fit on floppy now, and some space even left....

27 years agosample ramdisk config file. from GENERIC one.
mickey [Sun, 13 Apr 1997 03:09:47 +0000 (03:09 +0000)]
sample ramdisk config file. from GENERIC one.
kernel does not boot w/ rd as root. any ideas?
it boots w/ default sized ramdisk, but get a panic later.
it does not even shows a copyright w/ big sizes (such as set in there)

27 years agoFixed socket permissions race at startup; corrected error message to
bitblt [Sun, 13 Apr 1997 02:52:15 +0000 (02:52 +0000)]
Fixed socket permissions race at startup; corrected error message to
correctly reflect socket permissions.

27 years agovis usernames; bitblt is paranoid
deraadt [Sun, 13 Apr 1997 02:30:34 +0000 (02:30 +0000)]
vis usernames; bitblt is paranoid

27 years agobuf oflow; bitblt
deraadt [Sun, 13 Apr 1997 02:21:16 +0000 (02:21 +0000)]
buf oflow; bitblt

27 years agocheck host information more carefully
deraadt [Sun, 13 Apr 1997 01:53:49 +0000 (01:53 +0000)]
check host information more carefully

27 years agorepair _hokchar
deraadt [Sun, 13 Apr 1997 01:50:21 +0000 (01:50 +0000)]
repair _hokchar

27 years agoMake MIPS configuration more consistent
pefo [Sat, 12 Apr 1997 21:54:42 +0000 (21:54 +0000)]
Make MIPS configuration more consistent

27 years agoIt helps if MAKEDEV agrees with conf.c.
briggs [Sat, 12 Apr 1997 21:35:52 +0000 (21:35 +0000)]
It helps if MAKEDEV agrees with conf.c.

27 years agowe don't need NFSMNT_RESVPORT inside of the kernel (pointed out by theo)
graichen [Sat, 12 Apr 1997 21:21:29 +0000 (21:21 +0000)]
we don't need NFSMNT_RESVPORT inside of the kernel (pointed out by theo)

27 years agoundo my last commit - theo says NFSMNT_RESVPORT is really not required
graichen [Sat, 12 Apr 1997 20:20:08 +0000 (20:20 +0000)]
undo my last commit - theo says NFSMNT_RESVPORT is really not required
inside the kernel

27 years agoremove #ifndef _KERNEL around NFSMNT_RESVPORT:
graichen [Sat, 12 Apr 1997 20:02:32 +0000 (20:02 +0000)]
remove #ifndef _KERNEL around NFSMNT_RESVPORT:

* this is required to get src/sys/compat/ultrix compiled
* in NetBSD it is'nt #ifndef'ed _KERNEL too

if anyone objects to that change please speak up now ...

27 years agomake it compile (missing include of ultrix_util.h - the other
graichen [Sat, 12 Apr 1997 19:57:59 +0000 (19:57 +0000)]
make it compile (missing include of ultrix_util.h - the other
one is a bit unclear)

27 years agouse the profile.h from the arc - this way the
graichen [Sat, 12 Apr 1997 19:56:07 +0000 (19:56 +0000)]
use the profile.h from the arc - this way the

  undefined reference to `___mcount'

problems are solved - a lot of thanks to per

27 years agoget an unreserved port if not root; required now that rresvport fails
rees [Sat, 12 Apr 1997 19:54:50 +0000 (19:54 +0000)]
get an unreserved port if not root; required now that rresvport fails
for non-root per bugno 70

27 years agotheo can't get everything right :-)
graichen [Sat, 12 Apr 1997 19:53:47 +0000 (19:53 +0000)]
theo can't get everything right :-)

27 years agoupdate to my current config file
graichen [Sat, 12 Apr 1997 19:53:18 +0000 (19:53 +0000)]
update to my current config file

27 years agoDifferent fix for buffer overflow. From Keith Bostic <bostic@bostic.com>
millert [Sat, 12 Apr 1997 19:05:48 +0000 (19:05 +0000)]
Different fix for buffer overflow.  From Keith Bostic <bostic@bostic.com>

27 years agoFix from FreeBSD (David Nugent <davidn>)
millert [Sat, 12 Apr 1997 18:57:30 +0000 (18:57 +0000)]
Fix from FreeBSD (David Nugent <davidn>)
    Submitted by: Philippe Charnier <charnier@xp11.frmug.org>
    Fixes name size limitation (was hardcoded to 8).
    Closes FreeBSD PR#3258

27 years agolong -> int to fix 64bit issues. This breaks 16bit machines but since we don't have...
millert [Sat, 12 Apr 1997 18:22:22 +0000 (18:22 +0000)]
long -> int to fix 64bit issues.  This breaks 16bit machines but since we don't have any 16bit ports...) The alternative is to use int32_t's but then this code will break when/if int > 32bits which is not so unlikely.  Fixes NetBSD PR #3450 from Ross Harvey (but in a different way)

27 years agoBe a bit more specific about EINVAL and negative offsets.
tholo [Sat, 12 Apr 1997 18:09:52 +0000 (18:09 +0000)]
Be a bit more specific about EINVAL and negative offsets.

27 years agowaitpid() can return -1 -- give a useful error message if it does.
millert [Sat, 12 Apr 1997 17:50:17 +0000 (17:50 +0000)]
waitpid() can return -1 -- give a useful error message if it does.

27 years agodon't print more directory slashes than user specified on error.
michaels [Sat, 12 Apr 1997 17:30:23 +0000 (17:30 +0000)]
don't print more directory slashes than user specified on error.
Reported by Nick Sayer (nsayer@quack.kfu.com) in FreeBSD pr bin/3025.

27 years agoWe need to copy the pathnames we get from fgetln() on stdin, as the buffer
tholo [Sat, 12 Apr 1997 17:25:25 +0000 (17:25 +0000)]
We need to copy the pathnames we get from fgetln() on stdin, as the buffer
will be reused.

27 years agocareful about bad domain/mapnames
deraadt [Sat, 12 Apr 1997 16:53:06 +0000 (16:53 +0000)]
careful about bad domain/mapnames

27 years agobit more careful with mapnames; adam@math.tau.ac.il
deraadt [Sat, 12 Apr 1997 16:38:06 +0000 (16:38 +0000)]
bit more careful with mapnames; adam@math.tau.ac.il

27 years agobotched strncpy, adam@math.tau.ac.il
deraadt [Sat, 12 Apr 1997 16:37:37 +0000 (16:37 +0000)]
botched strncpy, adam@math.tau.ac.il

27 years agostart of -h (human readable) flag. more to come
kstailey [Sat, 12 Apr 1997 16:32:10 +0000 (16:32 +0000)]
start of -h (human readable) flag.  more to come

27 years agoconvert mips* to mips so that we find the correct files in config
graichen [Sat, 12 Apr 1997 15:50:24 +0000 (15:50 +0000)]
convert mips* to mips so that we find the correct files in config

27 years agoconfigure with --disable-gdbtk - so that gdb will also configure
graichen [Sat, 12 Apr 1997 15:48:20 +0000 (15:48 +0000)]
configure with --disable-gdbtk - so that gdb will also configure
correctly if you have tcl/tk installed

27 years agoreflect the new naming for openbsd: mips*-*-openbsd* instead of mips-*-openbsd*
graichen [Sat, 12 Apr 1997 15:46:18 +0000 (15:46 +0000)]
reflect the new naming for openbsd: mips*-*-openbsd* instead of mips-*-openbsd*

27 years agoA horrific gruesome hack to remove a splat during obj@ builds
deraadt [Sat, 12 Apr 1997 15:11:11 +0000 (15:11 +0000)]
A horrific gruesome hack to remove a splat during obj@ builds

27 years agoign some signals for editor
deraadt [Sat, 12 Apr 1997 14:51:22 +0000 (14:51 +0000)]
ign some signals for editor

27 years agosupport SIGSTOP in editor, I cannot believe this has always been busted!
deraadt [Sat, 12 Apr 1997 09:39:58 +0000 (09:39 +0000)]
support SIGSTOP in editor, I cannot believe this has always been busted!

27 years agoa -> an; soil@quick.net
deraadt [Sat, 12 Apr 1997 08:08:02 +0000 (08:08 +0000)]
a -> an; soil@quick.net

27 years agoFixed coredump when passwd file is missing or unavailable.
millert [Sat, 12 Apr 1997 07:18:56 +0000 (07:18 +0000)]
Fixed coredump when passwd file is missing or unavailable.
Reported by Jason Downs <downsj@teeny.org> and
Klee Dienes <klee@mit.edu> (via a Debian Linux bug report).

27 years ago-1 flag enables v1 YP, otherwise it is disabled; from maja
deraadt [Sat, 12 Apr 1997 00:14:28 +0000 (00:14 +0000)]
-1 flag enables v1 YP, otherwise it is disabled; from maja

27 years agobit more care with domainnames, adam@math.tau.ac.il
deraadt [Sat, 12 Apr 1997 00:12:57 +0000 (00:12 +0000)]
bit more care with domainnames, adam@math.tau.ac.il

27 years agoemacs is dumb too--the $TERM entry that is.
millert [Fri, 11 Apr 1997 23:14:04 +0000 (23:14 +0000)]
emacs is dumb too--the $TERM entry that is.

27 years agoIf someone pressed a nonprintable character in getsn (eg in boot -c) the
maja [Fri, 11 Apr 1997 21:18:02 +0000 (21:18 +0000)]
If someone pressed a nonprintable character in getsn (eg in boot -c) the
speaker would be turned on but not off. So don't allow sysbeep until
timers works. -moj

27 years agoadd NTP
kstailey [Fri, 11 Apr 1997 19:27:23 +0000 (19:27 +0000)]
add NTP

27 years agoVarious comments
weingart [Fri, 11 Apr 1997 19:21:50 +0000 (19:21 +0000)]
Various comments

27 years agomachdep_start has to do esym mucking...
weingart [Fri, 11 Apr 1997 19:17:03 +0000 (19:17 +0000)]
machdep_start has to do esym mucking...

27 years agoWorks with .gz kernels now
weingart [Fri, 11 Apr 1997 19:07:07 +0000 (19:07 +0000)]
Works with .gz kernels now

27 years agoFix out of date phone number for the Netherlands. PR documentation/160
gene [Fri, 11 Apr 1997 17:24:21 +0000 (17:24 +0000)]
Fix out of date phone number for the Netherlands.  PR documentation/160

27 years ago - check existing pid file and don't start up if there is already
millert [Fri, 11 Apr 1997 17:09:02 +0000 (17:09 +0000)]
 - check existing pid file and don't start up if there is already
   a mountd running
 - if there is a problem with an entry in an exports line don't
   throw away the whole line unless it is obviously bogus.

27 years agoadd tag
kstailey [Fri, 11 Apr 1997 11:35:34 +0000 (11:35 +0000)]
add tag

27 years agomy home PC
kstailey [Fri, 11 Apr 1997 11:34:41 +0000 (11:34 +0000)]
my home PC

27 years agoadd more partition types. add (non-functional) Extended partition support
deraadt [Fri, 11 Apr 1997 10:01:31 +0000 (10:01 +0000)]
add more partition types. add (non-functional) Extended partition support
which can be finished by someone who has Extended partitions (HINT: I
would really like to see this working for 2.1)

27 years agoOpenBSD tags
niklas [Fri, 11 Apr 1997 09:06:56 +0000 (09:06 +0000)]
OpenBSD tags

27 years agoadd support for a script called /etc/rc.shutdown
deraadt [Fri, 11 Apr 1997 09:06:40 +0000 (09:06 +0000)]
add support for a script called /etc/rc.shutdown

27 years agoWe run OpenBSD, as such our kernel is named /bsd, and copying /netbsd into
gene [Fri, 11 Apr 1997 01:12:44 +0000 (01:12 +0000)]
We run OpenBSD, as such our kernel is named /bsd, and copying /netbsd into
the newly installed partition won't do much good.  Thanks to Tobias Richter
<tsr@cave.isdn.cs.tu-berlin.de> for noticing this.

27 years agoUpdate from Cygnus + corrections to OpenBSD recognition by me
niklas [Fri, 11 Apr 1997 00:55:50 +0000 (00:55 +0000)]
Update from Cygnus + corrections to OpenBSD recognition by me

27 years agoqueue handling hacks for chips like aic7860 which have small numbers of SCB's.
deraadt [Thu, 10 Apr 1997 22:52:18 +0000 (22:52 +0000)]
queue handling hacks for chips like aic7860 which have small numbers of SCB's.
by gibbs@freebsd.org

27 years agoError if bsize < fsize. Problem noted by Dieter Dworkin Muller
millert [Thu, 10 Apr 1997 22:26:13 +0000 (22:26 +0000)]
Error if bsize < fsize.  Problem noted by Dieter Dworkin Muller
<dworkin@village.org>

27 years agoIgnore SE/30 faux-video card.
briggs [Thu, 10 Apr 1997 20:34:33 +0000 (20:34 +0000)]
Ignore SE/30 faux-video card.

27 years agogive only default values when asked for.
provos [Thu, 10 Apr 1997 20:05:49 +0000 (20:05 +0000)]
give only default values when asked for.

27 years agomention .group entries in /etc/passwd.conf
provos [Thu, 10 Apr 1997 20:05:10 +0000 (20:05 +0000)]
mention .group entries in /etc/passwd.conf

27 years agoenable .group entries in /etc/passwd.conf
provos [Thu, 10 Apr 1997 20:04:54 +0000 (20:04 +0000)]
enable .group entries in /etc/passwd.conf

27 years agoDon't use gcc builtin __builtin_return_address(frameno) on
millert [Thu, 10 Apr 1997 17:23:14 +0000 (17:23 +0000)]
Don't use gcc builtin __builtin_return_address(frameno) on
alpha, it crashes the kernel.  This is a work around until
gcc is fixed.  NetBSD PR#3471 fix from Ross Harvey <ross@teraflop.com>

27 years agoNeed to separate i/o and mem on mips
pefo [Thu, 10 Apr 1997 17:16:37 +0000 (17:16 +0000)]
Need to separate i/o and mem on mips

27 years agoZilog z8536 defs
pefo [Thu, 10 Apr 1997 17:13:53 +0000 (17:13 +0000)]
Zilog z8536 defs

27 years agoOoops! These have to be committed after pcidevs. Doing a make and commit
pefo [Thu, 10 Apr 1997 17:02:19 +0000 (17:02 +0000)]
Ooops! These have to be committed after pcidevs. Doing a make and commit
all together at the same time yields the wrong revision number. Sorry.

27 years agoThese two was not ready for commit yet. Backed out.
pefo [Thu, 10 Apr 1997 16:51:35 +0000 (16:51 +0000)]
These two was not ready for commit yet. Backed out.

27 years agoAdd Matrox Mystique
pefo [Thu, 10 Apr 1997 16:33:05 +0000 (16:33 +0000)]
Add Matrox Mystique

27 years agoAttempt to clean up local devices.
pefo [Thu, 10 Apr 1997 16:29:04 +0000 (16:29 +0000)]
Attempt to clean up local devices.
Added support for new QED RT52x0 processors.

27 years agostripped down
pefo [Thu, 10 Apr 1997 16:25:59 +0000 (16:25 +0000)]
stripped down

27 years ago__C -> __abs_c for consistency with usage in tc_*
millert [Thu, 10 Apr 1997 15:45:25 +0000 (15:45 +0000)]
__C -> __abs_c for consistency with usage in tc_*

27 years agohow is this for fast bug fixing response! revert to sigblock() since the
deraadt [Thu, 10 Apr 1997 15:33:50 +0000 (15:33 +0000)]
how is this for fast bug fixing response! revert to sigblock() since the
sigprocmask() code was not equivelant. report from grr@shandakor.tharsis.com,
PR#154

27 years agodo not need sys/types.h; dima@tejblum.dnttm.rssi.ru
deraadt [Thu, 10 Apr 1997 14:07:30 +0000 (14:07 +0000)]
do not need sys/types.h; dima@tejblum.dnttm.rssi.ru

27 years agoalways skip the first 8K of swap. Yes, 8K, not some manufactured number that ends...
deraadt [Thu, 10 Apr 1997 13:48:50 +0000 (13:48 +0000)]
always skip the first 8K of swap. Yes, 8K, not some manufactured number that ends up being 4K

27 years agoadditions & fixes from niklas & i
deraadt [Thu, 10 Apr 1997 13:06:24 +0000 (13:06 +0000)]
additions & fixes from niklas & i

27 years agotheir is -> there is
kstailey [Thu, 10 Apr 1997 11:37:47 +0000 (11:37 +0000)]
their is -> there is

27 years agoanother 8MB of swap and it works
kstailey [Thu, 10 Apr 1997 10:53:45 +0000 (10:53 +0000)]
another 8MB of swap and it works

27 years agocalc page alignment correctly for -p; pk@netbsd
deraadt [Thu, 10 Apr 1997 10:50:29 +0000 (10:50 +0000)]
calc page alignment correctly for -p; pk@netbsd

27 years agoif generating obj@ links, check if the existing obj@ link points to the
deraadt [Thu, 10 Apr 1997 10:39:39 +0000 (10:39 +0000)]
if generating obj@ links, check if the existing obj@ link points to the
same path we want to make it point to later.  If it does, leave the link
as-is and do not attempt to recreate it.  read-only /usr/src with obj@
links will work much better with this.  Fix from Niklas -- anyone who
figures out a way to do this without using perl gets a cookie.

27 years agomachine@ is a horrible hack in obj@ space. ignore the error. fix later
deraadt [Thu, 10 Apr 1997 10:33:04 +0000 (10:33 +0000)]
machine@ is a horrible hack in obj@ space. ignore the error. fix later

27 years agoallow syntax of the form "route add -net 192.168.64.0/20 <destaddr>";
deraadt [Thu, 10 Apr 1997 10:09:01 +0000 (10:09 +0000)]
allow syntax of the form "route add -net 192.168.64.0/20 <destaddr>";
phk@freebsd, man page changes done by me 'cause i'm a bit bored

27 years agofix up a few pieces of doc.
deraadt [Thu, 10 Apr 1997 09:41:22 +0000 (09:41 +0000)]
fix up a few pieces of doc.
NOTE: FreeBSD has now integrated issetugid() into their system and have
changed the semantics!  Their's will return 1 if a process has called
setuid() or setgid() ---- ours was specifically designed to be decoupled
from that behaviour.

27 years agodoc EOPNOTSUPP, EMLINK, and fix EPERM. from various places
deraadt [Thu, 10 Apr 1997 09:31:10 +0000 (09:31 +0000)]
doc EOPNOTSUPP, EMLINK, and fix EPERM. from various places

27 years agoDo block/sector handling like the other ports
niklas [Thu, 10 Apr 1997 08:52:52 +0000 (08:52 +0000)]
Do block/sector handling like the other ports

27 years agoSunOS emulation trap#2 handling from NetBSD (gwr via scottr)
niklas [Thu, 10 Apr 1997 08:51:04 +0000 (08:51 +0000)]
SunOS emulation trap#2 handling from NetBSD (gwr via scottr)

27 years agoStop the SONIC before setting reset, not after...
briggs [Thu, 10 Apr 1997 03:15:59 +0000 (03:15 +0000)]
Stop the SONIC before setting reset, not after...

27 years agoAdd missing __C #define
millert [Thu, 10 Apr 1997 03:01:05 +0000 (03:01 +0000)]
Add missing __C #define

27 years agoChanges from Denny Gentry <denny1@home.com>:
briggs [Thu, 10 Apr 1997 02:35:02 +0000 (02:35 +0000)]
Changes from Denny Gentry <denny1@home.com>:
Change in the way receive buffer areas are handled.  Before we gave
the chip 16 buffers, each 1536 bytes (big enough for one packet).
Now we're handing the chip 8 buffers, each 4 Kbytes, and letting
the chip fit as many packets as it can in each one.  This should
help keep it from running out of buffer space.  Also make some of
the performance-crucial routines inline.  It made no measurable
difference except to make me feel better

27 years agoFix typo (aligend -> aligned)
millert [Thu, 10 Apr 1997 01:28:53 +0000 (01:28 +0000)]
Fix typo (aligend -> aligned)

27 years agoFix typos.
millert [Thu, 10 Apr 1997 01:13:27 +0000 (01:13 +0000)]
Fix typos.

27 years agoAck. Make this compile again.
briggs [Thu, 10 Apr 1997 00:17:42 +0000 (00:17 +0000)]
Ack.  Make this compile again.

27 years agoSync with NetBSD (lukem)
millert [Thu, 10 Apr 1997 00:17:06 +0000 (00:17 +0000)]
Sync with NetBSD (lukem)
    * support $ftp_proxy for ftp:// transfers [bin/3245]
    * add "more" & "less" as synonyms for "page"
    * move editline setup code into controlediting(), and call appropriately.
      only setup setup terminal if going into interactive mode.

27 years agoUse the value of UU_MACHINE from the environment if present.
felix [Wed, 9 Apr 1997 18:47:53 +0000 (18:47 +0000)]
Use the value of UU_MACHINE from the environment if present.
This makes the Received header lines more accurate, if rmail is
called from Taylor UUCP's uuxqt. (And we ship Taylor UUCP...)

Change #define TAYLOR_ENV into #undef TAYLOR_ENV if this should annoy you :-)

27 years agoFix typos. Pointed out by Carsten Hammer <chammer@post.uni-bielefeld.de>
millert [Wed, 9 Apr 1997 17:48:25 +0000 (17:48 +0000)]
Fix typos.  Pointed out by Carsten Hammer <chammer@post.uni-bielefeld.de>

27 years agojust clean up a stylistic mess I created myself long ago.
michaels [Wed, 9 Apr 1997 16:42:25 +0000 (16:42 +0000)]
just clean up a stylistic mess I created myself long ago.

27 years agoadd soundblaster support
kstailey [Wed, 9 Apr 1997 16:01:51 +0000 (16:01 +0000)]
add soundblaster support

27 years agochange space to "_" in tsleep() string
kstailey [Wed, 9 Apr 1997 14:46:12 +0000 (14:46 +0000)]
change space to "_" in tsleep() string

27 years agoFix from Bill Studenmund--generate ^-\ on ^-\ instead of on ^-/
briggs [Wed, 9 Apr 1997 14:34:29 +0000 (14:34 +0000)]
Fix from Bill Studenmund--generate ^-\ on ^-\ instead of on ^-/

27 years agoComment video cards and add define for SuperMac Thunder/24.
briggs [Wed, 9 Apr 1997 14:30:49 +0000 (14:30 +0000)]
Comment video cards and add define for SuperMac Thunder/24.