Displaying 1 50 of 186,708 commits (0.021s)

OpenBSD — share/man/man8 rc.d.8

Four, not three variables can be overriden. But the number is not important
so just drop it.
reported by thelocals_job_applicant at protonmail
Delta File
+3 -3 share/man/man8/rc.d.8
+3 -3 1 file

OpenBSD — distrib/miniroot install.sub

Replace various echo "..."; exit 1 with a new err_exit() function.

diskussed with tb@ and halex@
OK krw@ on a similar diff
Delta File
+17 -18 distrib/miniroot/install.sub
+17 -18 1 file

OpenBSD — sys/arch/amd64/amd64 lapic.c, sys/arch/amd64/include cpufunc.h

Replace the only usage of x86_pause() with SPINLOCK_SPIN_HOOK.

OK dlg@

OpenBSD — sys/arch/amd64/include lock.h

Drop trailing semicolon from a macro.

OK dlg@
Delta File
+2 -2 sys/arch/amd64/include/lock.h
+2 -2 1 file

OpenBSD — sys/arch/sparc64/dev iommu.c psycho.c, sys/arch/sparc64/include ctlreg.h atomic.h

tweak sparc64 membars as a step toward making them usable in userland.

specifically, dont rely on magic in ctlreg to implement membars. moving
that to atomic.h would add a lot of pollution to the namespace, so
move to passing the membar options to a single __membar macro.

this tweaks everything that was using the ctlreg backend to either use
an appropriate membar_foo(), or to use __membar() in the MD code.

ok kettenis@

OpenBSD — usr.sbin/smtpd mta_session.c

Fix a possible fatal() when smtpd is configured to *force* relaying over
SMTPS, that the connection succeeds, but that something causes a failure
in the TLS code path afterwards. Session gets downgraded so it can use a
plaintext connector but since it's not allowed to do so, it fatal()-s.
This didn't impact STARTTLS, only SMTPS.

Issue experienced a few times by stsp@ triggered by a suspend.
ok eric@
Delta File
+3 -3 usr.sbin/smtpd/mta_session.c
+3 -3 1 file

OpenBSD — lib/libc/stdlib qsort.c

Support swapping 32-bit aligned elements on 64-bit platforms.
Previously they would be swapped a byte at a time when sizeof(int)
!= sizeof(long).  Idea from FreeBSD.
Delta File
+63 -22 lib/libc/stdlib/qsort.c
+63 -22 1 file

OpenBSD — sys/net fq_codel.c

Fail with EINVAL when asked to create a non-root queue instead of panicking

Prompted by a bug report from semarie@, thanks!
Delta File
+2 -1 sys/net/fq_codel.c
+2 -1 1 file

OpenBSD — sys/net bpf.c

When using "tcpdump proto 128" the filter never matched.  A sign
expansion bug in bpf prevented protocols above 127.  m_data is
signed, bpf_mbuf_ldb() returns unsigned.
bug report Matthias Pitzl; OK deraadt@ millert@
Delta File
+4 -2 sys/net/bpf.c
+4 -2 1 file

OpenBSD — usr.sbin/tcpdump print-pflog.c

Sync NO_PID value from kernel header to tcpdump source.  It is
#ifdef _KERNEL, so it does not work automatically.  This prevents
some bogus uid and pid print when dumping from pflog interface.
from Matthias Pitzl; OK deraadt@
Delta File
+2 -2 usr.sbin/tcpdump/print-pflog.c
+2 -2 1 file

OpenBSD — sys/arch/mips64/include cpu.h, sys/arch/mips64/mips64 context.S cpu.c

Add an idle cycle implementation for R4600/R5000/RM7000 CPUs and their
derivatives. This lets the kernel utilize the CPUs' Standby Mode to
reduce the power consumption of an idle system.

Suggested by and input from miod@.
He also tested this patch on an RM7000 O2.

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

document that "for local" is the default; while here,
paste in the "table <aliases>" text;

ok gilles
Delta File
+12 -5 usr.sbin/smtpd/smtpd.conf.5
+12 -5 1 file

OpenBSD — usr.sbin/syspatch syspatch.sh

Preserve the modification time when install(1)ing.
Delta File
+3 -3 usr.sbin/syspatch/syspatch.sh
+3 -3 1 file

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@