Displaying 1 50 of 186,695 commits (0.019s)

OpenBSD — usr.bin/encrypt encrypt.c

Use freezero instead of explicit_bzero+free

OK tb@
Delta File
+2 -3 usr.bin/encrypt/encrypt.c
+2 -3 1 file

OpenBSD — usr.sbin/user user.c

Remove 2 unused parameters from copydotfiles function
While here sort headers and add missing prototypes

OK tb@
Delta File
+28 -5 usr.sbin/user/user.c
+28 -5 1 file

OpenBSD — usr.sbin/syspatch syspatch.sh

Don't fill up /tmp when installing or reverting multiple patches at once.
Delta File
+5 -2 usr.sbin/syspatch/syspatch.sh
+5 -2 1 file

OpenBSD — usr.sbin/syspatch syspatch.sh

Also trap INT when reverting a patch.
Delta File
+3 -1 usr.sbin/syspatch/syspatch.sh
+3 -1 1 file

OpenBSD — usr.sbin/ikectl ikeca.c

Set REQ_EXT in req section so ikectl ca certificate revoke will work again.
Delta File
+2 -1 usr.sbin/ikectl/ikeca.c
+2 -1 1 file

OpenBSD — sys/arch/loongson/loongson yeeloong_machdep.c

Rate limit messages about spurious ISA interrupts on yeeloong systems.
On suspend, the USB driver is put to polling mode and it no longer
claims interrupt requests. If the USB controller keeps raising new
requests faster than spurious interrupt messages can be printed,
interrupt processing hogs all CPU time and the suspend code gets
stuck. The rate limiting should prevent this from happening.

Suspend issue with USB Wi-Fi reported by fcambus@
Fix tested by and OK fcambus@

OpenBSD — . Makefile.cross

Adjust cross-toolchain environment to the changes in the clang build
fabric.  Since we now also build and use LLVM's lld we can copy lld to
the proper directory akin to what we do with clang.  Build compiler-rt
early as it is needed for building libc.

"go for it" mpi@
Delta File
+7 -2 Makefile.cross
+7 -2 1 file

OpenBSD — usr.sbin/syspatch syspatch.sh

Hide sh(1) error message when /etc/installurl does not exist; we already
error out with a message in this case since _MIRROR is empty.

reported by tedu@
Delta File
+2 -2 usr.sbin/syspatch/syspatch.sh
+2 -2 1 file

OpenBSD — usr.sbin/syspatch syspatch.sh

Only install /bsd.mp on SP machines if it's already there (a default
installation will not have it).
Delta File
+5 -4 usr.sbin/syspatch/syspatch.sh
+5 -4 1 file

OpenBSD — usr.sbin/syspatch syspatch.sh

Shorten varname.
Delta File
+13 -13 usr.sbin/syspatch/syspatch.sh
+13 -13 1 file

OpenBSD — sys/net pf.c

Move the common length check in pf_pull_hdr() after the address
family switch.  This makes the specific calculation more obvious.
OK claudio@
Delta File
+10 -14 sys/net/pf.c
+10 -14 1 file

OpenBSD — sys/netinet6 ip6_input.c

Bump the right counters.  One of these was caught by clang because of a
mismatched enum.

ok bluhm@
Delta File
+3 -3 sys/netinet6/ip6_input.c
+3 -3 1 file

OpenBSD — usr.sbin/smtpd smtpctl.8

"update table" is for tables of type file only; ok gilles
Delta File
+7 -5 usr.sbin/smtpd/smtpctl.8
+7 -5 1 file

OpenBSD — sys/netinet ip_input.c ipsec_input.c, sys/netinet6 ip6_input.c

Move IPsec forward and local policy check functions to ipsec_input.c
and give them better names.
input and OK mikeb@

OpenBSD — sys/netinet ip_input.c ip_var.h, sys/netinet6 ip6_input.c

Use the IPsec policy check from IPv4 also when doing local delivery
in ip6_local() to our IPv6 stack.
OK mikeb@

OpenBSD — share/man/man5 pf.conf.5

