openbsd
27 years agoUse the new genassym.cf method of generating the assym.h file.
rahnds [Fri, 18 Apr 1997 20:33:08 +0000 (20:33 +0000)]
Use the new genassym.cf method of generating the assym.h file.

27 years agomake ~ftp/pub mode 0555
millert [Fri, 18 Apr 1997 20:25:54 +0000 (20:25 +0000)]
make ~ftp/pub mode 0555
add ~ftp/{motd,spwd.db,pwd.db} mode 0444

27 years agocreate additional disk devices in ramdisk image.
rahnds [Fri, 18 Apr 1997 20:25:07 +0000 (20:25 +0000)]
create additional disk devices in ramdisk image.
necessary to access cdrom and other devices (currently show up as disks)

27 years agoStuff hidden in my trees:
rahnds [Fri, 18 Apr 1997 20:23:41 +0000 (20:23 +0000)]
Stuff hidden in my trees:
need mount_msdos on ramdisk image, to mount boot partition.
It is in the crunched executable aready.

27 years agodo not check BOOT_MAGIC!
deraadt [Fri, 18 Apr 1997 20:15:43 +0000 (20:15 +0000)]
do not check BOOT_MAGIC!

27 years agoFix problem when fetching files with -a.
millert [Fri, 18 Apr 1997 18:56:49 +0000 (18:56 +0000)]
Fix problem when fetching files with -a.

27 years agoconstrain length of db lookups better; reported by adam@math.tau.ac.il
deraadt [Fri, 18 Apr 1997 18:55:16 +0000 (18:55 +0000)]
constrain length of db lookups better; reported by adam@math.tau.ac.il

27 years agoangelos, please forgive me );
mickey [Fri, 18 Apr 1997 17:53:13 +0000 (17:53 +0000)]
angelos, please forgive me );
i missed this yesterday.... now it must work for you! (;

27 years agosome cleanup, comments and copyright
mickey [Fri, 18 Apr 1997 17:48:23 +0000 (17:48 +0000)]
some cleanup, comments and copyright

27 years agoUse genassym.cf and a shell script to build assym.h. This helps
gene [Fri, 18 Apr 1997 17:29:50 +0000 (17:29 +0000)]
Use genassym.cf and a shell script to build assym.h.  This helps
cross-compiling a lot.  Queue taken from Scott Reynolds.

27 years agofaked disklabel for extended partition +
provos [Fri, 18 Apr 1997 14:27:22 +0000 (14:27 +0000)]
faked disklabel for extended partition +
fixes by Niklas to faciliate use of other partition types (ext2fs) +
Indentation by Theo ;)

27 years agoFix from Denny Gentry--initialize receive seq. count and don't skip an entry
briggs [Fri, 18 Apr 1997 11:58:34 +0000 (11:58 +0000)]
Fix from Denny Gentry--initialize receive seq. count and don't skip an entry
when programming the CAM.

27 years agooops
deraadt [Fri, 18 Apr 1997 10:15:20 +0000 (10:15 +0000)]
oops

27 years agocleanup -Wall
deraadt [Fri, 18 Apr 1997 10:13:23 +0000 (10:13 +0000)]
cleanup -Wall

27 years agoDon't set sillyrename field to 0 for directories, as it's in a union with
deraadt [Fri, 18 Apr 1997 10:09:46 +0000 (10:09 +0000)]
Don't set sillyrename field to 0 for directories, as it's in a union with
the head of the cookie list. Fixes PR 3215, fix supplied by Hiroshi Tezuka
<tezuka@trc.rwcp.or.jp>. Should also fix M_NFSDIROFF memory leak; fvdl

27 years agoFix some bugs in NQNFS (malformed RPC requests, no directory lease eviction);
deraadt [Fri, 18 Apr 1997 10:02:36 +0000 (10:02 +0000)]
Fix some bugs in NQNFS (malformed RPC requests, no directory lease eviction);
fvdl

27 years agoavoid possible *NULL; fvdl
deraadt [Fri, 18 Apr 1997 09:58:11 +0000 (09:58 +0000)]
avoid possible *NULL; fvdl

27 years agoindent
deraadt [Fri, 18 Apr 1997 09:57:29 +0000 (09:57 +0000)]
indent

27 years agonew socket required if changing NOCONN; fvdl
deraadt [Fri, 18 Apr 1997 09:30:48 +0000 (09:30 +0000)]
new socket required if changing NOCONN; fvdl

