summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Do not use taskqueue to defer completion work when using INTx. INTx nowjimharris2012-12-183-24/+3
| | | | | | matches MSI-X behavior. Sponsored by: Intel
* Add an additional regression tests for other cases to ensure these do not ↵eadler2012-12-181-0/+3
| | | | get fixed by accident.
* No reason to install debug data with the schg flagemaste2012-12-181-1/+1
|
* POSIX requires that non-existent or null arguments be treated as if aeadler2012-12-183-2/+4
| | | | | | | | | | | | | zero argument were supplied. Add a regression test to catch this case as well. PR: bin/174521 Submitted by: Daniel Shahaf <danielsh@elego.de> (pr) Submitted by: Mark Johnston <markjdb@gmail.com> (initial patch) Reviewed by: jilles Approved by: cperciva (implicit) MFC after: 3 weeks
* Update arcmsr(4) to vendor version 1.20.00.26, this addsdelphij2012-12-183-895/+1556
| | | | | | | | | support for their new RAID adapter ARC-1214. Many thanks to Areca for continuing to support FreeBSD. Submitted by: 黃清隆 Ching-Lung Huang <ching2048 areca com tw> MFC after: 2 weeks
* psm: Support detection of Synaptics touchpad v7.5 and abovedumbbell2012-12-181-3/+9
| | | | | | | | | | | | Starting with firmware v7.5, the "Read TouchPad Modes" ($01) and "Read Capabilities" ($02) commands changed: previously constant bytes now carry variable information. We now compare those bytes to expected constants only for firmware prior to v7.5. Tested by: Zeus Panchenko <zeus@gnu.org.ua> MFC after: 1 week
* prison_racct_detach can be called for not fully initialized jail, so make it ↵mjg2012-12-181-0/+2
| | | | | | | | check that the jail has racct before doing anything PR: kern/174436 Reviewed by: trasz MFC after: 3 days
* Replace our implementation of the vis(3) and unvis(3) APIs withbrooks2012-12-1811-639/+1571
|\ | | | | | | | | | | | | | | | | NetBSD's. This output size limited versions of vis and unvis functions as well as a set of vis variants that allow arbitrary characters to be specified for encoding. Finally, MIME Quoted-Printable encoding as described in RFC 2045 is supported.
| * Add a guide to upgrading (un)vis(3) imports.brooks2012-12-141-0/+27
| |
| * Tag 2nd 2012-12-14 import of NetBSD's (un)vis(3)brooks2012-12-145-0/+1941
| |
| * Vendor import of NetBSD's (un)vis(3) at 2012-12-14 (2nd one)brooks2012-12-141-2/+2
| |
| * Tag 2012-12-14 import of NetBSD's (un)vis(3)brooks2012-12-145-0/+1941
| |
| * Vendor import of NetBSD's (un)vis(3) at 2012-12-14brooks2012-12-144-22/+39
| |
| * Tag import of of NetBSD's (un)vis(3) as of 2012-10-05brooks2012-10-055-0/+1924
| |
| * Vendor import of NetBSD's (un)vis(3) as of 2012-10-05brooks2012-10-055-0/+1924
|
* wtap should not set the IEEE80211_F_DATAPAD flag;monthadar2012-12-181-5/+1
| | | | Approved by: adrian (mentor)
* wtap fix malloc/free.monthadar2012-12-181-4/+5
| | | | | | | | * Remove malloc/free pointer cast; * Check return value from malloc; Submitted by: glebius Approved by: adrian (mentor)
* wtap should check if ieee80211_vap_setup fails.monthadar2012-12-181-0/+4
| | | | | | | * If ieee80211_vap_setup fails, we free allocated M_80211_VAP memory and return NULL; Approved by: adrian (mentor)
* wtap: fix clang warning.monthadar2012-12-181-1/+1
| | | | | | | | | * The warning message was: 'warning error: format string is not a string literal'; * Changed how make_dev is called, now a string literal for formatting is used; Approved by: adrian (mentor)
* Fix !INET6 build after r244365.glebius2012-12-181-2/+11
|
* Clear correct flag in INET6 case.glebius2012-12-181-1/+1
|
* - Add sysctl to allow unprivileged users to call mlock(2)-family systemzont2012-12-181-0/+18
| | | | | | | | | | calls and turn it on. - Do not allow to call them inside jail. [1] Pointed out by: trasz [1] Reviewed by: avg Approved by: kib (mentor) MFC after: 1 week
* - Fix locked memory accounting for maps with MAP_WIREFUTURE flag.zont2012-12-184-18/+106
| | | | | | | | - Add sysctl vm.old_mlock which may turn such accounting off. Reviewed by: avg, trasz Approved by: kib (mentor) MFC after: 1 week
* - Set memorylocked limit to 64Kb for default login class.zont2012-12-181-1/+3
| | | | | | | | | | | | This prevents unprivileged users to lock too much memory. - Set memorylocked limit to 64Mb for daemon login class. Some daemons such as amd(8) and watchdogd(8) calls mlockall(2) on startup, they are run from init(8) which uses daemon login class. - Set memorylocked limit to unlimited for root login class. Suggested by: avg Approved by: kib (mentor) MFC after: 1 week
* Get libcompiler-rt and libgcc building on ARM with clang.andrew2012-12-182-4/+16
| | | | | | | * Don't provide clear_cache or the __sync_* functions on ARM with clang as they are provided by clang as builtin functions. * Tell clang it is aloud to compile some libgcc code using heinous GCC extensions.
* Fix typo in comment.kevlo2012-12-181-1/+1
| | | | Reviewed by: thompsa
* More correct version of prev. fix.ache2012-12-181-1/+1
|
* Piete.Brooks at cl.cam.ac.uk reported via email a crash which wasrmacklem2012-12-1814-41/+144
| | | | | | | | | | | | caused by use of an invalid kgss_gssd_handle during an upcall to the gssd daemon when it has exited. This patch seems to avoid the crashes by holding a reference count on the kgss_gssd_handle until the upcall is done. It also adds a new mutex kgss_gssd_lock used to make manipulation of kgss_gssd_handle SMP safe. Tested by: Illias A. Marinos, Herbert Poeckl Reviewed by: jhb MFC after: 2 weeks
* Use CAM_DEV_NOT_THERE instead of CAM_SEL_TIMEOUT to report nonexistentjimharris2012-12-181-2/+4
| | | | | | | | | | | | | | LUNs for the virtual processor device. This removes lots of CAM warnings, and follows similar recent changes to tws(4) and twa(4) drivers. Also fix case where CAM_REQ_CMP was getting OR'd with CAM_DEV_NOT_THERE in the nonexistent LUN case, resulting in different CAM status (CAM_UA_TERMIO) getting reported to CAM. This issue existing previously, but was more subtle because it changed CAM_SEL_TIMEOUT to CAM_CMD_TIMEOUT. Sponsored by: Intel Reported and tested by: Willem Jan Withagen <wjw@digiware.nl> MFC after: 1 week
* Hide OBJCOPY and others in POSIX modeemaste2012-12-171-1/+1
| | | | Submitted by: Garrett Cooper
* Since we use different flags to detect tcp forwarding, and we share theae2012-12-171-1/+2
| | | | | | | same code for IPv4 and IPv6 in tcp_input, we should check both M_IP_NEXTHOP and M_IP6_NEXTHOP flags. MFC after: 3 days
* Fix:ache2012-12-171-1/+1
| | | | | line 11: Malformed conditional (${TARGET} == "arm" || ${TARGET_ARCH} == "powerpc64")
* Use M_PROTO7 flag for M_IP6_NEXTHOP, because M_PROTO2 was used forae2012-12-171-1/+1
| | | | | | | | M_AUTHIPHDR. Pointy hat to: ae Reported by: Vadim Goncharov MFC after: 3 days
* Fix warning from valgrind when a failed entry is tested.eadler2012-12-171-0/+1
| | | | | | | | PR: kern/173008 Submitted by: Zhihao Yuan <lichray@gmail.com> Reviewed by: gabor Approved by: cperciva (implicit) MFC after: 1 week
* Minor style tweaks.pjd2012-12-171-6/+5
| | | | Obtained from: WHEEL Systems
* Better variables naming in expand_name() to be more consistent with coredump().pjd2012-12-171-16/+16
| | | | Obtained from: WHEEL Systems
* libc/iconv: Fix race condition with setting FD_CLOEXEC.jilles2012-12-171-5/+1
| | | | | | | | | A fork/exec could happen between open and fcntl, leaking a file descriptor. Using O_CLOEXEC fixes this and as a side effect simplifies the code. NetBSD already had this (I checked this after making the change myself). Reviewed by: gabor
* - Fix handling of .mps filesgabor2012-12-171-8/+8
| | | | | PR: bin/161454 Submitted by: Yamaya Takashi <yamayan@kbh.biglobe.ne.jp>
* Warn about reaching various PF limits.pjd2012-12-172-0/+3
| | | | | Reviewed by: glebius Obtained from: WHEEL Systems
* - Use unsigned int for values obtained with sysctlbyname(). This fixesgabor2012-12-172-4/+9
| | | | | | | sparc64 performance problems. Submitted by: Oleg Moskalenko <oleg.moskalenko@citrix.com> Tested by: trasz
* Make sure to stop both TX and RX MACs in ale_stop_mac(). Previouslyyongari2012-12-171-1/+1
| | | | | | | it used to stop TX MAC only such that MAC reconfiguration after getting a link didn't work as expected. PR: kern/173652
* amd64 only has rela sections.rpaulo2012-12-171-12/+12
|
* Fix the gssd daemon so that it uses syslog() to reportrmacklem2012-12-171-0/+23
| | | | | | | | | an error instead of calling err() when it is daemonized, so that the error gets logged. Discussed with: rwatson, jhb Tested by: Illias A. Marinos, Herbert Poeckl MFC after: 2 weeks
* - Fix strtol() error handling.hrs2012-12-161-16/+35
| | | | | | | | - Add a range condition of given FIB number and the related error messages. - Fix free() problem. Spotted by: Artyom Mirgorodskiy Discussed with: glebius
* Use new savecore(8) option and limit number of kernel dumps that willpjd2012-12-162-1/+10
| | | | | | | | | be kept around to the 10 most recent ones. Add UPDATING entry with info how to return to the previous behaviour (no limits). Obtained from: WHEEL Systems
* With rotating kernel dumps the higest dump number is not necessarily thepjd2012-12-161-1/+29
| | | | | | | | | | | last one. To make it easier to find the last one create symlinks with 'last' suffix that will point to the files of the last coredump, eg.: info.last -> info.5 textdump.tar.last.gz -> textdump.tar.5.gz Reviewed by: avg Obtained from: WHEEL Systems
* Implement -m option to savecore(8) that allows to limit number of kernelpjd2012-12-162-21/+96
| | | | | | | dumps stored. Once the limit is reached it restarts from 0. Reviewed by: avg Obtained from: WHEEL Systems
* Make use of the fact that we changed working directory to the dump directorypjd2012-12-161-4/+3
| | | | | | earlier. Obtained from: WHEEL Systems
* Minor wording improvments to some manual pageseadler2012-12-162-3/+3
| | | | | | Approved by: bcr (mentor) Obtained from: DragonflyBSD (a5294ca835317c68c919ab43936da4f05ab6e926) MFC after: 3 days
* Sort flags properly.pjd2012-12-161-3/+3
| | | | Obtained from: WHEEL Systems
OpenPOWER on IntegriCloud