Kernel+Userland: Remove "dns" pledge promise alias

This was just an alias for "unix" that I added early on back when there
was some belief that we might be compatible with OpenBSD. We're clearly
never going to be compatible with their pledges so just drop the alias.
This commit is contained in:
Andreas Kling 2021-01-22 18:42:57 +01:00
commit 2cd07c6212
Notes: sideshowbarker 2024-07-18 23:00:22 +09:00
5 changed files with 7 additions and 12 deletions

View file

@ -34,7 +34,7 @@
int main(int argc, char** argv)
{
if (pledge("stdio dns", nullptr) < 0) {
if (pledge("stdio unix", nullptr) < 0) {
perror("pledge");
return 1;
}