CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: d...@cvs.openbsd.org2014/03/31 00:18:30 Modified files: sys/dev/ic : ahci.c Log message: move the last htoleXX things to htolemXX where possible. ok jmatthew@
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: jas...@cvs.openbsd.org 2014/03/31 00:44:23 Modified files: regress/usr.bin/pkg-config: Makefile regress/usr.bin/pkg-config/pcdir: variables.pc Log message: add test where Libs contains a variable reference
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: d...@cvs.openbsd.org2014/03/31 00:58:10 Modified files: sys/dev/ic : ahcivar.h Log message: the hardware expects ahci_cmd_table to be 128 byte aligned
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: j...@cvs.openbsd.org2014/03/31 01:06:20 Modified files: bin/ls : ls.1 Log message: revert previous: i was wrong; thanks thomas klausner for noticing
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: d...@cvs.openbsd.org2014/03/31 01:41:48 Modified files: sys/dev/pci: qle.c qlereg.h Log message: qle dvas straddle 4 byte boundaries, so best to treat them as two u_int32_ts rather than u_int64_ts. ok jmatthew@
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: n...@cvs.openbsd.org2014/03/31 03:09:19 Modified files: usr.bin/cu : cu.1 cu.c Log message: Fix REMOTE to work like tip(1) - it can be either a path to a remote(5) database or a description (for example foo:dv=/dev/bar). Add support for HOST which works as I thought REMOTE did. Manpage help from jmc@.
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: n...@cvs.openbsd.org2014/03/31 03:16:26 Modified files: usr.bin/cu : cu.c Log message: If HOST or the host argument starts with a /, treat it as a device name (so, for example, cu /dev/cuaU0 will work).
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: jmatt...@cvs.openbsd.org2014/03/31 05:25:45 Modified files: sys/dev/ic : qla.c qlareg.h qlavar.h Log message: Rather than scanning local loop ids sequentially, just ask the chip which local devices it has logged in to. This will also be useful for hotplug later on.
CVS: cvs.openbsd.org: xenocara
CVSROOT:/cvs Module name:xenocara Changes by: kette...@cvs.openbsd.org2014/03/31 06:09:00 Modified files: lib/libxtrans : Xtranssock.c Log message: Increase the send buffer for UNIX sockets to be at least 64k such that large sends (for example, XGetImage() replies in the X server) happen at non-glacial speeds. Makes Firefox useable again on web pages with large images. Already pushed upstream. ok matthieu@
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: m...@cvs.openbsd.org2014/03/31 06:11:42 Modified files: sys/dev/acpi : acpi.c sys/arch/i386/i386: apm.c sys/arch/zaurus/dev: zaurus_apm.c sys/arch/loongson/dev: apm.c Log message: Change the order of operations during a suspend/resume cycle and call bufq_quiesce() after executing the DVACT_QUIESCE handlers. This should be safe since no disk nor controller drivers have such handler but it will allow us to detach sd(4) devices attached to a USB bus. Another benefit pointed out by kettenis@ is that drivers that need to read a firmware from the disk should be able to do it at resume time in a DVACT_WAKEUP handler. ok kettenis@, deraadt@
CVS: cvs.openbsd.org: www
CVSROOT:/cvs Module name:www Changes by: st...@cvs.openbsd.org 2014/03/31 06:50:44 Modified files: faq: current.html Log message: Update unbound notes; previous users from packages will also need to adjust pkg_scripts/unbound_flags lines. Clarify which situations require manually adding users.
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: j...@cvs.openbsd.org2014/03/31 06:51:12 Modified files: regress/usr.bin/mdoclint: mdoclint Log message: recognise CONTEXT sections, for man9;
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: j...@cvs.openbsd.org2014/03/31 07:39:34 Modified files: usr.bin/ssh: ssh-keygen.1 Log message: the text for the -K option was inserted in the wrong place in -r1.108; fix From: Matthew Clarke
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: ajacou...@cvs.openbsd.org 2014/03/31 07:44:04 Modified files: usr.bin/libtool/LT/Mode/Link: Library.pm Log message: Match GNU libtool and properly add -rpath to the linker when linking libraries. Until now we only did that for bin programs, but some libs can also depend on other libs which aren't in the standard search path. passed a full ports bulk (thanks jasper@) ok jasper@ sthen@
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: bcal...@cvs.openbsd.org 2014/03/31 08:26:03 Modified files: usr.bin/mg : cmode.c Log message: Remove a redundant assignment for slashp in findnonblank(). Remove a redundant comment in the same place while here. Tweaks from lum@ ok florian@ lum@
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: dera...@cvs.openbsd.org 2014/03/31 09:25:26 Modified files: usr.bin/ssh: Makefile.inc Log message: ssh has a target painted on it's back, so use -fstack-protector-all dtucker mentioned that -portable does this
CVS: cvs.openbsd.org: www
CVSROOT:/cvs Module name:www Changes by: dera...@cvs.openbsd.org 2014/03/31 10:02:48 Modified files: . : errata21.html errata22.html errata23.html errata24.html errata25.html errata26.html errata27.html errata28.html errata29.html errata30.html errata31.html errata32.html errata33.html errata34.html errata35.html errata36.html errata37.html errata38.html errata39.html errata40.html errata41.html errata42.html errata43.html errata44.html errata45.html errata46.html errata47.html errata48.html errata49.html errata50.html errata52.html errata53.html errata54.html errata55.html Log message: further unification, without losing history
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: m...@cvs.openbsd.org2014/03/31 10:18:06 Modified files: sys/dev/usb: usb.c Log message: Force the detach of all USB devices by disconnecting the root hubs before suspending the machine. Prior to this commit, devices were logically disconnected after resuming the machine leading to funny races since the controller was reset in between. ok deraadt@
CVS: cvs.openbsd.org: www
CVSROOT:/cvs Module name:www Changes by: dera...@cvs.openbsd.org 2014/03/31 10:22:17 Modified files: . : 21.html 22.html 23.html 24.html 25.html 26.html ECL.html plus.html plus54.html plus55.html Log message: bring out your dead
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: l...@cvs.openbsd.org2014/03/31 12:00:58 Modified files: usr.bin/mg : dir.c Log message: Allow more than one level of directories to be create via make-directory again. ok florian@ jasper@
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: jas...@cvs.openbsd.org 2014/03/31 12:16:24 Modified files: usr.bin/pkg-config/OpenBSD: PkgConfig.pm Log message: if it looks like a variable, expands like a variable and resolves like a variable, then it need not be a variable. add a way out the variable expansion loop when the returned value from the values hash looks like a variable. this resolves an issue where using --define-variable=libdir=${libdir} would create and infinite loop of looking up the value of libdir. such as triggered by the x11/gnome/empathy configure script. tested in a bulk build as well as builds of base and xenocara ok aja@
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: m...@cvs.openbsd.org2014/03/31 12:58:41 Modified files: sys/arch/macppc/dev: macintr.c openpic.c sys/arch/macppc/macppc: dma.c machdep.c sys/arch/powerpc/powerpc: pmap.c sys/arch/socppc/socppc: dma.c machdep.c Log message: Including uvm/uvm_extern.h is enough, no need for uvm/uvm.h or more.
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: kette...@cvs.openbsd.org2014/03/31 13:37:15 Modified files: sys/kern : init_main.c Log message: Grab the kernel lock before autoconf. This way device drivers can drop it in any context if they feel like it. ok deraadt@, guenther@ (who both suggested we could probably grab it even earlier)
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: k...@cvs.openbsd.org2014/03/31 13:50:52 Modified files: sbin/fdisk : mbr.c misc.c misc.h part.c Log message: Nuke [get|put][short|long] and just use letoh[16|32] and htole[16|32]. This is made possible by a) copying unaligned data (struct dos_partition's) into properly aligned structs and accessing the fields of the same; and b) realizing that gcc is smart enough to access fields in packed struct's *if* it knows it is accessing a packed struct. Even sparc64 finally gave a thumbs up. After several attempts and feedback from deraadt@ and dlg@, it looks good to deraadt@.
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: m...@cvs.openbsd.org2014/03/31 14:16:39 Modified files: sys/uvm: uvm_fault.c Log message: In uvm_fault(), when attempting to map backpages and forwpages, defer the pmap_update() to the end of the loop, rather than after each loop iteration - which might not even end up invoking pmap_enter()! Quiet blessing from guenther@ deraadt@
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: m...@cvs.openbsd.org2014/03/31 14:21:19 Modified files: sys/arch/loongson/include: cpu.h sys/arch/mips64/include: cache.h cpu.h pmap.h sys/arch/mips64/mips64: cache_loongson2.c cache_octeon.c cache_r10k.c cache_r4k.c cache_r5k.c cache_tfp.c pmap.c sys/arch/octeon/include: cpu.h Log message: Due the virtually indexed nature of the L1 instruction cache on most mips processors, every time a new text page is mapped in a pmap, the L1 I$ is flushed for the va spanned by this page. Since we map pages of our binaries upon demand, as they get faulted in, but uvm_fault() tries to map the few neighbour pages, this can end up in a bunch of pmap_enter() calls in a row, for executable mappings. If the L1 I$ is small enough, this can cause the whole L1 I$ cache to be flushed several times. Change pmap_enter() to postpone these flushes by only registering the pending flushes, and have pmap_update() perform them. The cpu-specific cache code can then optimize this to avoid unnecessary operations. Tested on R4000SC, R4600SC, R5000SC, RM7000, R1 with 4KB and 16KB page sizes (coherent and non-coherent designs), and Loongson 2F by mikeb@ and me. Should not affect anything on Octeon since there is no way to flush a subset of I$ anyway.
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: sobr...@cvs.openbsd.org 2014/03/31 14:54:37 Modified files: bin/ls : ls.1 ls.c Log message: restore the traditional behavior of -f implying -a; apparently Keith Bostic forgot to restore it when the -f flag was put back on 2nd of September 1989, after being removed on 16th of August as a consequence of issues getting it working over NFS, so deviation from traditional UNIX behavior in all BSDs looks like an historical accident; as a side effect, this change accommodates behavior of this option to IEEE Std 1003.1-2008 (``POSIX.1''). joint work with jmc@ (who found the inaccuracy in our implementation), schwarze@ (who provided a detailed tracking of historical facts) and millert@ ok millert@, schwarze@
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: kette...@cvs.openbsd.org2014/03/31 15:10:10 Modified files: sys/arch/alpha/dev: sgmap_common.c sgmap_typedep.c sgmapvar.h Log message: Use extent_alloc_with_descr(9) and add a mutex to protect the extent. This should make bus_dmamap_load(9) and bus_dmamap_unload(9) mpsafe. As a bonus this gets rid of a potential memory allocation in the IO path. ok miod@
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: l...@cvs.openbsd.org2014/03/31 15:29:59 Modified files: usr.bin/mg : file.c Log message: Tidy up. No functional change.
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: n...@cvs.openbsd.org2014/03/31 15:32:00 Modified files: usr.bin/tmux : input.c Log message: Change secondary device attributes response to \033[84;0;0c which is unique for tmux.
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: n...@cvs.openbsd.org2014/03/31 15:32:31 Modified files: usr.bin/tmux : cmd.c Log message: Don't write into buffer if no arguments, reported by Filipe Rosset.
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: n...@cvs.openbsd.org2014/03/31 15:34:08 Modified files: usr.bin/tmux : Makefile screen-redraw.c tmux.h window-clock.c Removed files: usr.bin/tmux : clock.c Log message: Having three *clock* files is ridiculous, remove clock.c.
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: n...@cvs.openbsd.org2014/03/31 15:36:43 Modified files: usr.bin/tmux : mode-key.c tmux.h window-choose.c Log message: Add start-of-list, end-of-list, top-line and bottom-line in choice mode, from madmaverick9 at roxxmail dot eu, similar diff a few days later from Marcel Partap.
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: n...@cvs.openbsd.org2014/03/31 15:37:55 Modified files: usr.bin/tmux : format.c resize.c tmux.1 tmux.h Log message: Make session_attached a count and add session_many_attached flag.
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: n...@cvs.openbsd.org2014/03/31 15:39:31 Modified files: usr.bin/tmux : cmd-set-buffer.c mode-key.c paste.c tmux.1 tmux.h window-copy.c Log message: Add setb -a to append and a copy mode append command, from J Raynor with minor changes.
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: n...@cvs.openbsd.org2014/03/31 15:39:59 Modified files: usr.bin/tmux : tmux.h Log message: Use hex constants rather than shifts for mouse events and flags, pointed out by Marcel Partap.
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: n...@cvs.openbsd.org2014/03/31 15:40:21 Modified files: usr.bin/tmux : tmux.h tty-keys.c Log message: Add names for mouse button bits rather than using magic numbers, from Marcel Partap.
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: n...@cvs.openbsd.org2014/03/31 15:41:35 Modified files: usr.bin/tmux : options-table.c status.c tmux.1 Log message: Make message-limit a server option.
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: n...@cvs.openbsd.org2014/03/31 15:41:07 Modified files: usr.bin/tmux : window.c Log message: Don't segfaut when the parent of the layout cell is NULL, from Thomas Adam.
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: n...@cvs.openbsd.org2014/03/31 15:42:27 Modified files: usr.bin/tmux : grid-view.c grid.c tmux.h Log message: GRID_DEBUG is no longer needed.
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: n...@cvs.openbsd.org2014/03/31 15:42:05 Modified files: usr.bin/tmux : log.c tmux.h Log message: Remove unused log functions.
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: n...@cvs.openbsd.org2014/03/31 15:42:45 Modified files: usr.bin/tmux : input-keys.c log.c tmux.c Log message: Remove log_debug2 as well and simplify log.c.
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: n...@cvs.openbsd.org2014/03/31 15:43:55 Modified files: usr.bin/tmux : cmd-set-buffer.c Log message: Don't crash with a zero-length argument to setb, from J Raynor.
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: n...@cvs.openbsd.org2014/03/31 15:43:35 Modified files: usr.bin/tmux : utf8.c Log message: In four byte UTF-8 sequences, only three bits of the first byte should be used. Fix from Koga Osamu.
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: k...@cvs.openbsd.org2014/03/31 16:03:29 Modified files: sbin/fdisk : cmd.c cmd.h disk.c part.c user.c user.h Log message: Whitespace rectification.
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: kette...@cvs.openbsd.org2014/03/31 16:17:07 Modified files: sys/dev/ic : qlw.c Log message: Slightly better debugging code.
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: matt...@cvs.openbsd.org 2014/03/31 16:20:15 Modified files: sys/sys: proc.h Log message: Fix octal constant: \018 - \020 ok guenther
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: k...@cvs.openbsd.org2014/03/31 17:04:03 Modified files: sbin/fdisk : cmd.c Log message: Use return value constants to make effects clearer than the use of an intermediate variable. No intended functional change.
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: d...@cvs.openbsd.org2014/03/31 20:05:27 Modified files: usr.bin/ssh: ssh-keysign.c Log message: include fingerprint of key not found use arc4random_buf() instead of loop+arc4random()
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: mill...@cvs.openbsd.org 2014/03/31 20:16:37 Modified files: lib/libc/gen : login_cap.c Log message: Use setresuid() and setresgid(). OK guenther@ deraadt@
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: matt...@cvs.openbsd.org 2014/03/31 23:04:50 Modified files: sys/sys: stdint.h include: unistd.h Log message: Define intptr_t in unistd.h as specified by POSIX ok millert
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: d...@cvs.openbsd.org2014/03/31 23:32:57 Modified files: usr.bin/ssh: packet.c Log message: demote a debug3 to PACKET_DEBUG; ok markus@
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: dera...@cvs.openbsd.org 2014/03/31 23:50:30 Modified files: usr.bin/tmux : tmux.h Log message: missed commit matching log.c