27 years agoensure nfs_mountroot device is a network device; from who-knows-who at
deraadt [Fri, 18 Apr 1997 09:28:03 +0000 (09:28 +0000)]
ensure nfs_mountroot device is a network device; from who-knows-who at
netbsd but who-can-tell because they don't make their cvs tree available
so that people can check and give proper credit.

27 years agoindent
deraadt [Fri, 18 Apr 1997 09:22:45 +0000 (09:22 +0000)]
indent

27 years agoonly build ramdisk
deraadt [Fri, 18 Apr 1997 07:27:41 +0000 (07:27 +0000)]
only build ramdisk

27 years agoClean up error handling a little. There is a small
weingart [Fri, 18 Apr 1997 06:54:40 +0000 (06:54 +0000)]
Clean up error handling a little.  There is a small
problem with marginal disks.  This code does not
like them at all.  I'm too frazzled right now to
figure this out.  This should give better error
messages...

27 years agodoc recommended build process somewhat
deraadt [Fri, 18 Apr 1997 06:47:08 +0000 (06:47 +0000)]
doc recommended build process somewhat

27 years agomount_ext2fs
deraadt [Fri, 18 Apr 1997 06:40:42 +0000 (06:40 +0000)]
mount_ext2fs

27 years agoalpha is like amiga in the sense it doesn't support bad block lists.
niklas [Fri, 18 Apr 1997 06:12:23 +0000 (06:12 +0000)]
alpha is like amiga in the sense it doesn't support bad block lists.
This ought to be done differently, but for now this will suffice.

27 years agoUse the right types on 64-bit machines
niklas [Fri, 18 Apr 1997 06:10:07 +0000 (06:10 +0000)]
Use the right types on 64-bit machines

27 years agofix a bug
mickey [Fri, 18 Apr 1997 04:23:51 +0000 (04:23 +0000)]
fix a bug

27 years agoWe run OpenBSD
millert [Fri, 18 Apr 1997 03:49:48 +0000 (03:49 +0000)]
We run OpenBSD

27 years agouse libs from correct paths
mickey [Fri, 18 Apr 1997 03:17:29 +0000 (03:17 +0000)]
use libs from correct paths

27 years agono assembly listing
mickey [Fri, 18 Apr 1997 02:14:28 +0000 (02:14 +0000)]
no assembly listing

27 years agoComment out example entries in this file.
gene [Fri, 18 Apr 1997 01:52:35 +0000 (01:52 +0000)]
Comment out example entries in this file.
This is really paranoid, but who knows what some weirdos are capable of?

27 years agooops...
mickey [Fri, 18 Apr 1997 01:30:03 +0000 (01:30 +0000)]
oops...

27 years agono more 60k limit!
mickey [Fri, 18 Apr 1997 01:28:00 +0000 (01:28 +0000)]
no more 60k limit!
no more explicit real<-->prot switching!
fix 2.88 floppy drives.....
kbd fixes coming soon!
test it!

27 years agogunzip
deraadt [Thu, 17 Apr 1997 23:08:45 +0000 (23:08 +0000)]
gunzip

27 years agoAdd -nostdlib to make sure...
weingart [Thu, 17 Apr 1997 22:46:21 +0000 (22:46 +0000)]
Add -nostdlib to make sure...

27 years agoHope this works...
weingart [Thu, 17 Apr 1997 22:34:19 +0000 (22:34 +0000)]
Hope this works...

27 years agotimeout is in minutes; msaitoh@spa.is.uec.ac.jp
deraadt [Thu, 17 Apr 1997 21:51:12 +0000 (21:51 +0000)]
timeout is in minutes; msaitoh@spa.is.uec.ac.jp

27 years agomake "boot> -a" work like "boot> bsd -a"; ie. flags shortcut
deraadt [Thu, 17 Apr 1997 21:47:37 +0000 (21:47 +0000)]
make "boot> -a" work like "boot> bsd -a"; ie. flags shortcut

27 years agofix tab expansion
deraadt [Thu, 17 Apr 1997 21:28:22 +0000 (21:28 +0000)]
fix tab expansion

27 years agomore equipment bits!
mickey [Thu, 17 Apr 1997 21:15:47 +0000 (21:15 +0000)]
more equipment bits!

27 years agohide C decls when _LOCORE defined
mickey [Thu, 17 Apr 1997 21:13:14 +0000 (21:13 +0000)]
hide C decls when _LOCORE defined

27 years agofix msgbuf parsing
deraadt [Thu, 17 Apr 1997 20:21:42 +0000 (20:21 +0000)]
fix msgbuf parsing

