File: selinux_restorecon_set_alt_rootpath.3

package info (click to toggle)
libselinux 3.8.1-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 2,380 kB
  • sloc: ansic: 17,619; makefile: 416; sh: 48; python: 21
file content (37 lines) | stat: -rw-r--r-- 974 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
.TH "selinux_restorecon_set_alt_rootpath" "3" "29 May 2016" "Security Enhanced Linux" "SELinux API documentation"

.SH "NAME"
selinux_restorecon_set_alt_rootpath \- set an alternate rootpath.
.
.SH "SYNOPSIS"
.B #include <selinux/restorecon.h>
.sp
.BI "int selinux_restorecon_set_alt_rootpath(const char *" alt_rootpath ");"
.in +\w'void selinux_restorecon_set_alt_rootpath('u
.
.SH "DESCRIPTION"
.BR selinux_restorecon_set_alt_rootpath ()
passes to
.BR selinux_restorecon (3)
a pointer containing an alternate rootpath
.IR alt_rootpath .
.sp
.BR selinux_restorecon_set_alt_rootpath ()
must be called prior to
.BR selinux_restorecon (3).
.
.SH "RETURN VALUE"
On success, zero is returned.  On error, \-1 is returned and
.I errno
is set appropriately.
.
.SH "SEE ALSO"
.BR selinux_restorecon (3),
.br
.BR selinux_restorecon_set_sehandle (3),
.br
.BR selinux_restorecon_default_handle (3),
.br
.BR selinux_restorecon_set_exclude_list (3),
.br
.BR selinux_restorecon_xattr (3)