Displaying 1 50 of 377,812 commits (0.022s)

OpenBSD — gnu/usr.bin/perl/cpan/Archive-Tar/lib/Archive Tar.pm

Avoid Archive::Tar directory traversal

Addresses CVE-2018-12015
From Silamael <silamael () coronamundi ! de>

Original bug reports:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=900834
https://rt.cpan.org/Public/Bug/Display.html?id=125523

Original commit with the fix:
https://github.com/jib/archive-tar-new/commit/ae65651eab053fc6dc4590dbb863a268215c1fc5

OK bluhm@, they should already be committed! deraadt@

OpenBSD — share/man/man4 eoip.4

eoip tunnels Ethernet, not IP
Delta File
+4 -4 share/man/man4/eoip.4
+4 -4 1 file

OpenBSD — sys/arch/i386/i386 vector.s apicvec.s

Remove the MAKE_FRAME macro to trace over ioapic interrupts in ddb.
It is no longer needed after the trap frame %ebp cleanup.
OK hshoexer@

OpenBSD — bin/ksh var.c

Use shl_out->fd instead of STDOUT_FILENO in the call the setupterm().
Suggested by anton@
Delta File
+2 -2 bin/ksh/var.c
+2 -2 1 file

OpenBSD — sys/dev/usb uplcom.c

Add an HP LD220 pole display

Diff from Paul de Weerd (weerd@), tested by Jan-Piet Mens, thanks!
Delta File
+2 -1 sys/dev/usb/uplcom.c
+2 -1 1 file

OpenBSD — sys/dev/usb usbdevs_data.h usbdevs.h

regen

OpenBSD — sys/dev/usb usbdevs

Add an HP LD220 pole display

Diff from Paul de Weerd (weerd@), tested by Jan-Piet Mens, thanks!
Delta File
+2 -1 sys/dev/usb/usbdevs
+2 -1 1 file

OpenBSD — usr.sbin/smtpd config.c parse.y

