Commit Graph

22469 Commits

Author SHA1 Message Date
wollman
9288358341 Fix crash when halting where APM was configured but not enabled
by checking whether APM is active in apm_power_off() and returning
if not.  (The code was already written with the expectation that
this function would return if it fails.)
1997-06-19 00:25:03 +00:00
pst
28055a0cae Add cron_enable and inetd_enable flags to rc.conf.
WARNING: don't update rc and forget to update rc.conf, or you won't be
able to telnet back into your box after a reboot.
1997-06-18 16:01:19 +00:00
charnier
3535ec3b16 Various typos in man page. Cosmetic in usage string. Use err(3) instead
of fprintf. Remove unused variables.
1997-06-18 06:37:23 +00:00
charnier
5aba481a78 Sync man page and usage string. Remove unused -p option from getopt call. 1997-06-18 06:34:28 +00:00
charnier
3f2e859a37 Sync man page and usage string. 1997-06-18 06:33:11 +00:00
charnier
fc39017acc Sync beetween man page and usage string. 1997-06-18 06:30:34 +00:00
charnier
16f9b41cba Fprintf -> warn. 1997-06-18 06:28:46 +00:00
charnier
ac57e52c0a Typo. 1997-06-18 06:26:13 +00:00
jkh
4034045142 1. Add a noWarn flag so that scripts can turn warnings off.
2. If hostname not set from script, bring up interactive dialog anyway.
1997-06-18 05:11:37 +00:00
asami
7284840add Add `B' to list of flags to pass through from C*FLAGS when using mkdep
(bsd.dep.mk) and compiling assembly language sources (bsd.lib.mk).
This doesn't change anything for our current source tree, but if you
want to use the -B switch in C*FLAGS to specify the location of
compiler subprograms, now you can do it.

Reviewed by:	bde (implicitly)
1997-06-18 03:39:34 +00:00
asami
57d530e561 Move the "umask ?= 0022" check (a warning only) from the default
"do-install" target to the beginning of the "install" meta-target, so
that ports that define their own do-install will also run it without
having to duplicate it themselves.

Tested by:	rebuilding all packages
1997-06-18 03:20:22 +00:00
asami
cdd98794ce Add "-I${DESTDIR}/usr/include" to CFLAGS if DESTDIR is defined, just
like bsd.lib.mk and bsd.prog.mk.  It doesn't add it to CXXINCLUDES, I
don't think anybody has written a kernel module with C++.  (Not that I
think DavidG will allow it anyway. :)

Reviewed by:	bde
1997-06-18 03:10:31 +00:00
brian
b9502416d4 Protect against garbage mbufs in pppstart.
Remove previous hack in pppfcs().

This is still not the correct solution.  We shouldn't
have any incorrect mbufs.  This patch does however make
pppd/natd work (rather than jamming the interface).
1997-06-18 02:50:40 +00:00
jkh
ea4ef69d7d Check named_enable rather than just named_flags.
PR:		3893 (sort of)
1997-06-18 01:55:19 +00:00
wollman
27f0e4c38e Add for public examination the beginnings of the per-host cache support
which will for the basis of RTF_PRCLONING's more efficient, better-
designed replacement.
1997-06-18 01:24:28 +00:00
alex
3413120a8f Typo police. 1997-06-18 00:35:53 +00:00
jdp
738e7e0972 Correct the section number in the cross-reference for the publickey
file.
1997-06-17 20:24:33 +00:00
wpaul
84f9b58e56 Work around a bug (deficiency?) in the libdes Secure RPC compat interface.
The way Secure RPC is set up, the ecb_crypt() routine is expected to
be able to encrypt a buffer of any size up to 8192 bytes. However, the
des_ecb_encrypt() routine in libdes only encrypts 8 bytes (64 bits) at a
time. The rpc_enc.c module should compensate for this by calling
des_ecb_encrypt() repeatedly until it has encrypted the entire supplied
buffer, but it does not do this.

As a workaround, keyserv now handles this itself: if we're using DES
encryption, and the caller requested ECB mode, keyserv will do the right
thing.

Also changed all references to 'rc4' into 'arcfour' just in case some
litigious bastard from RSA is watching.

Note that I discovered and fixed this problem while trying to get
a part of NIS+ working: rpc.nisd signs directory objects with a 16-byte
MD5 digest that is encrypted with ecb_crypt(). Previously, only the
first 8 bytes of the digest were being properly encrypted, which caused
the Sun nis_cachemgr to reject the signatures as invalid. I failed to
notice this before since Secure RPC usually never has to encrypt more
than 8 bytes of data during normal operations.
1997-06-17 18:03:52 +00:00
kato
bbf341771a Added CONTEC C-NET(9N) and C-NET(98)P2 support.
Submitted by:	Chiharu Shibata <chi@rd.njk.co.jp>
1997-06-17 11:26:50 +00:00
kjc
6ca56b40a8 correct the wrong ATM option name for native atm access
NETNATM --> NATM

reported by Bruce Evans.

Bruce also pointed out that NATM is confusing since config(8) defines
NATM as the number of atm pseudo device in "BUILD_DIR/atm.h".
We might change the name in the future but leave it as it is for now.
1997-06-17 05:58:15 +00:00
brian
07f551bbe5 Cosmetic: Fix help syntax. 1997-06-17 02:04:51 +00:00
brian
3cd7462429 Handle redial tries correctly under -ddial 1997-06-17 01:46:05 +00:00
davidn
6feaf0c034 Fix infinite loop.
PR: 3878
Submitted by: roman@rpd.univ.kiev.ua
1997-06-16 23:38:01 +00:00
brian
b93f3a2a9c Put TCP/IP logs back on one line. 1997-06-16 21:20:00 +00:00
brian
60e26d10d0 Set netfd to STDOUT_FILENO rather than STDIN_FILENO. 1997-06-16 19:59:41 +00:00
brian
ec01d84e92 Correct filter docs.
PR:		3464
Submitted by:	Stephen J. Roznowski <sjr1@flash.net>
1997-06-16 13:52:10 +00:00
brian
ef39cf1b27 Remove call to daemon(). Just call setsid() and close
any relevent descriptors (0,2,[1]).  We've already fork()d.
PR:		3874
1997-06-16 13:24:59 +00:00
dyson
630368a432 Ouch!!! This should fix a serious build problem after the addition of the
new preliminary AIO support.  Unfortunately, I had a stray copy of aio.h
that made me think that things worked.
1997-06-16 12:10:21 +00:00
bde
5afe618954 Merge from Lite2.
- use new getvfsbyname() interface.
- new -A option, like -a except only mounted file systems are unmounted.

All non-cosmetic FreeBSD changes in umount.c, except ignoring of
realpath() failures, went away because they are done better in Lite2.
realpath() failures must be ignored so that non-pathnames like
"<above>:/foo" and "host:/bar" get as far as mount(2).

Reviewed by:	dfr
1997-06-16 11:20:05 +00:00
kato
6efbda6fe9 Fixed comment.
Submitted by:	Chiharu Shibata <chi@rd.njk.co.jp>
1997-06-16 09:56:57 +00:00
kato
9a16c0bfca Give up automatic detection of card model. Since DP8390 based NICs
are similar to each other, it is difficult to detec card type
automatically.

Reviewed by:	Chiharu Shibata <chi@rd.njk.co.jp>
1997-06-16 09:54:30 +00:00
max
e1b64c7051 Typo fix.
PR:		3868
Submitted by:	Kazuo Horikawa <k-horik@yk.rim.or.jp>
1997-06-16 06:54:30 +00:00
charnier
8df858de8e Use err(3) instead of local copy. 1997-06-16 06:43:13 +00:00
charnier
3af879010f Use err(3) instead of local err() (a errx() like function). 1997-06-16 06:38:14 +00:00
charnier
2ccf4c0abf Use err(3). 1997-06-16 06:35:23 +00:00
charnier
c5f911295f Fix 2 typos. 1997-06-16 06:32:51 +00:00
dg
30839eee83 Minor optimization in fxp_intr. 1997-06-16 04:45:57 +00:00
dyson
8cbe8ae56c Modifications to existing files to support the initial AIO/LIO and
kernel based threading support.
1997-06-16 00:29:36 +00:00
dyson
99587e0799 Add initial AIO/LIO kernel thread support files. This is preliminary, and
further features will be added.
1997-06-16 00:27:26 +00:00
dyson
1f8ae0bc17 Upgrade NFS to support the new vfs_bio resource/buffer management. 1997-06-16 00:23:40 +00:00
dyson
df9a7b8a1c Correct the return code for the mlock system call. Also add the stubs
for mlockall and munlockall.
1997-06-15 23:35:32 +00:00
dyson
5e60014295 Fix a reference problem with maps. Only appears to manifest itself when
sharing address spaces.
1997-06-15 23:33:52 +00:00
wpaul
0cfef972ec Remember to zero sockaddr_in struct before calling uaddr_to_sockaddr() to
populate it. Not doing this can result in a garbage sockaddr_in, which
will cause connect() to block inside clnttcp_create().
1997-06-15 21:03:32 +00:00
ache
32e1a165fb srandomdev: use stack junk value in the fallback code too 1997-06-15 18:23:19 +00:00
dyson
d8224cfa76 Fix a problem with the VN device. Specifically, the VN device can
cause a problem of spiraling death due to buffer resource limitations.
The vfs_bio code in general had little ability to handle buffer resource
management, and now it does.  Also, there are a lot more knobs for tuning the
vfs_bio code now.  The knobs came free because of the need that there
always be some immediately available buffers (non-delayed or locked) for
use.  Note that the buffer cache code is much less likely to get bogged
down with lots of delayed writes, even more so than before.
1997-06-15 17:56:53 +00:00
kato
df1aeaa55a Fixed iomem address of SMIT mode in an example of bs driver. 1997-06-15 16:38:12 +00:00
kato
420823142e Synchronize with sys/i386/i386/machdep.c revision up to 1.249. 1997-06-15 16:35:13 +00:00
kato
81613ef92a Synchronize with sys/i386/boot/biosboot/boot.c revision 1.67. 1997-06-15 16:33:52 +00:00
wollman
8b2951cd7d Fix another power down braino. 1997-06-15 02:24:06 +00:00
wollman
f295df4d9b Fix definition of apm_power off (was suffering from cut&paste syndrome). 1997-06-15 02:19:40 +00:00