Displaying 1 51 of 165,050 commits (0.014s)

OpenBSD — sys/netinet ip_output.c, sys/netinet6 in6_src.c

Revert the two uses of rtisvalid(9) for the moment, it breaks dhclient(8)
configured networks on RAMDISK kernels.

The problem is that the default route installed by dhclient(8) does not
have the RTF_UP flag in this environement and rtisvalid(9) doesn't allow
you to use a RTF_DOWN route.
Delta File
+11 -17 sys/netinet/ip_output.c
+8 -6 sys/netinet6/in6_src.c
+19 -23 2 files

OpenBSD — sys/arch/amd64/stand/efiboot efidev.h efidev.c

Add missing copyright.

OpenBSD — usr.bin/ssh sshkey.c monitor.c

Fix occurrences of "r = func() != 0" which result in the wrong error
codes being returned due to != having higher precedence than =.

ok deraadt@ markus@

OpenBSD — etc/etc.amd64 Makefile.inc

copy from mdec to reldir
Delta File
+3 -1 etc/etc.amd64/Makefile.inc
+3 -1 1 file

OpenBSD — lib/libc/rpc pmap_getmaps.c auth_unix.c

Delete 3 more stderr messages, right before returning a proper error.
Code from way in the past.

OpenBSD — sys/arch/i386/stand/libsa exec_i386.c

Fix the bios boot to pass the bootargs properly.

ok deraddt

OpenBSD — distrib/sets/lists/base md.amd64

sync
Delta File
+2 -0 distrib/sets/lists/base/md.amd64
+2 -0 1 file

OpenBSD — etc/etc.amd64 Makefile.inc

ship BOOTX64.EFI BOOTX86.EFI
Delta File
+2 -2 etc/etc.amd64/Makefile.inc
+2 -2 1 file

OpenBSD — sys/arch/amd64/stand Makefile

enter efiboot
Delta File
+2 -2 sys/arch/amd64/stand/Makefile
+2 -2 1 file

OpenBSD — sys/arch/amd64/stand/libsa alloca.S, sys/arch/i386/stand/libsa alloca.S

alloca() no longer needed
Delta File
+0 -0 sys/arch/amd64/stand/libsa/alloca.S
+0 -0 sys/arch/i386/stand/libsa/alloca.S
+0 -0 2 files

OpenBSD — sys/arch/amd64/stand/boot conf.c, sys/arch/amd64/stand/cdboot conf.c

Bring the boot changes on amd64 to i386.  alloca is deleted.
Also fix the boot from BIOS and bump the version.

input and ok deraadt

OpenBSD — sys/miscfs/fuse fuse_device.c

fairly easy size for free()
Delta File
+2 -2 sys/miscfs/fuse/fuse_device.c
+2 -2 1 file

OpenBSD — sys/arch/amd64/stand/efiboot Makefile

only enter deeper on amd64

OpenBSD — lib/libc/rpc svc_auth_unix.c

do not printf() on error from libc; ok millert
Delta File
+1 -3 lib/libc/rpc/svc_auth_unix.c
+1 -3 1 file

OpenBSD — sys/arch/amd64/stand/boot Makefile, sys/arch/amd64/stand/cdboot Makefile

Initial commit of uefi boot loader of OpenBSD.

ok deraadt yuo

OpenBSD — sys/net if_gif.c pipex.c, sys/netinet ip_icmp.c tcp_subr.c

Replace sockaddr casts with the proper satosin(), ... calls.
From David Hill; OK mpi@; tested kspillner@; tweaks bluhm@
Delta File
+14 -15 sys/net/if_gif.c
+9 -11 sys/net/pipex.c
+7 -7 sys/net/if_tun.c
+4 -4 sys/netinet/ip_icmp.c
+3 -3 sys/net/radix_mpath.c
+2 -3 sys/netinet/tcp_subr.c
+8 -9 4 files not shown
+47 -52 10 files

OpenBSD — lib/libc/rpc svc_simple.c auth_unix.c

Remove all bogus writes to stderr.  Only explicit requests should
go that way.
ok miod beck

OpenBSD — sbin/ping6 ping6.c