simplify parse_config() further so it no longer has any side effect outside
of parse.y, there's still work to be done but it's now able to run twice if
we want (we don't) without failing due to some global side-effect.

ok millert@

OpenBSD — usr.sbin/smtpd smtp.c smtp_session.c

split smtp_accept() in two parts: the accept part, the session init part,
while at it allow smtp_session() to receive a pre-allocated struct io

ok millert@
diff contributed by Antoine Kaufmann

OpenBSD — usr.sbin/pkg_add/OpenBSD PkgCreate.pm

kill Frag/NoFrag, they only make sense in update-plist, so they've been
moved there.

OpenBSD — bin/ed re.c

Remove the parse_char_class and let regcomp determine if our brackets
are balanced.

OK millert@ and tb@
Delta File
+3 -27 bin/ed/re.c
+3 -27 1 file

OpenBSD — bin/ksh emacs.c var.c

Add clear-screen emacs editing command, currently not bound to a
key by default.  The shell will query the terminfo database to
find the escape sequence to clear the screen.  OK deraadt@
Delta File
+31 -6 bin/ksh/emacs.c
+19 -2 bin/ksh/var.c
+11 -2 bin/ksh/ksh.1
+3 -3 bin/ksh/edit.c
+4 -1 bin/ksh/Makefile
+2 -2 bin/ksh/edit.h
+2 -1 bin/ksh/table.h
+72 -17 7 files

OpenBSD — sbin/slaacd slaacd.c

Pledge main process now that we have wroute.
Delta File
+3 -9 sbin/slaacd/slaacd.c
+3 -9 1 file

OpenBSD — usr.sbin/pkg_add/OpenBSD Dependencies.pm

document the reason these classes exist

OpenBSD — sys/arch/amd64/stand/efiboot efidev.c, sys/arch/amd64/stand/libsa diskprobe.c

"a = 1; b = 100; c = a * b; if (c == 0) c = 100;"

is pretty silly. Nuke the if's.

ok millert@

OpenBSD — sys/dev/sdmmc if_bwfm_sdio.c

Run the code to handle interrupts directly from the interrupt handler
instead of from a task.  The sdmmc(4) interrupt handler is already
executed in process context and returning from the interrupt handler
without acknowledging the interrupts may lead to an interrupt storm.

ok patrick@
Delta File
+2 -3 sys/dev/sdmmc/if_bwfm_sdio.c
+2 -3 1 file

OpenBSD — regress/usr.sbin/pkg_add injectadd

explicitly disable the only warning that this hack triggers

OpenBSD — regress/usr.sbin/pkg_add Makefile

link the non-regression test
Delta File
+2 -2 regress/usr.sbin/pkg_add/Makefile
+2 -2 1 file

OpenBSD — regress/usr.sbin/pkg_add Makefile injectadd, regress/usr.sbin/pkg_add/newcups/cups-2.2.8 +CONTENTS

reproducing some bugs is fun, I have to inject a specific dependencies order!

OpenBSD — sys/arch/octeon/include pci_machdep.h

Improve indentation and variable naming.
Delta File
+42 -32 sys/arch/octeon/include/pci_machdep.h
+42 -32 1 file

OpenBSD — sys/arch/octeon/include pci_machdep.h

Fix build with DEBUG_PCI_CONF.

From jj@

OpenBSD — share/man/man5 bsd.port.mk.5

space needed between macro args and punctuation;
Delta File
+2 -2 share/man/man5/bsd.port.mk.5
+2 -2 1 file

OpenBSD — sys/net if.c

Do not allow to change the rdomain of the default loopback interface.

Routing domain must always have an existing lo(4).

Problem reported and fix tested by multiplexd at gmx.com.
Delta File
+5 -3 sys/net/if.c
+5 -3 1 file

OpenBSD — sys/miscfs/fuse fuse_vnops.c

Allow write for non-regular files when file system is mounted read-only.
Don't ask file system to check file access; always behave as if
default_permissions option was specified. (this may change in a later
commit)

ok mpi@
Delta File
+16 -43 sys/miscfs/fuse/fuse_vnops.c
+16 -43 1 file

OpenBSD — sys/miscfs/fuse fuse_vnops.c

chmod(2) should return EFTYPE if the effective user ID is not the
super-user, the mode includes the sticky bit (S_ISVTX), and path
does not refer to a directory.

ok mpi@
Delta File
+19 -1 sys/miscfs/fuse/fuse_vnops.c
+19 -1 1 file

OpenBSD — sys/net pf_norm.c pf.c

Refactor the six ways to find TCP options into one new function. As a result:
  - MSS and WSCALE option candidates must now meet their min type length.
  - 'max-mss' is now more tolerant of malformed option lists.
These changes were immaterial to the live traffic I've examined.
OK sashan@ mpi@
Delta File
+102 -153 sys/net/pf_norm.c
+91 -106 sys/net/pf.c
+1 -37 sys/net/pf_syncookies.c
+3 -1 sys/net/pfvar.h
+197 -297 4 files

OpenBSD — usr.sbin/ikectl parser.c

fix memory leak: freeaddrinfo() the data from getaddrinfo().
From Thomas Barabosch <thomas DOT barabosch AT fkie DOT fraunhofer DOT de>
Thanks.
ok jca@
Delta File
+2 -2 usr.sbin/ikectl/parser.c
+2 -2 1 file

OpenBSD — share/man/man8 rc.conf.8 afterboot.8

point readers to multicast(4) directly, the documentation has moved.
ok jmc@

OpenBSD — sbin/route route.c

Replace hardcoded constants with defines

OK mpi henning blum
Delta File
+7 -7 sbin/route/route.c
+7 -7 1 file

OpenBSD — sys/kern kern_descrip.c uipc_syscalls.c, sys/sys file.h filedesc.h

Put file descriptors on shared data structures when they are completely
setup, take 3.

LARVAL fd still exist, but they are no longer marked with a flag and no
longer reachable via `fd_ofiles[]' or the global linked list.  This allows
us to simplifies a lot code grabbing new references to fds.

All of this is now possible because dup2(2) refuses to clone LARVAL fds.

Note that the `fdplock' could now be release in all open(2)-like syscalls,
just like it is done in accept(2).

With inputs from Mathieu Masson, visa@, guenther@ and art@

Previous version ok bluhm@, ok visa@, sthen@
Delta File
+50 -46 sys/kern/kern_descrip.c
+20 -11 sys/kern/uipc_syscalls.c
+13 -11 sys/kern/vfs_syscalls.c
+8 -7 sys/kern/tty_pty.c
+8 -6 sys/kern/kern_event.c
+8 -5 sys/kern/exec_script.c
+20 -29 6 files not shown
+127 -115 12 files

OpenBSD — share/man/man5 bsd.port.mk.5

Talk about the common USE_LIBTOOL vs BUILD_DEPENDS case (ports that only
need libtool.m4 from devel/libtool just need BUILD_DEPENDS, USE_LIBTOOL is
a special case for things that don't work with base libtool). ok aja espie
Delta File
+10 -2 share/man/man5/bsd.port.mk.5
+10 -2 1 file

OpenBSD — usr.sbin/smtpd smtpd.conf.5

upfront, explain action/match, since it is central to how the new config works;
help/ok gilles
Delta File
+27 -16 usr.sbin/smtpd/smtpd.conf.5
+27 -16 1 file

OpenBSD — share/man/man4 iic.4 options.4, share/man/man4/man4.hppa lasi.4 asp.4

consistently spell "real-time clock";
ok deraadt bentley schwarze

OpenBSD — usr.sbin/bgpd bgpd.conf.5, usr.sbin/dvmrpd dvmrpd.conf.5

remove the SECTIONS header, since a one line DESCRIPTION is a bit silly;
use a more general text for the sections, and avoid the catchup issue
that was trying to document how many there were;

ok benno rob

OpenBSD — share/man/man8 afterboot.8

the directive is "listen on";
Delta File
+2 -2 share/man/man8/afterboot.8
+2 -2 1 file

OpenBSD — share/man/man8 afterboot.8

remove the example output from ifconfig and route: it will keep getting out of
date and provided little aid anyway;

merge the network if and routing tables sections;

ok benno
Delta File
+5 -53 share/man/man8/afterboot.8
+5 -53 1 file

OpenBSD — sys/arch/amd64/conf ld.script

Align the end of the retguard area on a page boundary and provide symbols
for the physical start and end of that area too.
Simplify the virtual->physical calculation across the entire ld.script

ok mlarkin@
Delta File
+12 -9 sys/arch/amd64/conf/ld.script
+12 -9 1 file

OpenBSD — usr.bin/mandoc html.c

Revert previous: style=height is still used by roff_html.c, and it
doesn't actually harm responsive design, so keep it for now.
Bug reported in de.comp.os.unix.bsd via naddy@, thanks.
Delta File
+4 -1 usr.bin/mandoc/html.c
+4 -1 1 file

OpenBSD — usr.bin/ldap ldap.1

"filter" is optional; from matthew martin
Delta File
+3 -3 usr.bin/ldap/ldap.1
+3 -3 1 file

OpenBSD — share/man/man4 sbus.4

if there is an audioamd page, i can;t find it;
while here, kill some Tn;
Delta File
+5 -9 share/man/man4/sbus.4
+5 -9 1 file

OpenBSD — sys/dev/fdt imxccm.c imxanatop.c

Use regmap

OpenBSD — usr.sbin/acme-client parse.y

Fix an off-by-one line count when using include statements.

Thanks to otto@ for the initial diff.

OK benno@
Delta File
+78 -47 usr.sbin/acme-client/parse.y
+78 -47 1 file

OpenBSD — usr.sbin/snmpd agentx.c control.c

Bring snmpd agentx.c closer in line with relayd.

ok benno@, "sure" deraadt@

OpenBSD — usr.sbin/ndp ndp.c

fix memory leaks: freeaddrinfo() the data from getaddrinfo().
From Thomas Barabosch <thomas DOT barabosch AT fkie DOT fraunhofer DOT de>
Thanks.
ok florian@
Delta File
+4 -2 usr.sbin/ndp/ndp.c
+4 -2 1 file

OpenBSD — sys/dev/fdt if_fec.c

Resetting fec(4) also resets the MII control register.  Since we
continue to read the MII bus in the background we must make sure
that the register is correctly set.  Otherwise bringing down fec(4)
leads to a complete system hang.

ok kettenis@
Delta File
+3 -1 sys/dev/fdt/if_fec.c
+3 -1 1 file

OpenBSD — sys/dev/sdmmc sdmmc_io.c

Add curly braces to the if-condition to make sure the bus width
is only bumped if the high-speed mode is available.

ok kettenis@
Delta File
+3 -3 sys/dev/sdmmc/sdmmc_io.c
+3 -3 1 file

OpenBSD — usr.bin/whois whois.c

Add heuristic for IPv6 addresses.
From Mikolaj Kucharski <mikolaj at kucharski.name>, thanks!
OK job, kn
Delta File
+5 -2 usr.bin/whois/whois.c
+5 -2 1 file

OpenBSD — usr.bin/finger extern.h util.c

use size_t

OpenBSD — usr.bin/finger util.c

incorrect pointer used, hence gecos expansion was ignored
ok millert
Delta File
+2 -2 usr.bin/finger/util.c
+2 -2 1 file