1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/libdm/ioctl
Peter Rajnoha 7dfce0e467 Add new dm_prepare_selinux_context fn to libdevmapper and use it throughout.
Detect existence of new SELinux selabel interface during configure.
Use new dm_prepare_selinux_context instead of dm_set_selinux_context.

We should set the SELinux context before the actual file system object creation.
The new dm_prepare_selinux_context function sets this using the selabel_lookup
fn in conjuction with the setfscreatecon fn. If selinux/label.h interface
(that should be a part of the selinux library) is not found during configure,
we fallback to the original matchpathcon function instead.
2010-12-13 10:43:56 +00:00
..
libdm-compat.h further progress 2008-11-01 02:19:19 +00:00
libdm-iface.c Add new dm_prepare_selinux_context fn to libdevmapper and use it throughout. 2010-12-13 10:43:56 +00:00
libdm-targets.h Add --setuuid to dmsetup rename. 2010-10-15 01:10:27 +00:00