openbsd
27 years agoadd '-a' flag for afs string-to-key.
rees [Tue, 8 Apr 1997 22:40:52 +0000 (22:40 +0000)]
add '-a' flag for afs string-to-key.

27 years agonuevos
deraadt [Tue, 8 Apr 1997 19:44:49 +0000 (19:44 +0000)]
nuevos

27 years agouse MKTEMP_EACH_FILE, whee
deraadt [Tue, 8 Apr 1997 19:33:41 +0000 (19:33 +0000)]
use MKTEMP_EACH_FILE, whee

27 years agoSunOS uses trap 2 to clear cpu caches. From NetBSD via scottr and gwr.
briggs [Tue, 8 Apr 1997 17:30:23 +0000 (17:30 +0000)]
SunOS uses trap 2 to clear cpu caches.  From NetBSD via scottr and gwr.

27 years agoClarify comment a bit and skip userret when flushing CPU caches in SunOS emul.
briggs [Tue, 8 Apr 1997 13:55:56 +0000 (13:55 +0000)]
Clarify comment a bit and skip userret when flushing CPU caches in SunOS emul.

27 years agouse $> -- thanks for the debugging help niklas
deraadt [Tue, 8 Apr 1997 11:14:29 +0000 (11:14 +0000)]
use $> -- thanks for the debugging help niklas

27 years agoattempt cd9660 & part/nblks fix
deraadt [Tue, 8 Apr 1997 09:02:15 +0000 (09:02 +0000)]
attempt cd9660 & part/nblks fix

27 years agoFix from NetBSD: flush caches on trap 2 in SunOS emulation. Comment on
briggs [Tue, 8 Apr 1997 05:14:52 +0000 (05:14 +0000)]
Fix from NetBSD: flush caches on trap 2 in SunOS emulation.  Comment on
mac68k change by scottr attributes Gordon (Ross) on the change.

27 years agoChanges from Michael R. Zucca <mrz5149@cs.rit.edu> for 16-bit and 32-bit
briggs [Tue, 8 Apr 1997 04:41:26 +0000 (04:41 +0000)]
Changes from Michael R. Zucca <mrz5149@cs.rit.edu> for 16-bit and 32-bit
console support.

27 years agoSome patches from Bob Nestor <rnestor@metronet.com> to edge toward support
briggs [Tue, 8 Apr 1997 04:14:45 +0000 (04:14 +0000)]
Some patches from Bob Nestor <rnestor@metronet.com> to edge toward support
for an Apple SONIC-based ethernet card.  Includes a patch to the nubus
probing that we worked out together.  Some cards, like his, were being
missed and/or probed like video cards\!

27 years agoFrom scottr@netbsd.org:
gene [Tue, 8 Apr 1997 02:53:27 +0000 (02:53 +0000)]
From scottr@netbsd.org:
>Fix SunOS user trace trap handling, from Gordon.

27 years agoObseleted by new which(1) that acts like whereis(1) when invoked
millert [Tue, 8 Apr 1997 02:50:11 +0000 (02:50 +0000)]
Obseleted by new which(1) that acts like whereis(1) when invoked
which "whereis" as argv[0].

27 years agowhereis is now linked to which
millert [Tue, 8 Apr 1997 02:45:10 +0000 (02:45 +0000)]
whereis is now linked to which

27 years agowhich(1) and whereis(1) are now the same program (hard linked).
millert [Tue, 8 Apr 1997 02:44:05 +0000 (02:44 +0000)]
which(1) and whereis(1) are now the same program (hard linked).

27 years agouse a different, smaller font.
michaels [Tue, 8 Apr 1997 00:47:21 +0000 (00:47 +0000)]
use a different, smaller font.

27 years agoRewrite to make dma more stable from scottr@netbsd
gene [Tue, 8 Apr 1997 00:26:15 +0000 (00:26 +0000)]
Rewrite to make dma more stable from scottr@netbsd

27 years agouse $< instead of $? for ar. Obviously required since the .a file gets
deraadt [Mon, 7 Apr 1997 23:57:44 +0000 (23:57 +0000)]
use $< instead of $? for ar. Obviously required since the .a file gets
deleted in the same target! bug report sent to cygnus via niklas.

27 years agodocument the config flags field
rees [Mon, 7 Apr 1997 23:17:03 +0000 (23:17 +0000)]
document the config flags field

27 years agoi think i got this right....
deraadt [Mon, 7 Apr 1997 22:53:44 +0000 (22:53 +0000)]
i think i got this right....

