summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix buildemax2008-07-291-0/+1
|
* Convert popen()'s `pidlist' to a SLIST, for consistency.ed2008-07-291-11/+13
| | | | | | | | | | | | | I guess the original author of the popen() code didn't want to use our <sys/queue.h> macro's, because the single linked list macro's didn't offer O(1) deletion. Because I introduced SLIST_REMOVE_NEXT() some time ago, we can now use the macro's here. By converting the code to an SLIST, it is more consistent with other parts of the C library and the operating system. Reviewed by: csjp Approved by: philip (mentor, implicit)
* Add --no-preserve-owner, which seems to be required by some ports.kientzle2008-07-293-0/+5
| | | | Thanks to: Erwin Lansing
* In the previous commit, no_NO should have been replaced with nb_NO in thedes2008-07-291-2/+2
| | | | | | | LOCALES list. Since no_NO was still in LOCALES, make tried to build the corresponding .out files, but couldn't since the .src files were gone. I did not notice this because I still had the old .out files in my .OBJDIR. Thanks to kib@ for the heads-up.
* Marginally decomplicate set/getsockopt code in ip6_output.c by simplyrwatson2008-07-291-18/+11
| | | | | | | | using the passed arguments explicitly and unconditionally rather than testing them and calling panic(). The result is the same but easier to read. MFC after: 3 days
* Fix build breakage - kthread_exit() in 8 now has no argumentsrrs2008-07-291-1/+2
| | | | MFC after: 1 week
* - Out with some printfs.rrs2008-07-296-19/+12
| | | | | | | - Fix a initialization of last_tsn_used - Fix handling of mapped IPv4 addresses Obtained from: Michael Tuexen and I :-) MFC after: 1 week
* style(9) - space after keywords, don't indent case.yongari2008-07-291-64/+63
|
* Cache PCI vendor/device ids to avoid unnecessary PCI configurationyongari2008-07-291-7/+4
| | | | | space access in device probe. Also nuke referencing softc in device probe.
* s/printf/device_printf/gyongari2008-07-292-23/+19
| | | | | Don't hard code function name in device_printf() and use __func__. While I'm here nuke bfe_unit in softc as it's not needed anymore.
* 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
OpenPOWER on IntegriCloud