]> sourceware.org Git - lvm2.git/commit - configure.in
Add new dm_prepare_selinux_context fn to libdevmapper and use it throughout.
authorPeter Rajnoha <prajnoha@redhat.com>
Mon, 13 Dec 2010 10:43:56 +0000 (10:43 +0000)
committerPeter Rajnoha <prajnoha@redhat.com>
Mon, 13 Dec 2010 10:43:56 +0000 (10:43 +0000)
commit7dfce0e46762d25d7fe253693a66d45a357dbb69
treeb97b35821582d3270af7cab2d23ea214e484b6fb
parentbda30a59b930ee6c88b41ced9c6a6c16b80f7675
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.
13 files changed:
WHATS_NEW
WHATS_NEW_DM
configure.in
daemons/clvmd/clvmd-singlenode.c
daemons/clvmd/clvmd.c
daemons/cmirrord/clogd.c
daemons/dmeventd/dmeventd.c
lib/activate/fs.c
lib/locking/file_locking.c
libdm/ioctl/libdm-iface.c
libdm/libdevmapper.h
libdm/libdm-common.c
libdm/libdm-common.h
This page took 0.031699 seconds and 5 git commands to generate.