27 years agoChange a stat(2) -> lstat(2) to avoid symlink games. From Keith
millert [Mon, 7 Apr 1997 22:48:50 +0000 (22:48 +0000)]
Change a stat(2) -> lstat(2) to avoid symlink games.  From Keith
Bostic <bostic@bostic.com>.

27 years agocf_flags & 0x20 forces device to be found even if it won't probe.
rees [Mon, 7 Apr 1997 22:48:08 +0000 (22:48 +0000)]
cf_flags & 0x20 forces device to be found even if it won't probe.

27 years agoflush all old routes before adding new interfaces or routes.
rees [Mon, 7 Apr 1997 22:18:05 +0000 (22:18 +0000)]
flush all old routes before adding new interfaces or routes.
ref: netbsd pr3228/misc, Matthias Scheler

27 years agoparanoid about MAXHOSTNAMELEN
deraadt [Mon, 7 Apr 1997 19:55:26 +0000 (19:55 +0000)]
paranoid about MAXHOSTNAMELEN

27 years agoBack out last changes for now. They cause problems.
millert [Mon, 7 Apr 1997 15:59:53 +0000 (15:59 +0000)]
Back out last changes for now.  They cause problems.

27 years agoXXX Work around make(1) bug. This must be fixed.
downsj [Mon, 7 Apr 1997 15:38:53 +0000 (15:38 +0000)]
XXX Work around make(1) bug.  This must be fixed.

27 years agoBuild man pages using my bsd.man.mk extensions, ala Perl, instead of making
downsj [Mon, 7 Apr 1997 13:30:24 +0000 (13:30 +0000)]
Build man pages using my bsd.man.mk extensions, ala Perl, instead of making
links and other disgusting things.

Copes with the global .man extension used here.

27 years agoturn off INSECURE, using Aperture driver now; also activate VM86 & USER_LDT for MS...
kstailey [Mon, 7 Apr 1997 13:30:24 +0000 (13:30 +0000)]
turn off INSECURE, using Aperture driver now; also activate VM86 & USER_LDT for MS-emulation

27 years agoBleh. bus_probe has opposite return of my fn.
briggs [Mon, 7 Apr 1997 13:03:17 +0000 (13:03 +0000)]
Bleh.  bus_probe has opposite return of my fn.

27 years agoPerhaps improve reliability with some small performance sacrifice.
briggs [Mon, 7 Apr 1997 12:56:45 +0000 (12:56 +0000)]
Perhaps improve reliability with some small performance sacrifice.

27 years agoDenny suggests that we make all Quadra cases the same. The Q700, at least
briggs [Mon, 7 Apr 1997 12:45:20 +0000 (12:45 +0000)]
Denny suggests that we make all Quadra cases the same.  The Q700, at least
seems to be able to work with the Q650 configuration, but not vice-versa.

27 years agocd9660 & partition/block number confusion correction
deraadt [Mon, 7 Apr 1997 12:01:19 +0000 (12:01 +0000)]
cd9660 & partition/block number confusion correction

27 years agounconfuse partition/block sizing stuff
deraadt [Mon, 7 Apr 1997 12:00:17 +0000 (12:00 +0000)]
unconfuse partition/block sizing stuff

27 years agocd has 16 partitions, plus other misc
deraadt [Mon, 7 Apr 1997 11:49:42 +0000 (11:49 +0000)]
cd has 16 partitions, plus other misc

27 years agowrong place
deraadt [Mon, 7 Apr 1997 11:22:27 +0000 (11:22 +0000)]
wrong place

27 years agoadd cd9660 spoofing and repair partition offset/block offset stuff
deraadt [Mon, 7 Apr 1997 11:21:21 +0000 (11:21 +0000)]
add cd9660 spoofing and repair partition offset/block offset stuff

27 years agouse libc err(); ahd@kew.com
deraadt [Mon, 7 Apr 1997 10:12:07 +0000 (10:12 +0000)]
use libc err(); ahd@kew.com

27 years agothat is right
deraadt [Mon, 7 Apr 1997 09:00:10 +0000 (09:00 +0000)]
that is right

27 years agodeal with partition/block size differences
deraadt [Mon, 7 Apr 1997 08:59:19 +0000 (08:59 +0000)]
deal with partition/block size differences

27 years agoBetter error message when lookup of getlogin() != uid
millert [Mon, 7 Apr 1997 06:43:09 +0000 (06:43 +0000)]
Better error message when lookup of getlogin() != uid