some tweaks to the QUEUEING section;
from mikeb and myself
Delta File
+23 -31 share/man/man5/pf.conf.5
+23 -31 1 file

OpenBSD — distrib/miniroot install.sub

The DISPLAY variable is actually not a global variable as it's used
only once in questions(). Use scan_dmesg() output directly to test
for wsdisplay* in dmesg.boot instead.

Change comment, now that it only refers to setting CONSOLE.

no objection tb@
Delta File
+3 -4 distrib/miniroot/install.sub
+3 -4 1 file

OpenBSD — regress/lib/libc/qsort qsort_test.c

Add timing and test name options.
Delta File
+83 -12 regress/lib/libc/qsort/qsort_test.c
+83 -12 1 file

OpenBSD — regress/lib/libc/qsort qsort_test.c antiqsort.c

Instead of embedding pre-generated tables from  McIlroy's "A Killer
Adversary for Quicksort", just include the code to generate them.
Also allow the number of elements to be specified on the command line.

OpenBSD — distrib/miniroot install.sub

No need to trim a trailling blank, bsort (in scan_dmesg) does not
emit one anymore.
Delta File
+1 -2 distrib/miniroot/install.sub
+1 -2 1 file

OpenBSD — bin/md5 md5.c

obvious use for freezero()
Delta File
+2 -3 bin/md5/md5.c
+2 -3 1 file

OpenBSD — usr.bin/systat pftop.c

Support for displaying flow queues alongside H-FSC

This (ab)uses the fact that node->qstats.data.period field in
hfsc_class_stats structure is at the same offset as the 'flows'
field in fqcodel_stats.

While here make use of a presently empty field "SCH" to display
the queue management policy (flow or fifo) which is not strictly
a scheduler, but it will hopefully become descriptive and useful
later. This distinguishes flow queues from the regular HFSC ones.

OK sthen, visa
Delta File
+21 -9 usr.bin/systat/pftop.c
+21 -9 1 file

OpenBSD — sys/netinet ip_icmp.c

Fix a mbuf leak when reflecting an ICMP packet with IP options.
Free the options in icmp_input_if() after a successful call to
icmp_reflect().
bug report and analysis by Hendrik Gerlach
OK krw@ claudio@ phessler@
Delta File
+4 -2 sys/netinet/ip_icmp.c
+4 -2 1 file

OpenBSD — sys/kern subr_witness.c

Drop kernel trace points. The trace facility does not exist on OpenBSD.
Delta File
+4 -31 sys/kern/subr_witness.c
+4 -31 1 file

OpenBSD — usr.sbin/smtpd parse.y smtp.c, usr.sbin/smtpd/smtpd Makefile

- filters are currently broken, do not allow using them until we're done

OpenBSD — usr.sbin/smtpd smtpf_session.c

stub for the smtp filter protocol, currently always returns -1
Delta File
+58 -0 usr.sbin/smtpd/smtpf_session.c
+58 -0 1 file

OpenBSD — sys/net if_ethersubr.c

white space fix. no functional change.
Delta File
+2 -2 sys/net/if_ethersubr.c
+2 -2 1 file

OpenBSD — sys/arch/arm64/arm64 pmap.c

Give the vp pool its own allocator.  Avoiding the logic that creates large
pool pages that fit at least 8 pool items reduces the kva pressure.
Unfortunately this doesn't completely eliminate the problems sthen@ is
seeing.

ok drahn@
Delta File
+35 -3 sys/arch/arm64/arm64/pmap.c
+35 -3 1 file

OpenBSD — sys/arch/armv7/exynos exclock.c

Add clocks for SD/MCC controller on Exynos 5420/5800.
Delta File
+138 -10 sys/arch/armv7/exynos/exclock.c
+138 -10 1 file

OpenBSD — sys/arch/armv7/exynos exesdhc.c files.exynos

Remove exesdhc(4).  This driver was never finished and has been replaced
by dwmmc(4).

OpenBSD — sys/arch/armv7/conf GENERIC RAMDISK, sys/dev/fdt dwmmc.c

Add support for the SD/MMC controller found on Samsuung Exynos5.

OpenBSD — share/man/man4 route.4, sys/net route.h

