Skip to content

Commit

Permalink
remove workaround for unveil(2) bug
Browse files Browse the repository at this point in the history
  • Loading branch information
semarie committed Mar 11, 2022
1 parent b805089 commit 12a4b57
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions sysclean.pl
Original file line number Diff line number Diff line change
Expand Up @@ -141,10 +141,6 @@ sub init
unveil('/usr/bin/locate', 'rx');
unveil('/usr/sbin/rcctl', 'rx');

# XXX workaround for unveil(2) bug
unveil('/usr/bin', 'r');
unveil('/usr/sbin', 'r');

pledge('rpath proc exec') || $self->err(1, "pledge");
$self->add_expected_base;
$self->add_expected_rcctl;
Expand Down

0 comments on commit 12a4b57

Please sign in to comment.