OpenBSD::Unveil(3p) Perl Programmers Reference Guide OpenBSD::Unveil(3p)
OpenBSD::Unveil(3p) Perl Programmers Reference Guide OpenBSD::Unveil(3p) # OpenBSD::Unveil(3p) Perl Programmers Reference Guide OpenBSD::Unveil(3p) NNAAMMEE # OpenBSD::Unveil - Perl interface to OpenBSD unveil(2) SSYYNNOOPPSSIISS # use OpenBSD::Unveil; my $file = "/usr/share/dict/words"; unveil( $file, "r" ) || die "Unable to unveil: $!"; unveil() || die "Unable to lock unveil: $!"; open my $fh, '<', $file or die "Unable to open $file: $!"; print grep { /unveil/i } readline($fh); close $fh; DDEESSCCRRIIPPTTIIOONN # This module provides a perl interface to OpenBSD's uunnvveeiill(2) ssyyssccaallll(2). ...