Index | Thread | Search

From:
"Theo de Raadt" <deraadt@openbsd.org>
Subject:
Re: KERN_PROC_PATHNAME workaround
To:
Rafael Sadowski <rafael@sizeofvoid.org>, ports@openbsd.org, tech@openbsd.org
Date:
Sun, 04 Jan 2026 10:06:01 -0700

Download raw body.

Thread
> alternatively for a port, we can patch to hardcode the path.

I don't think that's the way to handle this.

It is better to dynamically remember the path, in userland, when the
filename open succeeds.  Just copy it at that point, in userland.