summaryrefslogtreecommitdiff
path: root/lib/pyzfs/common/unallow.py
diff options
context:
space:
mode:
authorMartin Matuska <mm@FreeBSD.org>2012-07-18 07:48:04 +0000
committerMartin Matuska <mm@FreeBSD.org>2012-07-18 07:48:04 +0000
commit93a00b0821525e25814cd720fafd04d600811c28 (patch)
tree581776874858fb2fad55f129938a1871f8758eb5 /lib/pyzfs/common/unallow.py
parente0ea83ebb1a4b194c927cb114766e8781676380b (diff)
downloadsrc-test2-93a00b0821525e25814cd720fafd04d600811c28.tar.gz
src-test2-93a00b0821525e25814cd720fafd04d600811c28.zip
Notes
Diffstat (limited to 'lib/pyzfs/common/unallow.py')
-rw-r--r--lib/pyzfs/common/unallow.py27
1 files changed, 27 insertions, 0 deletions
diff --git a/lib/pyzfs/common/unallow.py b/lib/pyzfs/common/unallow.py
new file mode 100644
index 000000000000..cbdd4dd73f6f
--- /dev/null
+++ b/lib/pyzfs/common/unallow.py
@@ -0,0 +1,27 @@
+#! /usr/bin/python2.6
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+# Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved.
+#
+
+import zfs.allow
+
+do_unallow = zfs.allow.do_allow