summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Documented the pget(9) system kernel interface.pluknet2014-05-032-0/+106
| | | | | Reviewed by: trociny, kib MFC after: 1 week
* Fix sysctl_ifmalist() broken in r265019.melifaro2014-05-031-1/+1
| | | | | Reported by: Olivier Cochard-Labbé MFC with: r265019
* Remove additional fib checks from rtalloc1_fib.melifaro2014-05-031-9/+0
| | | | | | | | It looks like current consumers are either unaware of MRT (and uses RT_DEFAULT_FIB implicitly) or know what thay are doing, In latter case they will be either hit by KASSERT or ESCRH will be returned due to NULL rnh.
* Pass radix head ptr along with rte to rtexpunge().melifaro2014-05-034-14/+7
| | | | Rename rtexpunge to rt_expunge().
* Fix a typo.markj2014-05-031-1/+1
| | | | MFC after: 3 days
* After r254627, the deupdate() started writing the directory entries tokib2014-05-031-0/+11
| | | | | | | | | | | | | | disk. That has a side effect of corrupting the "." entries names on rename, since the call to createde() in the msdosfs_rename() sets the de_Name to the target name. If any change to the directory attributes is performed, the wrong name is written back to the on-disk direntry on update. Overwrite the de_Name for the directories on rename to correct the dot name. Submitted by: bde MFC after: 1 week
* Add urtwn(4) to the hardware notes.brueffer2014-05-031-0/+2
| | | | MFC after: 1 week
* Make the HARDWARE section ready for release notes generation; sort SEE ALSO.brueffer2014-05-031-3/+6
| | | | MFC after: 1 week
* Fix width/alignment of JID column. Make it support up to the maximumbdrewery2014-05-031-15/+23
| | | | | | | 7-wide JIDs. On a system using jails for common tasks the JID can quickly increase. MFC after: 2 weeks
* Add rsu(4) to the hardware notes.brueffer2014-05-032-0/+3
| | | | MFC after: 1 week
* Make this manpage ready for hardware notes generation, add more Xrefs and ↵brueffer2014-05-031-10/+13
| | | | | | | | | | perform general cleanup. In particular, don't claim rsu(4) devices can be configured with hostname(1)... MFC after: 1 week
* drm/radeon: Add 32bit ioctls supportdumbbell2014-05-033-260/+170
| | | | | | | | This allows to run 32bit applications on a 64bit host. This was tested successfully with Wine (emulators/i386-wine-devel) and StarCraft II. Submitted by: Jan Kokemüller <jan.kokemueller@gmail.com> MFC after: 1 week
* Add a missing colon.brueffer2014-05-031-1/+1
|
* Add appropriate quoting to allow building with a KERNCONFDIR containingthomas2014-05-032-14/+14
| | | | | | | spaces. PR: kern/162736 MFC after: 1 week
* Minor comment fix: dbsz is the block size as set by bs/ibs/obs,thomas2014-05-031-1/+1
| | | | not the size of the buffer.
* Minor comment fix.thomas2014-05-031-1/+1
|
* Fix syntax error with modern shellseadler2014-05-031-1/+1
| | | | Submitted by: multiple
* Allow "a.out" as an alias for the executable if no other matching entriesmarkj2014-05-034-19/+63
| | | | | | | are found. This improves compatibility with Solaris' libproc and fixes a number of failing DTrace tests that rely on this feature. MFC after: 3 weeks
* Fix the tinderbox armv6/arm build failure.loos2014-05-031-0/+2
| | | | VYBRID code depends on FDT.
* Don't treat TRIM requests returning ENOTSUP as an unexpected error.smh2014-05-031-1/+4
| | | | | MFC after: 1 month X-MFC-With: r265152
* The new draft specification for NFSv4.0 specifies that a serverrmacklem2014-05-032-6/+20
| | | | | | | | | | | | | should either accept owner and owner_group strings that are just the digits of the uid/gid or return NFS4ERR_BADOWNER. This patch adds a sysctl vfs.nfsd.enable_stringtouid, which can be set to enable the server w.r.t. accepting numeric string. It also ensures that NFS4ERR_BADOWNER is returned if numeric uid/gid strings are not enabled. This fixes the server for recent Linux nfs4 clients that use numeric uid/gid strings by default. Reported and tested by: craigyk@gmail.com MFC after: 2 weeks
* - Add J command to help.bdrewery2014-05-021-0/+1
| | | | | MFC after: 2 weeks X-MFC-with: r265249
* - Add a hint for 'u' and 'J' command that '+' displays all.bdrewery2014-05-021-2/+2
| | | | MFC after: 2 weeks
* Add -J command/flag to filter by jail name/jid. This will automaticallybdrewery2014-05-025-7/+88
| | | | | | | | | | display the JID as well (the -j command/flag). 0 displays host. + displays all. MFC after: 2 weeks Relnotes: yes
* Allow GEOM_VINUM to be statically compiled into the kernel.marius2014-05-025-7/+28
| | | | | Submitted by: gleb MFC after: 3 days
* Request a non-exiting process in sysctl_kern_proc_{o,}filedescmjg2014-05-021-2/+2
| | | | | | | This fixes a race with exit1 freeing p_textvp. Suggested by: kib MFC after: 1 week
* Fix typo in KF_FD_TYPE_TRACE comment: ptrace -> ktracemjg2014-05-021-1/+1
|
* Free resources in an error case.brueffer2014-05-021-0/+1
| | | | | | CID: 1018947 Found with: Coverity Prevent(tm) MFC after: 1 week
* Generate hardware notes for mpr(4) and bump copyright for 2014.brueffer2014-05-021-0/+3
|
* Use our standard SYNOPSIS wording; perform some cleanup while here.brueffer2014-05-021-5/+8
|
* Properly free resources in case of error.brueffer2014-05-021-7/+5
| | | | | | CID: 1007032 Found with: Coverity Prevent(tm) MFC after: 2 weeks
* - Fix build WITHOUT_ZFS/WITHOUT_CDDL after r265229, bin/ps needs libjail.bdrewery2014-05-021-2/+2
| | | | | MFC after: 2 weeks X-MFC-with: r265229
* Properly free resources in case of error.brueffer2014-05-021-8/+6
| | | | | | CID: 1007032 Found with: Coverity Prevent(tm) MFC after: 2 weeks
* Add the mpr(4) man page to the man4 Makefile.ken2014-05-021-0/+1
| | | | | | | | This should have been included in r265236. Submitted by: Steve McConnell <Stephen.McConnell@lsi.com> MFC after: 3 days Sponsored by: LSI, Spectra Logic
* Bring in the mpr(4) driver for LSI's MPT3 12Gb SAS controllers.ken2014-05-0235-1/+25831
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is derived from the mps(4) driver, but it supports only the 12Gb IT and IR hardware including the SAS 3004, SAS 3008 and SAS 3108. Some notes about this driver: o The 12Gb hardware can do "FastPath" I/O, and that capability is included in this driver. o WarpDrive functionality has been removed, since it isn't supported in the 12Gb driver interface. o The Scatter/Gather list handling code is significantly different between the 6Gb and 12Gb hardware. The 12Gb boards support IEEE Scatter/Gather lists. Thanks to LSI for developing and testing this driver for FreeBSD. share/man/man4/mpr.4: mpr(4) man page. sys/dev/mpr/*: mpr(4) driver files. sys/modules/Makefile, sys/modules/mpr/Makefile: Add a module Makefile for the mpr(4) driver. sys/conf/files: Add the mpr(4) driver. sys/amd64/conf/GENERIC, sys/i386/conf/GENERIC, sys/mips/conf/OCTEON1, sys/sparc64/conf/GENERIC: Add the mpr(4) driver to all config files that currently have the mps(4) driver. sys/ia64/conf/GENERIC: Add the mps(4) and mpr(4) drivers to the ia64 GENERIC config file. sys/i386/conf/XEN: Exclude the mpr module from building here. Submitted by: Steve McConnell <Stephen.McConnell@lsi.com> MFC after: 3 days Tested by: Chris Reeves <chrisr@spectralogic.com> Sponsored by: LSI, Spectra Logic Relnotes: LSI 12Gb SAS driver mpr(4) added
* Fix a panic caused by doing "ifconfig -am" while a lagg is being destroyed.asomers2014-05-021-2/+12
| | | | | | | | | | | | | The thread that is destroying the lagg has already set sc->sc_psc=NULL when the "ifconfig -am" thread gets to lacp_req(). It tries to dereference sc->sc_psc and panics. The solution is for lacp_req() to check the value of sc->sc_psc. If NULL, harmlessly return an lacp_opreq structure full of zeros. Full details in GNATS. PR: kern/189003 Reviewed by: timeout on freebsd-net@ MFC after: 3 weeks Sponsored by: Spectra Logic Corporation
* gcc: fix strict alignment.pfg2014-05-021-1/+1
| | | | | | | | | | | | | | | From the OpenBSD log: x86-64 ABI requires arrays greater than 16 bytes to be aligned to 16byte boundary. However, GCC 16-byte aligns arrays of >=16 BITS, not BYTES. This diff improves bug detectability for code which has local arrays of [16 .. 127] bits: in those cases SSP will now detect even 1-byte overflows. Obtained from: OpenBSD (CVS rev 1.4) MFC after: 1 week
* Clarify that MAKEOBJDIRPREFIX and MAKEOBJDIR are notgjb2014-05-021-1/+3
| | | | | | | | honored as make(1) arguments. Requested by: smh MFC After: 3 days Sponsored by: The FreeBSD Foundation
* Add -J to filter by matching jail IDs and names.bdrewery2014-05-023-7/+62
| | | | | | | | | | -J 0 can be used to show only host processes. Patch partially based on work by bz@ PR: bin/78763 MFC after: 2 weeks Relnotes: yes
* Clean up more lindev(4) vestiges.brueffer2014-05-022-23/+0
|
* Removed pointless / duplicated call to trim_map_first.smh2014-05-021-1/+0
| | | | | MFC after: 1 month X-MFC-With: r265152
* libdev(4) has been removed, get rid of the module as well to fix the build.brueffer2014-05-022-11/+0
| | | | Submitted by: Sainath Varanasi
* Garbage collect mtxpool_lockbuilder, the mutex pool historically usedrwatson2014-05-023-35/+0
| | | | | | | | | | for lockmgr and sx interlocks, but unused since optimised versions of those sleep locks were introduced. This will save a (quite) small amount of memory in all kernel configurations. The sleep mutex pool is retained as it is used for 'struct bio' and several other consumers. Discussed with: jhb MFC after: 3 days
* lindev(4): finish the partial commit in r265212eadler2014-05-027-15/+1
| | | | | | | | | | | lindev(4) was only used to provide /dev/full which is now a standard feature of FreeBSD. /dev/full was never linux-specific and provides a generally useful feature. Document this in UPDATING and bump __FreeBSD_version. This will be documented in the PH shortly. Reported by: jkim
* lindev(4): remove the deviceeadler2014-05-026-286/+5
| | | | | | | | | | | lindev(4) was only used to provide /dev/full which is now a standard feature of FreeBSD. /dev/full was never linux-specific and provides a generally useful feature. Document this in UPDATING and bump __FreeBSD_version. This will be documented in the PH shortly. Reported by: jkim
* Don't allow MPtable generation if there are multiple PCI hierarchies. This isneel2014-05-025-5/+39
| | | | | | | | | | | because there isn't a standard way to relay this information to the guest OS. Add a command line option "-Y" to bhyve(8) to inhibit MPtable generation. If the virtual machine is using PCI devices on buses other than 0 then it can still use ACPI tables to convey this information to the guest. Discussed with: grehan@
* Honor the max-frequency property if it appears in the fdt data.ian2014-05-023-10/+16
| | | | | | | Adjust the exynos and zedboard dts files to use max-frequency (the documented standard property) instead of clock-frequency. Submitted by: Thomas Skibo <ThomasSkibo@sbcglobal.net>
* Switch to use arm_devmap_add_entry() to setup static device mapping.ganbold2014-05-021-19/+3
| | | | Approved by: stas (mentor)
* Ignore the error from pipespace_new when creating a pipe.mjg2014-05-023-32/+21
| | | | | | | | | | It can fail if pipe map is exhausted (as a result of too many pipes created), but it is not fatal and could be provoked by unprivileged users. The only consequence is worse performance with given pipe. Reported by: ivoras Suggested by: kib MFC after: 1 week
* Add tracking for self-generated frames when the VAP is in sleep state.adrian2014-05-023-11/+112
| | | | | | | | | | | | | | | | | | | The hardware can generate its own frames (eg RTS/CTS exchanges, other kinds of 802.11 management stuff, especially when it comes to 802.11n) and these also have PWRMGT flags. So if the VAP is asleep but the NIC is in force-awake for some reason, ensure that the self-generated frames have PWRMGT set to 1. Now, this (like basically everything to do with powersave) is still racy - the only way to guarantee that it's all actually consistent is to pause transmit and let it finish before transitioning the VAP to sleep, but this at least gets the basic method of tracking and updating the state debugged. Tested: * AR5416, STA mode * AR9380, STA mode
OpenPOWER on IntegriCloud