openbsd
27 years agoSome more KNF
niklas [Sun, 26 Jan 1997 11:00:07 +0000 (11:00 +0000)]
Some more KNF

27 years agoSupport lchown().
downsj [Sun, 26 Jan 1997 10:33:22 +0000 (10:33 +0000)]
Support lchown().

27 years agoFixed a busification bug (some may well remain), as well as some KNF issues
niklas [Sun, 26 Jan 1997 10:02:07 +0000 (10:02 +0000)]
Fixed a busification bug (some may well remain), as well as some KNF issues

27 years agoAdd missing documentation; build and install it.
downsj [Sun, 26 Jan 1997 09:53:18 +0000 (09:53 +0000)]
Add missing documentation; build and install it.

27 years agocpio 2.4.2, including texinfo file. supports lchown().
downsj [Sun, 26 Jan 1997 09:35:03 +0000 (09:35 +0000)]
cpio 2.4.2, including texinfo file.  supports lchown().

27 years agoChange to fix bug with constant handling in locore.
rahnds [Sun, 26 Jan 1997 09:06:38 +0000 (09:06 +0000)]
Change to fix bug with constant handling in locore.
16 bit operations should not be done on 32 bit quantities.

27 years agochange constant handling with @l.
rahnds [Sun, 26 Jan 1997 08:17:27 +0000 (08:17 +0000)]
change constant handling with @l.
if the expected argument to the opcode is unsigned,
return (val & 0xffff)
if the expected argument to the occode is signed,
sign extend the 16 bit value
short = val;
val = (int) short;

27 years agoCheck malloc() return value.
downsj [Sun, 26 Jan 1997 08:00:52 +0000 (08:00 +0000)]
Check malloc() return value.

27 years agochange default data limit so that source build will work without modifications.
rahnds [Sun, 26 Jan 1997 06:42:20 +0000 (06:42 +0000)]
change default data limit so that source build will work without modifications.

27 years agoEnable -h for calling lchown(2) instead of chown(2), and fix rcs ids.
downsj [Sun, 26 Jan 1997 05:54:26 +0000 (05:54 +0000)]
Enable -h for calling lchown(2) instead of chown(2), and fix rcs ids.

27 years agoRegen.
downsj [Sun, 26 Jan 1997 05:20:57 +0000 (05:20 +0000)]
Regen.

27 years agoAdd lchown(2).
downsj [Sun, 26 Jan 1997 05:18:27 +0000 (05:18 +0000)]
Add lchown(2).

27 years agoAdd lchown() declaration.
downsj [Sun, 26 Jan 1997 05:11:16 +0000 (05:11 +0000)]
Add lchown() declaration.

27 years agoAdd lchown(), increment minor number.
downsj [Sun, 26 Jan 1997 05:10:30 +0000 (05:10 +0000)]
Add lchown(), increment minor number.

27 years agoDynamic buffering to handle arbitrary line length and center option from FreeBSD
millert [Sun, 26 Jan 1997 03:56:52 +0000 (03:56 +0000)]
Dynamic buffering to handle arbitrary line length and center option from FreeBSD
I also cleaned it up to pass -Wall and check malloc().

27 years agoadd fsirand
millert [Sun, 26 Jan 1997 02:26:03 +0000 (02:26 +0000)]
add fsirand

27 years agoffs inode randomizer
millert [Sun, 26 Jan 1997 02:23:20 +0000 (02:23 +0000)]
ffs inode randomizer

27 years agoMake ip_len and ip_off unsigned values; don't transmit or accept packets
tholo [Sun, 26 Jan 1997 01:23:42 +0000 (01:23 +0000)]
Make ip_len and ip_off unsigned values; don't transmit or accept packets
larger than the maximum IP packet size.  From NetBSD.

27 years agouse mktemp(1) to avoid /tmp race; spotted by dholland@eecs.harvard.edu
deraadt [Sun, 26 Jan 1997 00:22:28 +0000 (00:22 +0000)]
use mktemp(1) to avoid /tmp race; spotted by dholland@eecs.harvard.edu

27 years agobye
deraadt [Sun, 26 Jan 1997 00:05:43 +0000 (00:05 +0000)]
bye

27 years agofor implied stdin, do not corrupt argv[0]
deraadt [Sun, 26 Jan 1997 00:02:25 +0000 (00:02 +0000)]
for implied stdin, do not corrupt argv[0]

