summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-05-22import sqlite 3.7.12 (tested by landry@)Marc Espie
2012-05-21Fix ftell() to return EOVERFLOW if the file offset is greater thanMatthew Dempsky
LONG_MAX. Also, remove an Alpha-specific optimization that only saves a couple of bytes of code size. ok millert, guenther
2012-05-21Always clear out the inactive list and make sure everything is unbound inMark Kettenis
i915_gem_idle(). If we don't do that we end up with stale entries on the inactive list which will panic the kernel the next time we use the list. Fixes restarting X on Sandy Bridge.
2012-05-21Instead of passing stdin/stdout/stderr file descriptors over imsg andNicholas Marriott
handling them in the server, handle them in the client and pass buffers over imsg. This is much tidier for some upcoming changes and the performance hit isn't critical. The tty fd is still passed to the server as before. This bumps the tmux protocol version so new clients and old servers are incompatible.
2012-05-21Cleanup O_CLOEXEC handling and make sure UF_EXCLOSE is set correctlyMatthew Dempsky
when opening /dev/fd/* (i.e., UF_EXCLOSE is now set iff O_CLOEXEC is set, rather than copying UF_EXCLOSE from the file descriptor being dup'd). Also, add support for O_CLOEXEC and O_DIRECTORY to fhopen(). ok krw, guenther; feedback from millert; testing and bug finding by krw
2012-05-21Fix binutils-2.17 configure script to build on amd64.Matthew Dempsky
ok miod
2012-05-21fix put usageGleydson Soares
ok sthen@ henning@ dlg@ "looks right" deraadt@
2012-05-20remove .cvsignore from cvs source dir, ok deraadtStuart Henderson
building cvs fails after a forgotten 'make obj', but the problem is tough to spot because the files which cause a problem are hidden from 'cvs up' output (even with 'cvs up -I !') because they're listed in .cvsignore.
2012-05-20syncTheo de Raadt
2012-05-20do not need to pull in <time.h>Theo de Raadt
2012-05-20Make sure the generic bus_dmamem_alloc() routine restricts its allocation toMiod Vallat
the dma_constraint range. This allows the xbridge(4) bus_dma_tag_t to use the generic routines instead of rolling its own, now that the ATE code has been removed.
2012-05-19Split out the suspend/resume code into its own file to make it possible toMark Kettenis
diff it against the Linux kernel sources. Fix a few bugs revealed by doing such a diff. Tested by myself and a few others on 915, 945, 965 and 6-series.
2012-05-19Document PermitOpen none. bz#2001, patch from Loganaden VelvindronDarren Tucker
2012-05-19Reformat usage() to avoid the line wrap, and make it match the way itLawrence Teo
looks on the man page. ok haesbaert jmc henning
2012-05-18Port NetBSD's pci@gio driver for fast Ethernet expansion boards for theMiod Vallat
IP22 family. This is just the bridge so far, as the underlying pci drivers will need some changes to work (dc(4) does not work correctly yet, and tl(4) needs to be bus_dma'ified).
2012-05-18Remove unused header.Martin Pieuchot
ok deraadt@
2012-05-18just warn if files from the *etc sets are missing. This will remindMarc Espie
people to run sysmerge, and is generally not a good hint things are out of synch. prompted by naddy@ and sthen@
2012-05-18rt6_flush should remove all routes configured via a specified gw,Mike Belopuhov
not only CONNECTED ones. It should also be called when RA with a RouterLifetime set to 0 is sent to clear a redirect. While here make sure we use correct priorities when installing routes acquired via redirects. comments & ok bluhm
2012-05-18remove double word blunder;Jason McIntyre
2012-05-18"int (**vops)((void *)" is now "struct vops *vops"; from David Matthew MattliJason McIntyre
ok tedu
2012-05-18Allow no-tab-mode to compile. From James Turner.lum
note: no-tab-mode needs more work done before removing the NOTABs.
2012-05-17Ignore line continuation when escaped as \\, from Simon Nicolussi.Nicholas Marriott
2012-05-17Yet another rework of the crucial gio_id() function responsible for correctlyMiod Vallat
recognizing a GIO device or an id-less frame buffer in a GIO slot. Turns out that GIO32 devices (at least those with a 32-bit ID register, but likely all of them) do NOT like accesses to the minimal GIO register area NOT done on 32-bit boundaries. While frame buffers won't mind, especially if their slots are pipelined. This makes it a lot easier to tell them apart. While there, split gio_intr_establish() into gio_intr_map(), which will return a logical interrupt number out of a GIO slot number, and gio_intr_establish(), which will now expect a logical interrupt number, instead of a logical slot number. These two functions are still unused, but upcoming changes depend on this work. (Yes, I'm too lazy to make two commits for this tonite)
2012-05-17Better probes for sq and wdsc in gio-masqueraded-as-hpc expansion boards.Miod Vallat
Previous change was a tad too optimistic. This repairs E++ and GIO SCSI board operation.
2012-05-17Correct virtual aliasing mask computation.Miod Vallat
Note that this would only affect 4KB page size IP22 kernels, which is not the default IP22 configuration, and which noone not out of his or her mind would do. In other words: this is a correctness fix with no impact on Real Life (c)(R)TM
2012-05-17Quit if write(2) returns -1 when writing to the tty, which canTodd C. Miller
happen if the tty is revoked. OK deraadt@
2012-05-17show the f_iflags; ok guentherTheo de Raadt
2012-05-17Also check permissions of .ssh/id_ecdsa.Pascal Stumpf
ok schwarze@
2012-05-17add I350Jonathan Gray
2012-05-17Add support for i350 based devices, based in part on Intel codeJonathan Gray
in FreeBSD. Workaround the apparently undocumented errata where the CRC is always stripped whether asked to or not, and take the FreeBSD workaround for a known errata when clearing the vlan filter. Thanks to Jens A. Griepentrog for donating a card. ok dlg@ mikeb@
2012-05-16Add missing break between AF_INET and AF_INET6 in addr_matches_if_netmask()Todd C. Miller
Addresses CVE 2012-2337
2012-05-16The PCIe link speed values are printed in GT/s not Gb/s.Jonathan Gray
2012-05-16recognise 8.0 GT/s link speed for PCI Express 3.0Jonathan Gray
2012-05-16rfc 4861 mandates that target link local address must be includedMike Belopuhov
with a neighbour advertisment sent to a multicast address; nits & ok bluhm
2012-05-16Don't spin accept() when hitting ENFILE/EMFILE. Upstream r2663.Stuart Henderson
2012-05-15Allow for serial console on com@puc. Not perfect but should handle theMark Kettenis
common cases. ok mikeb@
2012-05-15Fix confusing patch(1) output on failure when using -C. FromTodd C. Miller
dragonflybsd via Loganaden Velvindron. OK mikeb@ and deraadt@
2012-05-15revert a chunk introduced in 1.7 which was not supposed to be there yetMiod Vallat
2012-05-15sync with lua.port.mkJasper Lievisse Adriaanse
2012-05-15syncTheo de Raadt
2012-05-15.Xr mk.conf(5) from bsd.port.mk(5) as it has useful information aboutStuart Henderson
variables which affect port builds (DEBUG and so on). ok ajacoutot@ jasper@
2012-05-15Set the usb(4) unit number as bus number. This fixes a possibleMartin Pieuchot
conflict where machines with two controllers with the same unit number (i.e. ehci0 and uhci0) would have reported to buses 0. ok miod@
2012-05-15Don't use a pointer to an opaque softc, we'll need to access its unitMartin Pieuchot
number. No functional change. ok miod@
2012-05-15sync lua.port.mk and sort a few variables.Jasper Lievisse Adriaanse
2012-05-15supplementary magic code, not active yetMarc Espie
2012-05-15less hackish test for LIB*VERSION: after building the element,Marc Espie
redo a check based on the non-subst version, so we can: - actually parse the library name - check we depend upon the right variable
2012-05-15allow elements to remove themselves from PackingList, adjust visitMarc Espie
accordingly. Make sure obsolete stuff ->add returns undef, unconfuses PkgCreate.
2012-05-15move the chroot path stripping into a different function to make sureRobert Nagy
that we always include aliases as well, to make "user directories work" tested by jasper@ and sthen@
2012-05-14More sysconf(3)-y and pathconf(3)-y goodness from Brad.Matthew Dempsky
ok guenther, millert (and me); bulk build test by naddy
2012-05-14remove korea and china examples, as these files don't mirror reliablyBob Beck
and have been stubbed on openbsd.org anyway ok millert@ robert@ otto@