summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* style(9) correctionsimp1997-12-264-8/+12
| | | | Submitted by: bde
* Change major number to match the one actually used (whoops!).jkh1997-12-262-2/+2
| | | | Submitted by: Steve Gericke <steveg@comtrol.com>
* Workaround to avoid a strange core dump.wosch1997-12-261-1/+3
| | | | gzip < /dev/null | perl -npe 's/\003\003/\003\225/' | gzip -d
* Rename "i586_ctr" to "tsc" (both upper and lower case instances).phk1997-12-2622-290/+290
| | | | | | Fix a couple of printfs too. Warning: This changes the names of a couple of kernel options!
* ename "i586_ctr" to "tsc" (both upper and lower case instances).phk1997-12-265-13/+13
| | | | | | Fix a couple of printfs too. Warning: This changes the names of a couple of kernel options!
* Reorder to a more conventional if/then/else/endif structure.phk1997-12-261-14/+11
|
* fork() checks RLIMIT_NPROC, not RLIMIT_NOFILE.hoek1997-12-261-1/+1
| | | | | pr: docs/5260 submitted-by: Niall Smart [3]njs3@doc.ic.ac.uk
* Fix some breakage that prevented the Plasmon burners from being usedjoerg1997-12-261-67/+66
| | | | | | | | | | | | | | | | | | under -current. The actual preparation of the next track will now be deferred until just before the first write operation. Otherwise, opening the device with write intent will cause the execution of commands that are illegal in `limited command set mode' (i.e., after the write channel has been opened). While i was at it, cleaned up the worm_open() function a bit. Removed the volume overflow pre-check in worm_strategy(). It was time-consuming, and rather useless in many cases anyway (with the size being reported for just the entire volume only), so we can as well let the actual SCSI command fail instead, where it'll properly be reported as EIO. Partially submitted by & discussed with: jmz
* For regular files the sticky bit is ignored, but the user can still set it.helbig1997-12-261-5/+2
|
* "This is the add^H^H^Hinfo module."hoek1997-12-261-2/+2
| | | | | | | Pedantic comment fix. PR: bin/5188 Submitted by: Alex [3]garbanzo@hooked.net
* Put the return value of getopt into an int, not a char.alex1997-12-261-5/+4
|
* Do not install the z*grep man pages if grep was linked with -lz.wosch1997-12-261-3/+5
|
* DISTRIBUTION is bin (we'll make the info dist another way).jkh1997-12-261-6/+2
|
* Nuke info dist.jkh1997-12-261-2/+0
|
* Add -lzjkh1997-12-252-4/+4
|
* The ioopt code is still buggy, but wasn't fully disabled.dyson1997-12-251-2/+3
|
* Make kern.ncpu reports the number of detected processors when runninggpalmer1997-12-251-1/+8
| | | | with a SMP kernel.
* Use consistent spelling,hoek1997-12-2510-19/+19
| | | | | | | | writeable -> writable (recall prior debate over this? :-) initialise -> initialize recognise -> recognize Merry Christmas! :)
OpenPOWER on IntegriCloud