Commit Graph

7664 Commits

Author SHA1 Message Date
wpaul
d9a6e86fa7 Hopefully I won't get flamed for this: insert a few more #if defined(I486_CPU)
and #if defined (I586_CPU) thingies into identifycpu() so that we only
compile in what's actually needed for a given CPU. So far as I can tell,
none of my 386 machines generate a cpu_vendor code, so I made the extra vendor
and feature line conditional on I486_CPU and I586_CPU. (Otherwise we
print out a blank line which looks silly.)
1995-04-14 02:06:00 +00:00
wpaul
20571a3249 According to a Usenet posting forward to me by Jordan, there's
at least one user out there who's system won't autoboot from the
serial console because of what sounds like 'phantom keystrokes'
making the timeout timer trip. I've tried to solve this by
adding an extra call to init_serial() right before the 'Boot:'
prompt is printed (done only if RB_SERIAL is set) to hopefully
make sure that the input buffer is clear. Unfortunately, the fellow
is in Germany and I haven't heard back from him yet. I haven't
been able to duplicate this problem on my hardware, so this is
a stab in the dark. At the very least, it shouldn't hurt anything.
1995-04-14 01:35:59 +00:00
rgrimes
23e4756f71 A better solution for the noisy ibcs2 startup, just echo a space and then
call ibcs2.
Submitted by:	jkh, slight modification by me.
1995-04-13 21:23:17 +00:00
wollman
decc5b08a8 Add devmenu(1). 1995-04-13 21:11:53 +00:00
wollman
cb57ef82b7 Another sample devconf application. This one's a menu of devices; read the
man page.
1995-04-13 21:11:01 +00:00
ache
81860156cc Really fix MAILTO hole by parsing spaces.
Remove local bitstring copy
1995-04-13 20:58:13 +00:00
jkh
ef3c093b05 Get the matcd manpage linked into the parent directory like the others. 1995-04-13 20:44:51 +00:00
wollman
8be3caee2a Make class names easier to type 1995-04-13 20:37:51 +00:00
joerg
0f0922b7b5 Include pcvt into the list of subdirs, so its utilities will be
included into fututre distributions.
1995-04-13 20:27:11 +00:00
jkh
5649197789 Remove fixit floppy from things to build until Poul makes it work again. 1995-04-13 20:21:06 +00:00
dg
20e8a2d3d9 Backed out previous change - it reduces performance. (oops). 1995-04-13 18:24:33 +00:00
wollman
ddebc4599e Add err_set_file() and err_set_exit() functions to make it possible for
programs which use err(3) to work nicely in a wider range of environments
(e.g., dialog).
1995-04-13 18:04:11 +00:00
wollman
234ee48c9e Actually copy the class field over from the kernel to the user structure. 1995-04-13 15:33:14 +00:00
dg
3cf86b2d0e Slight optimization to select(). 1995-04-13 15:27:51 +00:00
wollman
e67b64e7bc Disallow Kerberos when S/Key is required. Fixes PR #339.
Submitted by: Paul Traina <pst@Shockwave.com>
1995-04-13 15:20:35 +00:00
wollman
7e90d0e2aa Forgot two things in yesterday's massive devconf update:
initialized class for sio
don't bogusly re-initialize it in sio_registerdev()
1995-04-13 15:03:29 +00:00
ache
bf4c9aa148 Allow root to delete uchg/uappnd files 1995-04-13 13:35:09 +00:00
ache
fdacac9026 Move setcompat code to another place, initial/locked devices
not supposed to work with old style ioctls
1995-04-13 11:11:11 +00:00
gpalmer
8e8b125da9 The tmpdir cleaning routine _still_ wasn't right! :-(
I think this truly fixes it.
1995-04-13 09:30:58 +00:00
ache
84030e5de8 Comment out ttcompat via COMPAT_SUNOS too
Fix error handling initial/callout devices
1995-04-13 09:22:40 +00:00
phk
60240980a2 tell people what we do at the end, since it can take a little while.
use "set -e" when extracting bindist
make src dists extract.
1995-04-13 09:06:15 +00:00
phk
148f48ca86 Reduce inode count on floppies a bit again 1995-04-13 09:05:25 +00:00
wpaul
8eae6154a2 This a subtle reminder to people that not everybody compiles their
kernels with 'options I586_CPU.'

The declaration for pentium_mhz is hidden inside an #ifdef I586_CPU,
but machdep.c refers to it whether I586_CPU is defined or not. This
temporary hack puts the offending code inside an #ifdef I586_CPU as
well so that a kernel without it will successfully compile.

