Commit Graph

22465 Commits

Author SHA1 Message Date
charnier
b430896bf1 Sync man page and usage string. 1997-06-18 06:33:11 +00:00
charnier
a7ec830880 Sync beetween man page and usage string. 1997-06-18 06:30:34 +00:00
charnier
2f83b582ea Fprintf -> warn. 1997-06-18 06:28:46 +00:00
charnier
59c6ef884a Typo. 1997-06-18 06:26:13 +00:00
jkh
3c30be4b40 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
afb7547b1d 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
a5a15a3d86 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
562c018967 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
e981ebde8f 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
11e41c0eef Check named_enable rather than just named_flags.
PR:		3893 (sort of)
1997-06-18 01:55:19 +00:00
wollman
58389eea9e 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
e5ccd3d79c Typo police. 1997-06-18 00:35:53 +00:00
jdp
a3a4d0ec6d Correct the section number in the cross-reference for the publickey
file.
1997-06-17 20:24:33 +00:00
wpaul
8a67f91ff9 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
ec7ac3a30e 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
4bddfca398 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
374f602b4e Cosmetic: Fix help syntax. 1997-06-17 02:04:51 +00:00
brian
75122c3d71 Handle redial tries correctly under -ddial 1997-06-17 01:46:05 +00:00
davidn
4c6c70e5ae Fix infinite loop.
PR: 3878
Submitted by: roman@rpd.univ.kiev.ua
1997-06-16 23:38:01 +00:00
brian
121bd4b70f Put TCP/IP logs back on one line. 1997-06-16 21:20:00 +00:00
brian
73d09cd540 Set netfd to STDOUT_FILENO rather than STDIN_FILENO. 1997-06-16 19:59:41 +00:00
brian
5d122ca2ef Correct filter docs.
PR:		3464
Submitted by:	Stephen J. Roznowski <sjr1@flash.net>
1997-06-16 13:52:10 +00:00
brian
95a0b5dc63 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
873f44aa06 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
f96e3b64ac 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
e7c620f416 Fixed comment.
Submitted by:	Chiharu Shibata <chi@rd.njk.co.jp>
1997-06-16 09:56:57 +00:00
kato
bebffb5032 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
ba3c9ef967 Typo fix.
PR:		3868
Submitted by:	Kazuo Horikawa <k-horik@yk.rim.or.jp>
1997-06-16 06:54:30 +00:00
charnier
e4cd6f51ca Use err(3) instead of local copy. 1997-06-16 06:43:13 +00:00
charnier
03fe5003eb Use err(3) instead of local err() (a errx() like function). 1997-06-16 06:38:14 +00:00
charnier
ad63a4c160 Use err(3). 1997-06-16 06:35:23 +00:00
charnier
f57e3df332 Fix 2 typos. 1997-06-16 06:32:51 +00:00
dg
81c10fbfdf Minor optimization in fxp_intr. 1997-06-16 04:45:57 +00:00
dyson
1dcc2689e7 Modifications to existing files to support the initial AIO/LIO and
kernel based threading support.
1997-06-16 00:29:36 +00:00
dyson
195ce8e1d0 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
8b3feca679 Upgrade NFS to support the new vfs_bio resource/buffer management. 1997-06-16 00:23:40 +00:00
dyson
db14cfe28c 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
2e39fb736c Fix a reference problem with maps. Only appears to manifest itself when
sharing address spaces.
1997-06-15 23:33:52 +00:00
wpaul
3c54eb0587 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
898607164b srandomdev: use stack junk value in the fallback code too 1997-06-15 18:23:19 +00:00
dyson
eb8e1f5e4e 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
d85a7bf572 Fixed iomem address of SMIT mode in an example of bs driver. 1997-06-15 16:38:12 +00:00
kato
41888e8395 Synchronize with sys/i386/i386/machdep.c revision up to 1.249. 1997-06-15 16:35:13 +00:00
kato
b3ecaa3962 Synchronize with sys/i386/boot/biosboot/boot.c revision 1.67. 1997-06-15 16:33:52 +00:00
wollman
cfea13c538 Fix another power down braino. 1997-06-15 02:24:06 +00:00
wollman
29e9046de4 Fix definition of apm_power off (was suffering from cut&paste syndrome). 1997-06-15 02:19:40 +00:00
wollman
d3793afec0 When APM is configured, turn off the power when halting for good. 1997-06-15 02:03:03 +00:00
ache
a884e3c1fc Belgian keyboard fixes
Submitted by: bovynf@awe.be
1997-06-14 22:26:52 +00:00
max
54ca0a3181 Typo fix.
PR:		3869
Submitted by:	Kazuo Horikawa <k-horik@yk.rim.or.jp>
1997-06-14 19:45:00 +00:00
max
4db3a07a68 Typo fix.
PR:		3662
Submitted by:	Matthew Hunt <mph@pobox.com>
1997-06-14 19:30:27 +00:00