summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Macbook [Pro] keyboards in AZERTY don't need shift to get to '~'.roberto2008-07-291-1/+1
| | | | MFC after: 3 days
* Factor sockbuf, sockopt, and sockstate out of socketvar.h in to separate ↵kmacy2008-07-294-221/+362
| | | | | | | headers. Reviewed by: rwatson MFC after: 3 days
* Modified release notes: Add one more name to credits on KSE item.bmah2008-07-291-1/+1
| | | | | Submitted by: jhb@ Reviewed by: brooks@
* Add missing jme(4), msk(4), nfe(4), re(4) and stge(4) in NOTES andyongari2008-07-291-0/+7
| | | | | | ensure that LINT builds include these devices. Reported by: Peter Jeremy
* Simplify ubt_isoc_in_complete2(). Also should fix off by 1 bug.emax2008-07-291-28/+18
| | | | MFC after: 3 months
* Don't use memcpy() to copy several bytes.mav2008-07-281-40/+22
| | | | | Store IDs is host order. It is not so important to bloat code for it. Combine m_adj() and M_PREPEND() into single M_PREPEND().
* Re-enable em(4) and igb(4) in NOTES.jhb2008-07-281-2/+2
| | | | PR: conf/112081
* In some cases (such as LC_COLLATE), nb_NO and nn_NO are identical, and itdes2008-07-283-1/+1
| | | | | | | | | makes sense to have them both link to no_NO. In other cases (such as LC_TIME), they differ, and the correct solution is to have no_NO link to nb_NO, rather than the other way around.o MFC after: 2 weeks
* Remove a stale reference to sys/dev/ixgbe/tcp_lro.c.jhb2008-07-281-2/+0
|
* Add collation sequence for no_NO. The same sequence applies to nb_NOdes2008-07-283-3/+87
| | | | | | | | | | | | | | | and nn_NO, which are symlinked to no_NO. The patch in the PR contained a number of errors apparently based on (sometimes incorrect) pronunciation; for instance, v and w are distinct letters and should be collated in that order, even if they are pronounced the same, while <u:> should be collated with u, even though it is often mispronounced as y. For lack of a solid reference, I have taken sv_SE and simply changed the last three letters of the alphabet. PR: conf/51920 MFC after: 2 weeks
* Fix a few bugs with the _gettemp() routine which implements mkstemp(),jhb2008-07-281-11/+26
| | | | | | | | | | | | | | | mkstemps(), and mkdtemp(). - Add proper range checking for the 'slen' parameter passed to mkstemps(). - Try all possible permutations of a template if a collision is encountered. Previously, once a single template character reached 'z', it would not wrap around to '0' and keep going until it encountered the original starting letter. In the edge case that the randomly generated starting name used all 'z' characters, only that single name would be tried before giving up. PR: standards/66531 Submitted by: Jim Luther Obtained from: Apple MFC after: 1 week
* When choosing a CPU for a thread in a cpuset, prefer the last CPU that thejhb2008-07-281-1/+4
| | | | | thread ran on if there are no other CPUs in the set with a shorter per-CPU runqueue.
* Move inpcb lock higher to protect some nonbinding fields reading.mav2008-07-282-3/+6
| | | | It fixes nothing at this time, but decided to be more correct.
* Don't attempt authentication at all if it has been disabled via '-a off'.jhb2008-07-282-7/+11
| | | | | | | | | This works around a bug in HP-UX's telnet client and also gives a much saner user experience when using FreeBSD's telnet client. PR: bin/19405 Submitted by: Joel Ray Holveck joelh of gnu.org MFC after: 1 month
* Really fix this.jhb2008-07-281-2/+1
|
* Properly check if td_name is empty and if it is, print process name,pjd2008-07-281-2/+2
| | | | | | instead of empty thread name. Reviewed by: jhb
* Add files to remove when MK_GNU_CPIO = noantoine2008-07-281-0/+6
|
* Remove a file that is not used and does not exist.antoine2008-07-281-1/+1
|
* Remove an empty directory that is already in ObsoleteFiles.inc fromantoine2008-07-281-2/+0
| | | | mtree/BSD.usr.dist
* Implement support for cpusets in the 4BSD scheduler.jhb2008-07-281-0/+116
| | | | | | | | | | | | | | | | | | | | | | - When a cpuset is applied to a thread, walk the cpuset to see if it is a "full" cpuset (includes all available CPUs). If not, set a new TDS_AFFINITY flag to indicate that this thread can't run on all CPUs. When inheriting a cpuset from another thread during thread creation, the new thread also inherits this flag. It is in a new ts_flags field in td_sched rather than using one of the TDF_SCHEDx flags because fork() clears td_flags after invoking sched_fork(). - When placing a thread on a runqueue via sched_add(), if the thread is not pinned or bound but has the TDS_AFFINITY flag set, then invoke a new routine (sched_pickcpu()) to pick a CPU for the thread to run on next. sched_pickcpu() walks the cpuset and picks the CPU with the shortest per-CPU runqueue length. Note that the reason for the TDS_AFFINITY flag is to avoid having to walk the cpuset and examine runq lengths in the common case. - To avoid walking the per-CPU runqueues in sched_pickcpu(), add an array of counters to hold the length of the per-CPU runqueues and update them when adding and removing threads to per-CPU runqueues. MFC after: 2 weeks
* Allow kernel config files to include files other than those in the CWD,obrien2008-07-282-0/+12
| | | | using unquoted paths.
* Export the hardware type (as number and name), the secondary firmwareimp2008-07-282-19/+45
| | | | | | revision and (on Prism cards) the primary firmware revision via sysctl. Move the printing of this information under bootverbose, since it is relatively easy to get to it now.
* Various and sundry style and whitespace fixes.jhb2008-07-281-74/+74
|
* Fix text in the comment why we check for ELF32_R_TYPEedwin2008-07-281-8/+5
| | | | | Approved by: bde@ MFC after: 2 days2 days
* Fix the email address formats in some posix_spawn(3) manpages.ed2008-07-282-2/+2
| | | | | | | | It seems I made a small bug when writing some of the posix_spawn(3) manpages. Remove the redundant "Ed Schouten", which broke the AUTHORS section. Approved by: philip (mentor, implicit)
* Fix a small typo in the procstat(1) manpage: messsage queue.ed2008-07-281-1/+1
| | | | | Approved by: philip (mentor) MFC after: 3 days
* Some style and assertion fixes to the previous commits hinted by rwatson.mav2008-07-281-3/+9
| | | | There is no functional changes.
* Correct an off-by-one error in the previous change to pmap_change_attr().alc2008-07-281-2/+4
| | | | Change the nearby comment to mention the recursive map.
* Don't allow pmap_change_attr() to be applied to the recursive mapping.alc2008-07-281-2/+5
|
* Don't allow pmap_change_attr() to be applied to the recursive mapping.alc2008-07-281-1/+1
|
* Add a check for 1GB page mappings to pmap_change_attr() so that it failsalc2008-07-281-1/+7
| | | | | gracefully. (On K10 family processors the direct map is implemented using 1GB page mappings.)
* Fix buffer discard index.yongari2008-07-281-1/+4
| | | | | | | | | While I'm here dicard all buffers if errored frame is part of multi-segmented frames. Pointed out by: sephe Reviewd by: sephe MFC after: 3 days
* Add manual pages for posix_spawn() functions.davidxu2008-07-2811-1/+1483
| | | | PR: standards/122051
* - track maximum wait timekmacy2008-07-271-4/+9
| | | | | | - resize columns based on actual observed numerical values MFC after: 3 days
* According to in_pcb.h protocol binding information has double locking.mav2008-07-271-2/+1
| | | | It allows access it while list travercing holding only global pcbinfo lock.
* According to in_pcb.h protocol binding information has double locking.mav2008-07-272-20/+14
| | | | It allows access it while list travercing holding only global pcbinfo lock.
* Style fixes to several function definitions.alc2008-07-272-16/+8
|
* Enhance pmap_change_attr(). Use pmap_demote_pde() to demote a 2MB pagealc2008-07-271-9/+22
| | | | | | | | mapping to 4KB page mappings when the specified attribute change only applies to a portion of the 2MB page. Previously, in such cases, pmap_change_attr() gave up and returned an error. Submitted by: Magesh Dhasayyan
* Assert for exclusive vnode lock in vinactive(), vrecycle() and vgonel()pjd2008-07-271-3/+3
| | | | | | functions. Reviewed by: kib
* - Move vp test for beeing NULL under IGNORE_LOCK().pjd2008-07-271-10/+7
| | | | | | | | | - Check if panicstr isn't set, if it is ignore the lock. This helps to avoid confusion, because lockmgr is a no-op when panicstr isn't NULL, so asserting anything at this point doesn't make sense and can just race with other panic. Discussed with: kib
* Add the ability to add new addresses for interfacesto just one FIBjulian2008-07-271-3/+23
| | | | | | (Other more specific related options will follow) This allows one to set multiple p2p links to the same place and select which to use by having each in different FIBS.
* don't deauth a station because it sends a ps-poll w/ a bogus aid in it;sam2008-07-261-2/+8
| | | | | | | | | turns out some devices do this and since we otherwise validate the station is associated and don't use the aid for anything being lenient here allows them to function Submitted by: Chris Zimmermann MFC after: 2 weeks
* Increase UDBHASHSIZE from 16 to 128 items.mav2008-07-261-1/+1
| | | | | Previous value was chosen 10 years ago and not very effective now. This change gives several percents speedup on 1000 L2TP mpd links.
* According to in_pcb.h protocol binding information has double locking.mav2008-07-261-24/+22
| | | | | It allows access it while list travercing holding only global pcbinfo lock. This relaxed locking noticably increses receive socket lookup performance.
* 2020447 IPFilter's NAT can undo name server random port selectiondarrenr2008-07-261-1/+3
| | | | | | | (fix output port range, was a random number in [0,max-min] (byteswapped on litle endian), instead of [min,max]) Submitted by: darrenr
* Add a few clarifications to this man page. Also, add a table thatimp2008-07-261-0/+18
| | | | | | | | | describes the minimum versions of each feature and each chipset type supported by this driver. Basically, unless you have a very modern version of firmware on a Prism card, you won't be able to use these cards for much on modern networks that have any kind of protection enabled, except for the few WEP-only stranglers that appear at some conferences...
* Add hash table lookup for a fully connected raw sockets.mav2008-07-261-9/+80
| | | | | | | This gives significant performance improvements when many raw sockets used. Benchmarks of mpd handeling 1000 simultaneous PPTP connections show up to 50% performance boost. With higher number of connections benefit becomes even bigger. PopTop snd others should also get some benefits.
* - Fix mtree example so it works.simon2008-07-261-0/+7
| | | | | | | - Document --version. Reviewed by: kientzle MFC after: 1 week
* Register the interrupt handler at the end of wi_attach rather than atimp2008-07-261-13/+11
| | | | | | | | the beginning. There's a race in the shared interrutp case. If another interrupt happens after the interrupt is setup, then we'd try to lock an uninitialized mutex. In addition, if we bailed out due to a too old version of firmware, we'd leave the interrupt enabled with all the fun that ensues....
* Return arc4_i = arc4_j = 0; line from previous backing out sinceache2008-07-261-0/+1
| | | | | | | just found it in OpenBSD, see their sys/crypto/arc4.c, function rc4_keysetup, line ctx->x = ctx->y = 0; Obtained from: OpenBSD
OpenPOWER on IntegriCloud