openbsd
27 years agoFirst try at SA_SIGINFO support.
kstailey [Mon, 3 Feb 1997 21:30:13 +0000 (21:30 +0000)]
First try at SA_SIGINFO support.

Some mods in trap.c to bring it closer to NetBSD 1.65.

27 years agoback out prev. change since it breaks obj@ symlinks
kstailey [Mon, 3 Feb 1997 18:09:18 +0000 (18:09 +0000)]
back out prev. change since it breaks obj@ symlinks

27 years agofix a fpe trapsignal to provide proper type
deraadt [Mon, 3 Feb 1997 18:04:48 +0000 (18:04 +0000)]
fix a fpe trapsignal to provide proper type

27 years agofor SIGxxx always use xxx_* types as error code
deraadt [Mon, 3 Feb 1997 17:35:09 +0000 (17:35 +0000)]
for SIGxxx always use xxx_* types as error code

27 years agowimpy docs for SA_SIGINFO
deraadt [Mon, 3 Feb 1997 15:57:05 +0000 (15:57 +0000)]
wimpy docs for SA_SIGINFO

27 years ago1003.1b mandoc hacks
deraadt [Mon, 3 Feb 1997 15:56:45 +0000 (15:56 +0000)]
1003.1b mandoc hacks

27 years agomv siginfo_t * to the proper place
deraadt [Mon, 3 Feb 1997 15:54:43 +0000 (15:54 +0000)]
mv siginfo_t * to the proper place

27 years agoMore siginfo implementations (alpha and mips might even work)
deraadt [Mon, 3 Feb 1997 15:04:50 +0000 (15:04 +0000)]
More siginfo implementations (alpha and mips might even work)
move "siginfo_t *" to 2nd arg of signal handler as 1003.1b requires.
I really wish I had 1003.1b documentation.

27 years agoAdded some code lost in last rev. Now BOOT_CONFIG might work again. -moj
maja [Mon, 3 Feb 1997 13:59:43 +0000 (13:59 +0000)]
Added some code lost in last rev. Now BOOT_CONFIG might work again. -moj

27 years agoinitial cut at siginfo
deraadt [Mon, 3 Feb 1997 13:09:14 +0000 (13:09 +0000)]
initial cut at siginfo

27 years agorepair confusion over kv/uv addr for siginfo_t storage
deraadt [Mon, 3 Feb 1997 12:48:35 +0000 (12:48 +0000)]
repair confusion over kv/uv addr for siginfo_t storage

27 years agokill non-/tmp mktemp race and misc cleanup
deraadt [Mon, 3 Feb 1997 12:15:59 +0000 (12:15 +0000)]
kill non-/tmp mktemp race and misc cleanup

27 years agodo ifaliases after /usr/bin exists in nfs diskless env; pr#77, matthieu@laas.fr
deraadt [Mon, 3 Feb 1997 12:04:44 +0000 (12:04 +0000)]
do ifaliases after /usr/bin exists in nfs diskless env; pr#77, matthieu@laas.fr

