summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2006-02-07 10:56:56 +0000
committerMarc Espie <espie@cvs.openbsd.org>2006-02-07 10:56:56 +0000
commit2cae847550674c81191126619c0dfdfbfd70785a (patch)
treef978a1419bdd303ac7aa49a4d3b6e218a6fb03b8 /usr.sbin
parent12e1b566508a8afd426a426681940afb3d5ab42f (diff)
look at noexec as well
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/pkg_add/OpenBSD/Vstat.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/Vstat.pm b/usr.sbin/pkg_add/OpenBSD/Vstat.pm
index 91968f9c55b..fe4bd7337a4 100644
--- a/usr.sbin/pkg_add/OpenBSD/Vstat.pm
+++ b/usr.sbin/pkg_add/OpenBSD/Vstat.pm
@@ -1,5 +1,5 @@
# ex:ts=8 sw=4:
-# $OpenBSD: Vstat.pm,v 1.13 2005/11/29 09:31:07 bernd Exp $
+# $OpenBSD: Vstat.pm,v 1.14 2006/02/07 10:56:55 espie Exp $
#
# Copyright (c) 2003-2004 Marc Espie <espie@openbsd.org>
#
@@ -62,6 +62,8 @@ sub init_devices()
$i->{nodev} = 1;
} elsif ($o eq 'nosuid') {
$i->{nosuid} = 1;
+ } elsif ($o eq 'noexec') {
+ $i->{noexec} = 1;
}
}
} else {