summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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.)
* Remove some unused files.des2008-09-012-1251/+0
|
* Remove extraneous NULL pointer check - the pointer is guaranteed to be non-NULL.obrien2008-09-011-2/+1
|
* Minimize changes CURRENT<->releng7.obrien2008-09-014-9/+8
|
* Set SIZEOF_LONG_INT and SIZEOF_LONG_LONG_INT to plausible values. Theydes2008-09-011-2/+2
| | | | aren't used for anything, but that's no excuse for being silly.
* In rev. 1.17 (r33548) of msdosfs_fat.c, relative cluster numbers werekib2008-09-011-2/+2
| | | | | | | | | | replaced by file relative sector numbers as the buffer block number when zero-padding a file during extension. Revert the change, it causes wrong blocks filled with zeroes on seeking beyond end of file. PR: kern/47628 Submitted by: tegge MFC after: 3 days
* use bigger local variable to calculate free spaceticso2008-09-011-1/+1
| | | | int overflows at 1T free space
* When setting error to EINVAL in 'fvp == tdvp' case, jump to out label,pjd2008-09-011-1/+3
| | | | | | | because if not, the error will be later overwritten by mac_vnode_check_rename_to() call. Reviewed by: rwatson
* Bring cxgbtool up to date with version 1.5kmacy2008-09-014-670/+280
| | | | | Obtained from: Chelsio Inc. MFC after: 3 days
* Style: Use ARCHIVE_VERSION_NUMBER to conditionalize tests onkientzle2008-09-0153-311/+309
| | | | | the particular libarchive version being tested instead of the deprecated ARCHIVE_API_VERSION and ARCHIVE_VERSION_STAMP macros.
* Don't check if an interface can do tcp offload if there are no offload ↵kmacy2008-09-013-1/+9
| | | | | | | devices registered on the system. Suggested by: rwatson MFC after: 3 days
OpenPOWER on IntegriCloud