27 years agonew -a option autosizes, meaning it runs till it hits EOM (no need for
deraadt [Mon, 3 Feb 1997 11:53:23 +0000 (11:53 +0000)]
new -a option autosizes, meaning it runs till it hits EOM (no need for
pesky sizing options) -- from FreeBSD.
also make -b option aware of MAXPHYS issues (via a little hack)

27 years agoSA_SIGINFO
deraadt [Mon, 3 Feb 1997 11:45:17 +0000 (11:45 +0000)]
SA_SIGINFO

27 years agoSA_SIGINFO implementation
deraadt [Mon, 3 Feb 1997 11:38:05 +0000 (11:38 +0000)]
SA_SIGINFO implementation

27 years agouse dk_mountroot
deraadt [Mon, 3 Feb 1997 11:37:37 +0000 (11:37 +0000)]
use dk_mountroot

27 years agosync the config files with my local ones (rz5 & rz6 etc.)
graichen [Mon, 3 Feb 1997 10:32:13 +0000 (10:32 +0000)]
sync the config files with my local ones (rz5 & rz6 etc.)

27 years agoadd entries for rz5 and rz6 (scsi disks on scsi id 5 & 6 - required for
graichen [Mon, 3 Feb 1997 10:30:53 +0000 (10:30 +0000)]
add entries for rz5 and rz6 (scsi disks on scsi id 5 & 6 - required for
zip drives)

27 years agoalso create rz5 and rz6 devices on the pmax
graichen [Mon, 3 Feb 1997 10:29:13 +0000 (10:29 +0000)]
also create rz5 and rz6 devices on the pmax

27 years agoalso build uucp on the alpha
graichen [Mon, 3 Feb 1997 10:28:44 +0000 (10:28 +0000)]
also build uucp on the alpha

27 years agord -> hd
downsj [Mon, 3 Feb 1997 08:11:52 +0000 (08:11 +0000)]
rd -> hd

27 years agord -> hd
downsj [Mon, 3 Feb 1997 07:19:01 +0000 (07:19 +0000)]
rd -> hd

27 years agord -> hd, OpenBSD ids.
downsj [Mon, 3 Feb 1997 07:02:08 +0000 (07:02 +0000)]
rd -> hd, OpenBSD ids.

27 years agosubsumed by fetch.c
millert [Mon, 3 Feb 1997 06:08:07 +0000 (06:08 +0000)]
subsumed by fetch.c

27 years agosync to netbsd 970101
downsj [Mon, 3 Feb 1997 05:10:55 +0000 (05:10 +0000)]
sync to netbsd 970101

27 years agoMerge new config(8) support from NetBSD, by Jason Thorpe.
downsj [Mon, 3 Feb 1997 04:47:05 +0000 (04:47 +0000)]
Merge new config(8) support from NetBSD, by Jason Thorpe.
Also add siginfo glue, BOOT_CONFIG, and various other changes.

27 years agodamn, do need sys/time.h and all that other gunk
deraadt [Mon, 3 Feb 1997 04:34:33 +0000 (04:34 +0000)]
damn, do need sys/time.h and all that other gunk

27 years agoObsolete.
downsj [Mon, 3 Feb 1997 04:26:39 +0000 (04:26 +0000)]
Obsolete.

27 years agoIt's gone. No more. Bye!
downsj [Mon, 3 Feb 1997 04:22:03 +0000 (04:22 +0000)]
It's gone.  No more.  Bye!

27 years agoObsolete.
downsj [Mon, 3 Feb 1997 04:17:03 +0000 (04:17 +0000)]
Obsolete.

27 years agotape out unneccessary bits
deraadt [Mon, 3 Feb 1997 03:49:57 +0000 (03:49 +0000)]
tape out unneccessary bits

27 years agohp300 needs device_register(), too.
downsj [Mon, 3 Feb 1997 03:04:22 +0000 (03:04 +0000)]
hp300 needs device_register(), too.

27 years agoTurn off progress bar by default as it interacts poorly with
millert [Mon, 3 Feb 1997 01:22:08 +0000 (01:22 +0000)]
Turn off progress bar by default as it interacts poorly with
"get FILE /dev/tty" and "get FILE |pager" among others.

27 years agoAdd back ``-r'' option and fix strncpy() usage and other nits because
millert [Mon, 3 Feb 1997 01:05:31 +0000 (01:05 +0000)]
Add back ``-r'' option and fix strncpy() usage and other nits because
I'm anal.  Closer to KNF now.

27 years agoSync with NetBSD
millert [Mon, 3 Feb 1997 01:02:31 +0000 (01:02 +0000)]
Sync with NetBSD

27 years agouse a long line counter, netbsd pr#3083, rhialto@polder.ubc.kun.nl
deraadt [Mon, 3 Feb 1997 00:25:18 +0000 (00:25 +0000)]
use a long line counter, netbsd pr#3083, rhialto@polder.ubc.kun.nl

27 years agoback out stringlist changes
millert [Mon, 3 Feb 1997 00:13:04 +0000 (00:13 +0000)]
back out stringlist changes

27 years agomake "arp -na" and "arp -an" do the same thing; paul@wit387304.student.utwente.nl
deraadt [Mon, 3 Feb 1997 00:12:57 +0000 (00:12 +0000)]
make "arp -na" and "arp -an" do the same thing; paul@wit387304.student.utwente.nl

27 years agoReally remove stringlist.h this time...
millert [Mon, 3 Feb 1997 00:09:35 +0000 (00:09 +0000)]
Really remove stringlist.h this time...

27 years agoBack out stringlist
millert [Mon, 3 Feb 1997 00:08:24 +0000 (00:08 +0000)]
Back out stringlist

27 years agoUse public stringlist (in libc)
millert [Sun, 2 Feb 1997 23:32:15 +0000 (23:32 +0000)]
Use public stringlist (in libc)

27 years ago++minor_version
millert [Sun, 2 Feb 1997 23:28:40 +0000 (23:28 +0000)]
++minor_version

27 years agostringlist routines are now public (ftp uses them)
millert [Sun, 2 Feb 1997 23:27:52 +0000 (23:27 +0000)]
stringlist routines are now public (ftp uses them)

27 years agoFrom NetBSD (lukem and christos):
millert [Sun, 2 Feb 1997 23:18:43 +0000 (23:18 +0000)]
From NetBSD (lukem and christos):
    A stringlist implementation (previously ``private'' to libc netgroup code,
    but christos ok-ed making public as it's useful)

27 years agodiscourage use of -n
deraadt [Sun, 2 Feb 1997 18:17:38 +0000 (18:17 +0000)]
discourage use of -n

27 years agodo not include wrong version of install.texi
kstailey [Sun, 2 Feb 1997 17:21:57 +0000 (17:21 +0000)]
do not include wrong version of install.texi

27 years agoRemember errno if fchown() fails so we get correct warnings
tholo [Sun, 2 Feb 1997 10:16:58 +0000 (10:16 +0000)]
Remember errno if fchown() fails so we get correct warnings
Only warn about not being able to restore user/group owner if not -f

27 years agocorrect arch check, do not drop of non-void function; yasufu-i@is.aist-nara.ac.jp
deraadt [Sun, 2 Feb 1997 03:28:41 +0000 (03:28 +0000)]
correct arch check, do not drop of non-void function; yasufu-i@is.aist-nara.ac.jp

27 years agosiginfo stuff
deraadt [Sun, 2 Feb 1997 01:38:11 +0000 (01:38 +0000)]
siginfo stuff

27 years agoadd gdb for alpha & mips and simplify it a bit
graichen [Sun, 2 Feb 1997 01:14:00 +0000 (01:14 +0000)]
add gdb for alpha & mips and simplify it a bit

27 years agoattempt at siginfo.. Per must look this over
deraadt [Sun, 2 Feb 1997 00:47:42 +0000 (00:47 +0000)]
attempt at siginfo.. Per must look this over

27 years agotrapsignal/sendsig type/sigval changes
deraadt [Sun, 2 Feb 1997 00:43:20 +0000 (00:43 +0000)]
trapsignal/sendsig type/sigval changes

27 years agoadd OpenBSD/alpha support to gdb (taken from cgd's cygnus binutils
graichen [Sun, 2 Feb 1997 00:39:40 +0000 (00:39 +0000)]
add OpenBSD/alpha support to gdb (taken from cgd's cygnus binutils
snapshots for NetBSD/alpha and adapted to compile with our binutils)

i've just tested it roughly - but it should work and is at least a start

27 years agoPrevent seeking to negative offsets when seeking from the end of a file;
tholo [Sun, 2 Feb 1997 00:32:02 +0000 (00:32 +0000)]
Prevent seeking to negative offsets when seeking from the end of a file;
noticed by Tim Newsham <newsham@aloha.net>

27 years agoCorrect type of brk(), use <unistd.h>, reference mmap(2); from NetBSD
tholo [Sun, 2 Feb 1997 00:16:32 +0000 (00:16 +0000)]
Correct type of brk(), use <unistd.h>, reference mmap(2); from NetBSD

27 years agoput an harmless waring behind an DIAGNOSTIC
graichen [Sat, 1 Feb 1997 23:46:02 +0000 (23:46 +0000)]
put an harmless waring behind an DIAGNOSTIC

27 years agonicer output at bootup (before it was somewhat garbled)
graichen [Sat, 1 Feb 1997 23:31:39 +0000 (23:31 +0000)]
nicer output at bootup (before it was somewhat garbled)

27 years agotrapsignal/sendsig type/sigval changes
deraadt [Sat, 1 Feb 1997 23:05:05 +0000 (23:05 +0000)]
trapsignal/sendsig type/sigval changes

27 years agoadd type & union sigval args to sendsig/trapsignal
deraadt [Sat, 1 Feb 1997 21:49:30 +0000 (21:49 +0000)]
add type & union sigval args to sendsig/trapsignal

27 years agoCatches luser/typo when "@" is the first character of first argument
jkatz [Sat, 1 Feb 1997 19:38:26 +0000 (19:38 +0000)]
Catches luser/typo when "@" is the first character of first argument

27 years agoaccept "-f local" for AF_LOCAL"
kstailey [Sat, 1 Feb 1997 17:31:19 +0000 (17:31 +0000)]
accept "-f local" for AF_LOCAL"

27 years agoGet precedence right
tholo [Sat, 1 Feb 1997 12:03:07 +0000 (12:03 +0000)]
Get precedence right

27 years agoImplement BUFCACHEPERCENT. Allow bufpages/nbuf larger than 1 (still max out
deraadt [Sat, 1 Feb 1997 11:02:41 +0000 (11:02 +0000)]
Implement BUFCACHEPERCENT. Allow bufpages/nbuf larger than 1 (still max out
at all buffers be MAXBSIZE).  Remove faulty limit test of buffer pages
allocation.  The check is now done at the bufpages+nbuf calculations.

27 years agoAllow bufpages/nbuf larger than 1 (still max out at all buffers
deraadt [Sat, 1 Feb 1997 11:02:11 +0000 (11:02 +0000)]
Allow bufpages/nbuf larger than 1 (still max out at all buffers
be MAXBSIZE).  Remove faulty limit test of buffer pages allocation.  The
check is now done at the bufpages+nbuf calculations.

27 years agoBetter handling of long uptimes; from NetBSD
tholo [Sat, 1 Feb 1997 07:18:28 +0000 (07:18 +0000)]
Better handling of long uptimes; from NetBSD

27 years agomem leak, from lidl@va.pubnix.com
deraadt [Sat, 1 Feb 1997 04:35:33 +0000 (04:35 +0000)]
mem leak, from lidl@va.pubnix.com

27 years agogrammar error
deraadt [Sat, 1 Feb 1997 00:58:25 +0000 (00:58 +0000)]
grammar error

27 years agoAllow bufpages/nbuf larger than 1 (still max out at all buffers
niklas [Sat, 1 Feb 1997 00:31:49 +0000 (00:31 +0000)]
Allow bufpages/nbuf larger than 1 (still max out at all buffers
be MAXBSIZE).  Remove faulty limit test of buffer pages allocation.  The
check is now done at the bufpages+nbuf calculations.

27 years agorandomize xid mode
deraadt [Sat, 1 Feb 1997 00:26:04 +0000 (00:26 +0000)]
randomize xid mode

27 years agoCorrect early termination case of read clustering which could cause
niklas [Sat, 1 Feb 1997 00:09:31 +0000 (00:09 +0000)]
Correct early termination case of read clustering which could cause
buffer cache poisoning when bufpages/nbuf is larger than 1.  Also correct
readahead amount calculation.  Optimize page moving when buffers have excess
pages.

27 years agofix the problem with makefiles in a different way, this steps on the last
rahnds [Fri, 31 Jan 1997 19:40:42 +0000 (19:40 +0000)]
fix the problem with makefiles in a different way, this steps on the last
commit, but works faster.
Instead of always looking up the makefile and then deciding to
get the objects or not. Cache the makefile name along with the objects.

27 years agoadd mkcmdtab.o to CLEANFILES
kstailey [Fri, 31 Jan 1997 18:11:01 +0000 (18:11 +0000)]
add mkcmdtab.o to CLEANFILES

27 years agoalso build amd on the alpha now
graichen [Fri, 31 Jan 1997 14:43:40 +0000 (14:43 +0000)]
also build amd on the alpha now

27 years agomake amd 64bit ready for the alpha (from NetBSD/thorpej)
graichen [Fri, 31 Jan 1997 14:41:57 +0000 (14:41 +0000)]
make amd 64bit ready for the alpha (from NetBSD/thorpej)

27 years agoavoid some division by zero in hackish ways
deraadt [Fri, 31 Jan 1997 11:59:05 +0000 (11:59 +0000)]
avoid some division by zero in hackish ways

27 years agodo not sillyrename directories; from freebsd
deraadt [Fri, 31 Jan 1997 10:33:46 +0000 (10:33 +0000)]
do not sillyrename directories; from freebsd

27 years agooff-by-one in partition indexing, netbsd pr#3161, kleink@layla.inka.de
deraadt [Fri, 31 Jan 1997 10:32:21 +0000 (10:32 +0000)]
off-by-one in partition indexing, netbsd pr#3161, kleink@layla.inka.de

27 years agoif error, b_resid = b_bcount
deraadt [Fri, 31 Jan 1997 10:31:43 +0000 (10:31 +0000)]
if error, b_resid = b_bcount

27 years agodo not walk off the end of a directory info buffer; netbsd pr#3170, mhitch@gemini...
deraadt [Fri, 31 Jan 1997 10:30:48 +0000 (10:30 +0000)]
do not walk off the end of a directory info buffer; netbsd pr#3170, mhitch@gemini.oscs.montana.edu

27 years agostop crash from walking off end of malloc'd page. i hunted this bug before
deraadt [Fri, 31 Jan 1997 10:09:36 +0000 (10:09 +0000)]
stop crash from walking off end of malloc'd page. i hunted this bug before
and didn't find it. fix from paul@wit387304.student.utwente.nl

27 years agoneed string.h
deraadt [Fri, 31 Jan 1997 10:08:37 +0000 (10:08 +0000)]
need string.h

27 years agocut a little more.
mickey [Fri, 31 Jan 1997 07:18:27 +0000 (07:18 +0000)]
cut a little more.

27 years agoPieces to create a miniroot image for powerpc installation from cdrom or
rahnds [Fri, 31 Jan 1997 05:10:59 +0000 (05:10 +0000)]
Pieces to create a miniroot image for powerpc installation from cdrom or
network?

27 years agoFirst cut at elfrdsetroot command. this is the rdsetroot heavily hacked
rahnds [Fri, 31 Jan 1997 05:04:44 +0000 (05:04 +0000)]
First cut at elfrdsetroot command. this is the rdsetroot heavily hacked
to work on elf. Need sever cleaning.

27 years agodeal with IP_HDRINCL option network byte order change; lidl@va.pubnix.com
deraadt [Thu, 30 Jan 1997 22:43:11 +0000 (22:43 +0000)]
deal with IP_HDRINCL option network byte order change; lidl@va.pubnix.com

27 years agofor IP_HDRINCL option, use ip_len/ip_off in network order; lidl@va.pubnix.com
deraadt [Thu, 30 Jan 1997 22:41:59 +0000 (22:41 +0000)]
for IP_HDRINCL option, use ip_len/ip_off in network order; lidl@va.pubnix.com

27 years agobuf oflow, felix@mamba.pond.sub.org
deraadt [Thu, 30 Jan 1997 21:55:27 +0000 (21:55 +0000)]
buf oflow, felix@mamba.pond.sub.org

27 years agoavoid being too paranoid... make it work!
deraadt [Thu, 30 Jan 1997 18:26:55 +0000 (18:26 +0000)]
avoid being too paranoid... make it work!

27 years agoAdded ICMP Destination Unreachable codes from RFC-1812:
kstailey [Thu, 30 Jan 1997 17:05:46 +0000 (17:05 +0000)]
Added ICMP Destination Unreachable codes from RFC-1812:

   14 = Host Precedence Violation.  Sent by the first hop router to a
        host to indicate that a requested precedence is not permitted
        for the particular combination of source/destination host or

   15 = Precedence cutoff in effect.  The network operators have imposed
        a minimum level of precedence required for operation, the
        datagram was sent with a precedence below this level;

27 years agothe blokes did not get there till 10 years later
deraadt [Thu, 30 Jan 1997 08:33:07 +0000 (08:33 +0000)]
the blokes did not get there till 10 years later

27 years agorace -> trace
deraadt [Thu, 30 Jan 1997 08:23:34 +0000 (08:23 +0000)]
race -> trace

27 years agofix IOR/IOW/IOWR; cgd@netbsd.org
deraadt [Thu, 30 Jan 1997 08:16:45 +0000 (08:16 +0000)]
fix IOR/IOW/IOWR; cgd@netbsd.org

27 years agoxref a few things
deraadt [Thu, 30 Jan 1997 07:59:50 +0000 (07:59 +0000)]
xref a few things

27 years agoif at first-request-for-a-domain we discover a file /etc/yp/$domainneme
deraadt [Thu, 30 Jan 1997 07:47:28 +0000 (07:47 +0000)]
if at first-request-for-a-domain we discover a file /etc/yp/$domainneme
to exist, use it as a list of valid servers instead of doing broadcasts.
However, do not change the semantics of -ypset or -ypsetme. Based on the
reasoning provided in netbsd pr#1759, lukem@supp.cpr.itg.telecom.com.au

27 years agoprint !A on ICMP_UNREACH_ADM_PROHIB too
kstailey [Thu, 30 Jan 1997 07:07:07 +0000 (07:07 +0000)]
print !A on ICMP_UNREACH_ADM_PROHIB too

27 years agoadded #define for Communication Administratively Prohibited
kstailey [Thu, 30 Jan 1997 07:01:45 +0000 (07:01 +0000)]
added #define for Communication Administratively Prohibited
as in RFC-1812 Section 5.2.7.1 Destination Unreachable

27 years agono need to recalc width before each select
deraadt [Thu, 30 Jan 1997 06:03:08 +0000 (06:03 +0000)]
no need to recalc width before each select

27 years agocareful about MAXADDRS, abrown@eecs.harvard.edu
deraadt [Thu, 30 Jan 1997 05:56:06 +0000 (05:56 +0000)]
careful about MAXADDRS, abrown@eecs.harvard.edu

27 years agoproto; felix@mamba.pond.sub.org
deraadt [Thu, 30 Jan 1997 05:05:00 +0000 (05:05 +0000)]
proto; felix@mamba.pond.sub.org