Brian Somers
ab959eb2b3
Initialise `mp'.
1999-06-09 20:27:26 +00:00
Brian Somers
7063995c94
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 Somers
c6f660d19f
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
Andrey A. Chernov
97a83933e5
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
Jordan K. Hubbard
177bf8278c
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
Jordan K. Hubbard
85cfadeb74
Remove apple.com from time server list.
...
Submitted by: Mike Haro
1999-06-09 09:18:33 +00:00
Jordan K. Hubbard
47b06c4f2f
Various edits to shrink fixit and enable dhcp-client
1999-06-09 09:08:22 +00:00
Brian Somers
8fb106c674
Use the correct pid when substituting PROCESSID.
...
Problem reported by: Amedeo Beck Peccoz <gea@gressoney.it>
1999-06-09 08:47:36 +00:00
Andrey A. Chernov
24c56392de
little optimization of locale sensing code
1999-06-09 00:07:10 +00:00
Brian Somers
68645f3954
Don't use static variables if we don't have to.
1999-06-08 20:12:06 +00:00
Brian Somers
c506ecd549
Don't drop the last character from lines in ppp.secret unless it's '\n'.
1999-06-08 20:11:53 +00:00
Dmitrij Tejblum
2105375397
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
Dmitrij Tejblum
a839bdc8af
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
Dmitrij Tejblum
be960acd20
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
Andrey A. Chernov
8e8cc94742
Just ignore malformed locale variable unless -d specified
1999-06-08 14:59:12 +00:00
Brian Somers
b25d26374e
If amd_flags is empty, don't add -p as it makes amd abend.
1999-06-08 13:00:30 +00:00
Brian Somers
aa8574707e
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 Somers
b12ce35537
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 Hu
c6570d1dc3
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
Mike Smith
79fc0bf4a0
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
Andrey A. Chernov
a26aa2519f
Fix -T doubling
1999-06-07 19:28:47 +00:00
Andreas Klemm
e373a275ea
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
Andrey A. Chernov
e5eeb99e2b
Localize NEQN part too
1999-06-07 19:23:04 +00:00
Andrey A. Chernov
ccb357e4ea
Add ability to read/write localized manpages
1999-06-07 18:36:00 +00:00
Archie Cobbs
05292ba234
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
Bruce Evans
39fbb9465e
Fixed previous fix (dad -> rda via rad).
1999-06-07 16:36:41 +00:00
Dag-Erling Smørgrav
ff7b59cd9e
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
Dmitrij Tejblum
141894af60
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 Kennaway
305a253acf
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
Joseph Koshy
b5d512fa68
Correct typos.
...
PR: docs/12068
Submitted by: Steve Coltrin <spcoltri@io.com>
1999-06-07 05:18:24 +00:00
Steve Price
7fb94d9a7c
Spell the .St macro correctly.
...
PR: 11704
1999-06-07 03:59:56 +00:00
Steve Price
e71d2b8ee3
Spell isinf(3) correctly.
...
PR: 11974
1999-06-07 02:42:31 +00:00
Matt Jacob
8ead41413c
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 Price
2df9ad0bd7
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 Elischer
bbb35cf953
fix (non destructive) braino to do with quoting in makefiles.
1999-06-06 20:21:27 +00:00
Bill Paul
32af3bf215
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
John Polstra
5ae2733874
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 Kennaway
735df1561f
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
Justin M. Seger
20e36bb38b
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 Klemm
9d08e0f59b
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 Takenori
ebc253718c
Sync with sys/i386/conf/majors.i386 revision 1.76.
1999-06-06 12:50:46 +00:00
KATO Takenori
621ba6f2bb
Sync with sys/boot/i386/libi386/bootinfo.c revision 1.19.
1999-06-06 12:46:40 +00:00
Poul-Henning Kamp
e1f523d464
Reserve cdev major 126 for sync support.
1999-06-06 10:41:35 +00:00
Poul-Henning Kamp
2f55ead758
typo in previous commit
1999-06-06 09:28:01 +00:00
Poul-Henning Kamp
cf4b937128
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 Kennaway
b9569cad67
The -perm option takes argument [-]mode, not [-mode]
...
Obtained from: NetBSD, by way of OpenBSD
1999-06-06 07:37:18 +00:00
Kris Kennaway
a05dbf91e4
sprintf -> snprintf
...
Obtained from: OpenBSD
1999-06-06 07:18:49 +00:00
Archie Cobbs
ad4f8dbd23
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
Brian Somers
f5a99677a3
Correct the way ppp transfers links on the server side in MP
...
mode by padding out the ``struct device'' to the maximum
device size.
Bump the ppp version number to indicate the transfer format
change.
This should make MP over tty and udp devices functional again.
1999-06-05 21:36:00 +00:00
Julian Elischer
ca2d7b4a51
Store the start time for later so it can be reprinted at the end.
...
Reviewed by: terry
1999-06-05 21:06:59 +00:00