openbsd
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?)

27 years agorepair rdroot
deraadt [Wed, 16 Apr 1997 02:32:37 +0000 (02:32 +0000)]
repair rdroot

27 years agotwo fs images
deraadt [Wed, 16 Apr 1997 01:53:44 +0000 (01:53 +0000)]
two fs images

27 years agonice printf
deraadt [Wed, 16 Apr 1997 00:53:07 +0000 (00:53 +0000)]
nice printf

27 years agoNew /etc/rc.securelevel should be under cover of /etc/security
niklas [Tue, 15 Apr 1997 23:49:01 +0000 (23:49 +0000)]
New /etc/rc.securelevel should be under cover of /etc/security

27 years agoAdd /root/.shosts and /etc/shosts.equiv
dima [Tue, 15 Apr 1997 23:10:58 +0000 (23:10 +0000)]
Add /root/.shosts and /etc/shosts.equiv

27 years agoAdded revnetgroup in ypserv's Makefile and added support for netgroup. -moj
maja [Tue, 15 Apr 1997 22:58:57 +0000 (22:58 +0000)]
Added revnetgroup in ypserv's Makefile and added support for netgroup. -moj

27 years agoAdd revnetgroup from FreeBSD, written by Bill Paul <wpaul@ctr.columbia.edu>.
maja [Tue, 15 Apr 1997 22:06:10 +0000 (22:06 +0000)]
Add revnetgroup from FreeBSD, written by Bill Paul <wpaul@ctr.columbia.edu>.
Hacked a bit to generate output ala Sun (handle different domains). -moj

27 years agoextern int debug;
mickey [Tue, 15 Apr 1997 21:35:13 +0000 (21:35 +0000)]
extern int debug;

27 years agopass bootdev to kernel...
mickey [Tue, 15 Apr 1997 20:50:35 +0000 (20:50 +0000)]
pass bootdev to kernel...
all the future devices have to copy it into global var...
in the current state i can boot any kernel i have....
testers?

27 years agono more assembly setup. all the gung is ok already in srt0.S
mickey [Tue, 15 Apr 1997 20:01:55 +0000 (20:01 +0000)]
no more assembly setup. all the gung is ok already in srt0.S
this is what we were talking about, toby (;
and this shaves a couple of dozens of bytes!

27 years agosupport more S3 chipsets. done by comparing against SuperCode;
deraadt [Tue, 15 Apr 1997 15:22:35 +0000 (15:22 +0000)]
support more S3 chipsets. done by comparing against SuperCode;
wisner@gryphon.com

27 years agofor callit, let nop through. rpcinfo -b, ya know; adam@math.tau.ac.il
deraadt [Tue, 15 Apr 1997 15:18:49 +0000 (15:18 +0000)]
for callit, let nop through. rpcinfo -b, ya know; adam@math.tau.ac.il

27 years agohandle \\ at start of line; christos
deraadt [Tue, 15 Apr 1997 15:06:13 +0000 (15:06 +0000)]
handle \\ at start of line; christos

27 years agoneed an rd
deraadt [Tue, 15 Apr 1997 13:12:36 +0000 (13:12 +0000)]
need an rd

27 years agodocumentation for arc4random. this is out of memory, might need
provos [Tue, 15 Apr 1997 13:06:54 +0000 (13:06 +0000)]
documentation for arc4random. this is out of memory, might need
some corrections.

27 years agocreate empty /var/log/ipflog, sort the /var/log file creations
graichen [Tue, 15 Apr 1997 12:32:17 +0000 (12:32 +0000)]
create empty /var/log/ipflog, sort the /var/log file creations
alphabetical :-) and remove the entry for tahoe (is the vax entry
still used ?)

27 years agocorrect the paranoia check
deraadt [Tue, 15 Apr 1997 11:27:56 +0000 (11:27 +0000)]
correct the paranoia check

27 years agoAdd quirk, type for AT3 scanner (ViewStation 32)
tholo [Tue, 15 Apr 1997 10:51:33 +0000 (10:51 +0000)]
Add quirk, type for AT3 scanner (ViewStation 32)

27 years agokill route flush until .. hmm kernel routing socket bug or something
deraadt [Tue, 15 Apr 1997 09:42:33 +0000 (09:42 +0000)]
kill route flush until .. hmm kernel routing socket bug or something

