selinux_restorecon_set_sehandle - Man Page

set a labeling handle for use by selinux_restorecon(3)

Synopsis

#include <selinux/restorecon.h>
#include <selinux/label.h>

void selinux_restorecon_set_sehandle(struct selabel_handle *handle);

Description

selinux_restorecon_set_sehandle() sets the handle to be use by selinux_restorecon(3) when relabeling files.

selinux_restorecon_set_sehandle() is generally used when customised selabel_open(3) parameters are required to perform relabeling operations with selinux_restorecon(3).

See Also

selinux_restorecon(3),
selinux_restorecon_set_exclude_list(3),
selinux_restorecon_default_handle(3),
selinux_restorecon_set_alt_rootpath(3),
selinux_restorecon_xattr(3)

Referenced By

selinux_restorecon(3), selinux_restorecon_default_handle(3), selinux_restorecon_set_alt_rootpath(3), selinux_restorecon_set_exclude_list(3), selinux_restorecon_xattr(3).

20 Oct 2015 Security Enhanced Linux SELinux API documentation