27 years agoUse MAXPARTITIONS not ``8''
millert [Mon, 7 Apr 1997 06:23:10 +0000 (06:23 +0000)]
Use MAXPARTITIONS not ``8''

27 years ago16 partitions
millert [Mon, 7 Apr 1997 06:19:48 +0000 (06:19 +0000)]
16 partitions

27 years ago#include "stand.h" not <stand.h>
millert [Mon, 7 Apr 1997 05:59:30 +0000 (05:59 +0000)]
#include "stand.h" not <stand.h>

27 years agoWe run OpenBSD. Also note that installboot may be run on the ``c''
millert [Mon, 7 Apr 1997 05:23:33 +0000 (05:23 +0000)]
We run OpenBSD.  Also note that installboot may be run on the ``c''
partition instead of ``a'' to avoid problems with securelevel > 0.

27 years agoAhem... bus_probe() already exists and does what bus_space_bad_addr() does.
briggs [Mon, 7 Apr 1997 03:23:35 +0000 (03:23 +0000)]
Ahem...  bus_probe() already exists and does what bus_space_bad_addr() does.
Nuke the latter.

27 years agoFix device name.
weingart [Mon, 7 Apr 1997 02:07:06 +0000 (02:07 +0000)]
Fix device name.

27 years agoReboot stuff.
weingart [Mon, 7 Apr 1997 01:26:00 +0000 (01:26 +0000)]
Reboot stuff.

27 years agoFix m68k/153 as suggested by David Leonard <d@occult.fnarg.net.au>.
briggs [Mon, 7 Apr 1997 01:22:15 +0000 (01:22 +0000)]
Fix m68k/153 as suggested by David Leonard <d@occult.fnarg.net.au>.
Fix a couple more, similar, bugs while I'm here to save David the
trouble of reporting them, too.

27 years agoReset stuff.
weingart [Mon, 7 Apr 1997 01:21:54 +0000 (01:21 +0000)]
Reset stuff.

27 years agoClarifications.
weingart [Mon, 7 Apr 1997 01:20:08 +0000 (01:20 +0000)]
Clarifications.

27 years agoRe-run configure if Makefile.in, configure, or c-parse.in changes.
millert [Mon, 7 Apr 1997 00:18:17 +0000 (00:18 +0000)]
Re-run configure if Makefile.in, configure, or c-parse.in changes.
This should fix the problem people were seeing with gcc reporting
unresolved symbols (Makefile and Makefile.in were inconsistent).

27 years agoAdd partition type 0x12.
downsj [Sun, 6 Apr 1997 23:54:44 +0000 (23:54 +0000)]
Add partition type 0x12.

27 years agobad dkpart(), bad dkunit(), bad bad bad
deraadt [Sun, 6 Apr 1997 20:59:40 +0000 (20:59 +0000)]
bad dkpart(), bad dkunit(), bad bad bad

27 years agoUse a size_t as arg 4 to sysctl(3).
millert [Sun, 6 Apr 1997 20:19:22 +0000 (20:19 +0000)]
Use a size_t as arg 4 to sysctl(3).

27 years agoUse a size_t when necesary.
millert [Sun, 6 Apr 1997 20:16:30 +0000 (20:16 +0000)]
Use a size_t when necesary.

27 years ago#include stdlib.h to get malloc(3) and calloc(3) definitions.
millert [Sun, 6 Apr 1997 20:15:45 +0000 (20:15 +0000)]
#include stdlib.h to get malloc(3) and calloc(3) definitions.
Fixes compiler warnings.

27 years agodevboot commit
mickey [Sun, 6 Apr 1997 20:08:25 +0000 (20:08 +0000)]
devboot commit

27 years agodevboot proto
mickey [Sun, 6 Apr 1997 19:52:46 +0000 (19:52 +0000)]
devboot proto

27 years agoFix int vs. long problems
millert [Sun, 6 Apr 1997 19:52:11 +0000 (19:52 +0000)]
Fix int vs. long problems

27 years agoFix mangling in assignment of np->n_net to ina.s_addr.
millert [Sun, 6 Apr 1997 19:17:06 +0000 (19:17 +0000)]
Fix mangling in assignment of np->n_net to ina.s_addr.
Presumably this was added to deal with 64-bit machines but
it is a) wrong and b) not necesary now that we use in_addr_t.

