summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Further system call comment cleanup:rwatson2007-03-0530-186/+86
| | | | | | | | | | - Remove also "MP SAFE" after prior "MPSAFE" pass. (suggested by bde) - Remove extra blank lines in some cases. - Add extra blank lines in some cases. - Remove no-op comments consisting solely of the function name, the word "syscall", or the system call name. - Add punctuation. - Re-wrap some comments.
* .Xr nit.bms2007-03-051-2/+2
| | | | Submitted by: brueffer
* Warn when user use sectorsize bigger than the page size, which will leadpjd2007-03-052-0/+8
| | | | | | | | to problems when the geli device is used with file system or as a swap. Hopefully will prevent problems like kern/98742 in the future. MFC after: 1 week
* Update shutdown() manual page to reflect actual behaviour of code.bms2007-03-051-10/+82
| | | | | | | | Add IMPLEMENTATION NOTES section explaining in detail the effect this system call has in common use cases involving PF_INET and PF_INET6 sockets. PR: kern/84761 MFC after: 2 days
* Fix incorrect comment. Geli will protect against data modification, ofpjd2007-03-051-5/+6
| | | | | | | course! It won't protect against reply attacks - try harder to explain them correctly. MFC after: 1 week
* The firmware files are included in the base system now, reflect this here..brueffer2007-03-052-32/+43
| | | | | | | | While here, remove Xrefs to all other wlan drivers except the Intel ones, these often get confused. Also remove pointers to the old ipw and iwi webpages, they don't include any useful information that's not in the manpages yet. Reviewed by: flz, ru
* Test cases for back references.delphij2007-03-051-0/+24
| | | | Obtained from: OpenBSD
* Only stop evaluation of a back reference if the match length isdelphij2007-03-051-15/+17
| | | | | | zero and the recursion level is too deep. Obtained from: OpenBSD
* Partial fix for a bug in rev.1.231. If suspend/resume clobbers thebde2007-03-052-0/+2
| | | | | | | | | | | | | | | | | RTC state, then it may clobber the RTC index register, so the index register must be restored before using it to restore control registers in rtc_restore(). The following problems remain: - rtc_restore() is only called if pmtimer is configured. Buggy suspend/resumes are more likely to clobber the index register than a control register, so pmtimer is more needed than it used to be. - pmtimer doesn't exist for amd64. - Restoring of the RTC state may race with rtcintr(). If an RTC interrupt is handled before the state is restored, then rtcin(RTC_INTR) in rtcintr() may read from the wrong register, so rtcintr() may spin forever. This may be mitigated by the most common state clobbering being to turn off RTC interrupts.
* Quick bandaid for possible broken multiple playback channels implementation.ariff2007-03-051-4/+5
| | | | Reported/Tested by: Oliver Iberien <odilist@sonic.net>
* Check for malloc return valuekevlo2007-03-051-0/+2
|
* Another typo.grog2007-03-051-1/+1
| | | | | Spotted by: ru Another pointy hat to: grog
* Use different wait channel name for second of two sleeps. Minor commentaryimp2007-03-051-2/+2
| | | | addition.
* Avoid infinite recursion on:delphij2007-03-051-0/+2
| | | | | | echo "foo foo bar bar bar baz" | sed 's/\([^ ]*\)\( *\1\)*/\1/g' Obtained from: OpenBSD via NetBSD (rev. 1.18)
* Cosmetics: remove trailing white space, wrap over-long lines.grog2007-03-051-4/+6
| | | | Pointy hat to: grog
* Change these descriptions of memory types used in malloc(9), as theirwkoszek2007-03-052-5/+4
| | | | | | current, rather long strings make output from vmstat -m look unpleasant. Approved by: cognet (mentor)
* Rearrange function descriptions in more logical order.grog2007-03-041-24/+30
| | | | | | Be less alarmist about the dangers of abusing wakeup_one(). Requested by: kris, imp
* Use msleep(9) instead of tsleep(9) surrounded by lock acquisition andwkoszek2007-03-041-6/+2
| | | | | | release. Approved by: cognet (mentor)
* Remove 'MPSAFE' annotations from the comments above most system calls: allrwatson2007-03-0434-694/+38
| | | | | | | | system calls now enter without Giant held, and then in some cases, acquire Giant explicitly. Remove a number of other MPSAFE annotations in the credential code and tweak one or two other adjacent comments.
* Fix markup.ru2007-03-041-5/+8
|
* Fix typo in comment.flz2007-03-041-1/+1
| | | | Reported by: thompsa
* Reduce the number of retries to 10 from 20 for not_a_card retry test.imp2007-03-041-5/+8
| | | | | | | | Add some comments to explain how 10 was picked. 20 was completely arbitrary, at least 10 has some reasoning behind it. Also, update the comments about how long we sleep to reflect the new, shorter timeout we use.
* Markup polishing.ru2007-03-041-2/+3
|
* Move to ANSI C function headers. Re-wrap some comments.rwatson2007-03-041-45/+25
|
* Purge an out-of-date comment.bms2007-03-041-1/+0
|
* The use of predefined strings such as \*[Ge] can be harmful here,ru2007-03-041-3/+3
| | | | | as some fonts (e.g., KOI8-R) have special symbols for displaying them, and we want symbols ">=" literally here.
* Fix markup and clean up some of the wording.ru2007-03-041-23/+32
| | | | | | (This English was hard to translate as it uses a language that is far from a pure technical. It would definitely benefit from a revision.)
* Disable RPC exponential back-off for FreeBSD.org systems (IE. hiddensimon2007-03-042-0/+10
| | | | | | | | | | | | | behind _FREEFALL_CONFIG). This is done mainly to make NIS even more resistant to packet loss. This is not enabled by default for "normal" FreeBSD since it might cause the server providing the RPC service to be hit heavily with RPC traffic in case of problems. freefall.FreeBSD.org and hub.FreeBSD.org have been running with a patch similar to this for a couple of weeks. MFC after: 1 week Discussed with: peter
* - Use mtx_{lock,unlock}_spin rather than {disable,enable}_intr.nyan2007-03-042-58/+30
| | | | | | - Remove unnecessary findcpuspeed() function. - Initialize the timer_freq in i8254_init(). - Fix inittodr() and resettodr(). These are broken by rev.1.154.
* - Bump _yplib_timeout limit from 10 to 20 seconds to better handlesimon2007-03-041-1/+9
| | | | | | | | | | | | | | | | | | | | | | | packet loss when talking to a NIS server. - Set 1 second retry timeout to further realistically handle UDP packet loss for yp_next packet bursts. If the packet hasn't come back within 1 second its rather unlikely to come back at all. There is still back-off mechanism in RPC so if there is another reason than packet loss for the lack of response within 1 second, the NIS server will not be totally bombarded with requests. This reduces the risk of NIS failing with: yp_next: clnt_call: RPC: Timed out considerably. This is mainly a problem if you have larger NIS maps (like at FreeBSD.org) since enumerations of the lists will cause a UDP packet bursts where a few packets being lost once in a while do happen. MFC after: 1 week Discussed with: peter Problem mainly diagnosed by: peter
* Fix markup.ru2007-03-041-16/+13
|
* More markup fixes.ru2007-03-041-6/+5
|
* Markup fixes.ru2007-03-041-7/+6
|
* Reduce diffs with i386.nyan2007-03-042-12/+20
|
* style(9).nyan2007-03-042-4/+4
|
* MFi386: revision 1.17.nyan2007-03-041-1/+1
| | | | Fix the cdboot twiddle display.
* Catch up the rest of the drivers with the ether_vlan_mtap modifications.csjp2007-03-0410-10/+10
| | | | | | | | | | If these drivers are setting M_VLANTAG because they are stripping the layer 2 802.1Q headers, then they need to be re-inserting them so any bpf(4) peers can properly decode them. It should be noted that this is compiled tested only. MFC after: 3 weeks
* Fix problems resulting from SMP kernels (mis-)identifying themselves ascperciva2007-03-041-3/+20
| | | | | | | | | "SMP-GENERIC" (i386) or "GENERIC" (amd64). FreeBSD 6.2 Errata candidate. MFC after: 3 days Pointy hat to: cperciva
* Make the file tests robust against broken symlinks and otherkientzle2007-03-031-3/+17
| | | | sources of stat()/lstat() failure.
* libarchive 2.0kientzle2007-03-0372-2434/+7206
| | | | | | | | | | | | | | | | | | | * libarchive_test program exercises many of the core features * Refactored old "read_extract" into new "archive_write_disk", which uses archive_write methods to put entries onto disk. In particular, you can now use archive_write_disk to create objects on disk without having an archive available. * Pushed some security checks from bsdtar down into libarchive, where they can be better optimized. * Rearchitected the logic for creating objects on disk to reduce the number of system calls. Several common cases now use a minimum number of system calls. * Virtualized some internal interfaces to provide a clearer separation of read and write handling and make it simpler to override key methods. * New "empty" format reader. * Corrected return types (this ABI breakage required the "2.0" version bump) * Many bug fixes.
* Get rid of chatter for failed commands if the filesystem is read-only.njl2007-03-031-5/+6
| | | | | | | | | | | Include /var/db/entropy-file in the reseeding if present. It is used for last-ditch efforts to save entropy and thus should also be used to seed the RNG when starting. Print a warning instead of an error if writing the file fails -- err() exits, preventing the umask from being restored. Also, since there's not much that can be done about it, notifying the user is all that's needed. MFC after: 2 weeks
* Turn default address selection on by default. Now, whenume2007-03-031-1/+1
| | | | | | | ipv6_enable="NO", an IPv4 address is preferred for a destination address. MFC after: 1 month
* Fix a typo.jkoshy2007-03-031-2/+2
| | | | Submitted by: Kai Wang <kaiw27 at gmail dot com>
* Clarify the meaning information printed by the -o option.grog2007-03-031-4/+3
| | | | Clean up grammar, adding articles.
* Use get_if_var() to retrieve interface specific values of dhclient_flagsbrooks2007-03-021-7/+3
| | | | | | | and background_dhclient. This allows interfaces who's names are not valid parts of shell variables and shortens the code. MFC after: 1 week
* Document -J in usage.pjd2007-03-021-0/+1
| | | | Submitted by: Eric Anderson <anderson@freebsd.org>
* style(9) fixes.flz2007-03-022-2/+2
| | | | Reported by: ru
* Add vfs_getopt.9 to the build, and add links for related functions.davidc2007-03-021-0/+6
|
* Document the mount option handling functions.davidc2007-03-021-0/+197
| | | | Reviewed By: ru
* - Don't do the interrupt storm protection stuff for software interruptjhb2007-03-021-2/+3
| | | | | | | handlers. - Use pause() when throtting during an interrupt storm. Reported by: kris (1)
OpenPOWER on IntegriCloud