summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * Consistantly surround macro parameters with ()obrien1999-08-202-64/+67
| | | | | | | * Consistantly put spaces after "," in macro param lists * Consistantly align continuation characters. * Don't need to supply all variations of __FOO__ in CPP_PREDEFINES, gcc will do that for us.
* A "=" should have been "+=".obrien1999-08-201-2/+2
| | | | Submitted by: Mikhail Teterin <mi@aldan.algebra.com>
* Fix some cut and paste damage.mdodd1999-08-202-3/+3
| | | | Noticed by: Norman C. Rice <nrice@emu.sourcee.com>
* Fix EINVAL related descriptions.rse1999-08-206-18/+21
|
* vm_page_alloc and contigmalloc1:alc1999-08-201-3/+3
| | | | | | Verify that free pages are not dirty. Submitted by: dillon
* Update blackhole(4)csgr1999-08-201-5/+8
|
* Fix short timeout problems with the pt(4) driver:ken1999-08-207-39/+146
| | | | | | | | | | | | | - increase the default timeout from 10 seconds to 60 seconds - add a new kernel option, SCSI_PT_DEFAULT_TIMEOUT, that lets users specify the default timeout for the pt driver to use - add two new ioctls, one to get the timeout for a given pt device, the other to set the timeout for a given pt device. The idea is that userland applications using the device can set the timeout to suit their purposes. The ioctls are defined in a new header file, sys/ptio.h PR: 10266 Reviewed by: gibbs, joerg
* Reduce default timeout on remote serial debugging sessions from 20grog1999-08-201-1/+1
| | | | | | | | | | seconds to 1 second. This fixes a problem where gdb would appear to hang on flaky serial connections. There's a theoretical problem that the relatively short timeout could cause problems on slow links, but you can override the default value with the 'set remotetimeout' command. Approved-by: dfr
* What the heck was I thinking? Nobody else saw this? Sheesh.mdodd1999-08-203-8/+14
| | | | | | | | | | (num > MAX) ? MAX : num rather than (MAX > num) ? MAX : num Also, make things a little easier to read while I'm here.
* Add 2 functions: el_data_set() and el_data_get() which do what youmdodd1999-08-205-3/+41
| | | | | | | | would expect. (Allow user data to be associated with an EditLine context). As this changes no existing interfaces and doesn't alter any structs visable to the user I've been told that its not necessary to bump the version of the library.
* Change the name of the static variable 'files' to 'linker_files' ingrog1999-08-201-14/+14
| | | | | | order to be able to refer to it uniquely from the kernel debugger. Approved-by: peter
* time_to_sleep->tv_nsec > 1000000000alfred1999-08-193-6/+6
| | | | | -to- time_to_sleep->tv_nsec >= 1000000000
* Sanity check time structures passed in, return EINVAL like the systemalfred1999-08-1912-18/+54
| | | | | | | | calls do to avoid corrupting the thread library's concept of wakeup time. PR: kern/12141 Reviewed by: deischen, eivind
* Make gcc work on the Alpha again. alpha/alpha.h is used instead of svr4.hpeter1999-08-191-2/+2
|
* Quieten ppp at startup.brian1999-08-197-14/+14
|
* Let processes retrieve their argv through procfs. Revert to the originalmarcel1999-08-192-16/+82
| | | | | | behaviour in all other cases. Submitted by: Andrew Gordon <arg@arg1.demon.co.uk>
* o Add the -foreground switch. This switch behaves like -background exceptbrian1999-08-1916-285/+358
| | | | | | | | | that ppp stays in the foreground. o Add the -quiet switch to quieten ppps startup o Add the -nat flag and discourage the use of the -alias flag. Both do the same thing. o Correct some nat usage strings. o Change the internal ``alias'' command to ``nat''.
* handle under/overflow of time values in a more robust manner,alfred1999-08-193-9/+9
| | | | | | | | there may be an overflow that need to be adjusted more than once. Pointed out by: Fabian Thylmann <fthylmann@stats.net> Reviewed by: eivind, jb
* Fix a typo and a bug.peter1999-08-191-10/+12
| | | | | | - One RTP_PRIO_REALTIME was meant to be RTP_PRIO_IDLE. - RTP_PRIO_FIFO was not handled. - Move the usual case first for setrunqueue() etc.
* Replace the tulip_delay_300ns() with a DELAY(1). Hammering the PCI buspeter1999-08-192-22/+4
| | | | | | | | | | | | | | | | | | | | | | | to achieve a delay is pretty mean. Andrew reports: "The tulip_delay_300ns() is, well, bloody stupid on machines with a heavily loaded PCI bus. It tries to do a delay by assuming PCI reads will take a certain amount of time & issues a large amount of (expensive, 5% CPU when your PCI bus is heavily loaded) pci reads. Locally, we've replaced the calls to tulip_delay_300ns(sc) in the EMIT macros with a simple DELAY(1) and not seen any problems. Plus we've gained about 50Mb/sec throughput on our gigabit network cards because of the added PCI bus bandwidth available." Also, I do not understand why, but this change appears to stop the Transmit Fifo underrun on one of my systems (but not the Alpha PC164SX). This shouldn't make that much of a difference since the mii bus isn't touched all that often, but perhaps when it does get accessed and hence hammers the register, it was causing the chip to get upset. Submitted by: Andrew Gallatin <gallatin@cs.duke.edu>
* Undo my previous commit and do it differently. Break the ffs() etc macrospeter1999-08-192-28/+54
| | | | | | | | into two parts - one to do the bsfl and the other to convert the result (base 0) to ffs()-like (base 1) in inline C. This enables the optimizer to be a lot smarter in certain cases, like where it knows that the argument is non-zero and we want ffs(known non zero arg) - 1. This appears to produce identical code to the old inline when the argument is unknown.
* Convert all the nfs macros to do { blah } while (0) to ensure itpeter1999-08-195-455/+688
| | | | | | works correctly in if/else etc. egcs had probably picked up most of the problems here before with "ambiguous braces" etc, but this should increase the robustness a bit. Based on an idea from Eivind Eklund.
* Take integer rounding into account in the buffer size approximationsheldonh1999-08-191-2/+2
| | | | | | macro. So now it's (1 +) for the sign and (+ 1) for rounding. Reported by: bde
* Style issues in previous commit:sheldonh1999-08-191-4/+14
| | | | | | | | | | Use an upward approximation of the number of characters required for decimal representations of uid_t, gid_t and u_quad_t, intead of arbitrary values that may not be safe in the future. Fix disordering. Requested by: bde
* Move two of the DBX config directives to the common configuration header.obrien1999-08-192-10/+10
| | | | Also simply CPP_PREDEFINES a little.
* Nuke /usr/share/misc/pkg_manage.ru1999-08-191-3/+1
| | | | | PR: 13228 Submitted by: "Alexey M. Zelkin" <phantom@cris.net>
* Link libcrypt_p.a to the DES profiled library, if this library is present.jkoshy1999-08-191-0/+5
| | | | | | PR: misc/7759 Submitted by: Carl Mascott <cmascott@world.std.com> Reviewed by: jkh
* Fix breakage if blackhole=1 and tiflags & TH_SYN, pluscsgr1999-08-193-16/+26
| | | | | | style(9) fixes Submitted by: Jonathon Lemon
* Use el_source() so we pick up .editrcmdodd1999-08-194-2/+6
|
* Small tweak: in xl_rxeof(), rxstat should be u_int32_t, not u_int16_t.wpaul1999-08-191-3/+3
|
* Add support for command line editing and history.mdodd1999-08-1910-2089/+180
| | | | | | | | Remove src/contrib/bind/bin/nslookup/commands.c as it is generated by lex from commands.l. Submitted by: lpc/cdcontrol patches originally by msmith. Reviewed by: msmith (in theory)
* Try using the builtin ffs() for egcs, it (by random inspection)peter1999-08-192-2/+10
| | | | | generates slightly better code and avoids the incl then subl when using ffs(foo) - 1.
* Update for MI switch code, and trim a heap of unused (I believe) entries.peter1999-08-195-208/+7
|
* Use the MI process selection. We use a quick routine to decide whetherpeter1999-08-193-807/+45
| | | | to get the mplock and enter the kernel to run a process in the SMP case.
* Use MI switch code for process selection. This gets run queues entirelypeter1999-08-192-148/+10
| | | | | | out of the asm code, and as a bonus implements rtprio and idprio for the Alpha. Previously if you ran an idprio process, you were assured of a deadlock.
* Update for run queue code.peter1999-08-191-2/+2
|
* Don't initialize run queues here, do it all in one place.peter1999-08-191-22/+2
|
* Run queue heads have moved to TAILQ's.peter1999-08-191-5/+1
|
* Update for MI switch components. struct prochd is replaced by TAILQ's.peter1999-08-191-10/+11
| | | | Use a spare pad field for saving the run queue index.
* (forced commit, cvs aborted part way though)peter1999-08-190-0/+0
| | | | | | | | Extract the next runnable process selection out of cpu_switch() into a fairly machine independent C routine. gcc actually does a pretty good job of this. Reviewed by: msmith (in principle)
* Sort xrefs.mpp1999-08-191-3/+3
| | | | Submitted by: Alexey Zelkin <phantom@cris.net>
* Extract the next runnable process selection out of cpu_switch() into apeter1999-08-192-0/+205
| | | | | | | fairly machine independent C routine. gcc actually does a pretty good job of this. Reviewed by: msmith (in principle)
* Make these actually compile. I got a little delete happy pruning includesmdodd1999-08-1816-34/+82
| | | | | | | and used 'command' instead of 'cmd' in a few cases. Also clear up some unused variables. Pointed out by: phk
* Add pin-numbers for easy reference.phk1999-08-181-11/+12
|
* Document some common ENVIRONMENT variables.mpp1999-08-181-1/+11
| | | | | PR: docs/13233 Submitted by: Alexey Zelkin <phantom@cris.net>
* Add pam_radius.so manual page.abial1999-08-182-1/+130
| | | | Reviewed by: jdp
* printf("%x",dev); -> printf("%s",devtoname(dev));nsayer1999-08-182-22/+22
|
* Slight tweak to tcp.blackhole to add optional behaviour tocsgr1999-08-182-18/+52
| | | | | | | | | drop any segment arriving at a closed port. tcp.blackhole=1 - only drop SYN without RST tcp.blackhole=2 - drop everything without RST tcp.blackhole=0 - always send RST - default behaviour This confuses nmap -sF or -sX or -sN quite badly.
* Mention ``alias enable no'', not ``alias enable off''.brian1999-08-182-4/+4
|
* Hopefully make IFMEDIA_DEBUG compile. if_xname[] is a NetBSD addition,peter1999-08-181-3/+3
| | | | | | we need if_name, if_unit. (maybe we should pick up if_xname[] ?) Pointed out by: jkb@yahoo-inc.com
OpenPOWER on IntegriCloud