Commit Graph

38568 Commits

Author SHA1 Message Date
brian
001e2cd01c Don't delete quota files when clean-tmps is enabled. 1999-06-10 00:34:15 +00:00
brian
e38303d43c Allow a remote IP and port range specification in the
``alias port'' command.
1999-06-10 00:17:27 +00:00
brian
a71c6ca380 Initialise `mp'. 1999-06-09 20:27:26 +00:00
brian
472a277d26 Allow our endpoint discriminator to be enabled, disabled, accepted
and denied.  This is necessary for some MP implementations that
get confused if you accept their endpoint discriminator but reject
their MRRU.
1999-06-09 16:54:04 +00:00
brian
668a751d69 Add a rather complicated but impressive example of how
to implement multi-link ppp over more than one ISP with
the ability to lose ISPs without loss of connectivity.

It *requires* that you either have administrative access
to a machine that's already connected to the 'net or at
least know a really nice person that does.
1999-06-09 12:32:55 +00:00
ache
af27a74d79 Add detection code for NVidia Riva 128,TNT,TNT2
(TNT2 from me)

PR: 12094
Submitted by: Ilya Naumov camel@avias.com
1999-06-09 11:46:43 +00:00
jkh
5148a61ddb where_arge is allocated on stack and return address is overwritten
by buffer overflow.

Submitted by:	Hidetoshi Shimokawa <simokawa@sat.t.u-tokyo.ac.jp>
1999-06-09 09:29:53 +00:00
jkh
e645797c80 Remove apple.com from time server list.
Submitted by:	Mike Haro
1999-06-09 09:18:33 +00:00
jkh
8875f5d9a4 Various edits to shrink fixit and enable dhcp-client 1999-06-09 09:08:22 +00:00
brian
ecf825269a Use the correct pid when substituting PROCESSID.
Problem reported by: Amedeo Beck Peccoz <gea@gressoney.it>
1999-06-09 08:47:36 +00:00
ache
ed11896ff7 little optimization of locale sensing code 1999-06-09 00:07:10 +00:00
brian
ed2d80f59c Don't use static variables if we don't have to. 1999-06-08 20:12:06 +00:00
brian
a557d51984 Don't drop the last character from lines in ppp.secret unless it's '\n'. 1999-06-08 20:11:53 +00:00
dt
4f6d5906d8 Use kmem_alloc_nofault() rather than kmem_alloc_pageable() to allocate
kernel virtual address space for UPAGES.
1999-06-08 17:14:22 +00:00
dt
86676c1408 Add a function kmem_alloc_nofault() - same as kmem_alloc_pageable(), but
create a nofault entry. It will be used to allocate kmem for upages.

(I am not too happy with all this, but it's better than nothing).
1999-06-08 17:03:28 +00:00
dt
086b60db0d Keep fpcurproc locked in memory, so that we always can save the FP state
correctly.

This should fix the "pmap_changebit didn't" panic that some people see.

Reviewed by:	dfr
1999-06-08 16:42:19 +00:00
ache
5b46e8e2a8 Just ignore malformed locale variable unless -d specified 1999-06-08 14:59:12 +00:00
brian
88ac0d3ba0 If amd_flags is empty, don't add -p as it makes amd abend. 1999-06-08 13:00:30 +00:00
brian
30bfd76142 Don't IPCP TLD if we're already doing it. This prevents
recursion by doing something like ``down'' or ``quit all''
in ppp.linkdown.
1999-06-08 11:58:27 +00:00
brian
a7f994e40c Make the `load'', dial'' and `open'' commands a big clearer.
Requested by: Michael Heitmeier <MICHAEL_HEITMEIER@HP-Germany-om12.om.hp.com>
1999-06-08 11:57:59 +00:00
foxfair
f3baa7a602 Change locale name of Traditional Chinese : zh_TW.BIG5 -> zh_TW.Big5.
It makes compatible with IANA charset defination, and let existent I18N
app happier.

Ref: <http://www.isi.edu/in-notes/iana/assignments/character-sets>
1999-06-08 02:25:19 +00:00
msmith
a82640d71f From the submitter:
- this causes POSIX locking to use the thread group leader
   (p->p_leader) as the locking thread for all advisory locks.
   In non-kernel-threaded code p->p_leader == p, so this will have
   no effect.

   This results in (more) correct POSIX threaded flock-ing semantics.

   It also prevents the leader from exiting before any of the children.
   (so that p->p_leader will never be stale) in exit1().

   We have been running this patch for over a month now in our lab
   under load and at customer sites.

Submitted by:	John Plevyak <jplevyak@inktomi.com>
1999-06-07 20:37:29 +00:00
ache
38f5a258c5 Fix -T doubling 1999-06-07 19:28:47 +00:00
andreas
7c15c6bddb solve name conflict
the old STREAM protocol has been obsoleted by "ST2" (RFC 1819)

Detected by:	Andre Albsmeier <andre.albsmeier@mchp.siemens.de>
Suggested by:	Matt Crawford <crawdad@fnal.gov>
1999-06-07 19:25:23 +00:00
ache
ec826d342d Localize NEQN part too 1999-06-07 19:23:04 +00:00
ache
307eff3ce6 Add ability to read/write localized manpages 1999-06-07 18:36:00 +00:00
archie
289c2a94b6 ksprintn() may be called with base=2, so redefine MAXNBUF accordingly.
Other brucification tweaks.

Obtained from:	bde@freebsd.org
1999-06-07 18:26:26 +00:00
bde
b2b9dd4d0a Fixed previous fix (dad -> rda via rad). 1999-06-07 16:36:41 +00:00
des
7abcbd3e0f Separate the pftp and FTP_PASSIVE_MODE tests so gate mode works again.
PR:		bin/12070
Submitted by:	Dominic Mitchell <Dom.Mitchell@palmerharvey.co.uk>

Specifically check that FTP_PASSIVE_MODE is set to YES, rather than
just checking if it is defined.

Discussed on:	freebsd-current
1999-06-07 16:35:15 +00:00
dt
5eed7ee7eb Ensure that host_addr (which is returned in struct hostent::h_addr_list[0])
is aligned so that pointer to it can be safely casted to struct in_addr *.
1999-06-07 16:30:27 +00:00
kris
dbf1a464ae Changes from OpenBSD:
* Better usage() - correct syntax, display available commands
	  instead of examples
	* Accept command abbreviations
	* sprintf -> snprintf (for paranoia)
	* manpage capitalisation tweak

Obtained from:	OpenBSD
1999-06-07 13:53:57 +00:00
jkoshy
69d14b7e1a Correct typos.
PR:		docs/12068
Submitted by:	Steve Coltrin <spcoltri@io.com>
1999-06-07 05:18:24 +00:00
steve
b93efa8e55 Spell the .St macro correctly.
PR:		11704
1999-06-07 03:59:56 +00:00
steve
a6a4f80145 Spell isinf(3) correctly.
PR:		11974
1999-06-07 02:42:31 +00:00
mjacob
5517e8b772 Add a clarification in the man page suggesting that some tapes
(QIC) written under 2.X may not be easily read under the current
driver without explicitly setting to variable mode or to the blocksize
these tapes were written under 2.X with.

PR: 6681
1999-06-06 23:23:50 +00:00
steve
0f566d6300 The FD options are now in /sys/conf/options so need to duplicate them
here and keep people from building new kernels. :)
1999-06-06 22:45:04 +00:00
julian
3422098431 fix (non destructive) braino to do with quoting in makefiles. 1999-06-06 20:21:27 +00:00
wpaul
a0ce316f06 Small optimization: use wi_seek() in wi_read_record() and wi_write_record()
instead of frobbing the buffer access path registers directly. Saves a
few lines of duplicated code.
1999-06-06 16:44:04 +00:00
jdp
df6425d8e9 Call do_ctors() and do_dtors() using indirect calls through function
pointers.  The calls are in different sections from the functions
being called, and they can potentially be far away.  On a very large
program, the 21-bit displacement field of the BSR instruction
overflowed at link time.
1999-06-06 15:59:08 +00:00
kris
fd58402d0d Correct description of -c and -w options
Inspired by:	PR docs/11774
Submitted by:	Chad R. Larson <chad@freeway.dcfinc.com>
1999-06-06 14:16:51 +00:00
jseger
d6a2cd571b Update of intro(2)/errno(2) in the ongoing effort of the Programmer's
Documentation Project <http://home.wxs.nl/~asmodai/pdp.html>

Submitted by:	Jeroen Ruigrok van der Werven <asmodai@wxs.nl>
PR:		docs/12030
1999-06-06 14:15:14 +00:00
andreas
617c1a0631 Since FreeBSD can be used as sniffer, update the /etc/protocols file
after demand of two people and no objections:
- included all registered protocols, so it's now a useful reference as well
- renamed title to reflect new content
  (deleted word "IP", since all registered internet protocols are included now)
- corrected URL (file isn't hosted by iana.org anymore)
1999-06-06 14:00:10 +00:00
kato
a7c3229228 Sync with sys/i386/conf/majors.i386 revision 1.76. 1999-06-06 12:50:46 +00:00
kato
cff64fbb98 Sync with sys/boot/i386/libi386/bootinfo.c revision 1.19. 1999-06-06 12:46:40 +00:00
phk
982b3f72a1 Reserve cdev major 126 for sync support. 1999-06-06 10:41:35 +00:00
phk
37e44ea90a typo in previous commit 1999-06-06 09:28:01 +00:00
phk
bb0e3278df Introduce IFF_SMART bit.
This means that the driver will add/delete routes when it knows it is
up/down, rather than have the generic code belive it is up if configured.

This is probably most useful for serial lines, although many PHY chips
could probably tell us if we're connected to the cable/hub as well.
1999-06-06 09:17:51 +00:00
kris
8fd86ea132 The -perm option takes argument [-]mode, not [-mode]
Obtained from:	NetBSD, by way of OpenBSD
1999-06-06 07:37:18 +00:00
kris
42c2f1da5a sprintf -> snprintf
Obtained from:	OpenBSD
1999-06-06 07:18:49 +00:00
archie
6b91451129 The function ksprintn(), which is used to convert numbers to ASCII, is not
reentrant because it returns a static buffer. This results in a race condition
when/if an interrupt handler calls log(), printf() etc. Fix this.
1999-06-06 02:41:55 +00:00