freebsd-dev/cmd/zinject
Brian Behlendorf b3259b6a2b Autoconf selinux support
If libselinux is detected on your system at configure time link
against it.  This allows us to use a library call to detect if
selinux is enabled and if it is to pass the mount option:

  "context=\"system_u:object_r:file_t:s0"

For now this is required because none of the existing selinux
policies are aware of the zfs filesystem type.  Because of this
they do not properly enable xattr based labeling even though
zfs supports all of the required hooks.

Until distro's add zfs as a known xattr friendly fs type we
must use mntpoint labeling.  Alternately, end users could modify
their existing selinux policy with a little guidance.
2011-01-28 12:45:19 -08:00
..
.gitignore Add .gitignore files to exclude build products 2010-01-08 11:35:17 -08:00
Makefile.am Support custom build directories and move includes 2010-09-08 12:38:56 -07:00
Makefile.in Autoconf selinux support 2011-01-28 12:45:19 -08:00
translate.c Fix gcc missing case warnings 2010-08-27 15:34:03 -07:00
zinject.c Fix minor compiler warnings 2011-01-06 15:04:28 -08:00
zinject.h Update core ZFS code from build 121 to build 141. 2010-05-28 13:45:14 -07:00