Version 1.02.00 -
=============================
+ Export dm_set_selinux_context().
Add dm_driver_version().
Added dependency tree functions to library.
Added hash, bitset, pool, dbg_malloc to library.
dm_hash_get_next
dm_driver_version
dm_deptree_deactivate_children
+dm_set_selinux_context
v = dm_hash_get_next(h, v))
#endif /* LIB_DEVICE_MAPPER_H */
+
+/*
+ * selinux
+ */
+int dm_set_selinux_context(const char *path, mode_t mode);
}
#ifdef HAVE_SELINUX
-int set_selinux_context(const char *path, mode_t mode)
+int dm_set_selinux_context(const char *path, mode_t mode)
{
security_context_t scontext;
}
#ifdef HAVE_SELINUX
- if (!set_selinux_context(path, S_IFBLK))
+ if (!dm_set_selinux_context(path, S_IFBLK))
return 0;
#endif
int rename_dev_node(const char *old_name, const char *new_name);
void update_devs(void);
-int set_selinux_context(const char *path, mode_t mode);
-
#define DM_LIB_VERSION @DM_LIB_VERSION@
#endif