summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-07-05When calling nfs_request() for what could be an async request, passPhilip Guenthe
down curproc instead of the struct proc from the I/O request...which may gone away behind our back. Assert that the supplied request *is* curproc in a couple other places. Reproduction and testing by sthen@ ok deraadt@, beck@, art@
2011-07-05disable COMPAT_AOUT, it's useless now, but leave the code in the treeTed Unangst
to encourage someone to convert remaining a.out archs to elf. :) ok deraadt
2011-07-05Remove the osyscall() kernel-entry; we do not use it anymore.Theo de Raadt
ok kettenis guenther tedu
2011-07-05fix a few bugs in the thread specific data functionsTed Unangst
2011-07-05Allow switching between binutils and binutils 2.17.Dale Rahn
NOTE: binutils-2.17 has not been tested on any archs. ok pirofti@
2011-07-04My merges of miod's binutils-2.17 WIP code with my changed necessary to getDale Rahn
somewhere with it building on arm/ia64. much pressure pirofti@ deraadt@
2011-07-04Say no to hand-rolled m_adj(). It also kills three XXX.Claudio Jeker
OK dlg@ henning@
2011-07-04In fact using our own limits.h is the way to go. Okay kettenis@.Paul Irofti
2011-07-04Clean-up NETBSD specific defines. Prodded by kettenis@.Paul Irofti
2011-07-04Simplfy GCC decision by making the list of archs instead a hugeDale Rahn
list if ${MACHINE_ARCH} == "xx" tests ok deraadt@ pirofti@ (with fixes mentioned from kettenis)
2011-07-04Add ia64 kernel include files needed for userland.Paul Irofti
Okay deraadt@, drahn@, kettenis@.
2011-07-04Temporarily back out msi for inteldrm.Owain Ainsworth
Some gm45 and 965 are having issues and this fixes it for halex at least. Art's machine (945gm) is also playing up but he didn't update for a year (and the problem doesn't look like what i would expect).
2011-07-04remove svr4 compat referencesTed Unangst
2011-07-04remove all the compat svr4 filesTed Unangst
2011-07-04remove compat_svr4Ted Unangst
2011-07-04Fix debugging prints in softraid(4) so that it can compile withMatthew Dempsky
SR_DEBUG enabled. Broken since r1.227.
2011-07-04remove compat_svr4 support. ok deraadtTed Unangst
2011-07-04tsc tsc, no waikiki for me. copyright statement without year. 2003 it was.Henning Brauer
2011-07-04Force the sa_len to sizeof(struct sockaddr_dl) before callingClaudio Jeker
link_addr() since the function looks at sa_len internally. This should solve issues with using -ifp modifier because the aflen was often to small.
2011-07-04Use the SDEV_2NDBUS flag like isp(4) instead of the currentMatthew Dempsky
scsi_link::scsibus hack to determine which channel the link is associated with. "looks sane" dlg@, but haven't found any testers yet; committing so further SCSI refactorings can go in. dlg@ or I will back out or fix if anything breaks.
2011-07-04Intel AHCIs don't support port multipliers so far, yet some (mostly ICH9 and ↵Jonathan Matthew
3400 series) report that they do, and some BIOSes for those chipsets don't clear the capability bit like they're supposed to. Since we know it doesn't work, don't check for port multipliers on these controllers. Replaces my earlier hack for a specific 3400 series device. ok kettenis@ phessler@
2011-07-04No point in documenting "Encryption only works with vnd".Matthew Dempsky
2011-07-04Nuke a load of trailing whitespace; no binary change.Nicholas Marriott
2011-07-04Nuke map3270 (tn3270 itself died 9 months ago).Nicholas Marriott
ok deraadt
2011-07-04move the specfs code to a place people can see it; ok guenther thib krwTheo de Raadt
2011-07-04there is no need to do the rtsol check (whether to enableAlexander Hall
net.inet6.ip6.accept_rtadv in sysctl.conf or not) on updates as then we dont do any network config, so move it from install.sub to install.sh idea not rejected by IPv6-enabled bluhm@ ok krw@ deraadt@
2011-07-04move the specfs code to a place people can see it; ok guenther thib krwTheo de Raadt
2011-07-04move the specfs code to a place people can see it; ok guenther thib krwTheo de Raadt
2011-07-04Disable NNPFS;Thordur I. Bjornsson
A purdy OpenAFS port is being worked on and everybody hates having to touch files inside nnpfs/ so it is going to go away real soon. ok deraadt@, beck@
2011-07-04No need to check proto == IPPROTO_ETHERIPDavid Hill
fix two typos (protcol -> protocol)
2011-07-04use mtod.David Hill
no change in binary "Sure" claudio@
2011-07-04move the specfs code to a place people can see it; ok guenther thib krwTheo de Raadt
2011-07-04Make stdout line buffered.Marco Pfatschbacher
# syslogc -f foobuf | grep bar is now usable. OK mikeb, djm, markus
2011-07-04fix incorrect use of NULL, from 1.45 of upstreamJonathan Gray
ok miod@
2011-07-04use "function X" rather than "X ()" since for the former, preceding parameterAlexander Hall
assignments function calls are not surprisingly polluting your shell environment "makes sense" krw@, ok tedu@ guenther@
2011-07-04%u in format string is rcpt.user not rcpt.domainGilles Chehade
From Tim van der Molen <tbvdm@xs4all.nl>
2011-07-04make sure RTM_IFINFO is sent when lo(4) handles SIOCSIFADDR; without thisStuart Henderson
ospfd doesn't notice an interface added at runtime unless you ifconfig down+up. ok phessler@ claudio@
2011-07-04syncTheo de Raadt
2011-07-04Rename the pf_pdesc field rh_cnt to badopts as it is also used forAlexander Bluhm
IPv4 options now. ok mcbride@ henning@
2011-07-04Support "show ip bgp peer-as" in bgplg.Claudio Jeker
Diff by Matthias Cramer from swissix.ch
2011-07-04Fix to be able to bind a raw socket to 0.0.0.0. It had been broken afterYASUOKA Masahiko
1.54. ok claudio@ sosososo henning@
2011-07-04Finish ansification.Mark Kettenis
2011-07-04Fix another kqfilter return value.Nicholas Marriott
ok deraadt
2011-07-04Give each pmap its own space ID. The current algorithm is silly, as we'll wrapMark Kettenis
and might end up with duplicates, but that's not an issue until we're multi-user. Change the TLB miss code to enter mappings with the right protection ID. Properly switch pmaps on context switches. This makes the copyins we do before starting init actually work instead of failing with EFAULT.
2011-07-04Nuke the useless D_KQFILTER flag and just check that d_kqfilter isNicholas Marriott
filled in. Move D_CLONE down to 0x0001 as suggested by thib. ok deraadt thib
2011-07-04Bring back byte-order conversion that was inadvertently removed in previousStuart Henderson
commit. Problem reported by Scott McEachern, ok yasuoka@
2011-07-04IPv4 packets with IP options get dropped and no state is created.Alexander Bluhm
IPv6 packets with routing headers get also dropped. Use the same fix for them to avoid that a state is created. ok claudio@
2011-07-04Nuke a dangling bit left over from the now gone PRU_PEEREIDPhilip Guenthe
ok deraadt@
2011-07-04declare a return type on a function returning void, matches upstreamJonathan Gray
2011-07-04Force the sigreturn syscall to return to userspace via iretq by settingPhilip Guenthe
the MDP_IRET flag in md_proc, then switch sigcode to enter the kernel via syscall instead of int$80. Rearrange the return paths in both the sysretq and iretq paths to reduce how long interrupts are blocked and shave instructions. ok kettenis@, extra testing krw@