summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix a bug in aicasm_gram.y, noted by a newer clang 3.2 snapshot: itdim2012-11-141-1/+1
| | | | | | | compared an enum scope_type against a yacc-generated define, so the condition would always be false. MFC after: 3 days
* In games/fortune/fortune/fortune.c, make 'Debug' the correct type (it isdim2012-11-141-1/+1
| | | | | | *not* a boolean). MFC after: 3 days
* For mkcsmapper, conditionalize gcc-specific compile flags.dim2012-11-141-2/+6
| | | | MFC after: 3 days
* In crypto/heimdal/lib/sl/slc-lex.l, don't define YY_NO_INPUT, sincedim2012-11-141-2/+0
| | | | | | %option nounput is already specified. MFC after: 3 days
* Fix the lookup in the DOTDOT case in the same way as other filesystems do,davide2012-11-141-0/+21
| | | | | | i.e. inlining the vn_vget_ino() algorithm. Sponsored by: iXsystems inc.
* Use defined() to test macro definitions.demon2012-11-141-1/+1
| | | | Approved by: theraven
* if_afdata lock was converted from mutex to rwlock a long ago, so we canae2012-11-141-14/+15
| | | | | | | replace IF_AFDATA_LOCK() macro depending to the access type. Sponsored by: Yandex LLC MFC after: 1 week
* The function pmap_alloc_direct_page() unconditionally zeroes the returnedalc2012-11-143-5/+7
| | | | | | page. Therefore, it is really inappropriate for use by the function uma_small_alloc(). The effect of using it was that every page was zeroed at least once and possibly twice if M_ZERO was passed as a "wait" flag.
* SCOPE6_LOCK protects V_sid_default, no need to acquire it withoutae2012-11-141-9/+0
| | | | | | | any access to V_sid_default. Sponsored by: Yandex LLC MFC after: 1 week
* zoneid has unsigned type.ae2012-11-141-1/+1
| | | | MFC after: 1 week
* sh: Remove an unused variable.jilles2012-11-142-2/+0
|
* Make it clear the L2 ops are filled for any cpu using a PL310 cache, not justcognet2012-11-141-1/+2
| | | | | | the omap4. Spotted out by: Giovanni Trematerra <gianni at freebsd DOT org>
* boot: use packed attribute for edd_params* structures and their substructuresavg2012-11-141-5/+5
| | | | | | | | | | | | | | | | | | | | The sole purpose of this change is to make sure that sizeof produces "canonical" sizes for these structures. This is to avoid triggering bugs in the BIOSes that properly handle only the canonical values of input length provided to INT 13h AH=48h. The canonical sizes are: 30 for v2, 66 for v3, etc. Buggy BIOS code probably looks like: if (input_length > 30) { /* > v2 */ assume that input length is 66 /* assume v3 or later */ } This should fix boot problems at least on Supermicro X8DT6 and possibly on P410i Smart Array Controller (as found in e.g. HP DL360 G7). Reported by: gnn, np, rstone Debugged by: rstone Discussed with: ae, np, rstone MFC after: 4 days
* Use the arrmv7 version for flushID too, as it does something different for SMP.cognet2012-11-141-1/+1
| | | | Submitted by: Giovanni Trematerra <gianni at freebsd DOT org>
* Allow usernames up to 32 charsbapt2012-11-141-1/+1
| | | | | | | | PR: kern/161091 [1], misc/133926 [2] Submitted by: Stephane Lapie <darksoul@darkbsd.org> [1], Chris Dillon <cdillon@wolves.k12.mo.us> [2] Reviewed by: cognet, kib
* Style fixbapt2012-11-141-1/+1
| | | | MFC after: 1 day
* return ERANGE if the buffer is too small to contain the login as documented inbapt2012-11-141-0/+2
| | | | | | | the manpage Reviewed by: cognet, kib MFC after: 1 month
* Remove remnants of classful addressing. These magic transformationsglebius2012-11-141-41/+8
| | | | of supplied arguments is not what a modern sysadmin expect.
* - Fix a truncation bug with softdep journaling that could leak blocks onjeff2012-11-141-39/+100
| | | | | | | | | | | | | | crash. When truncating a file that never made it to disk we use the canceled allocation dependencies to hold the journal records until the truncation completes. Previously allocdirect dependencies on the id_bufwait list were not considered and their journal space could expire before the bitmaps were written. Cancel them and attach them to the freeblks as we do for other allocdirects. - Add KTR traces that were used to debug this problem. - When adding jsegdeps, always use jwork_insert() so we don't have more than one segdep on a given jwork list. Sponsored by: EMC / Isilon Storage Division
* - blk_equals() is too strict. If the journal entry defines more fragsjeff2012-11-141-10/+8
| | | | | | | | | | than we're claiming it should still be considered an exact match. This would previously leak frags that had been extended. - If there is a sequence number problem in the journal print the sequence numbers we've seen so far for debugging. - Clean up the block mask related debuging printfs. Some are redundant. MFC after: 1 week
* Mention the IEEE 802.1AX.kevlo2012-11-141-3/+3
| | | | Reviewed by: thompsa
* Document that sendfile(2) can fail with ENOBUFS.kevlo2012-11-141-0/+2
| | | | Reviewed by: glebius
* Move zpool-features manual page from section 5 to section 7mm2012-11-145-11/+13
| | | | | | | and fix references Reported by: pluknet MFC after: 1 week
* enterpgrp: get rid of pgrp2 variable and use KASSERT directly on pgfind result.mjg2012-11-131-5/+1
| | | | | | | pgrp2 was used only for debugging, but pgrp2 = pgfind(..) was present in compiled code even for kernels without INVARIANTS Approved by: trasz (mentor) MFC after: 1 week
* Merge of vendor import of 242999, tzdata2012jedwin2012-11-136-13/+33
| | | | - Libya went to Standard Time on 10 November 2012
* Fix an apparent typo in the manual section number in .Dt: it should be 5.pluknet2012-11-131-1/+1
|
* Add support for CIR1000 - Cirrus Logic V34 to the uart drivereadler2012-11-131-0/+1
| | | | | Approved by: cperciva (implicit) MFC after: 1 week
* Remove description of deprecated IP fragment checksum support.andre2012-11-131-56/+1
| | | | | | | | Since SMPng it wasn't really supported anymore and if it worked then only by chance. Only very few drivers ever supported it. Discussed with: yongari MFC after: 2 weeks
* Updates for netgraph node manual pages.joel2012-11-1351-401/+398
| | | | | Discussed with: glebius Submitted by: Mamontov Roman <mr.xanto@gmail.com>
* Add support for CIR1000 - Cirrus Logic V34 to the sio drivereadler2012-11-131-0/+1
| | | | | | | | PR: kern/44267 Submitted by: Michail Vidiassov <master@iaas.msu.ru> Arrival-Date: Sat Oct 19 07:30:00 PDT 2002 Approved by: cperciva (implicit) MFC after: 1 week
* - Lowercase a cross reference to make.pluknet2012-11-131-3/+3
| | | | | | - Sort SEE ALSO cross references. MFC after: 3 days
* Place 'dev.ath.X.debug' back under ATH_DEBUG, rather than ATH_DEBUG_ALQ.adrian2012-11-131-1/+3
|
* Avoid an ambiguous reference to mtx_lock(9).pluknet2012-11-131-1/+1
| | | | MFC after: 3 days
* Correct rmlock(9) xref and add a missing comma.pluknet2012-11-131-2/+2
|
* Remove unused/obsolete macros.attilio2012-11-131-11/+0
| | | | MFC after: 3 days
* Add examples to the ssh-copy-id script.eadler2012-11-131-0/+3
| | | | | Approved by: bcr (mentor) MFC after: 3 days
* Document wait6() and waitid().kib2012-11-132-32/+282
| | | | | | PR: standards/170346 Submitted by: "Jukka A. Ukkonen" <jau@iki.fi> MFC after: 1 month
* Implement the waitid() SUSv4 function using wait6() system call.kib2012-11-136-1/+72
| | | | | | PR: standards/170346 Submitted by: "Jukka A. Ukkonen" <jau@iki.fi> MFC after: 1 month
* Regenkib2012-11-1311-16/+127
|
* Add the wait6(2) system call. It takes POSIX waitid()-like processkib2012-11-1313-42/+390
| | | | | | | | | | | | | | | | | | | | | designator to select a process which is waited for. The system call optionally returns siginfo_t which would be otherwise provided to SIGCHLD handler, as well as extended structure accounting for child and cumulative grandchild resource usage. Allow to get the current rusage information for non-exited processes as well, similar to Solaris. The explicit WEXITED flag is required to wait for exited processes, allowing for more fine-grained control of the events the waiter is interested in. Fix the handling of siginfo for WNOWAIT option for all wait*(2) family, by not removing the queued signal state. PR: standards/170346 Submitted by: "Jukka A. Ukkonen" <jau@iki.fi> MFC after: 1 month
* Don't divide by zero.trasz2012-11-131-6/+12
| | | | Tested by: swills
* Add preliminary Octeon PCI console support. Radisys-specific PCI consolejmallett2012-11-132-0/+124
| | | | | support may follow soon (it uses a proprietary memory layout, but operation looks pretty trivial.)
* Add some useful options to consider.jmallett2012-11-131-0/+14
|
* Fix build for FreeBSD kernel.jmallett2012-11-131-4/+4
|
* Add some debugging to try and catch an invalid TX rate (0x0) that isadrian2012-11-131-1/+13
| | | | being reported.
* Be more consistent.obrien2012-11-131-62/+62
|
* Use uiomove return value instead of returning 0.kevlo2012-11-131-2/+2
|
* Check the return value of uiomove(9).kevlo2012-11-131-1/+5
|
* Import new version of libc++ into base.theraven2012-11-1328-203/+213
|
* Garbage collect the explicit "compile-with", they are no longer needed.obrien2012-11-131-14/+8
|
OpenPOWER on IntegriCloud