1selinux_restorecon_set_sehanSdElLei(n3u)x API documesnetlaitniuoxn_restorecon_set_sehandle(3)
2
3
4
6 selinux_restorecon_set_sehandle - set a labeling handle for use by
7 selinux_restorecon(3)
8
10 #include <selinux/restorecon.h>
11 #include <selinux/label.h>
12
13 void selinux_restorecon_set_sehandle(struct selabel_handle *handle);
14
16 selinux_restorecon_set_sehandle() sets the handle to be use by
17 selinux_restorecon(3) when relabeling files.
18
19 selinux_restorecon_set_sehandle() is generally used when customised
20 selabel_open(3) parameters are required to perform relabeling opera‐
21 tions with selinux_restorecon(3).
22
23 selinux_restorecon_set_sehandle() will output to the default SELinux
24 log information regarding whether a digest is available or not. If it
25 were available, the message will contain the SHA1 digest and a list of
26 specfiles used to compute the digest.
27
29 selinux_restorecon(3),
30 selinux_restorecon_set_exclude_list(3),
31 selinux_restorecon_default_handle(3)
32
33
34
35Security Enhanced Linux 20 Oct 2015selinux_restorecon_set_sehandle(3)