FreeBSD src
Go to file
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
cmd Autoconf selinux support 2011-01-28 12:45:19 -08:00
config Autoconf selinux support 2011-01-28 12:45:19 -08:00
etc Autoconf selinux support 2011-01-28 12:45:19 -08:00
include Autoconf selinux support 2011-01-28 12:45:19 -08:00
lib Autoconf selinux support 2011-01-28 12:45:19 -08:00
man Autoconf selinux support 2011-01-28 12:45:19 -08:00
module Fix ZVOL rename minor devices 2011-01-07 12:26:02 -08:00
patches Add build system 2010-08-31 13:41:27 -07:00
scripts Autoconf selinux support 2011-01-28 12:45:19 -08:00
.gitignore
AUTHORS
autogen.sh Minor packaging fixes 2010-09-01 15:42:32 -07:00
ChangeLog Add build system 2010-08-31 13:41:27 -07:00
configure Autoconf selinux support 2011-01-28 12:45:19 -08:00
configure.ac Add [-m map] option to zpool_layout 2010-09-17 11:02:19 -07:00
COPYING
COPYRIGHT
DISCLAIMER
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
META Prep for 0.5.2 tag 2010-11-08 14:03:36 -08:00
OPENSOLARIS.LICENSE
README.markdown Fix markdown rendering 2010-09-15 09:09:37 -07:00
zfs_config.h.in Autoconf selinux support 2011-01-28 12:45:19 -08:00
zfs-modules.spec.in Use top level object directory in zfs-module.spec 2010-09-10 12:33:31 -07:00
zfs-script-config.sh.in Unconditionally load core kernel modules 2010-11-11 11:38:25 -08:00
ZFS.RELEASE
zfs.spec.in Support custom build directories and move includes 2010-09-08 12:38:56 -07:00

Native ZFS for Linux! ZFS is an advanced file system and volume manager which was originally developed for Solaris. It has been successfully ported to FreeBSD and now there is a functional Linux ZFS kernel port too. The port currently includes a fully functional and stable SPA, DMU, and ZVOL with a ZFS Posix Layer (ZPL) on the way!

$ ./configure
$ make pkg

Full documentation for building, configuring, and using ZFS can be found at: http://zfsonlinux.org