summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge bmake-20120831 from vendor/NetBSD/bmake/dist.marcel2012-10-03120-0/+55801
|\ | | | | | | Provenance: ftp://ftp.netbsd.org/pub/NetBSD/misc/sjg
| * "Tag" the 20120831 Portable BSD make import.marcel2012-09-11120-0/+55801
| |
| * Remove bad tag.marcel2012-09-11120-54382/+0
| |
| * Import the 20120831 release of the "Portable" BSD make tool (from NetBSD).marcel2012-09-118-14/+1433
| | | | | | | | Submitted by: Simon Gerraty <sjg@juniper.net>
| * "Tag" the 20120831 Portable BSD make import.marcel2012-09-11120-0/+54382
| |
| * Script used to commit r238152 / r238153.obrien2012-07-061-2/+18
| |
| * "Tag" the 20120704 Portable BSD make import.obrien2012-07-06120-0/+54382
| |
| * Import the 20120704 release of the "Portable" BSD make tool (from NetBSD).obrien2012-07-065-18/+43
| | | | | | | | Submitted by: Simon Gerraty <sjg@juniper.net>
| * "Tag" the r237578 Portable BSD make 20-June-2012 import.obrien2012-06-25120-0/+54357
| |
| * Import the 20-June-2012 release of the "Portable" BSD make tool (from NetBSD).obrien2012-06-2522-122/+230
| | | | | | | | Submitted by: sjg@juniper.net
| * "Tag" the r236769 Portable BSD make 6-May-2012 import.obrien2012-06-08119-0/+54249
| |
| * Import the 6-May-2012 release of the "Portable" BSD make tool (from NetBSD).obrien2012-06-08120-0/+54339
| | | | Submitted by: sjg@juniper.net
* Add casts to unbreak the i386 PAE build for the mps(4) driver.ken2012-10-021-2/+2
| | | | | MFC after: 3 days Prompted by: Garrett Cooper
* Implement SATA revision (speed) control for legacy SATA controller formav2012-10-024-6/+35
| | | | | | | both boot (via loader tunables) and run-time (via `camcontrol negotiate`). Tested to work at least on NVIDIA MCP55 chipset. H/w provided by: glebius
* libtirpc: be sure to free cl_netid and cl_tppfg2012-10-022-0/+8
| | | | | | | | | | | | | When creating a client with clnt_tli_create, it uses strdup to copy strings for these fields if nconf is passed in. clnt_dg_destroy frees these strings already. Make sure clnt_vc_destroy frees them in the same way. This change matches the reference (OpenSolaris) implementation. Tested by: David Wolfskill Obtained from: Bull GNU/Linux NFSv4 Project (libtirpc) MFC after: 2 weeks
* Fix __rpc_getconfippfg2012-10-021-2/+4
| | | | | | | | | | | | | | __rpc_getconfip is supposed to return the first netconf entry supporting tcp or udp, respectively. The code will currently return the *last* entry, plus it will leak memory when there is more than one such entry. This change matches the reference (OpenSolaris) implementation. Tested by: David Wolfskill Obtained from: Bull GNU/linux NFSv4 Project (libtirpc) MFC after: 1 week
* RPC: Convert all uid and gid variables of the type uid_t and gid_t.pfg2012-10-027-24/+20
| | | | | | | | This matches what upstream (OpenSolaris) does. Tested by: David Wolfskill Obtained from: Bull GNU/Linux NFSv4 project (libtirpc) MFC after: 3 days
* Fix spelling of the function name in two assertion messages.wollman2012-10-021-2/+2
|
* Update UPDATING with the ABI change for net80211.adrian2012-10-021-0/+5
|
* Migrate the power-save functions to be overridable VAP methods.adrian2012-10-028-11/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | This turns ieee80211_node_pwrsave(), ieee80211_sta_pwrsave() and ieee80211_recv_pspoll() into methods. The intent is to let drivers override these and tie into the power save management pathway. For ath(4), this is the beginning of forcing a node software queue to stop and start as needed, as well as supporting "leaking" single frames from the software queue to the hardware. Right now, ieee80211_recv_pspoll() will attempt to transmit a single frame to the hardware (whether it be a data frame on the power-save queue or a NULL data frame) but the driver may have hardware/software queued frames queued up. This initial work is an attempt at providing the hooks required to implement correct behaviour. Allowing ieee80211_node_pwrsave() to be overridden allows the ath(4) driver to pause and unpause the entire software queue for a given node. It doesn't make sense to transmit anything whilst the node is asleep. Please note that there are other corner cases to correctly handle - specifically, setting the MORE data bit correctly on frames to a station, as well as keeping the TIM updated. Those particular issues can be addressed later.
* Using putenv() and later direct pointer contents modification it is possibeache2012-10-021-1/+3
| | | | | | | | | | | | to craft environment variables with similar names like that: a=1 a=2 ... unsetenv("a") should remove them all to make later getenv("a") impossible. Fix it to do so (this is GNU autoconf test #3 failure too). PR: 172273 MFC after: 1 week
* Fix alignment related warnings reported by gcceadler2012-10-022-29/+17
| | | | | | | | | | Switch from old style arguments to modern C remove WARNS as a result tested with "make universe" Approved by: cperciva MFC after: 1 week
* To reduce volume of pfsync traffic:glebius2012-10-021-4/+8
| | | | | - Scan request update queue to prevent doubles. - Do not push undersized daragram in pfsync_update_request().
* Rename the module for 'device enc' to "if_enc" to avoid conflicting withjhb2012-10-021-2/+2
| | | | | | | | | the CAM "enc" peripheral (part of ses(4)). Previously the two modules used the same name, so only one was included in a linked kernel causing enc0 to not be created if you added IPSEC to GENERIC. The new module name follows the pattern of other network interfaces (e.g. "if_loop"). MFC after: 1 week
* There is a complex race in in_pcblookup_hash() and in_pcblookup_group().glebius2012-10-022-1/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Both functions need to obtain lock on the found PCB, and they can't do classic inter-lock with the PCB hash lock, due to lock order reversal. To keep the PCB stable, these functions put a reference on it and after PCB lock is acquired drop it. If the reference was the last one, this means we've raced with in_pcbfree() and the PCB is no longer valid. This approach works okay only if we are acquiring writer-lock on the PCB. In case of reader-lock, the following scenario can happen: - 2 threads locate pcb, and do in_pcbref() on it. - These 2 threads drop the inp hash lock. - Another thread comes to delete pcb via in_pcbfree(), it obtains hash lock, does in_pcbremlists(), drops hash lock, and runs in_pcbrele_wlocked(), which doesn't free the pcb due to two references on it. Then it unlocks the pcb. - 2 aforementioned threads acquire reader lock on the pcb and run in_pcbrele_rlocked(). One gets 1 from in_pcbrele_rlocked() and continues, second gets 0 and considers pcb freed, returns. - The thread that got 1 continutes working with detached pcb, which later leads to panic in the underlying protocol level. To plumb that problem an additional INPCB flag introduced - INP_FREED. We check for that flag in the in_pcbrele_rlocked() and if it is set, we pretend that that was the last reference. Discussed with: rwatson, jhb Reported by: Vladimir Medvedkin <medved rambler-co.ru>
* Style.hselasky2012-10-021-1/+1
| | | | MFC after: 1 week
* Remove unused field.hselasky2012-10-021-4/+0
| | | | MFC after: 1 week
* mdoc: point to an existing cross reference.pluknet2012-10-021-1/+1
|
* Fix build with LOG_FILE undefined and DEBUGGING disabled.pluknet2012-10-021-0/+2
|
* Fix build with DEBUGGING disabled.pluknet2012-10-021-0/+4
|
* Introduce a new TLB invalidation function for efficiently invalidatingalc2012-10-023-9/+129
| | | | | | address ranges, and use this function in pmap_remove(). Tested by: jchandra
* Provide a generic way to disable devices at boot timeeadler2012-10-021-0/+7
| | | | | | | | PR: kern/119202 Requested by: peterj Reviewed by: sbruno, jhb Approved by: cperciva MFC after: 1 week
* Implement the Sun/GNU extension of using a defaulteadler2012-10-022-2/+13
| | | | | | | | prefix when no arguments are supplied. Reviewed by: jilles Approved by: cperciva MFC after: 1 week
* add SG state typeeadler2012-10-021-0/+2
| | | | | | | PR: bin/171664 Submitted by: Jan Beich jbeich@tormail.org Approved by: cperciva MFC after: 1 week
* Correct the tip about finding all the directories on the systemeadler2012-10-021-4/+9
| | | | | | | | Add a tip about clearing the screen. Make things more consistent by removing quotes around 'make search' Approved by: cperciva MFC after: 3 days
* Indicate (loudly) that ports csup is going away.eadler2012-10-011-6/+13
| | | | | | | While here clarify some other portions. Approved by: cperciva (implicit) MFC after: 3 days
* Add the mps(4) driver to the i386 GENERIC config file. LSI has tested itken2012-10-011-0/+1
| | | | | | | on i386 and verified that it works. Submitted by: Harald Schmalzbauer, John Baldwin, Kashyap Desai MFC after: 3 days
* Do not treat empty name as an uid 0bapt2012-10-011-1/+2
| | | | Reported by: Robert Bonomi <bonomi@mail.r-bonomi.com>
* Remove useless atoi(3), previous strspn(3) makes sure that a_name->val is abapt2012-10-011-2/+1
| | | | | | | | | number. This also allow pw user show to work as expected. PR: bin/172112 Submitted by: "Ilya A. Arkhipov" <rum1cro@yandex.ru> MFC after: 1 month
* Support kernel options from ubldr.kientzle2012-10-011-0/+1
|
* Attila Bogar and Herbert Poeckl both reported similar problemsrmacklem2012-10-011-3/+4
| | | | | | | | | | | | | | w.r.t. a Linux NFS client doing a krb5 NFS mount against the FreeBSD server. We determined this was a Linux bug: http://www.spinics.net/lists/linux-nfs/msg32466.html, however the mount failed to work, because the Destroy operation with a bogus encrypted checksum destroyed the authenticator handle. This patch changes the rpcsec_gss code so that it doesn't Destroy the authenticator handle for this case and, as such, the Linux mount will work. Tested by: Attila Bogar and Herbert Poeckl MFC after: 2 weeks
* - Rename .sgml files to .xml to track the recent doc changesgabor2012-10-01236-471/+476
| | | | MFC after: 1 day
* Add the UPDATING note about padlock rng support requiring the config change.kib2012-10-011-0/+8
| | | | | Requested by: Dewayne Geraghty <dewayne.geraghty@heuristicsystems.com.au> MFC after: 3 days
* Regenerate usb.confhselasky2012-10-011-4/+4
| | | | MFC after: 1 week
* - Enforce CAP_MKFIFO on mkfifoat(2), not on mknodat(2). Without this changepjd2012-10-012-4/+6
| | | | | | | | mkfifoat(2) was not restricted. - Introduce CAP_MKNOD and enforce it on mknodat(2). Sponsored by: FreeBSD Foundation MFC after: 2 weeks
* Inherit USB mode from RootHUB port where the USB device is connected.hselasky2012-10-0111-41/+5
| | | | | | | Only RootHUB ports can be dual mode. Disallow OTG ports on external HUBs. This simplifies some checks in the USB controller drivers. MFC after: 1 week
* Remove unused variables from the OMAP ehci code.andrew2012-10-011-6/+0
|
* Fix the clobber list on the atomic operators that do comparisons. Withoutandrew2012-10-011-15/+17
| | | | | | this some compilers will place a cmp instruction before the atomic operation and expect to be able to use the result afterwards. By adding "cc" to the list of used registers we tell the compiler to not do this.
* The USB Bluetooth driver should only grab its own interfaces. This allows thehselasky2012-09-301-4/+16
| | | | | | | USB bluetooth driver to co-exist with other USB device classes and drivers. Reported by: Geoffrey Levand MFC after: 1 week
* - Simplify the implementation of atomic_compare_exchange_strong_explicit.tijl2012-09-301-26/+13
| | | | | | | | | - Evaluate the memory order argument in atomic_fetch_*_explicit macros. - Implement atomic_store_explicit using atomic_exchange_explicit instead of a plain assignment. Reviewed by: theraven MFC after: 2 weeks
OpenPOWER on IntegriCloud