summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add tweak for AMD Geode "companion" chip, AMD CS5536, which is apparentlyivoras2008-07-241-1/+10
| | | | | | | | | USB 2.0 capable but is shy and doesn't adwertise it much. PR: 120017 Reviewed by: imp Approved by: gnn (mentor) MFC after: 2 weeks
* Fix spelling error in commentjulian2008-07-241-1/+1
|
* Note that setfib is not a terminal rule.julian2008-07-241-1/+2
|
* Switch to using the setfib syscall instead of a syscall(175,...)julian2008-07-241-1/+1
|
* Prefer the opt_global.h from KERNBUILDDIR if existent so we obtain allmarius2008-07-241-0/+5
| | | | macros that might be relevant.
* Try again not to use a userspace pointer in the kernel when trying to recorddfr2008-07-241-1/+1
| | | | | | | the hostname which we need for NLM requests. The previous patch was incomplete. PR: 125849 Pointy hat: dfr
* Don't use a userspace pointer in the kernel when trying to record the hostnamedfr2008-07-241-8/+12
| | | | | | which we need for NLM requests. PR: 125849
* 2020447 IPFilter's NAT can undo name server random port selectiondarrenr2008-07-2416-21/+91
| | | | | | Approved by: darrenr MFC after: 1 week Security: CERT VU#521769
* Don't include <sys/tty.h> in non-TTY drivers.ed2008-07-244-4/+6
| | | | | | | | | | The kbd, kbdmux, ugen and uhid drivers included <sys/tty.h>, because they needed clists, which have been moved to <sys/clist.h> some time ago. In the MPSAFE TTY branch, <sys/tty.h> does not include <sys/clist.h>, which means we have to teach these drivers to include this header file directly. Approved by: philip (mentor, implicit)
* Add TIOCPKT and TIOCSPTLCK to the Linuxolator.ed2008-07-232-1/+9
| | | | | | | | | | | | We're very lucky, because the flags used by our TIOCPKT implementation are the same as flags used by Linux. We can safely enable TIOCPKT, assuming EXTPROC is not used. TIOCSPTLCK is used by unlockpt(). Because we don't need unlockpt() in our implementation, make this ioctl a no-op. Approved by: philip (mentor, implicit), rdivacky Obtained from: P4 (//depot/projects/mpsafetty/...)
* Merge from p4:imp2008-07-231-0/+205
| | | | | | | Implement openssl config needed for mips. Submitted by: gonzo@ Reviewed by: simon@
* Fix linux_alarm, the linux behaviour is to limit therdivacky2008-07-231-3/+6
| | | | | | | | secs to INT_MAX when the passed in parameter is bigger than INT_MAX. Submitted by: Dmitry Chagin <chagin.dmitry gmail com> Approved by: kib (mentor)
* Remove a bunch of files we don't need to build OpenSSH. They are stilldes2008-07-2380-11367/+0
| | | | available in base/vendor-crypto/openssh/dist/.
* Remove debugging cruft.des2008-07-231-1/+0
|
* pjd@'s r180759 was intended to revert r180755 due to ipfilter breakage,des2008-07-231-1/+14
| | | | | | | | | but removed too much, breaking the build in other places instead. Now that the ipfilter issue has been fixed (or hacked around), address the second issue by restoring r180755, with one small change. I don't feel comfortable using assert(3) in a header that will be included in userland code that may or may not already have an assertion mechanism in place, so KASSERT() evaluates to a no-op in the !_KERNEL case.
* For unfathomable reasons, ipfilter abuses kernel data structures for itsdes2008-07-231-4/+12
| | | | | | | | | | | own purposes. To pull this off, it defines _KERNEL before including the headers where these structures are defined. This leads to no end of trouble when some of these headers, or other headers that they include, change, as demonstrated by r180755. The quick fix in this particular case is to define _WANT_FILE instead of _KERNEL, conditional on __FreeBSD__. A better long-term fix is left as an exercise to the reader.
* Further refine the probe order of devices to more closely match the previousjhb2008-07-231-9/+4
| | | | | | | | behavior. Specifically, probe Host-PCI bridges in the order they are encountered in the tree. For CPUs, just use an order of 100000 and assume that no Host-PCI bridges will be more than 10000 levels deep in the namespace. This fixes an issue on some boxes where the HPET timer stopped attaching.
* Back out this change, as it breaks the build and I don't have time forpjd2008-07-231-13/+1
| | | | a better fix today.
* The ffs_balloc_ufs{1,2} functions call bdwrite() while having severalkib2008-07-231-2/+22
| | | | | | | | | | | | | | | vnode buffers locked at once. In particular, there are indirect buffers among locked ones. The bdwrite() may start the flushing to keep dirty buffer list at the bounds. If any buffer on the dirty list requires translation from logical to physical block number, code may ends up trying to lock an indirect buffer already locked in ffs_balloc_ufsX. Prevent the bdflush() activity when several buffers are locked at once by setting the TDP_INBDFUSH for the problematic code blocks. Reported and tested by: pho, Josef Buchsteiner at Juniper In collaboration with: kan MFC after: 1 month
* o DragonFly BSD 2.0 added.maxim2008-07-231-1/+2
|
* Unbreak cc -pg support on i386. In gcc 4.2, %ecx is used as the arg pointerluoqi2008-07-231-1/+10
| | | | | | | | | | | when stack realignment is turned on (it is ALWAYS on for main), however in a profiling build %ecx would be clobbered by mcount(), this would lead to a segmentation fault when the code tries to reference any argument. This fix changes mcount() to preserve %ecx. PR: bin/119709 Reviewed by: bde MFC after: 1 week
* Check for negative reference count.pjd2008-07-231-1/+10
| | | | Reviewed by: des
* when NDIS framework try to query/set informations NDIS drivers canweongyo2008-07-231-5/+7
| | | | | | | | | | return NDIS_STATUS_PENDING. In this case, it's waiting for 5 secs to get the response from drivers now. However, some NDIS drivers can send the response before NDIS framework gets ready to receive it so we might always be blocked for 5 secs in current implementation. NDIS framework should reset the event before calling NDIS driver's callback not after. MFC after: 1 month
* SATA device on some nForce based boards could get confused if MSI is notluoqi2008-07-233-5/+59
| | | | | | | | | | | | | | | used but MSI to HyperTransport IRQ mapping is enabled, and would act as if MSI is turned on, resulting in interrupt loss. This commit will, 1. enable MSI mapping on a device only when MSI is enabled for that device and the MSI address matches the HT mapping window. 2. enable MSI mapping on a bridge only when a downstream device is allocated an MSI address in the mapping window PR: kern/118842 Reviewed by: jhb MFC after: 1 week
* Re-work the code slightly to avoid a possible livelock.dfr2008-07-231-23/+27
| | | | MFC after: 2 weeks
* Do the pargs_hold() on the copy of the pointer to the p_args of thekib2008-07-231-1/+1
| | | | | | | | | | | | | | | child process immediately after bulk bcopy() without dropping the process lock. Since process is not single-threaded when forking, dropping and reacquiring the lock allows an other thread to change the process title of the parent in between, and results in hold being done on the invalid pointer. The problem manifested itself as the double free of the old p_args. Reported by: kris Reviewed by: jhb MFC after: 1 week
* Minor white space tweak.rwatson2008-07-231-1/+1
| | | | | Obtained from: Apple Inc. MFC after: 3 days
* First cut at doing the kvm file needed for mips.imp2008-07-231-0/+90
| | | | Obtained from: gonzo@
* Only descend into the boot directory for the architecture if itimp2008-07-231-1/+4
| | | | actually exists and is a directory or symlink to a directory.
* Disable SSP for mips until support is added to the base architecture.imp2008-07-231-1/+1
|
* Turn of SSP for mips for now until support is added to the baseimp2008-07-231-1/+1
| | | | architecture.
* remove reference for unexisting ndisapi(9)weongyo2008-07-231-2/+1
|
* Adding myself as a new ports committerpgollucci2008-07-232-0/+3
| | | | | Reviewed by: gabor (mentor) Approved by: araujo (mentor)
* Retroactively add my entry and link to garga. Forgot to do this when Iwxs2008-07-231-0/+2
| | | | got my commit bit.
* Sync with NetBSD's license changes.delphij2008-07-232-10/+4
|
* Move the NFS/RPC code away from lbolt.ed2008-07-225-10/+16
| | | | | | | | | | | | | | The kernel has a special wchan called `lbolt', which is triggered each second. It doesn't seem to be used a lot and it seems pretty redundant, because we can specify a timeout value to the *sleep() routines. In an attempt to eventually remove lbolt, make the NFS/RPC code use a timeout of `hz' when trying to reconnect. Only the TTY code (not MPSAFE TTY) and the VFS syncer seem to use lbolt now. Reviewed by: attilio, jhb Approved by: philip (mentor), alfred, dfr
* Trivial commit to attempt to diagnose a svn problem. Addpeter2008-07-221-0/+1
| | | | comment that Tivo disks are APM, but do not have a DDR record.
* If an AUE_SYSCTL_NONADMIN audit event is selected, generate a recordrwatson2008-07-221-0/+1
| | | | | | | with equivilent content to AUE_SYSCTL. Obtained from: Apple Inc. MFC after: 3 days
* Further minor style fixes to audit.rwatson2008-07-221-5/+10
| | | | | Obtained from: Apple Inc. MFC after: 3 days
* Fixes based on bde's feedback.ache2008-07-221-9/+9
| | | | | | | | | | 1) Unindent and sort variables. 2) Indent struct members. 3) Remove _packed, use guaranteed >128 bytes size and only first 128 bytes from the structure. 4) Reword comment. Obtained from: bde
* Remove unneeded \ at the end of a macro.rwatson2008-07-221-1/+1
| | | | | Obtained from: Apple Inc. MFC after: 3 days
* Further minor white space tweaks.rwatson2008-07-221-2/+2
| | | | | Obtained from: Apple Inc. MFC after: 3 days
* Generally avoid <space><tab> as a white space anomoly.rwatson2008-07-225-18/+18
| | | | | Obtained from: Apple Inc. MFC after: 3 days
* Use #define<tab> rather than #define<space>.rwatson2008-07-222-9/+9
| | | | | Obtained from: Apple Inc. MFC after: 3 days
* 1) Initialize arc4_i and arc4_j to 0 after key mixing as recommended inache2008-07-221-4/+7
| | | | | | draft-kaukonen-cipher-arcfour-03.txt (3.1.5) 2) Drop first 768 bytes as standard RC4-drop(768)
* Comment fix.rwatson2008-07-221-1/+1
| | | | | Obtained from: Apple Inc. MFC after: 3 days
* Added me as a commitervanhu2008-07-221-0/+2
| | | | Approved by: gnn (mentor)
* Comment typo fix.rwatson2008-07-221-1/+1
| | | | | Obtained from: Apple Inc. MFC after: 3 days
* Minor white space synchronization to Apple version of security audit.rwatson2008-07-221-4/+4
| | | | | Obtained from: Apple Inc. MFC after: 3 days
* In preparation to sync Apple and FreeBSD versions of security audit,rwatson2008-07-229-18/+18
| | | | | | | | pick up the Apple Computer -> Apple change in their copyright and license templates. Obtained from: Apple Inc. MFC after: 3 days
OpenPOWER on IntegriCloud