Display the correct source address when using a non-default routing
table.
Problem reported on bugs@ and diff from phil AT unita.com.au, thanks!
OK phessler
Delta File
+7 -2 sbin/ping6/ping6.c
+7 -2 1 file

OpenBSD — usr.bin/tmux input.c server-client.c

Tweak some error messages/comments.

OpenBSD — usr.bin/tmux input.c

Log the whole new input buffer once rather than each byte.
Delta File
+5 -3 usr.bin/tmux/input.c
+5 -3 1 file

OpenBSD — usr.bin/tmux log.c

Pass logging through vis(3).
Delta File
+12 -6 usr.bin/tmux/log.c
+12 -6 1 file

OpenBSD — sbin/pfctl parse.y, sys/net pf.c

- route-to, dup-to, reply-to should not override the block action

  Spotted by Dilli Paudel <dilli ! paudel at oracle ! com>

ok jung@, ok mikeb@
Delta File
+14 -4 sbin/pfctl/parse.y
+5 -1 sys/net/pf.c
+19 -5 2 files

OpenBSD — usr.bin/tmux session.c

Fix a spelling error, sesson -> session.
Delta File
+2 -2 usr.bin/tmux/session.c
+2 -2 1 file

OpenBSD — sys/kern kern_tame.c

the special check logic for /usr/share/nls/../libc.cat became failure
to return failure.  open() of these paths should succeed to satisfy
strerror() and friends.
ok semarie
Delta File
+3 -3 sys/kern/kern_tame.c
+3 -3 1 file

OpenBSD — usr.sbin/syslogd syslogd.c

Bind the *:514 UDP socket of syslogd with SO_REUSEADDR.  This avoids
conflicts with other processes bound to a specific address with the
same port.  Syslogd uses this socket basically for outgoing traffic
to remote UDP log servers, so increase the chance that it works.
OK jung@ benno@
Delta File
+8 -7 usr.sbin/syslogd/syslogd.c
+8 -7 1 file

OpenBSD — distrib/sets/lists/comp mi, distrib/sets/lists/man mi

sync

OpenBSD — bin/ksh main.c

no need to check for null argv anymore. from Martijn van Duren
ok deraadt
Delta File
+2 -11 bin/ksh/main.c
+2 -11 1 file

OpenBSD — usr.sbin/portmap portmap.c

stop defining a local copy of perror(); libc/rpc no longer uses it.
ok beck millert miod
Delta File
+1 -9 usr.sbin/portmap/portmap.c
+1 -9 1 file

OpenBSD — lib/libc/rpc svc_udp.c svc_tcp.c

Remove calls to perror(); the error returns are sufficient, and these
library may not assume stderr is useable.
ok millert miod beck

OpenBSD — sys/netinet6 in6_var.h

Kill unused ``ia_net'' field in the struct in6_ifaddr, bad copy
paste from the IPv4 time.

While here update the comment about ``ia6_ndpr'' it's now only
used for autoconf.
Delta File
+2 -3 sys/netinet6/in6_var.h
+2 -3 1 file

OpenBSD — regress/lib/libssl Makefile, regress/lib/libssl/client clienttest.c Makefile

Add an initial TLS client regress, which currently covers ClientHello
message generation.

OpenBSD — sys/arch/amd64/amd64 disksubr.c, sys/arch/i386/i386 disksubr.c

Always call readdoslabel() before readgptlabel(). Doubly always call them
in the same order. Fix writedisklabel() to follow these simple rules.

ok kettenis@

OpenBSD — usr.bin/doas parse.y

increment the line number after the line continuation; ok tedu
Delta File
+3 -1 usr.bin/doas/parse.y
+3 -1 1 file

OpenBSD — distrib/sets/lists/man mi

sync
Delta File
+1 -0 distrib/sets/lists/man/mi
+1 -0 1 file

OpenBSD — lib/libssl/src/ssl srtp.h

Remove duplicate prototype for SSL_get_selected_srtp_profile().

From Aaron Burghardt.
Delta File
+1 -2 lib/libssl/src/ssl/srtp.h
+1 -2 1 file

OpenBSD — sys/arch/octeon/dev octdwctwo.c

