selinux_restorecon_set_sehandle3
Set a labeling handle for use by selinux_restorecon(3)
Usage
#include <selinux/restorecon.h>
#include <selinux/label.h>
void selinux_restorecon_set_sehandle(struct selabel_handle *handle);
Overview
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).
Releases
Unchanged in 5 releases since Debian 9 (Stretch).