summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge NetBSD's changes from netbsd_strtod.c in preparation ofphantom2001-11-301-47/+54
| | | | | | | | | removing it from our source tree in order to have one version of strtod() for all arches. netbsd_strtod.c still left in source tree until alpha folks make sure that our native strtod() works as well as NetBSD's one. Reviewed by: peter, bde (some time ago)
* cpuid bit 30 is 'IA64', for when you're running in i386 mode on an ia64peter2001-11-302-2/+2
| | | | | cpu. (This is for either userland apps running in i386 mode on an ia64 OS, or when the cpu is in i386 legacy mode running an i386 OS).
* Make the error messaging more helpful.cjc2001-11-301-9/+11
| | | | | | PR: 31483 Approved by: iwasaki, ru MFC after: 4 days
* - Make ip_rtaddr() global, and use it to look up the correct sourceru2001-11-305-42/+40
| | | | | | | | | address in icmp_reflect(). - Two new "struct icmpstat" members: icps_badaddr and icps_noroute. PR: kern/31575 Obtained from: BSD/OS MFC after: 1 week
* * Don't use critical_enter/critical_exit when accessing the VHPT - itsdfr2001-11-301-17/+21
| | | | | | | | | | pointless and would be inadequate for SMP systems. We will rely on the VM system's locks to serialise this for now. * Change pmap_remove() so that if the range being removed is larger than the number of pages mapped by the pmap, we iterate over the currently mapped pages instead of over the virtual address range. This should make a difference when removing large virtual address ranges from an address space.
* Properly classify 0x80 - 0xa0 rangeache2001-11-301-5/+5
|
* Spelling error: dependant -> dependentlogo2001-11-301-1/+1
| | | | PR
* Add 0x98 to CONTROL sectionache2001-11-301-1/+1
|
* Back out my 'fix', resid is different for strategy than for writealfred2001-11-301-2/+2
|
* Implement several of the c99 updates to printf(3):fenner2001-11-302-211/+458
| | | | | | | | | | | | | | | | - New length modifiers: hh, j, t, z. - New flag: '. Note that %'f is not yet implemented. - Use "inf"/"nan" for efg formats, "INF"/"NAN" for EFG formats. - Implemented %q in terms of %ll; if "quad_t" is not "long long" %q will break. Still to do: - %C, %S, %lc, %ls (wide character support) - %'f (thousands in integer portion of %f) - %a/%A (exact hex representation of floating-point numbers) Garrett Wollman wrote the first version of the vfprintf.c update; Mike Barcroft wrote the first version of the printf.3 changes.
* Make the same fix for writes to RAW objects.alfred2001-11-301-2/+2
|
* write should return the number of bytes written, not 0 on success.alfred2001-11-301-1/+1
| | | | | Submitted by: Jonathan Mini <mini@haikugeek.com> PR: kern/32350
* Clarify isblank rangeache2001-11-301-0/+14
|
* Start every data line with keywordache2001-11-301-8/+8
|
* 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.
OpenPOWER on IntegriCloud