Increase transfer FIFOs for dwc2, to improve USB performance. The new
values are from dwc2 of NetBSD.

ok jmatthew@, jasper@
Delta File
+4 -4 sys/arch/octeon/dev/octdwctwo.c
+4 -4 1 file

OpenBSD — sys/netinet ip_output.c, sys/netinet6 in6_src.c

Convert ip{,6}_output() (cached) route entry checks to rtisvalid(9).

ok bluhm@
Delta File
+17 -11 sys/netinet/ip_output.c
+6 -8 sys/netinet6/in6_src.c
+23 -19 2 files

OpenBSD — share/man/man9 rtalloc.9

space between macro args and punctuation;
Delta File
+2 -2 share/man/man9/rtalloc.9
+2 -2 1 file

OpenBSD — lib/libssl/src/ssl t1_lib.c s3_srvr.c

Remove the ssl_prepare_{client,server}hello_tlsext() functions, which are
now nothing more than noops.

ok bcook@ doug@

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

Make it always safe to call CBB_cleanup() providing that CBB_init() or
CBB_init_fixed() have been attempted.

ok doug@
Delta File
+8 -2 lib/libssl/src/ssl/bs_cbb.c
+8 -2 1 file

OpenBSD — usr.bin/doas doas.c doas.conf.5

only need to restrict exec path if the rule specifies a command.
add a hint about path restrictions to man page.
ok deraadt espie
Delta File
+5 -3 usr.bin/doas/doas.c
+5 -2 usr.bin/doas/doas.conf.5
+10 -5 2 files

OpenBSD — bin/ksh var.c tree.c

remove casts and null checks before free. from Michael McConville
ok deraadt
Delta File
+10 -16 bin/ksh/var.c
+11 -11 bin/ksh/tree.c
+5 -5 bin/ksh/mail.c
+4 -4 bin/ksh/c_ksh.c
+4 -4 bin/ksh/history.c
+3 -4 bin/ksh/emacs.c
+13 -13 5 files not shown
+50 -57 11 files

OpenBSD — share/man/man9 rtalloc.9 Makefile, sys/net route.c route.h

Introduce rtisvalid(9) a function to check if a (cached) route entry
can be used or should be released by rtfree(9).

It currently checks if the route is UP and is not attached to a stall
ifa.

ok bluhm@, claudio@

OpenBSD — sys/arch/i386/include i8259.h

ditch a few prototypes for non-existant functions
Delta File
+1 -4 sys/arch/i386/include/i8259.h
+1 -4 1 file

OpenBSD — usr.bin/tmux tmux.h

Remove dead_clients which is no longer used.
Delta File
+1 -2 usr.bin/tmux/tmux.h
+1 -2 1 file

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

Work out config file when needed not at startup.
Delta File
+9 -21 usr.bin/tmux/tmux.c
+18 -2 usr.bin/tmux/cfg.c
+2 -2 usr.bin/tmux/tmux.h
+29 -25 3 files

OpenBSD — sys/net route.c

Do not try to find a possible ``ifa'' in rt_ifal_del(9) and trust the
checks done in rtrequest1(9).

This chunk has been introduced in 1991 when rtrequest1(RTM_DELETE...)
was not doing a route lookup and no longer make any sense.

ok bluhm@
Delta File
+1 -16 sys/net/route.c
+1 -16 1 file

OpenBSD — usr.bin/tmux cfg.c server.c

Move initial conf load into cfg.c.
Delta File
+38 -7 usr.bin/tmux/cfg.c
+4 -21 usr.bin/tmux/server.c
+2 -3 usr.bin/tmux/tmux.h
+44 -31 3 files

OpenBSD — sys/dev/usb usb.c

Reject USB requests that could damage the bus integrity, just like it
is done in ugen(4).

Found by Grant Czajkowski during the GSoC 2015.
Delta File
+11 -2 sys/dev/usb/usb.c
+11 -2 1 file

OpenBSD — sys/dev/pci if_em.c

Use the correct free(9) size for the RX ring.

ok dlg@, phessler@
Delta File
+2 -2 sys/dev/pci/if_em.c
+2 -2 1 file