summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Cleanup: cosmetique, standards conformance, BLANK/SPACE/GRAPH relationache2001-11-3015-110/+155
|
* Clarify valid isspace() rangeache2001-11-301-8/+10
|
* Clean DIGIT/XDIGIT sectionsache2001-11-308-16/+25
|
* killall operates on all processes owned by the real uid, not thebsd2001-11-301-2/+2
| | | | | | effective uid. MFC after: 3 days
* Per jlemon request, reintroduce some printf() when anluigi2001-11-293-9/+24
| | | | | | | | | | | | | | mbuf allocation fails, and fix (i hope) a couple of style bugs. I believe these printf() are extremely dangerous because now they can occur on every incoming packet and are not rate limited. They were meant to warn the sysadmin about lack of resources, but now they can become a nice way to panic your system under load. Other drivers (e.g. the fxp driver) have nothing like this. There is a pending discussion on putting this kind of warnings elsewhere, and I hope we can fix this soon.
* Reword pciconf(8) -v release to be a little more useful (now that Ibmah2001-11-292-8/+14
| | | | understand what it does), move it to the userland section, and note MFC.
* New release notes: ciss driver, sbni driver.bmah2001-11-294-0/+62
| | | | (Hardware list updated accordingly.)
* For i386 architecture, remove an expensive m_devget() (and theluigi2001-11-292-62/+80
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | underlying unaligned bcopy) on incoming packets that are already available (albeit unaligned) in a buffer. The performance improvement varies, depending on CPU and memory speed, but can be quite large especially on slow CPUs. I have seen over 50% increase on forwarding speed on the sis driver for the 486/133 (embedded systems), which does exactly the same thing. The behaviour is controlled by a sysctl variable, hw.dc_quick which defaults to 1. Set it to 0 to restore the old behaviour. After running a few experiments (in userland, though) I am convinced that doing the m_devget() is detrimental to performance in almost all cases. Even if your CPU has degraded performance with misaligned data, the bcopy() in the driver has the same overhead due to misaligment as the one that you save in the uiomove(), plus you do one extra copy and pollute the cache. But more often than not, you do not even have to touch the payload, e.g. when you are forwarding packets, and even in the often-cited case of NFS, you often end up passing a pointer to the payload to the disk controller. In any case, you can play with the sysctl variable to toggle between the two behaviours, and see if it makes a difference. MFC-after: 3 days
* Fix pam_ssh by adding an IPv4or6 (evidently, this was broken by my lastgreen2001-11-291-0/+8
| | | | | OpenSSH import) declaration and strdup(3)ing a value which is later free(3)d, rather than letting the system try to free it invalidly.
* Bring release note on /dev/net into line with reality.bmah2001-11-292-4/+4
|
* Fold ANDREW_LOCKD into -current.alfred2001-11-293-566/+1965
|
* Note that stty is a utility and not... err... a program....green2001-11-291-1/+1
| | | | Submitted by: ru
* fix DIAGNOSTIC panic caused by proc/thread typogallatin2001-11-291-1/+1
| | | | tested by: Martijn Pronk <martijn@smartie.xs4all.nl>
* Clarify that is[x]digit() class is the same in any localeache2001-11-292-17/+18
|
* Fix a bug about CIS string comparison. Pccardd should be able to distinguishiwasaki2001-11-291-0/+4
| | | | | | | | | | | card "MELCO" "LPC2-T" and card "MELCO" "LPC2-TX" by this fix. Reported by: Kitagawa Shoichi <sk@xstar.kiu.ac.jp>, NINOMIYA Hideyuki <nin@shikoku.ne.jp> MFC after: 1 week
* Duh. Back out most of my previous commit. It was mostly covered in thecjc2001-11-291-9/+1
| | | | | | | | | STANDARDS section of the page. Add one remark there about inet_pton(3) only understanding decimal values (in contrast to inet_aton(3) and friends who are happy with 0ac.020.25 for 172.16.0.25). Caught by: ru MFC after: 2 days
* Fixed memory leak in dialog_gauge(3).ru2001-11-291-0/+4
| | | | | | PR: gnu/32260 Submitted by: Igor Pokrovsky <tiamat@telegraph.spb.ru> MFC after: 3 days
* Oops, actually fix the namespace pollution for atoll() as the previousbde2001-11-291-4/+4
| | | | commit claimed to do.
* Stty is a program, not a function.green2001-11-291-1/+1
|
* Bump p1003.1-90 to p1003.1-96.green2001-11-291-1/+1
|
* rename() can't guarantee "to" always exists if it didn't exist in the firstgshapiro2001-11-291-1/+3
| | | | | | | | place -- for example, rename("existing", "newfile"); on a read-only file system. Reviewed by: green MFC after: 3 days
* Implement a more efficient way to assign addresses: read /etc/hostsluigi2001-11-291-24/+42
| | | | | | only once into an array of shell variables, and then scan the array to find entries matching the MAC address. Associative arrays would really be handy here...
* Back out national digits support, POSIX explicetely disallows it:ache2001-11-299-85/+87
| | | | | | | | | | | The definition of character class digit requires that only ten characters -the ones defining digits- can be specified; alternate digits (for example, Hindi or Kanji) cannot be specified here. However, the encoding may vary if an implementation supports more than one encoding. The definition of character class xdigit requires that the characters included in character class digit are included here also and allows for different symbols for the hexadecimal digits 10 through 15.
* After the long explanaition of how the inet_* functions interpretcjc2001-11-291-0/+8
| | | | | | | Internet addresses, point out that inet_pton(3) only understands dotted quads with decimal values. MFC after: 2 days
* Alphabetize the "Disks and Storage" section of the release notes. Nobmah2001-11-282-94/+92
| | | | content changes.
* Update release notes: ACPI imported version.bmah2001-11-282-2/+2
|
* Return a POSIX-compliant error for write(2) failure.green2001-11-281-1/+1
|
* Add a BUGS section noting that the basename of a directory containingcjc2001-11-281-1/+10
| | | | | | periodic(8) scripts must be useable as a sh(1) variable. MFC after: 2 days
* o Cache req->td->td_proc->p_ucred->cr_prison in pr to improverwatson2001-11-281-13/+10
| | | | | | | | | | readability. o Conditionalize only the SYSCTL definitions for the regression tree, not the variables itself, decreasing the number of #ifdef REGRESSIONs scattered in kern_mib.c, and making the code more readable. Sponsored by: DARPA, NAI Labs
* Fixed namespace pollution and/or breakage of K&R and C90 support related tobde2001-11-281-16/+21
| | | | | | | | | | | | | | | | | | | | | the following functions in the following commits: - atoll() in revs 1.23-1.25 - llabs() and lldiv() in revs 1.22 - strtoq() and strtouq() in revs 1.18 C99 functions must not be declared in C90/POSIX.1-1990 sections, and "long long" must not be exposed to compilers that don't support it. Fixed style bugs (mainly misindentation and disorder) related the following functions in the following commits: - atoll() in revs 1.23-1.25 - getprogname() in rev.1.21 - sranddev() in revs 1.19-1.20 - strtoq() and strtouq() in rev.1.13 - user_from_uid() in rev.1.1 Breakage of K&R and C90 support used to be avoided by conditializing the "long long"s for strtoq() and strtouq() on __STRICT_ANSI__, but the conditionals should have gone away in rev.1.13 when the "long long"s went away (the problem was moved to the places that declare quad_t and u_quad_t).
* When a socket is not connected, allow the peer "struct sockaddr"archie2001-11-282-13/+77
| | | | | | | | to be included in the meta information that is associated with incoming and outgoing packets. Reviewed by: julian MFC after: 1 week
* Fixed namespace pollution in previous commit. The C99 functionbde2001-11-281-1/+1
| | | | | sterror_r() must not be declared in the C90/POSIX.1-1990 section. Put it in the nonstandard section for now.
* Fix indentation after removing GEMDOS support. Whitespace changes only.jhb2001-11-281-14/+14
|
* Use suser_td() instead of explicitly checking cr_uid against 0.jhb2001-11-282-3/+3
| | | | | | PR: kern/21809 Submitted by: <mbendiks@eunet.no> Reviewed by: rwatson
* - Change parameters of signal handlers in order to be correct (they arearr2001-11-281-12/+9
| | | | | | | | | | handed a integer, not void). - No need to set flags to zero when they already will be. - It was also noted the manner in which the signal handling has changed might possibly generate some problems (hangs possibly) -- these, while remaining in the code, will be fixed shortly (within a day). Submitted by: bde
* Whitespace fixes so thre 386 versoion of __uint8_swap_uint32 is easier tojhb2001-11-281-2/+4
| | | | read.
* Remove ciss from the modules build until the build issues are resolved.imp2001-11-281-1/+1
|
* Axe more unused GEMDOS code that was #ifdef atari.jhb2001-11-284-44/+1
| | | | | PR: kern/21809 Submitted by: <mbendiks@eunet.no>
* Fix a typo in a commentbrian2001-11-281-1/+1
|
* Remove the need for an expensive m_devget on the i386, which does notluigi2001-11-281-39/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | have alignment problems. On small boxes (e.g. the net4501 from Soekris, featuring a 486/133) this provides huge performance benefits: the peak forwarding rate with avg.sized packets goes up by 50-70% because of this change alone. Faster CPUs might benefit less from this change, but in any case the CPU has better things to do than waste time on useless memory-to-memory copies. Several drivers (for Tulip-like cards) might benefit from a similar change. Right now the new behaviour is controlled by a sysctl variable, hw.sis_quick which defaults to 1 (on), you can set it to 0 to reintroduce the old behaviour (and compare the results). The variable is only there to show how much you can gain with this change, it will go away soon. Also, slightly simplify the code to initialize the ring buffers, and remove a couple of dangerous printf's which could trigger on any packet in case of mbuf shortage. MFC-after: 3 days
* Waits for a keypress before rebooting on panic.dcs2001-11-281-0/+3
| | | | | | PR: kern/32351 Submitted by: Jonathan Mini <mini@haikugeek.com> MFC after: 1 week
* Regen after addition of the Mustek 1200 CU Plus scanner.sobomax2001-11-282-0/+7
| | | | Submitted by: "Ilmar S. Habibulin" <ilmar@watson.org>
* Add Mustek 1200 CU Plus scanner.sobomax2001-11-282-0/+2
| | | | Submitted by: "Ilmar S. Habibulin" <ilmar@watson.org>
* Yet another synch with minor changes in the ACPI CA 20011120 snapshot.iwasaki2001-11-281-0/+14
| | | | We need to call AcpiEnterSleepStatePrep() before AcpiEnterSleepState().
* Do not write warning messages on stderr - a caller is expected to checktobez2001-11-282-10/+8
| | | | | | | | | | | | | the return code and errno instead. Those warnings did not do any good for daemonized users of initgroups(3), and confused cvs clients that communicated with non-root cvs pserver. The committed fix differs from the one suggested in the PR, and was submitted by ru. PR: 15421 Approved by: markm Discussed on: -stable, -current at various times
* Mdoc police.des2001-11-281-32/+37
| | | | Submitted by: ru
* Rewrite buffer handling code a bit to handle large values.ache2001-11-283-5/+15
| | | | Add more checks for data overflow.
* GC cvs-1.8.1 import left-overs.ru2001-11-281-4/+0
|
* Increase internal buffer spaceache2001-11-281-1/+1
|
* mdoc(7) police: fix one pam_unix(8) left-over, sort xrefs.ru2001-11-281-4/+4
|
OpenPOWER on IntegriCloud