27 years agoCast pointer to u_long, not u_int32_t (which is too small on alpha)
millert [Sun, 6 Apr 1997 19:00:22 +0000 (19:00 +0000)]
Cast pointer to u_long, not u_int32_t (which is too small on alpha)

27 years agoNow need sys/time.h here.
briggs [Sun, 6 Apr 1997 16:35:18 +0000 (16:35 +0000)]
Now need sys/time.h here.

27 years ago16 bit uids suck
deraadt [Sun, 6 Apr 1997 09:15:30 +0000 (09:15 +0000)]
16 bit uids suck

27 years agocleanup using -Wall
deraadt [Sun, 6 Apr 1997 09:14:35 +0000 (09:14 +0000)]
cleanup using -Wall

27 years agostrncpy
deraadt [Sun, 6 Apr 1997 09:13:02 +0000 (09:13 +0000)]
strncpy

27 years agoclean -Wall
deraadt [Sun, 6 Apr 1997 08:43:41 +0000 (08:43 +0000)]
clean -Wall

27 years agoissetugid() this last getenv based open
deraadt [Sun, 6 Apr 1997 07:55:04 +0000 (07:55 +0000)]
issetugid() this last getenv based open

27 years agoFix improper cast (compiler warning).
millert [Sun, 6 Apr 1997 07:00:14 +0000 (07:00 +0000)]
Fix improper cast (compiler warning).

27 years agoAdd CD9660 now that it works.
millert [Sun, 6 Apr 1997 06:32:18 +0000 (06:32 +0000)]
Add CD9660 now that it works.

27 years agoUse long, not int when casting pointers and storing as integers.
millert [Sun, 6 Apr 1997 06:31:45 +0000 (06:31 +0000)]
Use long, not int when casting pointers and storing as integers.
Now compiles on alpha w/o warnings.

27 years agoRemove old -P flag since it doesn't do anything and make -P mean
millert [Sun, 6 Apr 1997 06:26:23 +0000 (06:26 +0000)]
Remove old -P flag since it doesn't do anything and make -P mean
"preserve leading /" like GNU tar (no longer use -S for this).

27 years agosupport cd9660 disklabel spoofing; also fix block offset confusion
deraadt [Sun, 6 Apr 1997 06:13:03 +0000 (06:13 +0000)]
support cd9660 disklabel spoofing; also fix block offset confusion

27 years agoAllow creation of archives with block sizes up to 64512 bytes
millert [Sun, 6 Apr 1997 06:11:10 +0000 (06:11 +0000)]
Allow creation of archives with block sizes up to 64512 bytes
but complain about non-portability if > 32256 bytes.
Brought up by George Robbins <grr@shandakor.tharsis.com>

27 years agocorrect blocksize confusion
deraadt [Sun, 6 Apr 1997 06:09:25 +0000 (06:09 +0000)]
correct blocksize confusion

27 years agocorrect labelsector confusion
deraadt [Sun, 6 Apr 1997 06:04:26 +0000 (06:04 +0000)]
correct labelsector confusion

27 years agosupport cd9660 disklabel spoofing; also fix block offset confusion
deraadt [Sun, 6 Apr 1997 06:03:44 +0000 (06:03 +0000)]
support cd9660 disklabel spoofing; also fix block offset confusion

27 years agoEradicate #include <sys/*> from machine/*.h. Prompting from Gene.
briggs [Sun, 6 Apr 1997 02:59:52 +0000 (02:59 +0000)]
Eradicate #include <sys/*> from machine/*.h.  Prompting from Gene.

27 years agoAttempt to kludge around the fact that we can not yet get the correct MAC
briggs [Sun, 6 Apr 1997 01:02:13 +0000 (01:02 +0000)]
Attempt to kludge around the fact that we can not yet get the correct MAC
address for the SONIC on PB5xx series.  This uses the bus_space_bad_addr
function that I added earlier.

27 years ago32bit corrections
mickey [Sat, 5 Apr 1997 23:49:07 +0000 (23:49 +0000)]
32bit corrections

27 years agoadd quirk table entry for the Ultima A6000C
kstailey [Sat, 5 Apr 1997 23:34:18 +0000 (23:34 +0000)]
add quirk table entry for the Ultima A6000C

27 years agodevboot is no longer in boot.c
mickey [Sat, 5 Apr 1997 23:27:35 +0000 (23:27 +0000)]
devboot is no longer in boot.c
missed from last commit

27 years agofix NULL ptr deref in ss_set_window()
kstailey [Sat, 5 Apr 1997 22:59:13 +0000 (22:59 +0000)]
fix NULL ptr deref in ss_set_window()

