Displaying 1 50 of 515,821 commits (0.021s)

OpenBSD — usr.bin/tmux window.c cmd-select-pane.c

Only redraw pane when it has actually changed.

OpenBSD — usr.bin/tmux cmd-queue.c

Save next item after firing command in case it has added to the queue.
Delta File
+2 -3 usr.bin/tmux/cmd-queue.c
+2 -3 1 file

OpenBSD — usr.sbin/httpd server_http.c server_file.c

Rework the error message a little bit: Do not send details of the
error.  Traditionally, web servers responsed with the request path on
40x errors which could be abused to inject JavaScript etc.  Instead of
sanitizing the path, we just don't reprint it.  Also modify the style
a little bit but keep Comic Sans.

With input from Jonas Lindemann and doug@

OpenBSD — sys/net pipex.c pipex.h

tun(4) has a pipex session which is used for multicast internally, it
wasn't freeed when the interface is destroyed.  Free it properly.

ok dlg
Delta File
+15 -5 sys/net/pipex.c
+2 -3 sys/net/pipex.h
+2 -2 sys/net/if_tun.c
+3 -1 sys/net/pipex_local.h
+22 -11 4 files

OpenBSD — sys/dev ipmi.c

Style + typos in debug printfs.
Delta File
+7 -5 sys/dev/ipmi.c
+7 -5 1 file

OpenBSD — usr.bin/tftp tftp.c

cope with sending or receiving files beyond 65536 blocks in length.

reported by justin mayes on misc@

ok deraadt@
Delta File
+16 -11 usr.bin/tftp/tftp.c
+16 -11 1 file

OpenBSD — etc/examples relayd.conf, usr.sbin/relayd relayd.conf.5

Remove SSLv2 and SSLv3 references from the example relayd.conf and the
relevant example snippet in the relayd.conf(5) man page.

Change the default SSL protocols in the example file/man page to
"no tlsv1.0" (suggested by sthen@), which will enable the TLSv1.1
and TLSv1.2 protocols only.

feedback/ok jsing@ reyk@ sthen@

OpenBSD — gnu/usr.bin/cvs Makefile.bsd-wrapper

no more kerberos.

ok deraadt@, dcoppa@

OpenBSD — usr.bin/tmux tmux.h screen-write.c

Better format for printf format attributes.

OpenBSD — usr.bin/tmux tmux.h cmd-list-windows.c

Move template defines back into .c files.

OpenBSD — usr.bin/tmux tmux.c screen.c

Tidy up some includes.

OpenBSD — usr.bin/tmux cmd-suspend-client.c cmd-detach-client.c

Move suspend-client code into detach-client.

OpenBSD — usr.bin/tmux cmd-has-session.c cmd-new-session.c

Move tiny has-session function into cmd-new-session.c.

OpenBSD — usr.bin/apropos apropos.c apropos.1, usr.bin/whatis whatis.c whatis.1

superseded by usr.bin/mandoc/mansearch.c
removal suggested by daniel@; ok deraadt@

OpenBSD — usr.bin/tmux cmd-list-commands.c

Argh, meant to remove this file...
Delta File
+0 -45 usr.bin/tmux/cmd-list-commands.c
+0 -45 1 file

OpenBSD — usr.bin/tmux cmd-list-keys.c cmd-list-commands.c

Move list-commands into list-keys.

OpenBSD — usr.bin/tmux cmd-respawn-pane.c cmd-select-layout.c

Missed a couple of cmd_entry struct members from previous.

OpenBSD — usr.bin/tmux key-bindings.c cmd-resize-pane.c

Instead of setting up the default keys by building the key struct
directly with a helper function in the cmd_entry, include a table of
bind-key commands and pass them through the command parser and a
temporary cmd_q.

As well as being smaller, this will allow default bindings to be command
sequences which will probably be needed soon.

OpenBSD — usr.bin/du du.c

fix a regression that i caused in rev. 1.26: *do* report the size of
files listed on the command line, no matter what options are given;
issue reported by edd@; ok millert@ edd@
Delta File
+3 -2 usr.bin/du/du.c
+3 -2 1 file

OpenBSD — lib/libssl/src/ssl ssl_lib.c

disable SSLv3 by default. all agreed.
Delta File
+4 -1 lib/libssl/src/ssl/ssl_lib.c
+4 -1 1 file

OpenBSD — lib/libc/stdlib malloc.3

List extensions in the STANDARDS section, replacing some text below CAVEATS.
Remove excessive technicalities on zero-sized objects as suggested by deraadt@.
contributions and ok deraadt@, ok jmc@ on an earlier version
Delta File
+29 -32 lib/libc/stdlib/malloc.3
+29 -32 1 file

OpenBSD — usr.bin/mandoc roff.c read.c

protect the roff parser from dividing by zero;
issue found and patch written by kristaps@

OpenBSD — sys/dev/pci ciss_pci.c

Be sure to return if the pci interrupt can't be mapped, instead of falling
through the remainder of the attachment logic.
Delta File
+2 -1 sys/dev/pci/ciss_pci.c
+2 -1 1 file

