List: openbsd-cvs
Subject: CVS: cvs.openbsd.org: src
From: Theo de Raadt <deraadt () cvs ! openbsd ! org>
Date: 2025-05-24 6:49:17
CVSROOT: /cvs
Module name: src
Changes by: deraadt@cvs.openbsd.org 2025/05/24 00:49:17
Modified files:
include : unistd.h
sys/sys : exec.h exec_elf.h gmon.h proc.h systm.h
sys/kern : exec_elf.c init_sysent.c kern_exec.c
kern_exit.c kern_fork.c kern_pledge.c
subr_prof.c syscalls.master
Log message:
In the old gprof profiling subsystem, the simplistic profil() syscall
told the kernel about the sample buffer, and then the normal exit-time
_mcleanup() would finalize the buffer, open()'ed a file and write out
the details. This file opening has become increasingly impossible
because of our privsep / privdrop, chroot, setresuid uid-dropping,
pledge, unveil, and other efforts. So people stopped using gprof.
Programs which needed profiling needed substantial mitigation removal
changes to put them under test.
Contributed by
Peter N. M. Hansteen
on
from the testing needed, em(4)phatically dept.
Are you an OpenBSD user with a low power device such as a
PC EnginesAPU2,
with one or more
em(4)
network interfaces?
Darren Tucker (dtucker@) has a new diff out that may be of use to you,
posted in a
message
to tech@:
List: openbsd-tech
Subject: em(4) TX interrupt mitigation
From: Darren Tucker <dtucker () dtucker ! net>
Date: 2025-05-19 8:52:13
Hi.
TL;DR: if you use em(4), particularly on a low-power device such as a
pcengines APU2, please try this diff.
The em(4) driver has 5 interrupt mitigation timers[0].
Kirill A. Korinsky (kirill@)
writes in with his
guide
to setting up an
EdgeRouter 4
with
OpenBSD/octeon
to provide a failover gateway/router setup:
This article details the configuration process for setting up OpenBSD on an EdgeRouter 4 device to function as a home router, incorporating features such as private DNS resolution for clients and failover WAN connectivity.
Contributed by
rueda
on
from the pcaps happening dept.
erspan(4),
the ERSPAN collection driver created by
David Gwynne (dlg@)
[and about which we recently
reported]
has been
committed
to the tree:
CVSROOT: /cvs
Module name: src
Changes by: dlg@cvs.openbsd.org 2025/05/13 19:54:12
Modified files:
sys/net : if_gre.c
Log message:
add support for the ERSPAN Type II protocol
ERSPAN is a specific GRE 0 protocol id with GRE sequence numbers
enabled, with it's own shim header, and then an Ethernet payload.
Contributed by
grey
on
from the this editor misses when the S for Simple in SMTP was still true dept.
Omar Polo (op@) has
announced
the release of version 7.7.0p0 of
OpenSMTPD:
[…]
Changes in this release:
========================
- mail.lmtp: Correctly propagate LMTP permanent failures to smtpd.
- Fixed connect filter request documentation in smtpd-filters.7.
- Updated to new imsg APIs.
[…]
Our favorite operating system is in the process of aquiring Encapsulated Remote Switch Port Analyzer (ERSPAN) support, in the form of a new virtual network interface, dubbed erspan(4).
An early version of the code, but possibly close to being ready for further development in-tree was
presented
by David Gwynne (dlg@) in a
message to tech@:
List: openbsd-tech
Subject: erspan(4): ERSPAN Type II collection
From: David Gwynne <david () gwynne ! id ! au>
Date: 2025-05-12 1:27:59
we were exploring how to better let us see what's happening on access
networks or specific ports on a switch at work. our switches are
pretty much all cisco, which has ERSPAN.
ERSPAN in it's various forms ships Ethernet packets over GRE for
collection and analysis on another system. There's 3 types of ERSPAN
encapsulation, but Type II seems broadly implemented.
Over on tech@, Ted Unangst (tedu@) is
airing
a patch to introduce better support ACPI WMI,
looking for tests and comments:
List: openbsd-tech
Subject: acpi wmi asus driver
From: "Ted Unangst" <tedu () tedunangst ! com>
Date: 2025-05-11 1:57:07
My newish ASUS laptop needs WMI to handle hotkeys like backlight toggle.
More importantly, for me, it's needed to handle the Fn-F hotkey to switch
fan/performance profiles. The system is far more pleasant to use in whisper
mode. I also notice a substantial improvement in battery life, without much
performance difference. It affects the power limits, but more long term I
think.
We are constantly on the lookout for stories of how you put OpenBSD to work.
Please submit any informative articles on how OpenBSD is helping your company.