27 years agosplit rc.local, creating rc.securelevel. Read the comments. If you believe
deraadt [Tue, 15 Apr 1997 09:26:44 +0000 (09:26 +0000)]
split rc.local, creating rc.securelevel. Read the comments. If you believe
in securelevels, follow them religiously. Problem found by millert...

27 years agoindent
deraadt [Tue, 15 Apr 1997 09:02:54 +0000 (09:02 +0000)]
indent

27 years agonice printf, do not bite
deraadt [Tue, 15 Apr 1997 08:43:04 +0000 (08:43 +0000)]
nice printf, do not bite

27 years agomostly repair option arg handling for booting
deraadt [Tue, 15 Apr 1997 08:32:51 +0000 (08:32 +0000)]
mostly repair option arg handling for booting

27 years agopartition table in biosboot too. Max 28 BLKCNT, too
deraadt [Tue, 15 Apr 1997 08:00:44 +0000 (08:00 +0000)]
partition table in biosboot too. Max 28 BLKCNT, too

27 years agocopyright to toby (;
mickey [Tue, 15 Apr 1997 06:43:15 +0000 (06:43 +0000)]
copyright to toby (;

27 years agodo bounce-buffering to avoid DMA overrun
mickey [Tue, 15 Apr 1997 06:25:18 +0000 (06:25 +0000)]
do bounce-buffering to avoid DMA overrun
somebody, test it!

27 years agokill bogus comments
mickey [Tue, 15 Apr 1997 06:23:35 +0000 (06:23 +0000)]
kill bogus comments

27 years agoprint debugging stuff only when debug!=0
mickey [Tue, 15 Apr 1997 03:31:06 +0000 (03:31 +0000)]
print debugging stuff only when debug!=0

27 years agoenable blowfish per default, explanationary blurb
provos [Mon, 14 Apr 1997 22:26:21 +0000 (22:26 +0000)]
enable blowfish per default, explanationary blurb

27 years agoworks a bit better with extended partitions. hack.
provos [Mon, 14 Apr 1997 22:18:57 +0000 (22:18 +0000)]
works a bit better with extended partitions. hack.

27 years agoForgot one change...
pefo [Mon, 14 Apr 1997 21:45:32 +0000 (21:45 +0000)]
Forgot one change...

27 years agomake -h columns more compact
kstailey [Mon, 14 Apr 1997 20:25:37 +0000 (20:25 +0000)]
make -h columns more compact

27 years agono need for partition table....
mickey [Mon, 14 Apr 1997 19:09:10 +0000 (19:09 +0000)]
no need for partition table....
mbr is for that stuff.....

27 years agoBring our incarnation of John Wittowski's direct adb driver into compatible
gene [Mon, 14 Apr 1997 18:47:48 +0000 (18:47 +0000)]
Bring our incarnation of John Wittowski's direct adb driver into compatible
state with NetBSD's.  The direct-to-ADB code is now enabled by default.
Using 'options MRG_ADB' will cause the kernel to revert to the 'old standby'
code.

27 years agoWhoops. A spurious '{' slipped into an if statement. This compiles again.
gene [Mon, 14 Apr 1997 17:56:45 +0000 (17:56 +0000)]
Whoops.  A spurious '{' slipped into an if statement.  This compiles again.
Also, since I'm here, fix some KNF.

27 years agotypo for us.
michaels [Mon, 14 Apr 1997 17:49:58 +0000 (17:49 +0000)]
typo for us.

27 years agodocument "-h" flag
kstailey [Mon, 14 Apr 1997 17:44:29 +0000 (17:44 +0000)]
document "-h" flag

27 years agoswitch from <blank> to "B" for byte suffix; columns look too ugly otherwise
kstailey [Mon, 14 Apr 1997 17:38:22 +0000 (17:38 +0000)]
switch from <blank> to "B" for byte suffix; columns look too ugly otherwise

27 years agofix Avail column in -h mode (again)
kstailey [Mon, 14 Apr 1997 17:35:58 +0000 (17:35 +0000)]
fix Avail column in -h mode (again)

27 years agofix Avail column in -h mode
kstailey [Mon, 14 Apr 1997 17:34:03 +0000 (17:34 +0000)]
fix Avail column in -h mode

27 years agonew "-h" (human-readable) output flag now works, please test. thx
kstailey [Mon, 14 Apr 1997 17:23:38 +0000 (17:23 +0000)]
new "-h" (human-readable) output flag now works, please test. thx

27 years agoMissed this one...
pefo [Mon, 14 Apr 1997 12:22:06 +0000 (12:22 +0000)]
Missed this one...

27 years agoif -s not specified, attempt to grok the disklabel
deraadt [Mon, 14 Apr 1997 12:07:04 +0000 (12:07 +0000)]
if -s not specified, attempt to grok the disklabel

27 years agoincompatible change
deraadt [Mon, 14 Apr 1997 11:24:56 +0000 (11:24 +0000)]
incompatible change

27 years agoremove man3f/cat3f entries - for now - and i think also in the future
graichen [Mon, 14 Apr 1997 11:20:24 +0000 (11:20 +0000)]
remove man3f/cat3f entries - for now - and i think also in the future
we won't have anything to put in here :-)

27 years ago#34 - linux_sys_nice from NetBSD
graichen [Mon, 14 Apr 1997 11:16:23 +0000 (11:16 +0000)]
#34 - linux_sys_nice from NetBSD

27 years agobuild stand (AND boot)
deraadt [Mon, 14 Apr 1997 11:07:17 +0000 (11:07 +0000)]
build stand (AND boot)

27 years agolet stand & boot co-exist
deraadt [Mon, 14 Apr 1997 11:06:46 +0000 (11:06 +0000)]
let stand & boot co-exist

27 years agocreates mr-20.fs
deraadt [Mon, 14 Apr 1997 11:01:02 +0000 (11:01 +0000)]
creates mr-20.fs

27 years agoadd signature! fake partition 0 for floppy until fdisk(8) has -f flag. max 16 BLKCNT
deraadt [Mon, 14 Apr 1997 10:58:31 +0000 (10:58 +0000)]
add signature! fake partition 0 for floppy until fdisk(8) has -f flag. max 16 BLKCNT

27 years agocreate ramdisk bootable floppies by typing "make"
deraadt [Mon, 14 Apr 1997 10:57:09 +0000 (10:57 +0000)]
create ramdisk bootable floppies by typing "make"

27 years agoaccess few files correctly
deraadt [Mon, 14 Apr 1997 10:56:22 +0000 (10:56 +0000)]
access few files correctly

27 years agospacing
deraadt [Mon, 14 Apr 1997 10:56:10 +0000 (10:56 +0000)]
spacing

27 years agokill extra linefeeding
deraadt [Mon, 14 Apr 1997 10:48:04 +0000 (10:48 +0000)]
kill extra linefeeding

27 years agostrtol to strtoul
provos [Mon, 14 Apr 1997 10:04:19 +0000 (10:04 +0000)]
strtol to strtoul

27 years agoAll mips tools should now configure with the same name (mipsel-unknown-openbsd)
pefo [Mon, 14 Apr 1997 09:11:43 +0000 (09:11 +0000)]
All mips tools should now configure with the same name (mipsel-unknown-openbsd)
for little endian systems and (mips-unknown-openbsd) for big endian systems.
gdb seems to work now but needs more testing.

27 years agostruct elf_resolv has to be compatible with struct link_map or gdb will
pefo [Mon, 14 Apr 1997 08:09:46 +0000 (08:09 +0000)]
struct elf_resolv has to be compatible with struct link_map or gdb will
not be able to pick up loaded shared lib info.

27 years agoDocument flag to set 32-bit word mode. Call it ED_DCR_QTS for
millert [Mon, 14 Apr 1997 07:03:22 +0000 (07:03 +0000)]
Document flag to set 32-bit word mode.  Call it ED_DCR_QTS for
lack of a better name (anyone have any documentation?)

27 years agoi was not the brightest here either
deraadt [Mon, 14 Apr 1997 07:01:42 +0000 (07:01 +0000)]
i was not the brightest here either

27 years agowith this here commit i label myself not the swiftest
deraadt [Mon, 14 Apr 1997 06:57:44 +0000 (06:57 +0000)]
with this here commit i label myself not the swiftest

27 years agoAdd PCI ed*
millert [Mon, 14 Apr 1997 05:39:14 +0000 (05:39 +0000)]
Add PCI ed*