OpenBSD — share/man/man7 mdoc.7

improve documentation of .Fa, .Va, and .Vt;
inspired by a discussion with matthew@
Delta File
+22 -10 share/man/man7/mdoc.7
+22 -10 1 file

OpenBSD — sys/net pipex.c

pipex(4): Converted to use pool(9)

OK blambert@ yasuoka@
Delta File
+21 -13 sys/net/pipex.c
+21 -13 1 file

OpenBSD — usr.bin/getent getent.c

As reported by Marcus Merighi, hosts enumeration no longer works.
The asr library no longer supports gethostent(3), and there is no
reasonable way to implement it.  Consequently, as suggested
by guenther@, error out when hosts enumeration is requested.
OK deraadt@ guenther@ florian@

Also remove the now useless calls to sethostent(3) and endhostend(3)
as suggested by florian@.
Delta File
+4 -5 usr.bin/getent/getent.c
+4 -5 1 file

OpenBSD — usr.bin/mandoc man.c mdoc.c

correct the spacing after in-line equations
that start at the beginning of an input line
but end before the end of an input line

OpenBSD — usr.bin/mandoc roff.c

correctly parse spacing around in-line equations
at the beginning and at the end of input lines;
issue reported by kristaps@
Delta File
+37 -6 usr.bin/mandoc/roff.c
+37 -6 1 file

OpenBSD — usr.sbin/relayd parse.y relayd.h

Remove the "interface" option from the "transparent forward" directive.
It was mandatory in the grammar but never used in the code.

A fully transparent relay can now be specified with the following
directive in a relay block: "transparent forward to destination".

OK sthen@

OpenBSD — lib/libssl/src/crypto md32_common.h, lib/libssl/src/crypto/md4 md4_locl.h md4.h

digests: *_LONG_LOG2 is not used, stop talking about it.

Modified patch from Dmitry Eremin-Solenikov

leave the sole public define in ripemd.h

ok deraadt@ miod@