27 years agoAdded -q to return to Motorola bug.
gvf [Thu, 17 Apr 1997 19:16:39 +0000 (19:16 +0000)]
Added -q to return to Motorola bug.
Added loop to prompt for kernel name if it is not found.

27 years agoAdd support for STRIP environment variable to specify where strip(1)
millert [Thu, 17 Apr 1997 19:13:55 +0000 (19:13 +0000)]
Add support for STRIP environment variable to specify where strip(1)
lives.  Idea from NetBSD.

27 years agoFix error handling from bios & typo.
weingart [Thu, 17 Apr 1997 19:03:20 +0000 (19:03 +0000)]
Fix error handling from bios & typo.

27 years agocpio fix
deraadt [Thu, 17 Apr 1997 19:01:27 +0000 (19:01 +0000)]
cpio fix

27 years agoclean up *.cat1 on "make cleandir"
kstailey [Thu, 17 Apr 1997 18:21:30 +0000 (18:21 +0000)]
clean up *.cat1 on "make cleandir"

27 years agoback out 1.2
kstailey [Thu, 17 Apr 1997 17:49:46 +0000 (17:49 +0000)]
back out 1.2

27 years agoChanges earmarked 'purely cosmetic' by Scott Reynolds:
gene [Thu, 17 Apr 1997 17:46:39 +0000 (17:46 +0000)]
Changes earmarked 'purely cosmetic' by Scott Reynolds:
>- Remove unused `register' modifier on declarations
>- Reverse the sense of some tests to make the code more clear
>- Type casts per KNF
>- Move a static variable into the only function that uses it
>  (perhaps we can eliminate it entirely, someday?)
Also, I went through these files and XXX'ed some things that should be and
fixed a few more formatting problems per KNF.

27 years agoNew memprobe for weird machines... please test.
weingart [Thu, 17 Apr 1997 17:21:16 +0000 (17:21 +0000)]
New memprobe for weird machines... please test.

27 years agomore devices
mickey [Thu, 17 Apr 1997 17:08:55 +0000 (17:08 +0000)]
more devices

27 years agoFix __STDC__ macro handling of #, only hurt for mkdep not cpp due
gvf [Thu, 17 Apr 1997 14:57:31 +0000 (14:57 +0000)]
Fix __STDC__ macro handling of #, only hurt for mkdep not cpp due
to cpp's use of -traditional. NetBSD PR port-m68k/3222. Fix from
<horimoto@cs-aoi.cs.sist.ac.jp>.

27 years agoremove *.cat1 on "make realclean"
kstailey [Thu, 17 Apr 1997 14:37:05 +0000 (14:37 +0000)]
remove *.cat1 on "make realclean"

27 years agoremove *.cat1 when "make realclean" is invoked
kstailey [Thu, 17 Apr 1997 14:33:36 +0000 (14:33 +0000)]
remove *.cat1 when "make realclean" is invoked

27 years agoadd SCRIPTS = ...
kstailey [Thu, 17 Apr 1997 13:58:25 +0000 (13:58 +0000)]
add SCRIPTS = ...

27 years agofix start address for first extended filesystem
provos [Thu, 17 Apr 1997 12:31:46 +0000 (12:31 +0000)]
fix start address for first extended filesystem

27 years agoLatest code from Mike + slight fixes.
downsj [Thu, 17 Apr 1997 12:02:32 +0000 (12:02 +0000)]
Latest code from Mike + slight fixes.

27 years agoUse HP_425 for id 7, and fix tests in machdep.c.
downsj [Thu, 17 Apr 1997 11:40:37 +0000 (11:40 +0000)]
Use HP_425 for id 7, and fix tests in machdep.c.

27 years agoBetter machine type identification from Mike Smith
downsj [Thu, 17 Apr 1997 10:28:35 +0000 (10:28 +0000)]
Better machine type identification from Mike Smith
(<miff@spam.frisbee.net.au>).

27 years agomake it clearer bs= (like obs & ibs) is in bytes
deraadt [Thu, 17 Apr 1997 10:14:36 +0000 (10:14 +0000)]
make it clearer bs= (like obs & ibs) is in bytes

27 years agowriteable root anyone?
deraadt [Thu, 17 Apr 1997 10:02:03 +0000 (10:02 +0000)]
writeable root anyone?

27 years agoAdd back rd devices.
downsj [Thu, 17 Apr 1997 08:21:54 +0000 (08:21 +0000)]
Add back rd devices.

27 years agoMinor KNF + $OpenBSD$
niklas [Thu, 17 Apr 1997 08:21:12 +0000 (08:21 +0000)]
Minor KNF + $OpenBSD$

27 years agonot all ports use rd, duh
deraadt [Thu, 17 Apr 1997 07:24:08 +0000 (07:24 +0000)]
not all ports use rd, duh

27 years agoDo interrupt time accounting by running interrupt handlers with a seperate
tholo [Thu, 17 Apr 1997 03:44:50 +0000 (03:44 +0000)]
Do interrupt time accounting by running interrupt handlers with a seperate
code segment selector (otherwise identical to the standard kernel code
selector); idea by Dave Richards <richards@zso.dec.com>

27 years agoApple's firmware returns 0 from OF_read(stdin,)
briggs [Thu, 17 Apr 1997 02:27:36 +0000 (02:27 +0000)]
Apple's firmware returns 0 from OF_read(stdin,)
if no characters are available.  Deal with it.

27 years agoI had rcs-openbsd.pl have its way here
niklas [Thu, 17 Apr 1997 02:10:31 +0000 (02:10 +0000)]
I had rcs-openbsd.pl have its way here

27 years agomake unconnected sockets get a random port #, too
deraadt [Thu, 17 Apr 1997 02:02:26 +0000 (02:02 +0000)]
make unconnected sockets get a random port #, too

27 years agoadd pppd, chat, and /etc/ppp files. (it fits!)
deraadt [Thu, 17 Apr 1997 01:59:57 +0000 (01:59 +0000)]
add pppd, chat, and /etc/ppp files. (it fits!)

27 years agoRemoval of race conditions. Inspired by Charles Hannum's
niklas [Thu, 17 Apr 1997 01:25:16 +0000 (01:25 +0000)]
Removal of race conditions.  Inspired by Charles Hannum's
<mycroft@netbsd.org> reorganization of the vm_collapse logic, although not
used verbatim.  We no longer collapse objects from the pagedaemon as that
is not necessary anymore with the more aggressive collapses that gets done.
This also increases performance of loaded systems.  Much KNF too.

27 years agoUse the real times returned by dkreadstat().
weingart [Thu, 17 Apr 1997 00:06:30 +0000 (00:06 +0000)]
Use the real times returned by dkreadstat().

The use of FSHIFT and FSCALE need to be reviewed
in rpc.rstatd.  Does the protocol specify a value
for these, or are they system dependant?

Currently we pass the kernel values back unmodified,
which is not what the protocol specifies.  Check
sys/param.h and rpcsvc/rstat.x to see.

27 years agoMissing init of a bus_space_tag
niklas [Wed, 16 Apr 1997 23:29:28 +0000 (23:29 +0000)]
Missing init of a bus_space_tag

27 years agomake install floppy for snapshot
deraadt [Wed, 16 Apr 1997 22:27:19 +0000 (22:27 +0000)]
make install floppy for snapshot

27 years agono printers on install disk
deraadt [Wed, 16 Apr 1997 22:26:50 +0000 (22:26 +0000)]
no printers on install disk

27 years agoadd RB_KDB support
deraadt [Wed, 16 Apr 1997 22:14:15 +0000 (22:14 +0000)]
add RB_KDB support

27 years agoDon't modify variables in the child since we vfork()'d to
millert [Wed, 16 Apr 1997 21:59:04 +0000 (21:59 +0000)]
Don't modify variables in the child since we vfork()'d to
get there (address space is shared between parent in child
in traditional vfork(2)).  From FreeBSD (dyson).

27 years agoadd ext2fs
deraadt [Wed, 16 Apr 1997 21:49:59 +0000 (21:49 +0000)]
add ext2fs

27 years agoon floppy, call kernel bsd not bsd.gz
deraadt [Wed, 16 Apr 1997 21:37:43 +0000 (21:37 +0000)]
on floppy, call kernel bsd not bsd.gz

27 years agofloppy.fs
deraadt [Wed, 16 Apr 1997 21:37:30 +0000 (21:37 +0000)]
floppy.fs

27 years agocleanup from danny@freebsd
deraadt [Wed, 16 Apr 1997 20:58:08 +0000 (20:58 +0000)]
cleanup from danny@freebsd

27 years agomap two pages of Sysmap rather than 1.
flipk [Wed, 16 Apr 1997 19:59:21 +0000 (19:59 +0000)]
map two pages of Sysmap rather than 1.
fixes ramdisk loading problem (kernel > 4M).
some comments.

27 years agoAdd a proper version number ala other ports, and clean up various parts of
downsj [Wed, 16 Apr 1997 12:38:21 +0000 (12:38 +0000)]
Add a proper version number ala other ports, and clean up various parts of
the Makefiles.  Lots more to do...

27 years agotypo
deraadt [Wed, 16 Apr 1997 12:11:27 +0000 (12:11 +0000)]
typo

27 years agoMerge portions of NetBSD up to 970415.
downsj [Wed, 16 Apr 1997 11:55:53 +0000 (11:55 +0000)]
Merge portions of NetBSD up to 970415.

This includes:
* All of the prototyping and KNF changes.
* The new interrupt system.
* Portions of the Domain Keyboard support from Mike Smith.

This does not include:
* m68k changes, namely generic dumps.

Various sundry changes and fixes by me.

27 years agofix cut 'n' paste
downsj [Wed, 16 Apr 1997 11:26:36 +0000 (11:26 +0000)]
fix cut 'n' paste

27 years agoMultiple include protection.
downsj [Wed, 16 Apr 1997 09:49:00 +0000 (09:49 +0000)]
Multiple include protection.

27 years agoclean more
deraadt [Wed, 16 Apr 1997 09:22:29 +0000 (09:22 +0000)]
clean more

27 years agoChanges up to NetBSD 970415.
downsj [Wed, 16 Apr 1997 09:17:59 +0000 (09:17 +0000)]
Changes up to NetBSD 970415.

27 years agoexec() changes.
downsj [Wed, 16 Apr 1997 07:10:29 +0000 (07:10 +0000)]
exec() changes.

27 years agoDon't source /etc/rc.securelevel if it doesn't exist and be
millert [Wed, 16 Apr 1997 05:48:27 +0000 (05:48 +0000)]
Don't source /etc/rc.securelevel if it doesn't exist and be
more verbose when upping the securelevel.

27 years agoSync with NetBSD (lukem):
millert [Wed, 16 Apr 1997 05:02:39 +0000 (05:02 +0000)]
Sync with NetBSD (lukem):
 * differentiate between being connected, and being logged in
 * cleanup some text messages
 * support username & password ftp URLs (ftp://user:pass@host/) in non-proxy
   situations; assume proxy supports it for proxy situations.
 * cd to / before performing any autofetch transfers

27 years agoMake mkioctls obey the DESTDIR environment variable.
millert [Wed, 16 Apr 1997 04:26:20 +0000 (04:26 +0000)]
Make mkioctls obey the DESTDIR environment variable.
From NetBSD (leo).

27 years agoUse _PATH_DEFTAPE not DEFTAPE in mt(1)
millert [Wed, 16 Apr 1997 04:19:07 +0000 (04:19 +0000)]
Use _PATH_DEFTAPE not DEFTAPE in mt(1)
Remove DEFTAPE from <sys/mtio.h> and guard against multiple inclusion.

27 years ago_PATH_DEFTAPE is now defined in <paths.h>
millert [Wed, 16 Apr 1997 04:09:20 +0000 (04:09 +0000)]
_PATH_DEFTAPE is now defined in <paths.h>
Change man page to reflect new default tape drive (/dev/rst0)

27 years agoNo need for "pathnames.h" now that _PATH_DEFTAPE is in <paths.h>
millert [Wed, 16 Apr 1997 04:07:35 +0000 (04:07 +0000)]
No need for "pathnames.h" now that _PATH_DEFTAPE is in <paths.h>
Fix rmt -> rst in man page and change ".Nm restore" -> ".Nm"

27 years agoChange rmt -> rst and use _PATH_DEFTAPE as default file if none is
millert [Wed, 16 Apr 1997 03:50:23 +0000 (03:50 +0000)]
Change rmt -> rst and use _PATH_DEFTAPE as default file if none is
specified.

27 years ago<paths.h> now includes _PATH_DEFTAPE. Change rmt0 -> rst0 in man page.
millert [Wed, 16 Apr 1997 03:43:53 +0000 (03:43 +0000)]
<paths.h> now includes _PATH_DEFTAPE.  Change rmt0 -> rst0 in man page.
From NetBSD (lukem).

27 years agoAdd _PATH_DEFTAPE
millert [Wed, 16 Apr 1997 03:41:52 +0000 (03:41 +0000)]
Add _PATH_DEFTAPE

27 years agobuild ramdisk using vnd. rd builds suck (can you say race?)
deraadt [Wed, 16 Apr 1997 02:45:30 +0000 (02:45 +0000)]
build ramdisk using vnd. rd builds suck (can you say race?)