Dataset Viewer
Auto-converted to Parquet Duplicate
instruction
stringlengths
178
8.25k
input
stringclasses
1 value
output
stringlengths
10
3.9k
system
stringclasses
1 value
Write a commit message for the following diff: ```diff diff --git a/lib/libcrypto/x509/x509_vfy.c b/lib/libcrypto/x509/x509_vfy.c index f2f86b34474..b8e87e85975 100644 --- a/lib/libcrypto/x509/x509_vfy.c +++ b/lib/libcrypto/x509/x509_vfy.c @@ -1,4 +1,4 @@ -/* $OpenBSD: x509_vfy.c,v 1.151 2026/06/22 19:13:53 tb Exp $ *...
x509_vfy: make a NULL check explicit
You are an expert OpenBSD systems programmer. Given a git diff, write a concise, accurate commit message in the style of the OpenBSD project: terse, imperative, no fluff.
Write a commit message for the following diff: ```diff diff --git a/lib/libcrypto/x509/x509_vfy.c b/lib/libcrypto/x509/x509_vfy.c index db4253f861a..f2f86b34474 100644 --- a/lib/libcrypto/x509/x509_vfy.c +++ b/lib/libcrypto/x509/x509_vfy.c @@ -1,4 +1,4 @@ -/* $OpenBSD: x509_vfy.c,v 1.150 2026/06/22 09:27:32 tb Exp $ *...
x509_vfy: remove unnecessary NULL checks before free looks good to claudio
You are an expert OpenBSD systems programmer. Given a git diff, write a concise, accurate commit message in the style of the OpenBSD project: terse, imperative, no fluff.
Write a commit message for the following diff: ```diff diff --git a/gnu/llvm/llvm/include/llvm/BinaryFormat/ELF.h b/gnu/llvm/llvm/include/llvm/BinaryFormat/ELF.h index bfcf5dab477..dbf97ea7365 100644 --- a/gnu/llvm/llvm/include/llvm/BinaryFormat/ELF.h +++ b/gnu/llvm/llvm/include/llvm/BinaryFormat/ELF.h @@ -1961,6 +196...
Teach llvm-readobj to recognize OpenBSD PAC mask notes in (arm64) coredumps ok kettenis@, "looks correct" deraadt@
You are an expert OpenBSD systems programmer. Given a git diff, write a concise, accurate commit message in the style of the OpenBSD project: terse, imperative, no fluff.
Write a commit message for the following diff: ```diff diff --git a/sys/kern/vfs_subr.c b/sys/kern/vfs_subr.c index 2217a610d48..cfaf10efd47 100644 --- a/sys/kern/vfs_subr.c +++ b/sys/kern/vfs_subr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vfs_subr.c,v 1.333 2025/11/08 17:23:22 mpi Exp $ */ +/* $OpenBSD: vfs_subr.c,v 1.334 2026...
sys/vfs: discard buffers after vclean error vclean() ignored vinvalbuf(V_SAVE) failures and continued into VOP_RECLAIM(). If dirty buffer writeback failed, the vnode could be reclaimed and later reused while old buffers still referenced the same struct vnode identity. Report the failed flush, then force buffer invali...
You are an expert OpenBSD systems programmer. Given a git diff, write a concise, accurate commit message in the style of the OpenBSD project: terse, imperative, no fluff.
Write a commit message for the following diff: ```diff diff --git a/share/man/man5/bsd.port.arch.mk.5 b/share/man/man5/bsd.port.arch.mk.5 index 36dc06465fd..5f176f7e29a 100644 --- a/share/man/man5/bsd.port.arch.mk.5 +++ b/share/man/man5/bsd.port.arch.mk.5 @@ -1,4 +1,4 @@ -.\" $OpenBSD: bsd.port.arch.mk.5,v 1.15 2025/1...
bsd.port.arch.mk: CX11_ARCHS -> CXX11_ARCHS from espie
You are an expert OpenBSD systems programmer. Given a git diff, write a concise, accurate commit message in the style of the OpenBSD project: terse, imperative, no fluff.
Write a commit message for the following diff: ```diff diff --git a/share/man/man5/port-modules.5 b/share/man/man5/port-modules.5 index df4cbe6f74f..2c65c2ddbcf 100644 --- a/share/man/man5/port-modules.5 +++ b/share/man/man5/port-modules.5 @@ -1,4 +1,4 @@ -.\" $OpenBSD: port-modules.5,v 1.284 2026/06/22 10:36:51 tb Ex...
port-modules: fix markup for CPAN_AUTHOR from espie
You are an expert OpenBSD systems programmer. Given a git diff, write a concise, accurate commit message in the style of the OpenBSD project: terse, imperative, no fluff.
Write a commit message for the following diff: ```diff diff --git a/regress/usr.bin/Makefile b/regress/usr.bin/Makefile index 0f0f0944304..b3601694a58 100644 --- a/regress/usr.bin/Makefile +++ b/regress/usr.bin/Makefile @@ -1,6 +1,6 @@ -# $OpenBSD: Makefile,v 1.52 2025/05/04 05:21:14 tb Exp $ +# $OpenBSD: Makefile,v 1...
Hook up awk tests
You are an expert OpenBSD systems programmer. Given a git diff, write a concise, accurate commit message in the style of the OpenBSD project: terse, imperative, no fluff.
Write a commit message for the following diff: ```diff diff --git a/usr.sbin/dhcpd/options.c b/usr.sbin/dhcpd/options.c index 5d80d9f0e9f..c9cebffa68d 100644 --- a/usr.sbin/dhcpd/options.c +++ b/usr.sbin/dhcpd/options.c @@ -1,4 +1,4 @@ -/* $OpenBSD: options.c,v 1.36 2026/06/22 13:41:24 florian Exp $ */ +/* $OpenBSD: o...
create_priority_list: add bounds check for priority_len Overflow should not be possible since we deduplicate the options but an explicit check won't hurt. Also move the dedup check for options 121 and 245 right before they are stored to match the other checks. OK deraadt@ florian@
You are an expert OpenBSD systems programmer. Given a git diff, write a concise, accurate commit message in the style of the OpenBSD project: terse, imperative, no fluff.
Write a commit message for the following diff: ```diff diff --git a/usr.bin/sndiod/dev.c b/usr.bin/sndiod/dev.c index 417618ff544..db682a4d4a9 100644 --- a/usr.bin/sndiod/dev.c +++ b/usr.bin/sndiod/dev.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dev.c,v 1.139 2026/06/22 14:17:50 ratchov Exp $ */ +/* $OpenBSD: dev.c,v 1.140 2026/0...
sndiod: Add the server.thru control to midithru/N ports It defines if programs connected to the midithru/N port can see each other. It defaults to 1, which is the current behavior.
You are an expert OpenBSD systems programmer. Given a git diff, write a concise, accurate commit message in the style of the OpenBSD project: terse, imperative, no fluff.
Write a commit message for the following diff: ```diff diff --git a/usr.bin/sndiod/dev.c b/usr.bin/sndiod/dev.c index 71e8ab742d6..417618ff544 100644 --- a/usr.bin/sndiod/dev.c +++ b/usr.bin/sndiod/dev.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dev.c,v 1.138 2026/06/22 14:16:49 ratchov Exp $ */ +/* $OpenBSD: dev.c,v 1.139 2026/0...
sndiod: Swap port and midithru fields of the ctl structure No behavior change
You are an expert OpenBSD systems programmer. Given a git diff, write a concise, accurate commit message in the style of the OpenBSD project: terse, imperative, no fluff.
Write a commit message for the following diff: ```diff diff --git a/lib/libssl/man/SSL_alert_type_string.3 b/lib/libssl/man/SSL_alert_type_string.3 index 0f051cc0a62..9d3c03555ca 100644 --- a/lib/libssl/man/SSL_alert_type_string.3 +++ b/lib/libssl/man/SSL_alert_type_string.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: SSL_alert_ty...
SSL_alert_desc_string: update manpage after change to return "!!" always Also change some totally unreadable roff macros to slightly less unreadable mdoc markup.
You are an expert OpenBSD systems programmer. Given a git diff, write a concise, accurate commit message in the style of the OpenBSD project: terse, imperative, no fluff.
Write a commit message for the following diff: ```diff diff --git a/sbin/iked/ikev2_msg.c b/sbin/iked/ikev2_msg.c index 95f83cacbae..89dd1eb9359 100644 --- a/sbin/iked/ikev2_msg.c +++ b/sbin/iked/ikev2_msg.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ikev2_msg.c,v 1.104 2025/07/09 06:48:09 yasuoka Exp $ */ +/* $OpenBSD: ikev2_msg....
iked: Use timingsafe_memcmp(3) in ikev2_msg_decrypt() from markus@
You are an expert OpenBSD systems programmer. Given a git diff, write a concise, accurate commit message in the style of the OpenBSD project: terse, imperative, no fluff.
Write a commit message for the following diff: ```diff diff --git a/usr.bin/tmux/layout.c b/usr.bin/tmux/layout.c index c47e323cdfe..d566956d127 100644 --- a/usr.bin/tmux/layout.c +++ b/usr.bin/tmux/layout.c @@ -1,4 +1,4 @@ -/* $OpenBSD: layout.c,v 1.75 2026/06/22 08:47:45 nicm Exp $ */ +/* $OpenBSD: layout.c,v 1.76 2...
Fix scrollbar pad to work even if not set in style.
You are an expert OpenBSD systems programmer. Given a git diff, write a concise, accurate commit message in the style of the OpenBSD project: terse, imperative, no fluff.
Write a commit message for the following diff: ```diff diff --git a/usr.sbin/dhcpd/options.c b/usr.sbin/dhcpd/options.c index 80c501683f2..5d80d9f0e9f 100644 --- a/usr.sbin/dhcpd/options.c +++ b/usr.sbin/dhcpd/options.c @@ -1,4 +1,4 @@ -/* $OpenBSD: options.c,v 1.35 2017/02/13 22:33:39 krw Exp $ */ +/* $OpenBSD: optio...
Do not overflow the priority_list. Each option goes in only once, even if they always have priority.
You are an expert OpenBSD systems programmer. Given a git diff, write a concise, accurate commit message in the style of the OpenBSD project: terse, imperative, no fluff.
Write a commit message for the following diff: ```diff diff --git a/sbin/iked/crypto.c b/sbin/iked/crypto.c index 03915475eac..15a5e182cb3 100644 --- a/sbin/iked/crypto.c +++ b/sbin/iked/crypto.c @@ -1,4 +1,4 @@ -/* $OpenBSD: crypto.c,v 1.47 2024/11/21 13:26:49 claudio Exp $ */ +/* $OpenBSD: crypto.c,v 1.48 2026/06/22...
iked: Use timingsafe_memcmp(3) in dsa_verify_final() from markus@
You are an expert OpenBSD systems programmer. Given a git diff, write a concise, accurate commit message in the style of the OpenBSD project: terse, imperative, no fluff.
Write a commit message for the following diff: ```diff diff --git a/sys/dev/pci/if_mwx.c b/sys/dev/pci/if_mwx.c index 2df0234f060..aa9544a3599 100644 --- a/sys/dev/pci/if_mwx.c +++ b/sys/dev/pci/if_mwx.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_mwx.c,v 1.37 2026/06/22 10:35:25 claudio Exp $ */ +/* $OpenBSD: if_mwx.c,v 1.38 20...
The mwx_delete_key() callback from net80211 can't use a task. While adding a key must be done via task to be able to sleep, the delete key operation must operate in fire and forget mode because defering the work results in a use-after-free (or at least bzero). Because of this split the functions to update and remove a...
You are an expert OpenBSD systems programmer. Given a git diff, write a concise, accurate commit message in the style of the OpenBSD project: terse, imperative, no fluff.
Write a commit message for the following diff: ```diff diff --git a/sbin/iked/dh.c b/sbin/iked/dh.c index 0dd32ce1311..30ec77aa982 100644 --- a/sbin/iked/dh.c +++ b/sbin/iked/dh.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dh.c,v 1.35 2025/04/30 03:51:42 tb Exp $ */ +/* $OpenBSD: dh.c,v 1.36 2026/06/22 13:16:36 hshoexer Exp $ */ ...
iked: Reject all-zero curve25519 shared secrets from markus@
You are an expert OpenBSD systems programmer. Given a git diff, write a concise, accurate commit message in the style of the OpenBSD project: terse, imperative, no fluff.
Write a commit message for the following diff: ```diff diff --git a/lib/libc/sys/clock_gettime.2 b/lib/libc/sys/clock_gettime.2 index 0ba8a68581d..e2617c197e9 100644 --- a/lib/libc/sys/clock_gettime.2 +++ b/lib/libc/sys/clock_gettime.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: clock_gettime.2,v 1.32 2022/03/31 17:27:16 naddy Exp...
clock_gettime.2: use proper idiom for timegm(3) check ok deraadt
You are an expert OpenBSD systems programmer. Given a git diff, write a concise, accurate commit message in the style of the OpenBSD project: terse, imperative, no fluff.
Write a commit message for the following diff: ```diff diff --git a/sbin/iked/ikev2.c b/sbin/iked/ikev2.c index 8372c95b55a..f823760f194 100644 --- a/sbin/iked/ikev2.c +++ b/sbin/iked/ikev2.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ikev2.c,v 1.401 2026/06/22 11:42:25 hshoexer Exp $ */ +/* $OpenBSD: ikev2.c,v 1.402 2026/06/22 12...
iked: Limit sa_eapmsk length from markus@
You are an expert OpenBSD systems programmer. Given a git diff, write a concise, accurate commit message in the style of the OpenBSD project: terse, imperative, no fluff.
Write a commit message for the following diff: ```diff diff --git a/usr.bin/tmux/window-customize.c b/usr.bin/tmux/window-customize.c index 6b5c53822c2..deb59123c26 100644 --- a/usr.bin/tmux/window-customize.c +++ b/usr.bin/tmux/window-customize.c @@ -1,4 +1,4 @@ -/* $OpenBSD: window-customize.c,v 1.20 2026/06/19 17:3...
Memory leak from someone in GitHub issue 5259.
You are an expert OpenBSD systems programmer. Given a git diff, write a concise, accurate commit message in the style of the OpenBSD project: terse, imperative, no fluff.
Write a commit message for the following diff: ```diff diff --git a/regress/usr.bin/ssh/unittests/crypto/test_ed25519.c b/regress/usr.bin/ssh/unittests/crypto/test_ed25519.c index 1613bd6a3e2..f6dcb4ab177 100644 --- a/regress/usr.bin/ssh/unittests/crypto/test_ed25519.c +++ b/regress/usr.bin/ssh/unittests/crypto/test_e...
Check return values from malloc.
You are an expert OpenBSD systems programmer. Given a git diff, write a concise, accurate commit message in the style of the OpenBSD project: terse, imperative, no fluff.
Write a commit message for the following diff: ```diff diff --git a/sys/dev/pci/drm/drm_linux.c b/sys/dev/pci/drm/drm_linux.c index 29d3351807f..dab8c6e6a9c 100644 --- a/sys/dev/pci/drm/drm_linux.c +++ b/sys/dev/pci/drm/drm_linux.c @@ -1,4 +1,4 @@ -/* $OpenBSD: drm_linux.c,v 1.139 2026/06/21 23:30:02 jsg Exp $ */ +/* ...
add dma_length member to struct scatterlist inteldrm code assumes that sg_dma_len() does not return the length member of the struct as it increments both. Problem reported by Ryan Fahy in FreeBSD drm-kmod PR 468. Avoids a 'Data modified on freelist' panic on boot when using discrete Intel cards (DG2). DG2 has other...
You are an expert OpenBSD systems programmer. Given a git diff, write a concise, accurate commit message in the style of the OpenBSD project: terse, imperative, no fluff.
Write a commit message for the following diff: ```diff diff --git a/sys/arch/arm64/dev/mainbus.c b/sys/arch/arm64/dev/mainbus.c index b7ae3420d8e..525d0313943 100644 --- a/sys/arch/arm64/dev/mainbus.c +++ b/sys/arch/arm64/dev/mainbus.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mainbus.c,v 1.36 2026/06/22 07:54:19 deraadt Exp $ */...
The main bus_dma_tag is passed all over the device tree to provide operation function pointers. A bug in a driver could be exploited to overwrite these function pointers, causing a later operation to call wrong code. Many mitigations (KARL, bti/pac cfi, various mechanisms for placing new code) increase the difficulty...
You are an expert OpenBSD systems programmer. Given a git diff, write a concise, accurate commit message in the style of the OpenBSD project: terse, imperative, no fluff.
Write a commit message for the following diff: ```diff diff --git a/regress/usr.bin/ssh/unittests/test_helper/test_helper.c b/regress/usr.bin/ssh/unittests/test_helper/test_helper.c index fc7a8881d92..08db4f800a8 100644 --- a/regress/usr.bin/ssh/unittests/test_helper/test_helper.c +++ b/regress/usr.bin/ssh/unittests/t...
Check return value of sscanf.
You are an expert OpenBSD systems programmer. Given a git diff, write a concise, accurate commit message in the style of the OpenBSD project: terse, imperative, no fluff.
Write a commit message for the following diff: ```diff diff --git a/sbin/iked/ikev2.c b/sbin/iked/ikev2.c index b331618a885..8372c95b55a 100644 --- a/sbin/iked/ikev2.c +++ b/sbin/iked/ikev2.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ikev2.c,v 1.400 2026/06/22 11:19:12 hshoexer Exp $ */ +/* $OpenBSD: ikev2.c,v 1.401 2026/06/22 11...
iked: Clear csa_rekey on error Found by hshoexer@, fix from markus@
You are an expert OpenBSD systems programmer. Given a git diff, write a concise, accurate commit message in the style of the OpenBSD project: terse, imperative, no fluff.
Write a commit message for the following diff: ```diff diff --git a/sbin/iked/ikev2.c b/sbin/iked/ikev2.c index 32fa6aab9d2..b331618a885 100644 --- a/sbin/iked/ikev2.c +++ b/sbin/iked/ikev2.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ikev2.c,v 1.399 2026/06/22 10:16:17 hshoexer Exp $ */ +/* $OpenBSD: ikev2.c,v 1.400 2026/06/22 11...
iked: Fix leak of new SA on rekey error Found by hshoexer@, fix from markus@
You are an expert OpenBSD systems programmer. Given a git diff, write a concise, accurate commit message in the style of the OpenBSD project: terse, imperative, no fluff.
Write a commit message for the following diff: ```diff diff --git a/sys/netinet/ip_input.c b/sys/netinet/ip_input.c index 1ccdb72f0e3..c7283c5aa2c 100644 --- a/sys/netinet/ip_input.c +++ b/sys/netinet/ip_input.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ip_input.c,v 1.429 2026/06/21 21:17:07 mvs Exp $ */ +/* $OpenBSD: ip_input.c,...
don't forward packets with a source ip of 0.0.0.0. my initial motivation here is that ip_output special cases 0.0.0.0 and replaces it with an ip from the local system under the assumption that an unset ip originates from the local system. in addition to this, my reading of rfc1122 makes me think it's illegal from a s...
You are an expert OpenBSD systems programmer. Given a git diff, write a concise, accurate commit message in the style of the OpenBSD project: terse, imperative, no fluff.
Write a commit message for the following diff: ```diff diff --git a/share/man/man5/port-modules.5 b/share/man/man5/port-modules.5 index 18d2bb8131c..df4cbe6f74f 100644 --- a/share/man/man5/port-modules.5 +++ b/share/man/man5/port-modules.5 @@ -1,4 +1,4 @@ -.\" $OpenBSD: port-modules.5,v 1.283 2026/03/16 15:41:19 stu E...
port-modules: properly annotate make variables to make man -k work from espie
You are an expert OpenBSD systems programmer. Given a git diff, write a concise, accurate commit message in the style of the OpenBSD project: terse, imperative, no fluff.
Write a commit message for the following diff: ```diff diff --git a/usr.bin/tmux/menu.c b/usr.bin/tmux/menu.c index 9bf84cb115d..f813dbfd6b6 100644 --- a/usr.bin/tmux/menu.c +++ b/usr.bin/tmux/menu.c @@ -1,4 +1,4 @@ -/* $OpenBSD: menu.c,v 1.66 2026/06/22 08:47:45 nicm Exp $ */ +/* $OpenBSD: menu.c,v 1.67 2026/06/22 10...
Set check callback for menus so they aren't overwritten by sync.
You are an expert OpenBSD systems programmer. Given a git diff, write a concise, accurate commit message in the style of the OpenBSD project: terse, imperative, no fluff.
Write a commit message for the following diff: ```diff diff --git a/sbin/iked/ikev2.c b/sbin/iked/ikev2.c index d9e92a02cbd..32fa6aab9d2 100644 --- a/sbin/iked/ikev2.c +++ b/sbin/iked/ikev2.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ikev2.c,v 1.398 2026/05/05 09:23:06 deraadt Exp $ */ +/* $OpenBSD: ikev2.c,v 1.399 2026/06/22 10:...
iked: enforce unique IKE spi in rekeying Reported by xiao__xiang@163.com, thanks! Fix from markus@.
You are an expert OpenBSD systems programmer. Given a git diff, write a concise, accurate commit message in the style of the OpenBSD project: terse, imperative, no fluff.
Write a commit message for the following diff: ```diff diff --git a/lib/libcrypto/x509/x509_vfy.c b/lib/libcrypto/x509/x509_vfy.c index 776478508ea..db4253f861a 100644 --- a/lib/libcrypto/x509/x509_vfy.c +++ b/lib/libcrypto/x509/x509_vfy.c @@ -1,4 +1,4 @@ -/* $OpenBSD: x509_vfy.c,v 1.149 2026/04/07 12:48:37 tb Exp $ *...
x509_vfy: another function pointer argument causing shadowing issues
You are an expert OpenBSD systems programmer. Given a git diff, write a concise, accurate commit message in the style of the OpenBSD project: terse, imperative, no fluff.
Write a commit message for the following diff: ```diff diff --git a/lib/libcrypto/bio/bio_meth.c b/lib/libcrypto/bio/bio_meth.c index 37f866a0c45..8c3435d9e13 100644 --- a/lib/libcrypto/bio/bio_meth.c +++ b/lib/libcrypto/bio/bio_meth.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bio_meth.c,v 1.9 2023/07/05 21:23:37 beck Exp $ */ +/...
bio_meth: rename function pointer arguments to avoid stdio.h shadowing
You are an expert OpenBSD systems programmer. Given a git diff, write a concise, accurate commit message in the style of the OpenBSD project: terse, imperative, no fluff.
Write a commit message for the following diff: ```diff diff --git a/sys/dev/pci/drm/i915/i915_gem_gtt.c b/sys/dev/pci/drm/i915/i915_gem_gtt.c index b0e9206fca2..25295eb626d 100644 --- a/sys/dev/pci/drm/i915/i915_gem_gtt.c +++ b/sys/dev/pci/drm/i915/i915_gem_gtt.c @@ -27,7 +27,6 @@ int i915_gem_gtt_prepare_pages(struc...
remove local ifdefs now we have dma_map_sg_attrs() and dma_unmap_sg()
You are an expert OpenBSD systems programmer. Given a git diff, write a concise, accurate commit message in the style of the OpenBSD project: terse, imperative, no fluff.
Write a commit message for the following diff: ```diff diff --git a/sys/dev/pci/drm/include/linux/dma-mapping.h b/sys/dev/pci/drm/include/linux/dma-mapping.h index bbc4840fe34..4deddd5d6eb 100644 --- a/sys/dev/pci/drm/include/linux/dma-mapping.h +++ b/sys/dev/pci/drm/include/linux/dma-mapping.h @@ -13,7 +13,9 @@ struc...
add dma_map_sg_attrs() and dma_unmap_sg() to remove local ifdefs in i915_gem_gtt.c
You are an expert OpenBSD systems programmer. Given a git diff, write a concise, accurate commit message in the style of the OpenBSD project: terse, imperative, no fluff.
Write a commit message for the following diff: ```diff diff --git a/lib/libcrypto/conf/conf_api.c b/lib/libcrypto/conf/conf_api.c index 0d5a67d9a57..f04243d36cb 100644 --- a/lib/libcrypto/conf/conf_api.c +++ b/lib/libcrypto/conf/conf_api.c @@ -1,4 +1,4 @@ -/* $OpenBSD: conf_api.c,v 1.29 2025/12/21 07:31:22 tb Exp $ */...
conf_api: remove a bunch of redundant parentheses
You are an expert OpenBSD systems programmer. Given a git diff, write a concise, accurate commit message in the style of the OpenBSD project: terse, imperative, no fluff.
Write a commit message for the following diff: ```diff diff --git a/lib/libc/asr/getaddrinfo_async.c b/lib/libc/asr/getaddrinfo_async.c index b24c1e39fef..803a9eee0e7 100644 --- a/lib/libc/asr/getaddrinfo_async.c +++ b/lib/libc/asr/getaddrinfo_async.c @@ -1,4 +1,4 @@ -/* $OpenBSD: getaddrinfo_async.c,v 1.65 2026/03/10...
Reject empty CNAMEs in gethostbyname(3) / getaddrinfo(3). An empty string is arguably not a correct hostname (even though res_hnok accepts it). More worrisome though is software not expecting this and making mistakes. In practice this cannot happen unless the resolver lies to us. OK deraadt, jca
You are an expert OpenBSD systems programmer. Given a git diff, write a concise, accurate commit message in the style of the OpenBSD project: terse, imperative, no fluff.
Write a commit message for the following diff: ```diff diff --git a/usr.bin/tmux/layout.c b/usr.bin/tmux/layout.c index 9ffbbeeb29f..5184129e74a 100644 --- a/usr.bin/tmux/layout.c +++ b/usr.bin/tmux/layout.c @@ -1,4 +1,4 @@ -/* $OpenBSD: layout.c,v 1.73 2026/06/18 09:11:24 nicm Exp $ */ +/* $OpenBSD: layout.c,v 1.74 2...
Place floating cells meaningfully into the layouts, from Dane Jensen.
You are an expert OpenBSD systems programmer. Given a git diff, write a concise, accurate commit message in the style of the OpenBSD project: terse, imperative, no fluff.
Write a commit message for the following diff: ```diff diff --git a/usr.sbin/rpki-client/cert.c b/usr.sbin/rpki-client/cert.c index a3a65de54e9..3baba0cc812 100644 --- a/usr.sbin/rpki-client/cert.c +++ b/usr.sbin/rpki-client/cert.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cert.c,v 1.239 2026/06/15 17:30:04 tb Exp $ */ +/* $OpenB...
Rework non-functional CA statistics accounting This also fixes a subtle defect: non-functional CAs were counted towards the repository those broken CAs were pointing towards, instead of being counted towards the repository that contained the broken CA. Attributing the non-functional CA to the issuing parent makes mor...
You are an expert OpenBSD systems programmer. Given a git diff, write a concise, accurate commit message in the style of the OpenBSD project: terse, imperative, no fluff.
Write a commit message for the following diff: ```diff diff --git a/sys/arch/arm64/arm64/bus_dma.c b/sys/arch/arm64/arm64/bus_dma.c index f064b336197..65da2af5afe 100644 --- a/sys/arch/arm64/arm64/bus_dma.c +++ b/sys/arch/arm64/arm64/bus_dma.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bus_dma.c,v 1.15 2026/05/19 13:05:47 kettenis...
The busdma API requires use of typedefs and pointers, and generally hides the structures and their fields. Obviously a few piece of MD code need to setup these structures, and therefore the structure names became MD with prefixes like arm64_ or sparc_ or machine_. amd64 did not follow this pattern of using a prefix. ...
You are an expert OpenBSD systems programmer. Given a git diff, write a concise, accurate commit message in the style of the OpenBSD project: terse, imperative, no fluff.
Write a commit message for the following diff: ```diff diff --git a/lib/libc/gen/login_cap.c b/lib/libc/gen/login_cap.c index 98cf0c250c8..60b1db7e4ae 100644 --- a/lib/libc/gen/login_cap.c +++ b/lib/libc/gen/login_cap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: login_cap.c,v 1.49 2026/03/10 04:02:53 deraadt Exp $ */ +/* $OpenBSD:...
O_CLOFORK was added here by accident. I am becoming convinced quickly that the invention of O_CLOEXEC and later acceptance into standard by austin group, is a serious mistake and we should rip the support out of the kernel. ok jca
You are an expert OpenBSD systems programmer. Given a git diff, write a concise, accurate commit message in the style of the OpenBSD project: terse, imperative, no fluff.
Write a commit message for the following diff: ```diff diff --git a/sys/net/if_vxlan.c b/sys/net/if_vxlan.c index c3dc0ac6b9f..cbb3b3af9c4 100644 --- a/sys/net/if_vxlan.c +++ b/sys/net/if_vxlan.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_vxlan.c,v 1.106 2025/11/21 04:44:26 dlg Exp $ */ +/* $OpenBSD: if_vxlan.c,v 1.107 2026/06/...
Andrew Griffiths points out that the vxlan multicast nodes were being handled wrong. ok dlg
You are an expert OpenBSD systems programmer. Given a git diff, write a concise, accurate commit message in the style of the OpenBSD project: terse, imperative, no fluff.
Write a commit message for the following diff: ```diff diff --git a/sys/dev/usb/umsm.c b/sys/dev/usb/umsm.c index 09182680e75..9b02ed69c36 100644 --- a/sys/dev/usb/umsm.c +++ b/sys/dev/usb/umsm.c @@ -1,4 +1,4 @@ -/* $OpenBSD: umsm.c,v 1.130 2026/06/18 01:20:17 dlg Exp $ */ +/* $OpenBSD: umsm.c,v 1.131 2026/06/22 05:36...
don't deactivate the whole usb device if attach can't find endpoints. r1.128 let umsm be greedy and attach to more interfaces on the same usb device, rather than just the first 4 interfaces. Qeuctel EM060K-GL modems have interfaces at 8 and 12, the first of which is umb but the 12th used to attach as ugen. umsm now tr...
You are an expert OpenBSD systems programmer. Given a git diff, write a concise, accurate commit message in the style of the OpenBSD project: terse, imperative, no fluff.
Write a commit message for the following diff: ```diff diff --git a/lib/libfuse/fuse_lowlevel_new.3 b/lib/libfuse/fuse_lowlevel_new.3 index 2e52030eb23..5c5cbd7d385 100644 --- a/lib/libfuse/fuse_lowlevel_new.3 +++ b/lib/libfuse/fuse_lowlevel_new.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: fuse_lowlevel_new.3,v 1.4 2026/02/06 15:...
ffi should be NULL to signal that we don't have a valid file handle when setting file attributes. OK claudio@
You are an expert OpenBSD systems programmer. Given a git diff, write a concise, accurate commit message in the style of the OpenBSD project: terse, imperative, no fluff.
Write a commit message for the following diff: ```diff diff --git a/sys/dev/pci/drm/amd/display/dc/basics/vector.c b/sys/dev/pci/drm/amd/display/dc/basics/vector.c index 97f3fedb61b..eaf644be46f 100644 --- a/sys/dev/pci/drm/amd/display/dc/basics/vector.c +++ b/sys/dev/pci/drm/amd/display/dc/basics/vector.c @@ -289,8 +...
drm/amd/display: Use krealloc_array() in dal_vector_reserve() From Harry Wentland e09689286385a66311ac6922af95339d7a3cef8d in linux-6.18.y/6.18.36 da48bc4461b8a5ebfb9264c9b191a701d8e99009 in mainline linux
You are an expert OpenBSD systems programmer. Given a git diff, write a concise, accurate commit message in the style of the OpenBSD project: terse, imperative, no fluff.
Write a commit message for the following diff: ```diff diff --git a/sys/dev/pci/drm/amd/display/dc/dc_dp_types.h b/sys/dev/pci/drm/amd/display/dc/dc_dp_types.h index db669ccb1d5..22fb29c8729 100644 --- a/sys/dev/pci/drm/amd/display/dc/dc_dp_types.h +++ b/sys/dev/pci/drm/amd/display/dc/dc_dp_types.h @@ -1188,7 +1188,7 ...
drm/amd/display: Fix out-of-bounds read in dp_get_eq_aux_rd_interval() From Harry Wentland 454d3b3d499c18373f8960d31aea48338a3ca9e0 in linux-6.18.y/6.18.36 e8b4d37eba05141ee01794fc6b7f2da808cee83b in mainline linux
You are an expert OpenBSD systems programmer. Given a git diff, write a concise, accurate commit message in the style of the OpenBSD project: terse, imperative, no fluff.
Write a commit message for the following diff: ```diff diff --git a/sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c b/sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c index 69adbe6d3e2..4ebd9215a59 100644 --- a/sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c +++ b/sys/dev/pci/drm/amd/displ...
drm/amd/display: Fix NULL deref and buffer over-read in SDP debugfs From Harry Wentland bb6f705b73b5f191f14ad004e2c8c4b615806187 in linux-6.18.y/6.18.36 adf67034b1f61f7119295208085bfd43f85f56af in mainline linux
You are an expert OpenBSD systems programmer. Given a git diff, write a concise, accurate commit message in the style of the OpenBSD project: terse, imperative, no fluff.
Write a commit message for the following diff: ```diff diff --git a/sys/dev/pci/drm/amd/display/dc/dce/dce_transform.c b/sys/dev/pci/drm/amd/display/dc/dce/dce_transform.c index 1ab5ae9b5ea..23b35393bf4 100644 --- a/sys/dev/pci/drm/amd/display/dc/dce/dce_transform.c +++ b/sys/dev/pci/drm/amd/display/dc/dce/dce_transfo...
drm/amd/display: add missing CSC entries for BT.2020 for DCE IPs From Leorize c000da79df787097abdfb1cb4bf94af8151a566a in linux-6.18.y/6.18.36 6590fe323ce2807f5d9454e7fccf3fab875d4352 in mainline linux
You are an expert OpenBSD systems programmer. Given a git diff, write a concise, accurate commit message in the style of the OpenBSD project: terse, imperative, no fluff.
Write a commit message for the following diff: ```diff diff --git a/sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_ddc.c b/sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_ddc.c index 2e640857919..4d262cb987e 100644 --- a/sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_ddc.c +++ b/sys/dev/pci/drm/amd/display/modules/hdcp/hd...
drm/amd/display: Clamp HDMI HDCP2 rx_id_list read to buffer size From Harry Wentland 1906064d50d194a145486e5caf3db3e708b6f6ef in linux-6.18.y/6.18.36 f0f3981c43b32cadfe373d636d9e9ca522bb3702 in mainline linux
You are an expert OpenBSD systems programmer. Given a git diff, write a concise, accurate commit message in the style of the OpenBSD project: terse, imperative, no fluff.
Write a commit message for the following diff: ```diff diff --git a/sys/dev/pci/drm/amd/pm/swsmu/smu14/smu_v14_0_0_ppt.c b/sys/dev/pci/drm/amd/pm/swsmu/smu14/smu_v14_0_0_ppt.c index fe00c84b1cc..44cce9b636c 100644 --- a/sys/dev/pci/drm/amd/pm/swsmu/smu14/smu_v14_0_0_ppt.c +++ b/sys/dev/pci/drm/amd/pm/swsmu/smu14/smu_v...
drm/amd/pm: smu_v14_0_0: use SoftMin for gfxclk in set_soft_freq_limited_range From Priya Hosur 57607fe55e6d598bc58c15d1143ba7a266b17103 in linux-6.18.y/6.18.36 03b70e0d8aa26bab89a0f1394c1c80a871925e42 in mainline linux
You are an expert OpenBSD systems programmer. Given a git diff, write a concise, accurate commit message in the style of the OpenBSD project: terse, imperative, no fluff.
Write a commit message for the following diff: ```diff diff --git a/sys/dev/pci/drm/amd/pm/swsmu/smu14/smu_v14_0_2_ppt.c b/sys/dev/pci/drm/amd/pm/swsmu/smu14/smu_v14_0_2_ppt.c index f4903a099a7..55f588475e9 100644 --- a/sys/dev/pci/drm/amd/pm/swsmu/smu14/smu_v14_0_2_ppt.c +++ b/sys/dev/pci/drm/amd/pm/swsmu/smu14/smu_v...
drm/amd/pm: mark metrics.energy_accumulator is invalid for smu 14.0.2 From Yang Wang 932642791cb1513118847370f4cbe09d69400eed in linux-6.18.y/6.18.36 ee193c5bbd5e2b56bbeb54ef554414b43a6fc896 in mainline linux
You are an expert OpenBSD systems programmer. Given a git diff, write a concise, accurate commit message in the style of the OpenBSD project: terse, imperative, no fluff.
Write a commit message for the following diff: ```diff diff --git a/sys/dev/pci/drm/amd/pm/swsmu/smu13/smu_v13_0_0_ppt.c b/sys/dev/pci/drm/amd/pm/swsmu/smu13/smu_v13_0_0_ppt.c index a5bb56a8470..bf97a279668 100644 --- a/sys/dev/pci/drm/amd/pm/swsmu/smu13/smu_v13_0_0_ppt.c +++ b/sys/dev/pci/drm/amd/pm/swsmu/smu13/smu_v...
drm/amd/pm: fix smu13 power limit default/cap calculation From Yang Wang 8979ded4d8997cdaba94a6c58be2ad069c720ee8 in linux-6.18.y/6.18.36 bb204f19e4a115f094a6a3c4d82fcf48862d0766 in mainline linux
You are an expert OpenBSD systems programmer. Given a git diff, write a concise, accurate commit message in the style of the OpenBSD project: terse, imperative, no fluff.
Write a commit message for the following diff: ```diff diff --git a/sys/dev/pci/drm/amd/amdgpu/amdgpu_gmc.c b/sys/dev/pci/drm/amd/amdgpu/amdgpu_gmc.c index 7edbadd02e5..8c04bfa6903 100644 --- a/sys/dev/pci/drm/amd/amdgpu/amdgpu_gmc.c +++ b/sys/dev/pci/drm/amd/amdgpu/amdgpu_gmc.c @@ -953,7 +953,7 @@ void amdgpu_gmc_nor...
drm/amdgpu: set noretry=1 as default for GFX 10.1.x (Navi10/12/14) From Vitaly Prosyak 39b5397bf8de2c5f110a0599707a7b1e0dbc6bf3 in linux-6.18.y/6.18.36 e47b0056a08dc70430ffc44bbf62197e7d1ff8ea in mainline linux
You are an expert OpenBSD systems programmer. Given a git diff, write a concise, accurate commit message in the style of the OpenBSD project: terse, imperative, no fluff.
Write a commit message for the following diff: ```diff diff --git a/sys/dev/pci/drm/amd/amdgpu/amdgpu_cs.c b/sys/dev/pci/drm/amd/amdgpu/amdgpu_cs.c index 7976f609502..085362f15ed 100644 --- a/sys/dev/pci/drm/amd/amdgpu/amdgpu_cs.c +++ b/sys/dev/pci/drm/amd/amdgpu/amdgpu_cs.c @@ -1284,6 +1284,7 @@ static int amdgpu_cs_...
drm/amdgpu: restart the CS if some parts of the VM are still invalidated From Christian Koenig fcd51a085e9a0d01315606e9d2dad1732563faf2 in linux-6.18.y/6.18.36 40396ffdf6120e2380706c59e1a84d7e765a37b6 in mainline linux
You are an expert OpenBSD systems programmer. Given a git diff, write a concise, accurate commit message in the style of the OpenBSD project: terse, imperative, no fluff.
Write a commit message for the following diff: ```diff diff --git a/sys/dev/pci/drm/amd/amdgpu/amdgpu_hmm.c b/sys/dev/pci/drm/amd/amdgpu/amdgpu_hmm.c index 621c57cf24b..ccda3b58a45 100644 --- a/sys/dev/pci/drm/amd/amdgpu/amdgpu_hmm.c +++ b/sys/dev/pci/drm/amd/amdgpu/amdgpu_hmm.c @@ -69,6 +69,7 @@ static bool amdgpu_hm...
drm/amdgpu: fix waiting for all submissions for userptrs From Christian Koenig 68455b117258243e73b9697d15a570158ad93e1c in linux-6.18.y/6.18.36 58bafc666c484b21839a2d27e923ae1b2727a1df in mainline linux
You are an expert OpenBSD systems programmer. Given a git diff, write a concise, accurate commit message in the style of the OpenBSD project: terse, imperative, no fluff.
Write a commit message for the following diff: ```diff diff --git a/sys/dev/pci/drm/amd/amdkfd/kfd_mqd_manager_v11.c b/sys/dev/pci/drm/amd/amdkfd/kfd_mqd_manager_v11.c index 3c0ae28c592..bb439f385fc 100644 --- a/sys/dev/pci/drm/amd/amdkfd/kfd_mqd_manager_v11.c +++ b/sys/dev/pci/drm/amd/amdkfd/kfd_mqd_manager_v11.c @@ ...
drm/amdkfd: Fix buffer overflow in SDMA queue checkpoint/restore on GFX11 From Andrew Martin d3efcadfe3eea5b4263b8f2d4463b15c9fc46a64 in linux-6.18.y/6.18.36 352ea59028ea48a6fff77f19ae28f98f71946a80 in mainline linux
You are an expert OpenBSD systems programmer. Given a git diff, write a concise, accurate commit message in the style of the OpenBSD project: terse, imperative, no fluff.
Write a commit message for the following diff: ```diff diff --git a/sys/dev/pci/drm/amd/amdkfd/kfd_device_queue_manager.c b/sys/dev/pci/drm/amd/amdkfd/kfd_device_queue_manager.c index b0466a04ec4..fa183a9db09 100644 --- a/sys/dev/pci/drm/amd/amdkfd/kfd_device_queue_manager.c +++ b/sys/dev/pci/drm/amd/amdkfd/kfd_device...
drm/amdkfd: fix NULL dereference in get_queue_ids() From Muhammad Bilal 72e259a32084c42816152c346096d2edd4213e23 in linux-6.18.y/6.18.36 2bd550b547deabef98bd3b017ff743b7c34d3a6d in mainline linux
You are an expert OpenBSD systems programmer. Given a git diff, write a concise, accurate commit message in the style of the OpenBSD project: terse, imperative, no fluff.
Write a commit message for the following diff: ```diff diff --git a/sys/dev/pci/drm/drm_gem.c b/sys/dev/pci/drm/drm_gem.c index 49d832d5294..949a5bee597 100644 --- a/sys/dev/pci/drm/drm_gem.c +++ b/sys/dev/pci/drm/drm_gem.c @@ -1157,12 +1157,25 @@ err: return ret; } +/* + * This ioctl is disabled for security rea...
drm/gem: Try to fix change_handle ioctl, attempt 4 From Simona Vetter c0639ede2f24ac224b2079cd35ecd5fd8ad4e3cd in linux-6.18.y/6.18.36 1a4f03d22fb655e5f192244fb2c87d8066fcfca2 in mainline linux
You are an expert OpenBSD systems programmer. Given a git diff, write a concise, accurate commit message in the style of the OpenBSD project: terse, imperative, no fluff.
Write a commit message for the following diff: ```diff diff --git a/sys/dev/pci/drm/amd/display/dc/bios/bios_parser2.c b/sys/dev/pci/drm/amd/display/dc/bios/bios_parser2.c index e004458f0e4..557d4f27865 100644 --- a/sys/dev/pci/drm/amd/display/dc/bios/bios_parser2.c +++ b/sys/dev/pci/drm/amd/display/dc/bios/bios_parse...
drm/amd/display: Reject gpio_bitshift >= 32 in bios_parser_get_gpio_pin_info() From Harry Wentland edabfe80e34efc468abb3ae5586d71830a1ae585 in linux-6.18.y/6.18.36 49c3da65961fe9857c831d47fa1989084e87514a in mainline linux
You are an expert OpenBSD systems programmer. Given a git diff, write a concise, accurate commit message in the style of the OpenBSD project: terse, imperative, no fluff.
Write a commit message for the following diff: ```diff diff --git a/sys/dev/pci/drm/i915/gem/i915_gem_phys.c b/sys/dev/pci/drm/i915/gem/i915_gem_phys.c index 711d28fb39b..b918779ba1a 100644 --- a/sys/dev/pci/drm/i915/gem/i915_gem_phys.c +++ b/sys/dev/pci/drm/i915/gem/i915_gem_phys.c @@ -18,6 +18,17 @@ #include "i915_...
drm/i915/gem: Fix phys BO pread/pwrite with offset From Joonas Lahtinen 32d4c5d328a3ff995420f4f85163e1e403f43628 in linux-6.18.y/6.18.36 d21ad938398bca695a511307de38a65889e3b354 in mainline linux
You are an expert OpenBSD systems programmer. Given a git diff, write a concise, accurate commit message in the style of the OpenBSD project: terse, imperative, no fluff.
Write a commit message for the following diff: ```diff diff --git a/sys/dev/pci/drm/i915/display/intel_dp.c b/sys/dev/pci/drm/i915/display/intel_dp.c index bc784a43547..9146e1197e5 100644 --- a/sys/dev/pci/drm/i915/display/intel_dp.c +++ b/sys/dev/pci/drm/i915/display/intel_dp.c @@ -4372,10 +4372,17 @@ intel_edp_set_s...
drm/i915/edp: Check supported link rates DPCD read From Nikita Zhandarovich dda720b2928d162ad76273cd35d881bc69b71600 in linux-6.18.y/6.18.36 2673cefa99ca918e7ac5b0388ff578a83656c896 in mainline linux
You are an expert OpenBSD systems programmer. Given a git diff, write a concise, accurate commit message in the style of the OpenBSD project: terse, imperative, no fluff.
Write a commit message for the following diff: ```diff diff --git a/sys/arch/amd64/include/vmparam.h b/sys/arch/amd64/include/vmparam.h index e7026fdd4c9..38488e75c0b 100644 --- a/sys/arch/amd64/include/vmparam.h +++ b/sys/arch/amd64/include/vmparam.h @@ -1,4 +1,4 @@ -/* $OpenBSD: vmparam.h,v 1.25 2024/11/08 01:44:52 ...
raise the size of amd64 kernel virtual address space from 4G to 512G This allows mapping all of VRAM on recent Radeon cards where the PCI BAR size is the full (> 4G) size. Reported by Petre Rodan, who has a Radeon RX 6800 with 16G of VRAM. feedback from claudio@ ok kettenis@
You are an expert OpenBSD systems programmer. Given a git diff, write a concise, accurate commit message in the style of the OpenBSD project: terse, imperative, no fluff.
Write a commit message for the following diff: ```diff diff --git a/sys/dev/pci/drm/drm_linux.c b/sys/dev/pci/drm/drm_linux.c index 6e3d6d9f32e..29d3351807f 100644 --- a/sys/dev/pci/drm/drm_linux.c +++ b/sys/dev/pci/drm/drm_linux.c @@ -1,4 +1,4 @@ -/* $OpenBSD: drm_linux.c,v 1.138 2026/06/02 03:17:28 jsg Exp $ */ +/* ...
change iommu_map_sgtable() return type from size_t to ssize_t Should be signed as error paths return -ENOMEM. Linux made the same change a few years ago.
You are an expert OpenBSD systems programmer. Given a git diff, write a concise, accurate commit message in the style of the OpenBSD project: terse, imperative, no fluff.
Write a commit message for the following diff: ```diff diff --git a/sys/netinet/ip_id.c b/sys/netinet/ip_id.c index 4ed6a8426ad..847006806f7 100644 --- a/sys/netinet/ip_id.c +++ b/sys/netinet/ip_id.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ip_id.c,v 1.26 2025/01/01 13:44:22 bluhm Exp $ */ +/* $OpenBSD: ip_id.c,v 1.27 2026/06/21...
Do `ip_shuffle' initialization at boot time. ip_randomid() called in the hot path so we want to keep it lockless, but avoid access to uninitialized data. ok deraadt
You are an expert OpenBSD systems programmer. Given a git diff, write a concise, accurate commit message in the style of the OpenBSD project: terse, imperative, no fluff.
Write a commit message for the following diff: ```diff diff --git a/lib/libc/asr/gethostnamadr_async.c b/lib/libc/asr/gethostnamadr_async.c index 1b0ab9d59e3..ce67f0759f8 100644 --- a/lib/libc/asr/gethostnamadr_async.c +++ b/lib/libc/asr/gethostnamadr_async.c @@ -1,4 +1,4 @@ -/* $OpenBSD: gethostnamadr_async.c,v 1.51 ...
Skip aliases that are not valid hostnames in gethostbyname(3). Consider the following CNAME chain: chain7.narrans.de. 60 IN CNAME chain\007.tlakh.xyz. chain\007.tlakh.xyz. 60 IN CNAME chain.sha256.net. chain.sha256.net. 60 IN CNAME sha256.net. sha256.net. ...
You are an expert OpenBSD systems programmer. Given a git diff, write a concise, accurate commit message in the style of the OpenBSD project: terse, imperative, no fluff.
Write a commit message for the following diff: ```diff diff --git a/bin/date/date.c b/bin/date/date.c index b8f5e23001e..d720542b233 100644 --- a/bin/date/date.c +++ b/bin/date/date.c @@ -1,4 +1,4 @@ -/* $OpenBSD: date.c,v 1.60 2024/04/28 16:43:15 florian Exp $ */ +/* $OpenBSD: date.c,v 1.61 2026/06/21 19:25:26 tb Exp...
date: use idiomatic error check for timegm() and mktime() per timegm(3) ok deraadt florian
You are an expert OpenBSD systems programmer. Given a git diff, write a concise, accurate commit message in the style of the OpenBSD project: terse, imperative, no fluff.
Write a commit message for the following diff: ```diff diff --git a/usr.bin/touch/touch.c b/usr.bin/touch/touch.c index 6cbdfcfaaec..418f7769a6b 100644 --- a/usr.bin/touch/touch.c +++ b/usr.bin/touch/touch.c @@ -1,4 +1,4 @@ -/* $OpenBSD: touch.c,v 1.27 2022/01/29 00:06:26 cheloha Exp $ */ +/* $OpenBSD: touch.c,v 1.28 ...
touch: improve error check for timegm() and mktime() per timegm(3) ok deraadt florian
You are an expert OpenBSD systems programmer. Given a git diff, write a concise, accurate commit message in the style of the OpenBSD project: terse, imperative, no fluff.
Write a commit message for the following diff: ```diff diff --git a/usr.bin/ssh/misc.c b/usr.bin/ssh/misc.c index 29b614de70e..4ce2e4e9c57 100644 --- a/usr.bin/ssh/misc.c +++ b/usr.bin/ssh/misc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: misc.c,v 1.214 2026/05/27 13:54:15 tb Exp $ */ +/* $OpenBSD: misc.c,v 1.215 2026/06/21 19:23:...
annotate tm_wday = -1 with /* sentinel for error */ per timegm(3) manpage suggested by deraadt
You are an expert OpenBSD systems programmer. Given a git diff, write a concise, accurate commit message in the style of the OpenBSD project: terse, imperative, no fluff.
Write a commit message for the following diff: ```diff diff --git a/usr.bin/tmux/menu.c b/usr.bin/tmux/menu.c index 06fdd6acda2..6907be41041 100644 --- a/usr.bin/tmux/menu.c +++ b/usr.bin/tmux/menu.c @@ -1,4 +1,4 @@ -/* $OpenBSD: menu.c,v 1.64 2026/06/09 21:22:22 nicm Exp $ */ +/* $OpenBSD: menu.c,v 1.65 2026/06/21 17...
Do not walk off end or beginning of menu item list if every item is disabled, GitHub issue 5255 from aizumusheer2 at gmail dot com.
You are an expert OpenBSD systems programmer. Given a git diff, write a concise, accurate commit message in the style of the OpenBSD project: terse, imperative, no fluff.
Write a commit message for the following diff: ```diff diff --git a/lib/libc/time/ctime.3 b/lib/libc/time/ctime.3 index 584dffcbeea..22830e91d71 100644 --- a/lib/libc/time/ctime.3 +++ b/lib/libc/time/ctime.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: ctime.3,v 1.55 2026/06/21 08:16:35 tb Exp $ +.\" $OpenBSD: ctime.3,v 1.56 2026/0...
include a comment in the tm_wday = -1 codesample, since we are trying to encourage this to become an idiomatic use pattern. Everyone doing this, please copy the comment also. ok tb
You are an expert OpenBSD systems programmer. Given a git diff, write a concise, accurate commit message in the style of the OpenBSD project: terse, imperative, no fluff.
Write a commit message for the following diff: ```diff diff --git a/sys/dev/fdt/if_cad.c b/sys/dev/fdt/if_cad.c index 897dea591b4..19389ba063d 100644 --- a/sys/dev/fdt/if_cad.c +++ b/sys/dev/fdt/if_cad.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_cad.c,v 1.16 2025/09/17 09:17:12 kettenis Exp $ */ +/* $OpenBSD: if_cad.c,v 1.17 2...
Avoid netlock dance in cad(4) ioctl. While interface ioctl(8) is moving towards better parallel access, drivers assuming exclusive netlock and unlocking explicitly cause trouble. Use the drivers own configuration lock for protection. Do not wait for task barriers while potentially holding the netlock. Panic reported...
You are an expert OpenBSD systems programmer. Given a git diff, write a concise, accurate commit message in the style of the OpenBSD project: terse, imperative, no fluff.
Write a commit message for the following diff: ```diff diff --git a/sys/sys/videoio.h b/sys/sys/videoio.h index 40b58f9a175..1c1e72379c9 100644 --- a/sys/sys/videoio.h +++ b/sys/sys/videoio.h @@ -1,4 +1,4 @@ -/* $OpenBSD: videoio.h,v 1.29 2026/02/19 20:42:45 kirill Exp $ */ +/* $OpenBSD: videoio.h,v 1.30 2026/06/21 09...
sys/videoio.h: sync with Linux 1. media: v4l2-controls: Add control for background detection https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=5d801b59633f6af60bb0e18d3bbb18b7b040a6d9 OK: mglocker@
You are an expert OpenBSD systems programmer. Given a git diff, write a concise, accurate commit message in the style of the OpenBSD project: terse, imperative, no fluff.
Write a commit message for the following diff: ```diff diff --git a/lib/libc/time/ctime.3 b/lib/libc/time/ctime.3 index 40ed79f7677..584dffcbeea 100644 --- a/lib/libc/time/ctime.3 +++ b/lib/libc/time/ctime.3 @@ -1,7 +1,7 @@ -.\" $OpenBSD: ctime.3,v 1.54 2026/05/31 15:21:04 tb Exp $ +.\" $OpenBSD: ctime.3,v 1.55 2026/0...
timegm(3) is in C23 from Christian Schulte
You are an expert OpenBSD systems programmer. Given a git diff, write a concise, accurate commit message in the style of the OpenBSD project: terse, imperative, no fluff.
Write a commit message for the following diff: ```diff diff --git a/sys/miscfs/fuse/fuse_device.c b/sys/miscfs/fuse/fuse_device.c index ff3d7c9d53f..531c12a4cf4 100644 --- a/sys/miscfs/fuse/fuse_device.c +++ b/sys/miscfs/fuse/fuse_device.c @@ -1,4 +1,4 @@ -/* $OpenBSD: fuse_device.c,v 1.50 2026/06/17 13:29:01 helg Exp...
Replace all printf with DPRINTF so that kernel messages are only printed if the FUSE_DEBUG option is set at compile time. Each debug message on the console is prefexed with "fusefs: " Remove the useless fuse_dump_buff() function while we are at it. ok mlarkin
You are an expert OpenBSD systems programmer. Given a git diff, write a concise, accurate commit message in the style of the OpenBSD project: terse, imperative, no fluff.
Write a commit message for the following diff: ```diff diff --git a/sys/dev/pci/drm/radeon/radeon_drv.c b/sys/dev/pci/drm/radeon/radeon_drv.c index ba97ec2eed6..8829bf6c989 100644 --- a/sys/dev/pci/drm/radeon/radeon_drv.c +++ b/sys/dev/pci/drm/radeon/radeon_drv.c @@ -733,6 +733,7 @@ radeondrm_detach_kms(struct device ...
setup the radeondrm wscons burner task, lost in 6.18 drm changes avoids a NULL deref when wscons screen burner is enabled reported by al and Philippe on bugs@
You are an expert OpenBSD systems programmer. Given a git diff, write a concise, accurate commit message in the style of the OpenBSD project: terse, imperative, no fluff.
Write a commit message for the following diff: ```diff diff --git a/usr.sbin/ypbind/ypbind.c b/usr.sbin/ypbind/ypbind.c index d8ca66d9571..7495debd11e 100644 --- a/usr.sbin/ypbind/ypbind.c +++ b/usr.sbin/ypbind/ypbind.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ypbind.c,v 1.80 2024/01/23 14:13:55 deraadt Exp $ */ +/* $OpenBSD: yp...
incorrect path checking in ypbindproc_domain_2x found by Christian Schwabl ok millert
You are an expert OpenBSD systems programmer. Given a git diff, write a concise, accurate commit message in the style of the OpenBSD project: terse, imperative, no fluff.
Write a commit message for the following diff: ```diff diff --git a/sys/arch/octeon/conf/GENERIC b/sys/arch/octeon/conf/GENERIC index 4e46ed061a0..7cbfe7b28aa 100644 --- a/sys/arch/octeon/conf/GENERIC +++ b/sys/arch/octeon/conf/GENERIC @@ -1,4 +1,4 @@ -# $OpenBSD: GENERIC,v 1.62 2025/05/16 16:35:12 kirill Exp $ +# $Op...
sys/octeon: add em to GENERIC and RAMDISK kernels OK: visa@
You are an expert OpenBSD systems programmer. Given a git diff, write a concise, accurate commit message in the style of the OpenBSD project: terse, imperative, no fluff.
Write a commit message for the following diff: ```diff diff --git a/usr.bin/tmux/cmd-list-keys.c b/usr.bin/tmux/cmd-list-keys.c index c8be0cb7b99..af169ff63e7 100644 --- a/usr.bin/tmux/cmd-list-keys.c +++ b/usr.bin/tmux/cmd-list-keys.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cmd-list-keys.c,v 1.76 2026/06/10 18:32:33 nicm Exp $...
Error if key is unknown rather than just carry on, GitHub issue 5248.
You are an expert OpenBSD systems programmer. Given a git diff, write a concise, accurate commit message in the style of the OpenBSD project: terse, imperative, no fluff.
Write a commit message for the following diff: ```diff diff --git a/regress/usr.bin/make/Makefile b/regress/usr.bin/make/Makefile index e09dcc34067..4126fe6e190 100644 --- a/regress/usr.bin/make/Makefile +++ b/regress/usr.bin/make/Makefile @@ -1,10 +1,10 @@ -# $OpenBSD: Makefile,v 1.51 2021/09/02 07:14:15 jasper Exp $...
check that make rejects empty variable names, from espie
You are an expert OpenBSD systems programmer. Given a git diff, write a concise, accurate commit message in the style of the OpenBSD project: terse, imperative, no fluff.
Write a commit message for the following diff: ```diff diff --git a/usr.bin/tmux/tmux.1 b/usr.bin/tmux/tmux.1 index 2494912c274..b966a43954f 100644 --- a/usr.bin/tmux/tmux.1 +++ b/usr.bin/tmux/tmux.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: tmux.1,v 1.1095 2026/06/19 16:25:43 nicm Exp $ +.\" $OpenBSD: tmux.1,v 1.1096 2026/06/20...
Fix {} keys in tmux.1, pointed out by tb.
You are an expert OpenBSD systems programmer. Given a git diff, write a concise, accurate commit message in the style of the OpenBSD project: terse, imperative, no fluff.
Write a commit message for the following diff: ```diff diff --git a/usr.bin/make/parsevar.c b/usr.bin/make/parsevar.c index 855e049df84..f61e79ebae2 100644 --- a/usr.bin/make/parsevar.c +++ b/usr.bin/make/parsevar.c @@ -1,4 +1,4 @@ -/* $OpenBSD: parsevar.c,v 1.18 2024/06/18 02:11:03 millert Exp $ */ +/* $OpenBSD: pars...
refuse empty variable names, from espie has been through multiple mkr and at least one ports bulk
You are an expert OpenBSD systems programmer. Given a git diff, write a concise, accurate commit message in the style of the OpenBSD project: terse, imperative, no fluff.
Write a commit message for the following diff: ```diff diff --git a/usr.sbin/dhcpd/parse.c b/usr.sbin/dhcpd/parse.c index 3d9df51ba72..077f4579f9a 100644 --- a/usr.sbin/dhcpd/parse.c +++ b/usr.sbin/dhcpd/parse.c @@ -1,4 +1,4 @@ -/* $OpenBSD: parse.c,v 1.29 2024/06/27 16:39:31 florian Exp $ */ +/* $OpenBSD: parse.c,v 1...
dhcpd: use error check per timegm(3) manpage ok florian
You are an expert OpenBSD systems programmer. Given a git diff, write a concise, accurate commit message in the style of the OpenBSD project: terse, imperative, no fluff.
Write a commit message for the following diff: ```diff diff --git a/usr.sbin/httpd/server_file.c b/usr.sbin/httpd/server_file.c index cdcc11cd800..994f704f3a0 100644 --- a/usr.sbin/httpd/server_file.c +++ b/usr.sbin/httpd/server_file.c @@ -1,4 +1,4 @@ -/* $OpenBSD: server_file.c,v 1.80 2024/04/29 16:17:46 florian Exp ...
httpd: error check timegm(3) per the manual ok job rsadowski
You are an expert OpenBSD systems programmer. Given a git diff, write a concise, accurate commit message in the style of the OpenBSD project: terse, imperative, no fluff.
Write a commit message for the following diff: ```diff diff --git a/sys/kern/sysv_msg.c b/sys/kern/sysv_msg.c index b873b3279de..f59a0b62dba 100644 --- a/sys/kern/sysv_msg.c +++ b/sys/kern/sysv_msg.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sysv_msg.c,v 1.42 2026/06/15 13:41:47 mvs Exp $ */ +/* $OpenBSD: sysv_msg.c,v 1.43 2026/0...
Calculate the msg_copyin() `xfer' as min(available space, ...) not min(total space, ...). Otherwise we read outside of userland buffer. Also, I like to use sizeof(variable) instead of sizeof(type). ok cludwig
You are an expert OpenBSD systems programmer. Given a git diff, write a concise, accurate commit message in the style of the OpenBSD project: terse, imperative, no fluff.
Write a commit message for the following diff: ```diff diff --git a/usr.bin/tmux/popup.c b/usr.bin/tmux/popup.c index cc08957e8df..3d70fff6366 100644 --- a/usr.bin/tmux/popup.c +++ b/usr.bin/tmux/popup.c @@ -1,4 +1,4 @@ -/* $OpenBSD: popup.c,v 1.72 2026/06/19 18:37:10 nicm Exp $ */ +/* $OpenBSD: popup.c,v 1.73 2026/06...
popup_write can be deleted now also.
You are an expert OpenBSD systems programmer. Given a git diff, write a concise, accurate commit message in the style of the OpenBSD project: terse, imperative, no fluff.
Write a commit message for the following diff: ```diff diff --git a/usr.bin/tmux/window-visible.c b/usr.bin/tmux/window-visible.c index 8e81a0dcd2c..e9a9e88b032 100644 --- a/usr.bin/tmux/window-visible.c +++ b/usr.bin/tmux/window-visible.c @@ -1,4 +1,4 @@ -/* $OpenBSD: window-visible.c,v 1.1 2026/06/16 10:47:35 nicm E...
Do not loop forever if a pane ends up with borders the wrong way round.
You are an expert OpenBSD systems programmer. Given a git diff, write a concise, accurate commit message in the style of the OpenBSD project: terse, imperative, no fluff.
End of preview. Expand in Data Studio

OpenBSD Commit History — Alpaca Format (v1)

Fine-tuning dataset derived from the full commit history of the OpenBSD src repository, structured for instruction fine-tuning in Alpaca format.

Task: given a unified diff, generate the commit message.


Dataset Summary

Field Value
Examples 103,383
Size ~202 MB
Format Alpaca JSONL
Date range 2000-01-01 → present
Source openbsd/src (GitHub mirror)
License ISC

Format

Each line is a JSON object:

{
  "system": "You are an expert OpenBSD systems programmer. Given a git diff, write a concise, accurate commit message in the style of the OpenBSD project: terse, imperative, no fluff.",
  "instruction": "Write a commit message for the following diff:\n\n```diff\n--- a/sys/kern/uipc_socket.c\n+++ b/sys/kern/uipc_socket.c\n@@...\n```",
  "input": "",
  "output": "fix use-after-free in socket teardown path"
}

Compatible with Axolotl, Unsloth, and any trainer that accepts Alpaca-format JSONL.


Source & Filtering

Extracted from the full git history of openbsd/src using a single streaming git log -p pass. Commits were kept if they met all of:

  • Commit message between 10 and 4,000 characters
  • Diff between 2 lines and 8,192 characters (2k tokens)
  • Not a merge commit
  • Not a mass-import or CVS sync commit
  • Not touching only generated/lock files

Skip breakdown (v1)

Reason Count
diff_too_small 68,431
msg_too_long 46,254
diff_too_large 1,441
msg_too_short 491
skip_prefix 154

The 46k msg_too_long commits are a known gap — many contain extended rationale, reviewer sign-offs, and CVS metadata that push past the 4,000 character ceiling. A v2 will handle these with truncation strategies.


Skip Breakdown (v2)

Reason Count
diff_too_large 22,866
msg_too_short 11,656
skip_prefix 1,829
diff_too_small 1,329
msg_too_long 9

💡 Parser Fix (v2 Update): The massive msg_too_long count seen in v1 (46,254 skips) was identified as a streaming parser logic bug that accidentally swapped the commit message and the diff payloads. In v2, the streaming logic has been hardened to split cleanly on native \ndiff --git boundaries. This successfully recovered 183,159 high-quality training examples, dropping msg_too_long anomalies down to just 9 total instances. Remaining skips are now purely reflective of true context limits (diff_too_large) and trivial cleanups (msg_too_short).


Reproducing

git clone https://github.com/openbsd/src.git openbsd-src
python3 extract_openbsd.py --repo ./openbsd-src --output openbsd_commits.jsonl

The extraction script is included in this repository as extract_openbsd.py.


Intended Use

  • Fine-tuning LLMs to write terse, high-quality commit messages
  • Teaching models systems programming idioms (C, kernel, crypto, networking)
  • Studying the OpenBSD project's engineering culture and code review style

OpenBSD is known for rigorous security auditing, minimal dependencies, and extremely disciplined commit hygiene — making this a high signal-to-noise corpus compared to typical open source repositories.


Not Intended For

  • Training models to produce insecure or low-quality C code
  • Any use that conflicts with the ISC license terms of the source material

Citation

If you use this dataset, please credit the OpenBSD project and link to this dataset page.

@misc{openbsd-commits-alpaca-v1,
  title  = {OpenBSD Commit History, Alpaca Format (v1)},
  year   = {2026},
  url    = {https://huggingface.co/datasets/ajsbsd/openbsd-commits-alpaca},
  note   = {Derived from the OpenBSD src repository under ISC license}
}
Downloads last month
84