summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* - Switch to saving non-offseted pointer to TLS block in order too keep ↵gonzo2012-03-062-17/+4
| | | | things simple
* Prepare for large TLS redo. Save pointer to the beginning of TLS area,gonzo2012-03-063-20/+51
| | | | | | and offset it only if requested by RDHWR handler. Otherwise things get overly complicated - we need to track whether address passsed in request for setting td_md.md_tls is already offseted or not.
* In the trap messages that aid the primitive debugging environment of MIPS,jmallett2012-03-061-6/+14
| | | | | include the tid as well, so it's easier to tell which thread of a process with multiple is responsible for a crash.
* Link EV_SET(3) to kqueue(2).pjd2012-03-051-1/+1
| | | | MFC after: 3 days
* The libmap.conf initialization is performed before TLS is functional.kib2012-03-051-10/+15
| | | | | | | | | | | | | Since after r232498 the ctype macros require working access to thread-local variables, rtld crashes when libmap.conf is present. Use hand-made isspace1() macro which is enough to detect spaces in libmap.conf. Reported by: alc, lme, many on current@ Tested by: lme Reviewed by: dim, kan MFC after: 1 week
* Actually bump date, sigh.pluknet2012-03-051-1/+1
|
* Fix boot2 to handle boot config files that only contain a custom path tojhb2012-03-051-6/+15
| | | | | | | | | | | | a loader or kernel. Specifically, kname cannot be pointed at cmd[] since it's value is change to be an empty string after the initial call to parse, and cmd[]'s value can be changed (thus losing a prior setting for kname) due to user input at the boot prompt. While here, ensure that that initial boot config file text is nul-terminated, that ops is initialized to zero, and that kname is always initialized to a valid string. Tested by: Domagoj Smolcic rank1seeker of gmail MFC after: 1 week
* Fix three instances of a missing word.jhb2012-03-051-3/+3
| | | | Submitted by: bjk
* Fix few style nits.jkim2012-03-052-2/+2
|
* Fix typo. Bump .Dd for the previous change.pluknet2012-03-051-1/+1
|
* Make growfs(8) mostly style compliant. No functional changes,trasz2012-03-052-616/+457
| | | | verified with MD5.
* Print out process name and thread id in the debugging message.ivoras2012-03-051-2/+3
| | | | | | | This is useful because the message can end up in system logs in non-debugging operation. Reviewed by: attilio (earlier version)
* Apply inlined vn_vget_ino() algorithm for ".." lookup in pseudofs.kib2012-03-051-5/+32
| | | | | Reported and tested by: pho MFC after: 2 weeks
* Add DWC OTG module to ARM builds.hselasky2012-03-052-1/+46
| | | | MFC after: 1 week
* Fix for DWC OTG interrupt register programming.hselasky2012-03-053-22/+44
| | | | | | | Fix a compiler warning. Add missing header file. MFC after: 1 week
* Fix ng_ipfw(4) cookie number in example.glebius2012-03-051-2/+2
| | | | Pointed out by: "Jacco van Buuren" <jaccovanbuuren gmail.com>
* Make the chroot shell more functional by providing devfs.nwhitehorn2012-03-051-0/+1
| | | | | Reported by: Robert Simmons MFC after: 4 days
* Oops - used the wrong field.adrian2012-03-051-1/+1
| | | | Noticed by: nwhitehorn
* Add the thread id to the net80211 alq records.adrian2012-03-042-1/+4
| | | | This will (hopefully) aid in debugging concurrency related issues.
* Fix style(9) issues.adrian2012-03-041-10/+12
|
* Fix a thinko in r232322, where gcc (and its tools) are not built duringdim2012-03-041-2/+2
| | | | | | | | | | | | | | the cross-tools stage, if CC=clang and WITH_CLANG_IS_CC is not set. This causes no 'cc' to be installed in the temporary cross-tools tree, making lint fall over later in the build, because it ignores ${CC} and attempts to run 'cc' anyway. To fix this, only skip building gcc during cross-tools, if WITHOUT_GCC is set, or if WITH_CLANG_IS_CC is set. Pointy hat to: dim MFC after: 2 weeks
* Exclude USB drivers (except umass and ukbd) from main kernel image on i386rmh2012-03-043-74/+0
| | | | | | | and amd64. Reviewed by: hselasky, arch, usb Approved by: kib (mentor)
* Copy amd64 ptrace.h to x86 and merge with i386 ptrace.h. Replacetijl2012-03-045-79/+61
| | | | | | | | | | amd64/i386/pc98 ptrace.h with stubs. For amd64 PT_GETXSTATE and PT_SETXSTATE have been redefined to match the i386 values. The old values are still supported but should no longer be used. Reviewed by: kib
* Do not use INT64_C and UINT64_C to define 64 bit integer limits. Theytijl2012-03-041-6/+10
| | | | | | aren't defined for C++ code unless __STDC_CONSTANT_MACROS is defined. Reported by: jhb
* Respect phy-handle property in Ethernet nodes of the device tree.raj2012-03-048-48/+75
| | | | | | | | This lets specify whereabouts of the parent PHY for a given MAC node (and get rid of ugly kludges in mge(4) and tsec(4)). Obtained from: Semihalf MFC after: 1 week
* Change SYSINIT priorities so that ip_mroute_modevent() is executedzec2012-03-041-2/+2
| | | | | | | | | | before vnet_mroute_init(), since vnet_mroute_init() depends on mfchashsize tunable to be set, and that is done in in ip_mroute_modevent(). Apparently I broke that ordering with r208744 almost 2 years ago... PR: kern/162201 Submitted by: Stevan Markovic (mcafee.com) MFC after: 3 days
* Document pci_find_extcap() and pci_find_htcap().jhb2012-03-042-0/+51
|
* Rather than printing the output from route add for all FIBs just print thembz2012-03-041-16/+30
| | | | | | | | | for the default FIB followed by a statement with a list of FIB numbers for all the other FIBs we install the routes for. Request by: kib (to make it less noisy) Tested by: kib MFC after: 3 days
* In nd6_options() ignore the RFC 6106 options completely rather than printingbz2012-03-041-0/+8
| | | | | | | | them if nd6_debug is enabled as unknown. Leave a comment about the RFC4191 option as I am undecided so far. Discussed with: hrs MFC after: 3 days
* Correct typo in the RFC number for the constants based on IANA assignmentsbz2012-03-041-2/+2
| | | | | | | for IPv6 Neighbor Discovery Option types for "IPv6 Router Advertisement Options for DNS Configuration". It is RFC 6106. MFC after: 3 days
* Remove unused #defines. All this is now retrieved from the device tree.raj2012-03-041-126/+0
| | | | MFC after: 1 week
* Permit the use of raidz3 in pc-sysinstalleadler2012-03-041-1/+1
| | | | | | | | PR: conf/164709 Submitted by: Garrett Cooper <yanegomi@gmail.com> Reviewed by: brd, brooks Approved by: cperciva MFC after: 3 days
* Fix race condition in KfRaiseIrql().brucec2012-03-041-4/+6
| | | | | | | | | | After getting the current irql, if the kthread gets preempted and subsequently runs on a different CPU, the saved irql could be wrong. Also, correct the panic string. PR: kern/165630 Submitted by: Vladislav Movchan <vladislav.movchan at gmail.com>
* Bump date as modified the man pageeadler2012-03-041-1/+1
| | | | Submitted by: gjb
* Explicitly list dependencyeadler2012-03-041-0/+2
| | | | | | | | PR: misc/160463 Submitted by: Garrett Cooper <yanegomi@gmail.com> Helped by: kan Approved by: cperciva MFC after: 3 days
* Remove outdated comment of seven yearseadler2012-03-041-7/+0
| | | | | | PR: docs/116116 Approved by: cperciva MFC after: 1 week
* Remove reference to gcc's non-standard -fwritable-strings, whicheadler2012-03-041-7/+1
| | | | | | | | | doesn't exist in recent releases (and is bad advice anyway) PR: docs/163119 Submitted by: Yuri Pankov <yuri.pankov@gmail.com> Approved by: cperciva MFC after: 1 week
* POSIX mandates that swab do nothing when len < 0eadler2012-03-042-1/+6
| | | | | | | PR: kern/140690 Submitted by: Jeremy Huddleston <jeremyhu@apple.com> Approved by: cperciva MFC after: 2 weeks
* Fix a variety of grammar issues and style nits.eadler2012-03-041-74/+75
| | | | | | | | PR: docs/165668 Submitted by: Robert Simmons <rsimmons0@gmail.com> Reviewed by: kaduk@mit.edu Approved by: cperciva MFC after: 1 week
* ehci tunables are only available when kernel is compiled with USB_DEBUGeadler2012-03-041-1/+5
| | | | | | | | PR: docs/163646 Reported by: Momchil Ivanov <momchil@xaxo.eu> Submitted by: Benjamin Kaduk <kaduk@mit.edu> Approved by: cperciva MFC after: 1 week
* Reapply 227753 (xlocale cleanup), plus some fixes so that it passes buildtheraven2012-03-0429-444/+963
| | | | | | universe with gcc. Approved by: dim (mentor)
* Add __aeabi_read_tp to the symbol list.cognet2012-03-041-0/+1
|
* PR: docs/158813eadler2012-03-041-26/+29
| | | | | | Submitted by: Ben Kaduk <kaduk@mit.edu> Approved by: bcr MFC after: 1 week
* pipe_read(): change the type of size to int, and remove signed clamp.kib2012-03-041-4/+5
| | | | | | | pipe_write(): change the type of desiredsize back to int, its value fits. Requested by: bde MFC after: 3 weeks
* Instead of incomplete handling of read(2)/write(2) return values thatkib2012-03-041-12/+8
| | | | | | | | | | | | does not fit into registers, declare that we do not support this case using CTASSERT(), and remove endianess-unsafe code to split return value into td_retval. While there, change the style of the sysctl debug.iosize_max_clamp definition. Requested by: bde MFC after: 3 weeks
* Remove unneeded cast to u_int. The values as small enough to fit intokib2012-03-041-2/+1
| | | | | | | int, beside the use of MIN macro which performs type promotions. Submitted by: bde MFC after: 3 weeks
* Copy amd64 trap.h to x86 and replace amd64/i386/pc98 trap.h with stubs.tijl2012-03-044-185/+102
|
* Copy amd64 float.h to x86 and merge with i386 float.h. Replacetijl2012-03-044-183/+105
| | | | amd64/i386/pc98 float.h with stubs.
* Restore proper dot symbol creation for assembly files in the kernel build case.andreast2012-03-041-13/+46
| | | | | | | | | | | Without this patch we were not able to see the assembly function. Only the function descriptor was visible. - Distinguish between user-land and kernel when creating the ENTRY() point of assembly source. - Make the ENTRY() macro more readable, replace the .align directive with the gas platform independant .p2align directive. - Create an END()macro for later use to provide traceback tables on powerpc64.
* Properly restore curvnet context when returning early fromzec2012-03-041-1/+4
| | | | | | | | | | ether_input_internal(). This change only affects options VIMAGE kernel builds. PR: kern/165643 Submitted by: Vijay Singh MFC after: 3 days
OpenPOWER on IntegriCloud