OpenBSD — lib/libssl/src/ssl ssl_asn1.c

    SSL: Fix memory leak in d2i_SSL_SESSION.
    
    Modified version of patch from Dmitry Eremin-Solenikov.
    
    ==28360== 98 bytes in 2 blocks are definitely lost in loss record 7 of 7
    ==28360==    at 0x402AC54: realloc (in 
/usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
    ==28360==    by 0x40E2D2C: ASN1_STRING_set (asn1_lib.c:393)
    ==28360==    by 0x40EC22C: asn1_ex_c2i (tasn_dec.c:959)
    ==28360==    by 0x40EC632: asn1_d2i_ex_primitive (tasn_dec.c:824)
    ==28360==    by 0x40ED2E6: ASN1_item_ex_d2i (tasn_dec.c:230)
    ==28360==    by 0x40ED421: ASN1_item_d2i (tasn_dec.c:133)
    ==28360==    by 0x40F0335: d2i_ASN1_OCTET_STRING (tasn_typ.c:75)
    ==28360==    by 0x405FD6D: d2i_SSL_SESSION (ssl_asn1.c:367)
    ==28360==    by 0x405DD6E: ssl3_send_newsession_ticket (s3_srvr.c:2743)
    ==28360==    by 0x405EA48: ssl3_accept (s3_srvr.c:665)
    ==28360==    by 0x4067C34: SSL_accept (ssl_lib.c:922)
    ==28360==    by 0x404E97B: ssl23_get_client_hello (s23_srvr.c:573)
    
    ok miod@ beck@
Delta File
+2 -1 lib/libssl/src/ssl/ssl_asn1.c
+2 -1 1 file

OpenBSD — usr.bin/make make.1

document sinclude/-include
Delta File
+22 -2 usr.bin/make/make.1
+22 -2 1 file

OpenBSD — usr.bin/systat mbufs.c

fix if (statement);
ok dlg@
Delta File
+2 -2 usr.bin/systat/mbufs.c
+2 -2 1 file

OpenBSD — usr.sbin/amd/amd info_hes.c mount_fs.c, usr.sbin/amd/amq Makefile

Change MTAB_TYPE_UFS from "ufs" to "ffs", fixing mount-restarting for them.
Perform one level of expansion on the various "portability" macros from os-*.h
Delete support for Hesiod and the pre-4.4 versions of the NFS API
Delete the no-op unlock_mntlist()
unifdef -UFASCIST_DF_COMMAND -UMOUNT_HELPER_SOURCE
Move the struct mntent and MNTMAXSTR definitions into include/am.h
Move the commented-out -DHAS_NDBM_MAPS into amd/Makefile
Expand OS_REP to "bsd44".
With config/* empty, delete them.

"lot of stuff...but I know your process on this" deraadt@

OpenBSD — gnu/usr.bin/binutils-2.17/gas read.c expr.c, gnu/usr.bin/binutils/gas read.c expr.c

Backport fix for binutils 11867: .quad directive not assembled correctly.

Alan Modra (and Alan's employer) graciously permitted use of his patch
under GPLv2.

ok kettenis@

OpenBSD — sys/netinet tcp_subr.c

use sha512 instead of md5 for tcp isn. ok deraadt
Delta File
+20 -15 sys/netinet/tcp_subr.c
+20 -15 1 file

OpenBSD — usr.bin/ssh hostfile.c

whitespace
Delta File
+3 -3 usr.bin/ssh/hostfile.c
+3 -3 1 file

OpenBSD — usr.bin/mandoc man_term.c mdoc_term.c

correct spacing *after* inline equations (much simpler than expected)

OpenBSD — usr.sbin/amd/amd nfs_ops.c host_ops.c, usr.sbin/amd/config Makefile.config os-bsd44.h

unifdef -DHAS_REGEXP -DHAS_PASSWD_MAPS -DHAS_FILE_MAPS \
  -DHAS_NIS_MAPS -DHAS_NIS_RELOAD -DRPC_4 -DHAS_UNION_MAPS \
  -DHAS_TCP_NFS -DOS_HAS_NDBM -DNFS_PROTOCOL_VERSION=3 \
  -DNFS_ARGS_NEEDS_PATH -DPRECISE_SYMLINKS -DHAS_EMPTY_AUTOMOUNTS \
  -DNEED_MNTOPT_PARSER -DSHORT_MOUNT_NAME -DHAS_NFS_QUALIFIED_NAMES \
  -UUPDATE_MTAB -UFIXUP_MNTENT -UMNTENT_HDR -UMNTINFO_DEV \
  -UMNTOPT_COMPRESS -UMNTOPT_NQNFS -UINFORM_MOUNTD \
  -USUNOS4_WORKAROUND -UULTRIX_HACK

ok deraadt@

OpenBSD — usr.bin/mandoc roff.c mdoc.c

correct spacing before inline equations

OpenBSD — usr.bin/openssl s_client.c

s_client: don't call shutdown on a non-existent socket descriptor.

from Dmitry Eremin-Solenikov <dbaryshkov at gmail.com>
ok beck@, deraadt@
Delta File
+1 -3 usr.bin/openssl/s_client.c
+1 -3 1 file

OpenBSD — usr.bin/mandoc tree.c

show the {MDOC,MAN}_EQN node, it contains interesting information,
in particular line and column numbers and flags;
but hide the uninteresting EQN_ROOT box
Delta File
+13 -11 usr.bin/mandoc/tree.c
+13 -11 1 file

OpenBSD — sys/dev rnd.c

typo; deraadt
Delta File
+2 -2 sys/dev/rnd.c
+2 -2 1 file

OpenBSD — sys/crypto crypto.c

replace bzeros after allocations with M_ZERO and PR_ZERO as appropriate.

ok deraadt@
Delta File
+4 -9 sys/crypto/crypto.c
+4 -9 1 file

OpenBSD — sys/dev rnd.c

use SHA512 to hash entropy instead of MD5
Delta File
+15 -15 sys/dev/rnd.c
+15 -15 1 file

OpenBSD — sys/conf files

unconditionally build sha2 so we can use it in all the kernels.
Delta File
+2 -2 sys/conf/files
+2 -2 1 file

OpenBSD — usr.sbin/amd/amd umount_fs.c mtab.c, usr.sbin/amd/amq amq.c Makefile

Start removing portability goo: we have syslog(), strerror(), POSIX regexp,
    BSD-style getmntinfo(), BSD signals, 4.4BSD unmount(), etc
Delete configurations for other OSes
Delete fsinfo and mk-amd-map, as we don't build them.

ok deraadt@

OpenBSD — sys/kern kern_exec.c

Backport r1.147 by kettenis:
Don't assume that ep_taddr and ep_daddr are page-aligned.  It is possible to
construct ELF executables for which ep_daddr ends up not being properly
aligned.  Sanitize the addresses before setting up the address space for the
new executable.  Should fix the panic discovered by Alejandro Hernandez.
Delta File
+7 -5 sys/kern/kern_exec.c
+7 -5 1 file

OpenBSD — sys/kern kern_exec.c

Backport r1.147 by kettenis:
Don't assume that ep_taddr and ep_daddr are page-aligned.  It is possible to
construct ELF executables for which ep_daddr ends up not being properly
aligned.  Sanitize the addresses before setting up the address space for the
new executable.  Should fix the panic discovered by Alejandro Hernandez.
Delta File
+7 -5 sys/kern/kern_exec.c
+7 -5 1 file

OpenBSD — sys/kern kern_exec.c

Backport r1.147 by kettenis:
Don't assume that ep_taddr and ep_daddr are page-aligned.  It is possible to
construct ELF executables for which ep_daddr ends up not being properly
aligned.  Sanitize the addresses before setting up the address space for the
new executable.  Should fix the panic discovered by Alejandro Hernandez.
Delta File
+7 -5 sys/kern/kern_exec.c
+7 -5 1 file