summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Introduce crunchide to the ELF e_machine MIPS values.obrien2008-09-031-0/+8
|
* Make metadata.c shared across all platforms using U-Boot.raj2008-09-033-3/+4
| | | | This will [soon] be needed for ARM.
* Move U-Boot compatibility library to WARNS=2 level.raj2008-09-038-40/+49
|
* Fix the sysctl function parameters. We were only querying Sensor 0.rpaulo2008-09-031-2/+2
| | | | | Noticed by: des MFC after: 3 days
* When calling extattr_check_cred, use V{READ,WRITE}, not I{READ,WRITE}.trasz2008-09-032-7/+7
| | | | Approved by: rwatson (mentor)
* Mention ntpd upgrade to 4.2.4p5.roberto2008-09-031-0/+3
|
* Fix a bug, when a specially crafted ICMPV6 MLD packet could leadbz2008-09-031-4/+4
| | | | | | | | | | | | | to an integer divide by zero panic in the kernel, if the kernel was run with hz<1000. Neither i386, pc98, amd64 or sparc64 are affected in the currently supported branches and default configuration. Submitted by: Miikka Saukko, Ossi Herrala and Jukka Taimisto from the CROSS project at Codenomicon Ltd. via CERT-FI. Reviewed by: bz, rwatson Security: CVE-2008-2464 MFC after: 8 hours
* Regression tests for bugs in gdtoa.das2008-09-031-11/+17
|
* Make strtof() respect the current rounding mode.das2008-09-031-2/+10
|
* Merge gdtoa 20080831. This fixes several bugs, including an infinitedas2008-09-0313-98/+259
| | | | | | loop pointed out by cognet@ that occurs when calling strtod() with a string representing a number between DBL_MAX and 2*DBL_MAX, when the rounding mode is anything other than the default.
* style nit: indent continuation lines correctly, use style(9) styleimp2008-09-031-15/+16
| | | | if() statement.
* minor style(9) police: sort getopt options alphabetically. Theimp2008-09-031-9/+9
| | | | | semi-logical segregation of 'b' and 'h' doesn't seem to make sense and makes it harder to read.
* Style nit. Continued lines are indented 2 spaces in this file.imp2008-09-031-4/+4
|
* Make sure internal rtld malloc routines are not called from unlockedkan2008-09-031-14/+17
| | | | | | | | | | | | | contexts as rtld's malloc is not thread safe and is only supposed to be called with exclusive bind lock already held. The originating PR submitted a patch on top of different pre-requisite workaroud for unsafe dlopen calls, and the patch was midief slighlty to apply to stock sources for the purpose of this commit. Running rtld malloc from unlocked contexts is a bug on its own. PR: 126950 Submited by: Oleg Dolgov
* enable the xen_guest string so that the freebsd xen kernel willkmacy2008-09-031-2/+1
| | | | | | | at least pass muster with the loader on 3.0.3 Note that this doesn't actually make it work as Xen 3.0.3 appears to disallow recursive mappings on the page directory
* Indicate at probe time if device can do offload and which revision it iskmacy2008-09-021-1/+4
| | | | MFC after: 3 days
* Add support for t3c to cxgbtoolkmacy2008-09-021-0/+3119
| | | | Obtained from: Chelsio Inc.
* ahc(4) work better in Sparc64 with AHC_ALLOW_MEMIO.obrien2008-09-021-0/+1
| | | | Submitted by: Nathan Whitehorn <nwhitehorn@freebsd.org>
* MFsparc64: r177642marius2008-09-021-9/+0
| | | | Remove sysbeep() from the non-beeping archs.
* Resurrect clock.c from r164371.marius2008-09-021-0/+67
|
* Fix typo in comment.thomas2008-09-021-1/+1
|
* - USIII-based machines can consist of CPUs having different cachemarius2008-09-029-67/+85
| | | | | | | | sizes (and running at different frequencies) so move the cacheinfo to the PCPU data. While at it, remove some redundant and/or unused members from struct cacheinfo. - In sparc64_init don't assume the first CPU node we find in the OFW device tree is the BSP.
* Bypass isa_probe_children(9) and directly call bus_generic_attach(9)marius2008-09-021-1/+7
| | | | | | | | | | | | in order to avoid the invasive probes done by identify-routines of ISA drivers, which may access unassigned addresses or those of unrelated devices and thus in turn can trigger master/target aborts as revealed by r182108 and ahc(4). I think that this is also the cause of the hang previously seen on B100 blades during boot. Bypassing isa_probe_children(9) also avoids adding ISA hints, which just can be wrong for sparc64. Reported by: gavin
* Add support for RLIMIT_NPTS to limits(1).ed2008-09-022-54/+68
| | | | | | | | | | | | | After the MPSAFE TTY import we support an additional rlimit, called RLIMIT_NPTS. This limit allows you to cap the amount of pseudo-terminals allocated by one user. We forgot to add support for this limit to limits(1), which means it crashed. Add the proper bits to make it work like it should. Unfortunately not all shells actually implement the RLIMIT, so unfortunately I suspect it to be broken with certain shells. Submitted by: Yuriy Tsibizov <yuriy tsibizov gfk ru>
* - When executing FreeBSD/amd64 binaries from FreeBSD/i386 or Linux/i386kib2008-09-023-2/+20
| | | | | | | | | | | | | | | | | processes, clear PCB_32BIT and PCB_GS32BIT bits [1]. - Reread the fs and gs bases from the msr unconditionally, not believing the values in pcb_fsbase and pcb_gsbase, since usermode may reload segment registers, invalidating the cache. [2]. Both problems resulted in the wrong fs base, causing wrong tls pointer be dereferenced in the usermode. Reported and tested by: Vyacheslav Bocharov <adeepv at gmail com> [1] Reported by: Bernd Walter <ticsoat cicely7 cicely de>, Artem Belevich <fbsdlist at src cx>[2] Reviewed by: peter MFC after: 3 days
* Use size_t to store the return value of ttydisc_getc().ed2008-09-021-4/+3
| | | | | | | | The ttydisc_getc() routine obtains a read length from ttyoutq_read(). For no valid reason, the current code stores this value in an int, and returns a size_t. There is no need to perform this useless conversion. Obtained from: //depot/projects/mpsafetty/...
* Remove XXXRW in soreceive_dgram that proves unnecessary.rwatson2008-09-021-5/+0
| | | | | | | Remove unused orig_resid variable in soreceive_dgram. Submitted by: alfred X-MFC with: soreceive_dgram (r180198, r180211)
* Add gprof MIPS MD header and enable building gprof.obrien2008-09-022-2/+46
| | | | Obtained from: Juniper Networks
* Allow again compilation w/o GNU readline. There are conditionals inroberto2008-09-021-3/+3
| | | | | | {ntpdc,ntpq}/Makefile. Submitted by: Ben Kelly <bkelly@vadev.org>
* Import ioctl updates for latest rev of cxgbtoolkmacy2008-09-023-244/+247
| | | | | Obtained from: Chelsio Inc. MFC after: 3 days
* Fix an ABI breakage found after the import that will be part of thegshapiro2008-09-021-1/+2
| | | | | | | next version of sendmail. Putting it in now for the upcoming 7-BETA and 6-BETA test releases. Submitted by: Mike Tancsa
* free ifp allocated at ieee80211_vap_setup.weongyo2008-09-021-0/+2
| | | | Reviewed by: sam, thompsa
* Use RUSAGE_SELF for the current process instead of hardcoded valuekevlo2008-09-021-1/+1
|
* Use RUSAGE_SELF for the current process instead of hardcoded valuekevlo2008-09-021-2/+2
|
* Accomodate the fact that the number of l1 pages varies with the size of the ↵kmacy2008-09-021-5/+8
| | | | | | | | initially allocated memory - this lets us boot with 3GB MFC after: 1 month
* Fix a multiple locking bug in bm(4) that could cause panics on a ↵nwhitehorn2008-09-021-1/+1
| | | | | | | WITNESS-enabled kernel. Approved by: marcel (mentor) MFC after: 1 day
* Fix problem with large memory configuration by ensuring that all NKPTkmacy2008-09-021-0/+7
| | | | | | | page table pages have been zeroed before entering them in the page directory MFC after: 1 month
* Per email to arch@ a little while ago (that was greeted with silence),imp2008-09-0137-66/+65
| | | | | prefer the more common > ${.TARGET} over > opt_foo.h in modules makefiles.
* Belatedly add a notice about the reversed order of preference for OpenSSHdes2008-09-011-0/+15
| | | | authentication keys.
* We're not quite ready for the full %(endian_spec).obrien2008-09-011-1/+3
|
* Update for version 9.4.2-P2dougb2008-09-011-3/+7
|
* Merge from vendor/bind9/dist as of the 9.4.2-P2 importdougb2008-09-0133-160/+558
|
* Add __unix__. Tweak __KPRINTF_ATTRIBUTE__ while I'm here.obrien2008-09-011-1/+2
|
* Wrap an 81 column SYSCTL_NODE decleration.brooks2008-09-011-1/+2
| | | | Obtained from: //depot/projects/vimage-commit2/...
* Remove unneeded D_NEEDMINOR from cpuctl(4).ed2008-09-011-1/+0
| | | | | | | | | | The D_NEEDMINOR flag was introduced for drivers that do not actually depend on storing a device unit/minor number, but require the ability to address the cdevs by this number, which is used by clone_create(). The cpuctl(4) driver sets D_NEEDMINOR, even though it doesn't use the clone_create() API. Remove the flag, because maybe we want to get rid of it somewhere in the far future.
* Add FreeBSD/MIPS support to GCC.obrien2008-09-019-5/+275
|
* GDB isn't building on MIPS. Temporarily disable, to revisit soon.obrien2008-09-011-1/+5
|
* Truss and gprof doesn't build for MIPS.obrien2008-09-011-1/+3
|
* Correct a silly typo I introduced: withing -> within.yar2008-09-011-1/+1
| | | | Noticed by: das
* Wrap a line that became too long with the addition of V_.brooks2008-09-011-1/+2
| | | | (This file contains many more unwrapped or badly wrapped lines.)
OpenPOWER on IntegriCloud