Debian Codegraph @

libselinux/man/man3/selinux_restorecon_set_alt_rootpath.3

raw
1 .TH "selinux_restorecon_set_alt_rootpath" "3" "29 May 2016" "Security Enhanced Linux" "SELinux API documentation"
2
3 .SH "NAME"
4 selinux_restorecon_set_alt_rootpath \- set an alternate rootpath.
5 .
6 .SH "SYNOPSIS"
7 .B #include <selinux/restorecon.h>
8 .sp
9 .BI "int selinux_restorecon_set_alt_rootpath(const char *" alt_rootpath ");"
10 .in +\w'void selinux_restorecon_set_alt_rootpath('u
11 .
12 .SH "DESCRIPTION"
13 .BR selinux_restorecon_set_alt_rootpath ()
14 passes to
15 .BR selinux_restorecon (3)
16 a pointer containing an alternate rootpath
17 .IR alt_rootpath .
18 .sp
19 .BR selinux_restorecon_set_alt_rootpath ()
20 must be called prior to
21 .BR selinux_restorecon (3).
22 .
23 .SH "RETURN VALUE"
24 On success, zero is returned. On error, \-1 is returned and
25 .I errno
26 is set appropriately.
27 .
28 .SH "SEE ALSO"
29 .BR selinux_restorecon (3),
30 .br
31 .BR selinux_restorecon_set_sehandle (3),
32 .br
33 .BR selinux_restorecon_default_handle (3),
34 .br
35 .BR selinux_restorecon_set_exclude_list (3),
36 .br
37 .BR selinux_restorecon_xattr (3)