27 years agoDon't do disruptive time corrections if tick size is not integral; from
tholo [Sat, 25 Jan 1997 23:35:58 +0000 (23:35 +0000)]
Don't do disruptive time corrections if tick size is not integral; from
Dennis Ferguson (NetBSD PR #2788)

27 years agoImprove adjtime() for odd hz values; from Dennis Ferguson (NetBSD PR# 2787)
tholo [Sat, 25 Jan 1997 23:31:47 +0000 (23:31 +0000)]
Improve adjtime() for odd hz values; from Dennis Ferguson (NetBSD PR# 2787)

27 years agoAttempt to give the entire passed address to getnetbyaddr() before starting
tholo [Sat, 25 Jan 1997 23:26:42 +0000 (23:26 +0000)]
Attempt to give the entire passed address to getnetbyaddr() before starting
to try various network masks

27 years agoDon't include bogus information here
tholo [Sat, 25 Jan 1997 23:13:56 +0000 (23:13 +0000)]
Don't include bogus information here

27 years agosplit cd() into two pieces, whoever was here last did a bad job
deraadt [Sat, 25 Jan 1997 21:42:27 +0000 (21:42 +0000)]
split cd() into two pieces, whoever was here last did a bad job

27 years agonever hand over a nonresv port, even if asked. problem reported by gmeinerj@ZUMtOBEL...
deraadt [Sat, 25 Jan 1997 21:30:37 +0000 (21:30 +0000)]
never hand over a nonresv port, even if asked. problem reported by gmeinerj@ZUMtOBEL.co.at

27 years agodo not change PATH
deraadt [Sat, 25 Jan 1997 21:16:44 +0000 (21:16 +0000)]
do not change PATH

27 years agoChanged my mind about where to do this.
dm [Sat, 25 Jan 1997 17:37:34 +0000 (17:37 +0000)]
Changed my mind about where to do this.

27 years agoUse ${CC:-cc} instead of cc
niklas [Sat, 25 Jan 1997 14:27:43 +0000 (14:27 +0000)]
Use ${CC:-cc} instead of cc

27 years agohacks to make it fit, parts by niklas
deraadt [Sat, 25 Jan 1997 09:16:36 +0000 (09:16 +0000)]
hacks to make it fit, parts by niklas

27 years agodo not use PATH, s/gcc/cc/, mouse@Rodents.Montreal.QC.CA netbsd pr#3138
deraadt [Sat, 25 Jan 1997 08:47:55 +0000 (08:47 +0000)]
do not use PATH, s/gcc/cc/, mouse@Rodents.Montreal.QC.CA netbsd pr#3138

27 years agoMMALLOC_DISABLE -> MALLOC_CFLAGS to fix link problem.
imp [Sat, 25 Jan 1997 05:17:45 +0000 (05:17 +0000)]
MMALLOC_DISABLE -> MALLOC_CFLAGS to fix link problem.

27 years agosync with NetBSD, changes from PR#3114, Michael.Eriksson@era-t.ericsson.se
downsj [Sat, 25 Jan 1997 04:59:42 +0000 (04:59 +0000)]
sync with NetBSD, changes from PR#3114, Michael.Eriksson@era-t.ericsson.se

27 years agoreapplied 1.2 -> 1.3 changes to run.c plus many fixes
kstailey [Sat, 25 Jan 1997 03:24:52 +0000 (03:24 +0000)]
reapplied 1.2 -> 1.3 changes to run.c plus many fixes

27 years agoOnly disclose generation number to root.
dm [Sat, 25 Jan 1997 00:27:30 +0000 (00:27 +0000)]
Only disclose generation number to root.

27 years agoback out 1.2 again for testing
kstailey [Sat, 25 Jan 1997 00:24:31 +0000 (00:24 +0000)]
back out 1.2 again for testing

27 years agoreapplied 1.2 -> 1.3 changes to run.c that got squashed
kstailey [Fri, 24 Jan 1997 23:43:09 +0000 (23:43 +0000)]
reapplied 1.2 -> 1.3 changes to run.c that got squashed

27 years agoBasically stock AT&T resarch awk until the awk vs. flex problems
millert [Fri, 24 Jan 1997 23:11:28 +0000 (23:11 +0000)]
Basically stock AT&T resarch awk until the awk vs. flex problems
have a better resolution.

27 years agobug fix:
chuck [Fri, 24 Jan 1997 20:57:52 +0000 (20:57 +0000)]
bug fix:
 - if aal5 frame has a CRC error then the length field in the aal5 trailer
        may not be valid, so we can not use it [and we must dump the frame]
        [Yuhang Sun <sunyh@dworkin.wustl.edu> & chuck@ccrc.wustl.edu]

27 years agoSync with NetBSD 961207
niklas [Fri, 24 Jan 1997 19:56:15 +0000 (19:56 +0000)]
Sync with NetBSD 961207

27 years agoSupport multiple -v options like GNU tar (> 1 -v means do ls-like output).
millert [Fri, 24 Jan 1997 19:41:19 +0000 (19:41 +0000)]
Support multiple -v options like GNU tar (> 1 -v means do ls-like output).

27 years agoSync with NetBSD 960123
niklas [Fri, 24 Jan 1997 19:34:15 +0000 (19:34 +0000)]
Sync with NetBSD 960123

27 years agoSIOCGIFCONF nicely
deraadt [Fri, 24 Jan 1997 19:17:25 +0000 (19:17 +0000)]
SIOCGIFCONF nicely

27 years agodo not build fake disklabel partitions for MBR partitions that have out-of-range...
deraadt [Fri, 24 Jan 1997 11:17:09 +0000 (11:17 +0000)]
do not build fake disklabel partitions for MBR partitions that have out-of-range start/size fields

27 years agoarc/pmax -> mips
deraadt [Fri, 24 Jan 1997 04:42:33 +0000 (04:42 +0000)]
arc/pmax -> mips

27 years agoXref acd/wd
deraadt [Fri, 24 Jan 1997 03:41:43 +0000 (03:41 +0000)]
Xref acd/wd

27 years agomore info
deraadt [Fri, 24 Jan 1997 03:39:04 +0000 (03:39 +0000)]
more info

27 years agonot netbsd
deraadt [Fri, 24 Jan 1997 02:14:38 +0000 (02:14 +0000)]
not netbsd

27 years agonetbsd? nope..
deraadt [Fri, 24 Jan 1997 02:13:10 +0000 (02:13 +0000)]
netbsd? nope..

27 years agomissing */
deraadt [Fri, 24 Jan 1997 02:12:15 +0000 (02:12 +0000)]
missing */

27 years agoSync w/ NETBSD_CURRENT_971122.
briggs [Fri, 24 Jan 1997 01:35:24 +0000 (01:35 +0000)]
Sync w/ NETBSD_CURRENT_971122.

27 years agoAdd kernel config for Allen's Q700.
briggs [Fri, 24 Jan 1997 01:25:25 +0000 (01:25 +0000)]
Add kernel config for Allen's Q700.

27 years agoblah
deraadt [Fri, 24 Jan 1997 00:15:06 +0000 (00:15 +0000)]
blah

27 years agoupdate
deraadt [Thu, 23 Jan 1997 23:48:23 +0000 (23:48 +0000)]
update

27 years agodocumentation errors; from max@freebsd
deraadt [Thu, 23 Jan 1997 20:01:41 +0000 (20:01 +0000)]
documentation errors; from max@freebsd

27 years agocorrect fs_passno comment; drochner@zelux6.zel.kfa-juelich.de
deraadt [Thu, 23 Jan 1997 18:59:31 +0000 (18:59 +0000)]
correct fs_passno comment; drochner@zelux6.zel.kfa-juelich.de

27 years agosh-based TEST suite and man page clarifications from FreeBSD
millert [Thu, 23 Jan 1997 17:42:52 +0000 (17:42 +0000)]
sh-based TEST suite and man page clarifications from FreeBSD

27 years agoSync with NetBSD 970118, missed...
niklas [Thu, 23 Jan 1997 16:22:56 +0000 (16:22 +0000)]
Sync with NetBSD 970118, missed...

27 years agoSync with NetBSD 970118
niklas [Thu, 23 Jan 1997 16:12:15 +0000 (16:12 +0000)]
Sync with NetBSD 970118

27 years agonice exit code; mikel
deraadt [Thu, 23 Jan 1997 10:37:40 +0000 (10:37 +0000)]
nice exit code; mikel

27 years agoadd NO_DEFLATE condition to be used in /boot
mickey [Thu, 23 Jan 1997 08:48:45 +0000 (08:48 +0000)]
add NO_DEFLATE condition to be used in /boot

27 years agocrank version number
deraadt [Thu, 23 Jan 1997 06:49:11 +0000 (06:49 +0000)]
crank version number

27 years agoallow boot from any [0-9] unit (wd+scsi fits now both)
mickey [Thu, 23 Jan 1997 06:42:50 +0000 (06:42 +0000)]
allow boot from any [0-9] unit (wd+scsi fits now both)

27 years agoperl mktemp race; fix mailed to larry
deraadt [Thu, 23 Jan 1997 04:31:36 +0000 (04:31 +0000)]
perl mktemp race; fix mailed to larry

27 years agochanged aicprint() to scsiprint()
flipk [Thu, 23 Jan 1997 04:13:52 +0000 (04:13 +0000)]
changed aicprint() to scsiprint()

27 years agoDon't mess with /usr/src if it already exists.
millert [Thu, 23 Jan 1997 03:41:24 +0000 (03:41 +0000)]
Don't mess with /usr/src if it already exists.

27 years agoUse ${INSTALL}. Also make all $(foo) be ${foo}.
niklas [Thu, 23 Jan 1997 02:24:22 +0000 (02:24 +0000)]
Use ${INSTALL}.  Also make all $(foo) be ${foo}.

27 years agoAccept ${NM} as an override for nm(1), useful for cross-dev.
niklas [Thu, 23 Jan 1997 02:19:58 +0000 (02:19 +0000)]
Accept ${NM} as an override for nm(1), useful for cross-dev.

27 years agoPedantic removal of extra spaces
niklas [Thu, 23 Jan 1997 02:18:05 +0000 (02:18 +0000)]
Pedantic removal of extra spaces

27 years agotypo, frueauf@ira.uka.de
deraadt [Wed, 22 Jan 1997 23:11:46 +0000 (23:11 +0000)]
typo, frueauf@ira.uka.de

27 years agoback out bounce buffer fixes until i get them working 100%
deraadt [Wed, 22 Jan 1997 22:47:47 +0000 (22:47 +0000)]
back out bounce buffer fixes until i get them working 100%

27 years agopmap enter fixes for I/O mapping.
pefo [Wed, 22 Jan 1997 22:41:15 +0000 (22:41 +0000)]
pmap enter fixes for I/O mapping.

27 years agoFixed some pmap problems when porting XFree86 (mmap of i/o etc).
pefo [Wed, 22 Jan 1997 22:23:19 +0000 (22:23 +0000)]
Fixed some pmap problems when porting XFree86 (mmap of i/o etc).

27 years agoonly go into wide scsi mode if the card supports it
deraadt [Wed, 22 Jan 1997 21:46:51 +0000 (21:46 +0000)]
only go into wide scsi mode if the card supports it

27 years agoxref manual pages via SEE ALSO
kstailey [Wed, 22 Jan 1997 21:36:29 +0000 (21:36 +0000)]
xref manual pages via SEE ALSO

27 years agoCurrent status.
rahnds [Wed, 22 Jan 1997 20:39:32 +0000 (20:39 +0000)]
Current status.

27 years agoexample fdisk and disklabel information in the Installation instructions.
rahnds [Wed, 22 Jan 1997 20:36:58 +0000 (20:36 +0000)]
example fdisk and disklabel information in the Installation instructions.

27 years agoadd docs about EHOSTUNREACH; from hwr@pilhuhn.de
deraadt [Wed, 22 Jan 1997 20:27:58 +0000 (20:27 +0000)]
add docs about EHOSTUNREACH; from hwr@pilhuhn.de

27 years agohandle SIOCGIFCONF for as many interfaces as provided
deraadt [Wed, 22 Jan 1997 18:50:40 +0000 (18:50 +0000)]
handle SIOCGIFCONF for as many interfaces as provided

27 years agoget the ethernet/fddi issue half right. This needs to be fixed better
deraadt [Wed, 22 Jan 1997 18:20:49 +0000 (18:20 +0000)]
get the ethernet/fddi issue half right. This needs to be fixed better

27 years agoCorrect networks(5) references
niklas [Wed, 22 Jan 1997 13:20:58 +0000 (13:20 +0000)]
Correct networks(5) references

27 years agoAdd rudimentary config files for architectures that still use the old gdb
niklas [Wed, 22 Jan 1997 11:56:26 +0000 (11:56 +0000)]
Add rudimentary config files for architectures that still use the old gdb

27 years agoRedo the GZIP somewhat. Use NOGZIP= to get no compression at all.
niklas [Wed, 22 Jan 1997 11:13:53 +0000 (11:13 +0000)]
Redo the GZIP somewhat.  Use NOGZIP= to get no compression at all.
if NOGZIP is not set, these three vars are overidable: GZIP, GZIPFLAGS &
GZIPEXT.  Also do some s/install/\${INSTALL}/ edits

27 years agounify mips and m68k ports; idea from graichen
deraadt [Wed, 22 Jan 1997 09:24:00 +0000 (09:24 +0000)]
unify mips and m68k ports; idea from graichen

27 years agoSIOCGIFCONF nicely
deraadt [Wed, 22 Jan 1997 09:21:48 +0000 (09:21 +0000)]
SIOCGIFCONF nicely

27 years agoSIOCGIFCONF more carefully
deraadt [Wed, 22 Jan 1997 08:52:32 +0000 (08:52 +0000)]
SIOCGIFCONF more carefully

27 years agoFix some err(3) usage and usage string.
millert [Wed, 22 Jan 1997 06:53:13 +0000 (06:53 +0000)]
Fix some err(3) usage and usage string.

27 years agoFix off-by-one differently--add an extra byte to buffer (ick).
millert [Wed, 22 Jan 1997 06:43:51 +0000 (06:43 +0000)]
Fix off-by-one differently--add an extra byte to buffer (ick).
Don't dump core on empty file.

27 years agoOff by one error. Fixes a core dump.
millert [Wed, 22 Jan 1997 05:49:19 +0000 (05:49 +0000)]
Off by one error.  Fixes a core dump.

27 years agoDon't fault a page in twice (first prefault, then vm_fault); the first was
tholo [Wed, 22 Jan 1997 04:15:17 +0000 (04:15 +0000)]
Don't fault a page in twice (first prefault, then vm_fault); the first was
not neccecary (and actually caused some problems).

27 years agostuff that got missed
downsj [Wed, 22 Jan 1997 03:48:52 +0000 (03:48 +0000)]
stuff that got missed

27 years agoSendmail 8.8.5.
downsj [Wed, 22 Jan 1997 01:06:44 +0000 (01:06 +0000)]
Sendmail 8.8.5.

27 years agocall err() correctly
deraadt [Wed, 22 Jan 1997 00:37:15 +0000 (00:37 +0000)]
call err() correctly

27 years agoback out 1.4; I should know better than to do this after a big meal
kstailey [Tue, 21 Jan 1997 23:57:37 +0000 (23:57 +0000)]
back out 1.4; I should know better than to do this after a big meal

27 years agooptimization: kill two calls to strlen() in format()
kstailey [Tue, 21 Jan 1997 23:47:55 +0000 (23:47 +0000)]
optimization: kill two calls to strlen() in format()

27 years agoBuild bsd and binutils for powerpc ala alpha and pmax.
rahnds [Tue, 21 Jan 1997 23:18:06 +0000 (23:18 +0000)]
Build bsd and binutils for powerpc ala alpha and pmax.

27 years agoIf mounting a CD filesystem as a root image, at least call inittodr.
rahnds [Tue, 21 Jan 1997 21:34:18 +0000 (21:34 +0000)]
If mounting a CD filesystem as a root image, at least call inittodr.
Most filesystems have a last modified date that is supplied,
however since that is not available on iso9660 could image creation
time be used instead? Currently it supplies 0, the beginning of time
as the parameter to inittodr.
This is so that when installing from a CD image, the file or directory
timestamps will be sane, not beginning of time.

27 years agothe locate code assumes that char max is 127 (char == signed char)
rahnds [Tue, 21 Jan 1997 21:22:56 +0000 (21:22 +0000)]
the locate code assumes that char max is 127 (char == signed char)
however on the powerpc port that is not the case (char == unsigned char)
Thus this change, if anyone has a better idea, feel free.

27 years agofrom the FIXES file:
kstailey [Tue, 21 Jan 1997 21:14:03 +0000 (21:14 +0000)]
from the FIXES file:

Oct 20, 1988:
        Fixed %c:  if expr is numeric, use numeric value;
        otherwise print 1st char of string value.  still
        doesn't work if the value is 0 -- won't print \0.

This bugged me because it prevents awk from being a general-purpose
decimal to bytestream converter (also GNU awk gets this right.)

Look in /usr/share/man/cat4/sun3/leds.0 and you see:

           # echo 0 0 0 5 0 0 0 8 254 253 250 247 239 223 175 127 |
             awk '{ for (i=1;i<=NF;i++) printf("%c",$i+0); }' > /dev/leds

This used to fail since "0" did not produce a \0 on stdout.

It doesn't make any sense to me to fix awksprintf() the same way I did
awkprintf() since sticking a \0 in a string ends it.