I must emphasize the word 'temporary:' somebody needs to seriously
beat on the identifycpu() function with an #ifdef stick so that
I386_CPU, I486_CPU and I586_CPU will do the right things.
1995-04-13 04:55:35 +00:00
dg
02e9c53b97 Various changes from Matt Thomas to improve media selection and fix
support for the DC21140.
1995-04-13 04:46:40 +00:00
phk
10e43cc3de Even more inodes on the floppies... 1995-04-13 02:11:31 +00:00
jkh
f86d0bfb93 I missed some of Frank Durda's changes for MAKEDEV. Fixed.
Submitted by:	Frank Durda IV <bsdmail@nemesis.lonestar.org>
1995-04-13 00:51:55 +00:00
jkh
fc0a9a0881 DISTNAME="2.0-950412-SNAP" 1995-04-12 23:29:14 +00:00
jkh
9ea8c564c1 Add Steve Gerakines <steve2@genesis.tiac.net> to contributors. 1995-04-12 22:47:31 +00:00
wpaul
a20de0747b Add an ethers(3) man page. 1995-04-12 22:28:49 +00:00
jkh
b95b5c686f We're now shooting for a 950412-SNAP
Reviewed by:
Submitted by:
Obtained from:
1995-04-12 22:26:47 +00:00
wpaul
75fbcf2bd0 Add ethers(5) man page. 1995-04-12 22:16:08 +00:00
phk
30e53f439b Add "BREAK_TO_DEBUGGER" option. 1995-04-12 22:02:51 +00:00
phk
1ffa98c382 ttsetcompat is a '#ifdef COMPAT_43' feature.
Dropping into the debugger when a break comes down the serial line is a
>MISFEATURE (1st class)< and has been put under it's own #ifdef.  This
should be a magic sequence of chars instead.
1995-04-12 22:00:41 +00:00
phk
607cd0b4b3 added a missing '; \' 1995-04-12 21:13:08 +00:00
wollman
6a8d3a357d Add a class field to devconf and mst drivers.
For those where it was easy, drivers were also fixed to call
dev_attach() during probe rather than attach (in keeping with the
new design articulated in a mail message five months ago).  For
a few that were really easy, correct state tracking was added as well.
The `fd' driver was fixed to correctly fill in the description.
The CPU identify code was fixed to attach a `cpu' device.  The code
was also massively reordered to fill in cpu_model with somethingremotely
resembling what identifycpu() prints out.  A few bytes saved by using
%b to format the features list rather than lots of ifs.
1995-04-12 20:48:13 +00:00
martin
669ed5b46e Break netboot into device specific versions.
nb8390.[cr]om for NS8390 boards (if_ed driver)
nb3c509.[cr]om for 3c509 boards (if_ep driver)

Submitted by:	Serge Babkin (babkin@hq.icb.chel.su)  [3c509 support]
1995-04-12 20:15:33 +00:00
ache
e3bdb075c7 Don't set -or0s (timeout 0) for possible network MAILTO 1995-04-12 19:28:30 +00:00
ache
5e0d09f059 Add some useful sendmail options 1995-04-12 19:21:43 +00:00
ache
2e4fea754b Fix home dir cheating 1995-04-12 19:04:26 +00:00
ache
64adcd35a4 Close MAILTO security hole 1995-04-12 18:57:37 +00:00
ache
baa7d4604a Call gated as /usr/local/sbin/gated instead of possible adding
/usr/local/sbin to rc PATH
1995-04-12 16:58:06 +00:00
phk
3d6e9f574b Add bad144 to fixit floppy.
Remove kernel compile directories.
Put all *[sw]d* devices on floppies
Make more inodes on floppies as function of the above.
1995-04-12 08:00:24 +00:00
phk
be7d63258b Improve the if_eg driver a bit in style. It's still by far the worst driver
we have :-/
1995-04-12 07:50:44 +00:00
dg
b915c765f3 Fixed bug I introduced when changing PCB list to use 4.4BSD style queue
macros. Basically, detect 'tp' going away differently.
1995-04-12 06:49:56 +00:00
ache
6e2a70a06e Fix "at" directories owner 1995-04-12 03:02:01 +00:00
ache
1bb8ac6c3c Upgrade.
Close security holes reported.
1995-04-12 02:52:21 +00:00
ache
3ec57b4b68 Upgrade. 1995-04-12 02:42:39 +00:00
gpalmer
9d69b1d112 The servers bootpd & bootpgw live in /usr/libexec not /etc. Correct the
references in the man page.
1995-04-12 00:24:48 +00:00
joerg
c8a22d7502 Fix broken file name globbing. Man is now also able to find pages
like "3DBorder" and "[".  (NB, the "3DBorder" problem has actually
been intention, it allowed for weird section names like "3xyzzy".  We
don't have them, either.)

(Partially) Submitted by:	taob@gate.sinica.edu.tw (Brian Tao)
1995-04-11 22:01:53 +00:00
joerg
2d762a44a2 The implementation of rexec() missed the function ruserpass(), so the
link stage fell over for any program that attempted to use rexec().

Ruserpass() remains undocumented; i could not find any documentation
for it on other systems.

Also added a BUGS section to the man page, stating that this function
constitutes a potential security hole (as well as the underlying
"exec" service).

Submitted by:	rgrimes
Originally submitted by: agc@uts.amdahl.com (Alistair G. Crooks)
Obtained from: netbsd-bugs@NetBSD.ORG
1995-04-11 19:52:10 +00:00