fix pledge / unveil in ix
This commit is contained in:
parent
dae42ab7e1
commit
ae32741c96
4
bin/ix
4
bin/ix
@ -8,8 +8,8 @@ if ($^O eq "openbsd") {
|
|||||||
require OpenBSD::Pledge;
|
require OpenBSD::Pledge;
|
||||||
require OpenBSD::Unveil;
|
require OpenBSD::Unveil;
|
||||||
|
|
||||||
unveil("/", "") or die;
|
OpenBSD::Unveil::unveil("/", "") or die;
|
||||||
pledge(qw( stdio dns inet rpath )) or die;
|
OpenBSD::Pledge::pledge(qw( stdio dns inet rpath )) or die;
|
||||||
}
|
}
|
||||||
|
|
||||||
my $http = HTTP::Tiny->new();
|
my $http = HTTP::Tiny->new();
|
||||||
|
Loading…
Reference in New Issue
Block a user