Skip to content

Conversation

@klemensn
Copy link
Contributor

sys/kern/kern_pledge.c r1.329[0] removed the unveil bypass for "dns",
so "rpath" is needed for Go's DNS to stat(2) it.

Since current "/ rwc" and "cpath" with the new "rpath" amount to full
read access, there is no point in unveiling anymore.

0: openbsd/src@8d49ad0

sys/kern/kern_pledge.c r1.329[0] removed the unveil bypass for "dns",
so "rpath" is needed for Go's DNS to stat(2) it.

Since current "/ rwc" and "cpath" with the new "rpath" amount to full
read access, there is no point in unveiling anymore.

0: openbsd/src@8d49ad0
@klemensn
Copy link
Contributor Author

This upstreams what I committed to net/yggdrasil-go already in openbsd/ports@89abb86.

@klemensn
Copy link
Contributor Author

See unveil #1194 and pledge #1215 additions for context.

@neilalexander neilalexander merged commit 6d195c6 into yggdrasil-network:develop Aug 11, 2025
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants