| 1 |
.TH "selinux_restorecon_set_sehandle" "3" "20 Oct 2015" "Security Enhanced Linux" "SELinux API documentation" |
| 2 |
|
| 3 |
.SH "NAME" |
| 4 |
selinux_restorecon_set_sehandle \- set a labeling handle for use by |
| 5 |
.BR selinux_restorecon (3) |
| 6 |
. |
| 7 |
.SH "SYNOPSIS" |
| 8 |
.B #include <selinux/restorecon.h> |
| 9 |
.br |
| 10 |
.B #include <selinux/label.h> |
| 11 |
.sp |
| 12 |
.BI "void selinux_restorecon_set_sehandle(struct selabel_handle *" handle ");" |
| 13 |
.in +\w'void selinux_restorecon_set_sehandle('u |
| 14 |
. |
| 15 |
.SH "DESCRIPTION" |
| 16 |
.BR selinux_restorecon_set_sehandle () |
| 17 |
sets the |
| 18 |
.I handle |
| 19 |
to be use by |
| 20 |
.BR selinux_restorecon (3) |
| 21 |
when relabeling files. |
| 22 |
.sp |
| 23 |
.BR selinux_restorecon_set_sehandle () |
| 24 |
is generally used when customised |
| 25 |
.BR selabel_open (3) |
| 26 |
parameters are required to perform relabeling operations with |
| 27 |
.BR selinux_restorecon (3). |
| 28 |
. |
| 29 |
.SH "SEE ALSO" |
| 30 |
.BR selinux_restorecon (3), |
| 31 |
.br |
| 32 |
.BR selinux_restorecon_set_exclude_list (3), |
| 33 |
.br |
| 34 |
.BR selinux_restorecon_default_handle (3), |
| 35 |
.br |
| 36 |
.BR selinux_restorecon_set_alt_rootpath (3), |
| 37 |
.br |
| 38 |
.BR selinux_restorecon_xattr (3) |