summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* -Wall cleanup.alex1997-12-298-14/+26
|
* Whoops - one small tweak: I eliminated the deprecated isdn case,jkh1997-12-292-4/+2
| | | | so also remove mention of it in the comments.
* Remove all explicit rm's (with and without wildcards) and replace themjkh1997-12-292-328/+52
| | | | | | | with a function which does the rm/mknod in one step, eliminating the gratuitous device node removal behavior of before. Reviewed by: bde
* Added $Id$.alex1997-12-291-0/+2
|
* Add back a #include <sys/types.h> so that this header issteve1997-12-282-0/+2
| | | | | | | | self-sufficient again. This is a quick fix that should really be remedied by removing all of the gratuitous changes made in revision 1.20. PR: 5351
* Don't expect select() to adjust the passed time when it'sbrian1997-12-283-53/+46
| | | | | | | | | | | interrupted with a SIGALRM. In fact, select() sets the passed time to zero, making the previous implementation terminate always after 1/10th of a second ! Also, deal with someone changing the clock while we're sleeping (and restart the whole sleep). Dangers pointed out by: Theo de Raadt <deraadt@cvs.openbsd.org>
* Fix a couple of stray apostrophes.jraynard1997-12-281-3/+3
|
* Add OS macros for FreeBSD 2.2.6, OpenBSD 2.2, OpenBSD 2.3.wosch1997-12-281-0/+6
|
* -Wall cleanup.alex1997-12-281-3/+3
|
* More cleanup relating to our use of the TSC.phk1997-12-289-240/+164
| | | | Look in the cpu_feature (CPUID output) to see if we have it.
* wash, sort and put in order various nits from the i586_ctr -> tscphk1997-12-2816-100/+102
| | | | | | commit. Pointed out by: bde
* The terminating character in strings is `NUL', not `NULL'.wosch1997-12-283-6/+6
|
* back out previous commitjulian1997-12-281-24/+13
| | | | got a better version.
* Merge from sys/i386/i386/microtime.s revision 1.36.kato1997-12-281-14/+11
|
* Move the sector size check to the right place,julian1997-12-281-14/+25
| | | | | also cope with some drives that return funny values. The correct fix will come in a few days.
* Fixed initialization of the divisor latch. We depended on siocnopen()bde1997-12-283-6/+63
| | | | | | initializing it for the (usual) (siocniobase != 0) case, but siocnopen() doesn't initialize it if the latch registers already have the correct values.
* An a termcap entry for ancient Wyse60 terminals, wy60-nt, that don'tsteve1997-12-281-1/+3
| | | | | | | have hardware tab support. PR: 5386 Submitted by: Kevin Day <toasty@dragondata.com>
* YAMFsio.c (always call ttwwakeup() before returning from comstart()).bde1997-12-283-3/+6
|
* Always call ttwwakeup() before returning from comstart(). It isn'tbde1997-12-283-3/+6
| | | | | | necessary to call it when the tty layer's output state has not been changed, but siostop() sometimes changes the TS_BUSY state and then calls comstart() mainly for its side effect of calling ttwwakeup().
* Removed unnecessary (and broken) wakeup code in rpstart(). There is nobde1997-12-282-30/+0
| | | | | | | | | | | need to do it directly, since ttwwakeup() is always called just before returning from rpstart(). The brokenness was waking up the wrong address after clearing TS_SO_OLOWAT. It's not clear how processes waiting for output to drain below low water ever got woken up. Found by: when I fixed longstanding warts in output watermark handling, this was the only driver that knew too much (anything) about the watermarks
* Removed stale comment about printf's deficiencies and rewrote the codebde1997-12-281-29/+13
| | | | | | that worked around them for the CLI devtab listing. Print the `conflicts' flag in the CLI devtab listing.
* Handle "%...p" as "%#...x" instead of "0x%...x". This is a quick fixbde1997-12-281-3/+2
| | | | | | for field widths being 2 larger than specified for "%<number>p". Only printing of null pointers is "wrong" now (it is actually "right", but inconsistent with printf(3)).
* Initialize mbuf::pnext.brian1997-12-282-3/+4
| | | | Complain to LogERROR if we have internal inconsistency (not LogDEBUG).
* If a packet causes a dial, continue to test whether it'sbrian1997-12-282-17/+7
| | | | | blocked in the output filter. If so, proceed with the dial despite dropping the packet.
* Allow initial sequence numbers less than what we're expecting.brian1997-12-281-6/+21
| | | | | | | When CCP is originally negotiated, the only thing we can be sure about is that we've started adding data to the inflate dictionary either before or at the same time as the peer. This is ok, 'cos DEFLATE is a `sliding window' compressor.
* Unspammed nested include of <sys/malloc.h>. <sys/mbuf.h> hasn'tbde1997-12-281-8/+3
| | | | | | | | | really used any features from <sys/malloc.h> since it was "blasted from the past" in rev.1.15, and most .c files did not depend on the namespace pollution (others have been fixed). The mbuf allocation control values M_DONTWAIT and M_WAIT were just defined in terms of the malloc control values M_NOWAIT and M_WAITOK. The mbuf values are now defined directly.
* Restored used include of <sys/malloc.h>. malloc() is not usedbde1997-12-281-21/+22
| | | | | | | | | | | | | here, but kmem_malloc() is used and it takes the same "flags" as malloc(). Use the mbuf allocation "flags" M_WAIT and M_DONTWAIT consistently. There is really only one boolean flag, M_DONTWAIT, but the "flags" were always treated as enum-like values, except in some places here where the values are tacitly converted to boolean flags. Treat them as enum-like values everywhere, except where we tacitly assume that there are only two values in order to convert them to the corresponding two kmem_malloc() "flags".
* Update comment to match updated sb0 line (conflicts keyword no longer neededjkh1997-12-283-12/+3
| | | | at IRQ 5).
* Don't include sys/syslimits.h if _ANSI_SOURCE is defined.steve1997-12-271-1/+4
| | | | | PR: 5119 Discussed with: Bruce Evans <bde@zeta.org.au>
* Fix top-of-form bogon.wollman1997-12-271-2/+2
|
* Remove one last /etc/sysconfig reference.steve1997-12-271-1/+1
| | | | | PR: 3460 Pointed out by: hoek@FreeBSD.org
* Document the new ldconfig_paths variable.steve1997-12-271-1/+7
| | | | | PR: 5178 Submitted by: Evan Champion <evanc@synapse.net>
* Add a ldconfig_paths variable that specifies the shared library pathssteve1997-12-272-5/+8
| | | | | | | to be given to ldconfig(8). PR: 5178 Submitted by: Evan Champion <evanc@synapse.net>
* Another sysconfig -> rc.conf fix.steve1997-12-272-2/+2
| | | | | PR: 5374 Submitted by: Studded <Studded@dal.net>
* Typo/$Id$ police.alex1997-12-274-2/+12
|
* Write to the routing socket as uid 0. It's not good enoughbrian1997-12-273-4/+17
| | | | to just open it as uid 0 under OpenBSD.
* Fix some minor formatting nits.steve1997-12-271-9/+9
| | | | | PR: 5373 Submitted by: Matthew Hunt <mph@pobox.com>
* Fix some minor formatting bugs.steve1997-12-271-5/+8
| | | | | PR: 5216 Submitted by: Masahiro Sekiguchi <seki@sysrap.cs.fujitsu.co.jp>
* Bring back part of rev 1.44 which was commented out by rev 1.58.alex1997-12-271-7/+8
| | | | Reviewed by: nate
* Show who closes the diagnostic connection.brian1997-12-276-17/+28
| | | | | | Show the IP range (if specified) in "show ipcp". Close unused descriptors 0 and 2 in interactive mode. Pass (size_t *) rather than (int *) to sysctl().
* Remove bogus timeout code in Receive().brian1997-12-271-7/+13
| | | | | | | | Don't read(fd, buffer, 0) and think ppp has closed the connection when `buffer' is full, instead, flush most of buffer to the terminal and read() for a reasonable length. This fixes "show route" when there's more than 2k of routing output.
* Unspammed nested include of <vm/vm_zone.h>.bde1997-12-271-3/+1
|
* Allow (and document) execution of commands from withinbrian1997-12-275-103/+286
| | | | | our chat script. You can now even run chat(8) - see ppp.conf.sample.
* Update moused docs.jkh1997-12-271-6/+25
| | | | Submitted by: Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp>
* diff to /usr/share/tmac/mdoc/mdoc-syms to acceptjkh1997-12-271-0/+2
| | | | | | .Fx 2.2.1 .Fx 2.2.2 Submitted by: Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp>
* Check argument filename length before copying.wosch1997-12-271-1/+8
| | | | $ gzip `perl -e 'for(1..10240){ print "a"}'`
* Back out previous commit, the so-called "unused code" was most definatelypeter1997-12-272-2/+6
| | | | | | used, and caused a reference to an uninitialised variable (state). I think I've fixed it now, but since nothing in the tree seems to use it, I'm not sure.
* Unspammed nested include of <vm/vm_zone.h>.bde1997-12-2726-29/+56
|
* #include "opt_user_ldt.h" so that the #ifdef USER_LDT checks can work, aspeter1997-12-276-6/+12
| | | | | | commented about at length in the PR audit trail. PR: 2412
* style(9) nitsimp1997-12-261-2/+3
| | | | Submitted by: bde
OpenPOWER on IntegriCloud