27 years agoFix bug introduced with "exit(0) if no files" behavior change.
millert [Sat, 5 Apr 1997 22:51:53 +0000 (22:51 +0000)]
Fix bug introduced with "exit(0) if no files" behavior change.

27 years agoStrip leading '/' of pathnames (only in tar mode). -S option turns
millert [Sat, 5 Apr 1997 22:36:12 +0000 (22:36 +0000)]
Strip leading '/' of pathnames (only in tar mode).  -S option turns
this off like GNU tar.

27 years agosettimeofday(2) restruction moved to secure level 2.
millert [Sat, 5 Apr 1997 22:06:10 +0000 (22:06 +0000)]
settimeofday(2) restruction moved to secure level 2.

27 years agocorrect DEV_BSIZE vs lp->d_secsize confusion; spotted by hte late night icb gang...
deraadt [Sat, 5 Apr 1997 21:56:02 +0000 (21:56 +0000)]
correct DEV_BSIZE vs lp->d_secsize confusion; spotted by hte late night icb gang. Other ports need fixing still

27 years agordroot entry for ramdisk kernel.
mickey [Sat, 5 Apr 1997 21:48:28 +0000 (21:48 +0000)]
rdroot entry for ramdisk kernel.
import from hp300 port

27 years agonew exec stuff
mickey [Sat, 5 Apr 1997 21:29:49 +0000 (21:29 +0000)]
new exec stuff

27 years agodo not up wiring count for page tables (especially those actually
flipk [Sat, 5 Apr 1997 21:24:48 +0000 (21:24 +0000)]
do not up wiring count for page tables (especially those actually
owned by the kernel pmap). Chuck Cranor (chuck@maria.wustl.edu) and Theo.

27 years agoUse in_addr_t not u_long and use in_port_t in some cases instead
millert [Sat, 5 Apr 1997 21:13:05 +0000 (21:13 +0000)]
Use in_addr_t not u_long and use in_port_t in some cases instead
of u_short or u_int16_t.

27 years agoUse in_addr_t not u_long.
millert [Sat, 5 Apr 1997 20:58:28 +0000 (20:58 +0000)]
Use in_addr_t not u_long.

27 years agoremoved conditional code
kstailey [Sat, 5 Apr 1997 20:48:58 +0000 (20:48 +0000)]
removed conditional code

27 years agosendsig and sys_sigreturn are in m68k area now
kstailey [Sat, 5 Apr 1997 20:44:25 +0000 (20:44 +0000)]
sendsig and sys_sigreturn are in m68k area now

27 years agofpu_type -> fputype
kstailey [Sat, 5 Apr 1997 20:32:49 +0000 (20:32 +0000)]
fpu_type -> fputype

27 years agofpu_type -> fputype
kstailey [Sat, 5 Apr 1997 20:22:01 +0000 (20:22 +0000)]
fpu_type -> fputype

27 years agoif TERM=dumb disable progress and editing for emacs ange-ftp
kstailey [Sat, 5 Apr 1997 19:53:10 +0000 (19:53 +0000)]
if TERM=dumb disable progress and editing for emacs ange-ftp

27 years agoput gdt & idt in the separate file.
mickey [Sat, 5 Apr 1997 18:56:14 +0000 (18:56 +0000)]
put gdt & idt in the separate file.
print trapno in dump_regs.
no more NO_IDTR.

27 years agoImplement a bus_space_bad_addr() function to aid in some device probing with
briggs [Sat, 5 Apr 1997 16:22:06 +0000 (16:22 +0000)]
Implement a bus_space_bad_addr() function to aid in some device probing with
the bus_space universe.

27 years agoMove the PB140/145 info to it's own case. A couple of the entry points
briggs [Sat, 5 Apr 1997 16:19:29 +0000 (16:19 +0000)]
Move the PB140/145 info to it's own case.  A couple of the entry points
are different from other cases.

27 years agoMRG-based ADB support for the PowerBook series. Contributed by
briggs [Sat, 5 Apr 1997 15:29:10 +0000 (15:29 +0000)]
MRG-based ADB support for the PowerBook series.  Contributed by
hamada@next.etron.kanazawa-it.ac.jp (Takashi Hamada)

27 years agoDocument that negative offsets will cause EINVAL as well.
tholo [Sat, 5 Apr 1997 05:07:58 +0000 (05:07 +0000)]
Document that negative offsets will cause EINVAL as well.