HNHacker News
TopNewBestAskShowJobs

brynet

3,155 karma · joined May 18, 2013

I occasionally hack on OpenBSD and ramble on twitter @canadianbryan, bluesky @brynet.ca.

⌂ https://brynet.ca/?hn

Mail: brynet@openbsd.org

submissionscomments
brynet··on OpenBSD 8.0 release will have inteldrm/radeondrm/amdgpu drivers from Linux 6.18
Most of the common drm code and kernel gpu drivers are already MIT/X licensed for historical reasons, same goes for the Mesa GL and Xorg components.

https://github.com/openbsd/src/tree/master/sys/dev/pci/drm

brynet··on OpenBSD 8.0 release will have inteldrm/radeondrm/amdgpu drivers from Linux 6.18
OpenBSD 7.9 was already on the 6.18.y longterm support version for the drm(4) drivers, Jonathan Gray (jsg@) completed the update back in March, sponsored by the OpenBSD Foundation.

https://marc.info/?l=openbsd-cvs&m=177310343311915&w=2

I just wanted to highlight Jonathan's continued efforts backporting updates in my usual "HYPE" post series for the upcoming OpenBSD 8.0 release.

(I'm the author of the mastodon post that was shared.)

brynet··on Wine ported to OpenBSD
nv(4) is the old 2D user modesetting X driver (DDX), for legacy devices.

There is no kms drm or 3D acceleration for nvidia on OpenBSD.

brynet··on Wine ported to OpenBSD
Yes, the upcoming OpenBSD 8.0 release will have inteldrm/radeondrm/amdgpu drivers from Linux 6.18.y/6.18.53.

https://bsd.network/@brynet/117407035545900963

brynet··on Wine ported to OpenBSD
I OK'd this port. I apologize in advance.
brynet··on The people holding up the internet
With my OpenBSD developer hat on, getting new hardware in the hands of developers is really important, many of us are hacking on 5-10 year old thinkpads that need replacing.

https://www.openbsd.org/want.html

The OpenBSD foundation is ~23% away from its fundraising goal for 2026, which helps support developer hackathons and project infrastructure, etc.

https://www.openbsdfoundation.org/campaign2026.html

Shamelessly, if I may add a personal plea, in addition to funding the open source projects you use, if you can, please do consider directly supporting individual contributors/developers personally who work on those projects, many are volunteers and even a small monthly contribution could mean the difference.

https://brynet.ca/wallofpizza.html

https://dir.floss.fund/view/@brynet.ca

brynet··on OpenSSH 10.6
OpenSSH -portable is maintained by the OpenSSH developers, who are also OpenBSD developers.
brynet··on OpenSSH 10.6
> sshd(8): On OS X SDK >= 27, sandboxing is no longer supported as the API we depended upon has been removed and no obvious alternative provided.

https://github.com/openssh/openssh-portable/commit/d4b4c304a...

brynet··on Linux support is coming to Snapdragon X2 series
OpenBSD developer Tobias Heider (tobhe@) has already committed the first pieces of OpenBSD/arm64 support for these Qualcomm Snapdragon X2 Elite laptops.

"This gets USB, keyboard and touchpad working in ACPI mode on the HP Elitebook X G2q."

https://marc.info/?l=openbsd-cvs&m=178891082169317&w=2

Tobias (who also works for Canonical) recently demoed Ubuntu on mastodon and confirmed ARM EL2 works, meaning KVM support unlike previous generations.

bsd.network/@tobhe/117122761215052773

(I'd love to get my hands on one of these X2 Elite machines, hmu qcom.)

brynet··on Software sandboxing: The basics (2025)
> At that time, its researchers have modified Chromium to make use of Capsicum and compared how much effort was required to make use of each sandboxing mechanism within Chromium. [..] If you’re only going to study one sandboxing mechanism in your life, it should be Capsicum. To this date, I have yet to see a better sandboxing mechanism than Capsicum.

In the years since it was added, there's a reason you can count on two hands the number of programs using it in FreeBSD. Even less using it effectively, with refactoring, and not just calling cap_enter().

Capsicum Chrome has never been committed to the official FreeBSD ports tree, it was an academic research project from 17 years ago.

https://github.com/rwatson/chromium-capsicum

https://www.freshports.org/www/chromium/

https://cgit.freebsd.org/ports/log/www/chromium/Makefile?qt=...

No browsers on FreeBSD today use Capsicum.

Compare that instead to OpenBSD, where the Chromium port has used pledge(2) since January 2016, and unveil(2) since 2018. Enabled by default. The Mozilla Firefox ports also use both pledge and unveil since 2018-2019, and this work has even been accepted upstream.

https://marc.info/?l=openbsd-ports-cvs&m=145211683609002&w=2

https://github.com/openbsd/ports/blob/master/www/chromium/pa...

https://github.com/openbsd/ports/tree/master/www/chromium/fi...

brynet··on Ask HN: What are you working on? (September 2026)
Making rent as an open source developer.

Desperately trying to attract new monthly sponsors and people willing to buy me the occasional pizza with my terrible HTML skills. Is it working?

If any individuals, companies (or bitcoin millionaires) would like to help a long-time OpenBSD slacker, unslack, I'd really like to focus more of my time on open source development (and advocacy), rather than making rent. Feel free to contact me.

https://brynet.ca/wallofpizza.html

(Native SegWit): bc1qwe6zv0ezq4gzlea6tw45qhsn5kckheljn0krvt

brynet··on New Mac mini, featuring M6 and M5 Pro
I'm curious what 2.5GbE chipset they used.
brynet··on Ask HN: What are you working on? (August 2026)
Thanks, but unfortunately I found nothing new there that's applicable in my case. Not looking for project grants or rigid commitment/goals based funding at this time.
brynet··on Ask HN: What are you working on? (August 2026)
Making rent as an open source developer.

Desperately trying to attract new monthly sponsors and people willing to buy me the occasional pizza with my terrible HTML skills. Is it working?

If any individuals, companies (or bitcoin millionaires) would like to help a long-time OpenBSD slacker, unslack, I'd really like to focus more of my time on open source development (and advocacy), rather than making rent. Feel free to contact me.

https://brynet.ca/wallofpizza.html

(Native SegWit): bc1qwe6zv0ezq4gzlea6tw45qhsn5kckheljn0krvt

brynet··on NetBSD 11.0
> IIRC OpenBSD used to use GCC 2.95 for years.

2.95.3 and 3.3.6, both have now been retired in favour of gcc4. The majority use clang now, though.

brynet··on NetBSD 11.0
Indeed, 4.2.1 was the last GPLv2 version. OpenBSD still uses it (w/ patches) for a few platforms, for example.

/bsd.own.mk:GCC4_ARCH=alpha hppa m88k sh sparc64

The rest have already been migrated to LLVM/Clang 22 by default (except sparc64 below, that's experimental).

./bsd.own.mk:CLANG_ARCH=aarch64 amd64 arm i386 mips64 powerpc powerpc64 riscv64 sparc64

brynet··on Ask HN: What Are You Working On? (July 2026)
Making rent as an open source developer.

Desperately trying to attract new monthly sponsors and people willing to buy me the occasional pizza with my terrible HTML skills. Is it working?

https://brynet.ca/wallofpizza.html

brynet··on Theo de Raadt: "You've been smoking something mind altering" (2007)
This is not usenet, it's the openbsd misc@ mailing list.
brynet··on OpenBSD has a use-after-free allowing local privilege escalation to root
No.

https://github.com/openbsd/src/blob/d5b0ed23b6fe61f0278c37a4...

Perhaps relevant, Students from the University of Southern Denmark released a paper earlier this month, which once again noted the fact that over ~90% of the OpenBSD base system uses pledge(2). Almost certainly all of the network speaking daemons in base do.

https://arxiv.org/abs/2607.03056

brynet··on Working around dragons with the Lemote Yeeloong laptop and OpenBSD
> I'm pretty sure a MIPS doesn't have them on port 60h/64h, or indeed any I/O ports.

Funnily enough, it does. They're just sitting behind a AMD CS5536 PCI-to-ISA bridge.

https://man.openbsd.org/man4/loongson/glxpcib.4

https://man.openbsd.org/pckbc

...

> glxpcib0 at pci0 dev 14 function 0 "AMD CS5536 ISA" rev 0x03: rev 3, 32-bit 3579545Hz timer, watchdog, gpio, i2c

> isa0 at glxpcib0

> pckbc0 at isa0 port 0x60/5 irq 1 irq 12

> pckbd0 at pckbc0 (kbd slot)

> wskbd0 at pckbd0: console keyboard, using wsdisplay0

> pms0 at pckbc0 (aux slot)

> wsmouse0 at pms0 mux 0

> mcclock0 at isa0 port 0x70/2: mc146818 or compatible

...

Other machines, such as the DEC Alpha were similar.

brynet··on We all depend on open source. We will defend it together
Also in addition to funding the open source projects you use, if you can, please consider directly supporting individual contributors/developers personally who work on those projects, many are volunteers and even a small monthly contribution could mean the difference.

https://brynet.ca/wallofpizza.html

brynet··on We all depend on open source. We will defend it together
Defending open source should begin with real, tangible support for both the projects and its developers. Not just words.

With my OpenBSD developer hat on, getting new hardware in the hands of developers is really important, many of us are hacking on 5-10 year old thinkpads that need replacing.

https://www.openbsd.org/want.html

The OpenBSD foundation is ~50% away from its fundraising goal for 2026!

https://www.openbsdfoundation.org/campaign2026.html

brynet··on Ask HN: What are you working on? (June 2026)
Making rent as an open source developer.

Desperately trying to attract new monthly sponsors and people willing to buy me the occasional pizza with my terrible HTML skills. Is it working?

https://brynet.ca/wallofpizza.html

brynet··on Ask HN: What Are You Working On?
Making rent as an open source developer.

Desperately trying to attract new monthly sponsors and people willing to buy me the occasional pizza with my terrible HTML skills. Is it working?

https://brynet.ca/wallofpizza.html

brynet··on OpenBSD 7.9
If you're interested, you should check out Miod Vallat's Motorola 88k story.

http://miod.online.fr/software/openbsd/stories/m88k.html

One interesting bit of trivial is Luna-88k workstations were heavily used to implement CMU Mach (which would eventually be used by Apple).

brynet··on OpenBSD 7.9
I don't see any "gibberish".
brynet··on OpenBSD 7.9
The artwork on the store may have been an earlier (non-final) version, or there's just simply multiple variations, which is usually the case for the t-shirt art.

Job Snijders works closely with the artists each release, and runs the store.

brynet··on OpenBSD 7.9
> OpenBSD supports sparc very well and is compatible with old sunos stuff (iirc)

No 32-bit sparc anymore (only UltraSPARC, aka sparc64).

No SunOS compatibility (despite Theo de Raadt inventing it for NetBSD, before being copied by other BSDs).

https://marc.info/?l=openbsd-tech&m=161435521906992&w=2

> Technically there's a niche flavour of 68k that still is supported because of a very dedicated man in Japan

luna88k, while related, is not 68k.

https://www.openbsd.org/luna88k.html

brynet··on OpenBSD 7.9
Announcement mail: https://marc.info/?l=openbsd-announce&m=177919671915512&w=2
brynet··on OpenBSD 7.9
OpenBSD 7.9 release artwork by Lyra Henderson

https://www.openbsd.org/images/PinkPuffy.png

https://www.openbsd.org/images/puffy79.gif

Release song is "Diamond in the Rough" - Composed & produced by Bob Kitella.

https://www.openbsd.org/lyrics.html#79

Apparel (t-shirts, so far): https://openbsdstore.com/

Page 1 of 15Next →