Fix copy/paste in comment.
Delta File
+3 -3 share/man/man4/route.4
+2 -2 sys/net/route.h
+5 -5 2 files

OpenBSD — sys/dev/fdt dwmmc.c

Actually wait on auto command done (ACD) as was the intention.
Delta File
+2 -2 sys/dev/fdt/dwmmc.c
+2 -2 1 file

OpenBSD — sys/arch/loongson/loongson pmon.c

Tweak style.
Delta File
+19 -10 sys/arch/loongson/loongson/pmon.c
+19 -10 1 file

OpenBSD — share/man/man8/man8.loongson MAKEDEV.8

regen

OpenBSD — etc/etc.loongson MAKEDEV

regen
Delta File
+15 -9 etc/etc.loongson/MAKEDEV
+15 -9 1 file

OpenBSD — etc/etc.loongson MAKEDEV.md, sys/arch/loongson/conf GENERIC

Enable radeondrm(4) on loongson to get accelerated graphics
with the RS780E chipset.

OK kettenis@, jsg@

OpenBSD — regress/lib/libc/qsort qsort_test.c

correct a return value test
ok millert@

OpenBSD — sys/dev/fdt if_dwge_fdt.c, sys/dev/ic dwc_gmac.c dwc_gmac_var.h

Rockchip SoCs needs some additional register twiddling when the link speed
changes to set the appropriate clock.  Add a sc_statchg callback in the
core softc that gets called when the link status changes.

OpenBSD — distrib/miniroot install.sub

Ensure a clean initial state (e.g. in case of an installer restart)
by moving setting ulimit, unmounting all filesystems and cleaning up
the dhcp state upwards to before sourcing install.md.

OK tb@

While here, 1>/dev/null -> >/dev/null.
Delta File
+17 -17 distrib/miniroot/install.sub
+17 -17 1 file

OpenBSD — sys/arch/arm64/conf GENERIC RAMDISK, sys/dev/fdt dwmmc.c files.fdt

Add dwmmc(4), a driver for the Synopsis Designware SD/MMC controller as found
on various Rockchip SoCs.

This is still WIP.  Next steps will be to get rid of various busy-wait loops
and add DMA support.

OpenBSD — sbin/iked dh.c, usr.sbin/ikectl ikeca.c

A few more freezero() uses
ok yasuoka mikeb

OpenBSD — sys/dev/fdt rkclock.c rkclock_clocks.h

More SD/MMC controller-related clocks.

OpenBSD — sys/net pf.c

- fixes regression found by pf_forward test

O.K. bluhm@
Delta File
+2 -1 sys/net/pf.c
+2 -1 1 file

OpenBSD — share/man/man4 uslcom.4

spelling;
Delta File
+2 -2 share/man/man4/uslcom.4
+2 -2 1 file

OpenBSD — lib/libc/stdlib qsort.3

Document that qsort falls back to heapsort() if the recursion depth
exceeds 2 lg N and add a reference to the introsort paper.
Delta File
+13 -3 lib/libc/stdlib/qsort.3
+13 -3 1 file

OpenBSD — lib/libc/hidden stdlib.h, lib/libc/stdlib qsort.c heapsort.c

Use David Musser's introsort algorithm to fall back to heapsort(3)
when the recursion depth reaches 2*lg(n + 1).  This avoids quicksort's
quadratic behavior for pathological input without appreciably
changing the average run time.

OpenBSD — share/man/man4 uslcom.4

Mention that not all varaints support baud rates up to 2 Mbps.
Delta File
+6 -2 share/man/man4/uslcom.4
+6 -2 1 file

OpenBSD — sys/dev/usb uslcom.c

Accept baud rates up to 2 Mbps as these are supported by CP2104 and later
variants.

ok jsg@, deraadt@
Delta File
+2 -2 sys/dev/usb/uslcom.c
+2 -2 1 file

OpenBSD — usr.bin/tsort tsort.c

reorg node struct so it's packed tighter (found by clang actually)
mark usage __dead
okay millert@
Delta File
+6 -6 usr.bin/tsort/tsort.c
+6 -6 1 file