Debian Codegraph @

libselinux/man/man3/selinux_lsetfilecon_default.3

raw
1 .TH "selinux_lsetfilecon_default" "3" "21 November 2009" "[email protected]" "SELinux API documentation"
2 .SH "NAME"
3 selinux_lsetfilecon_default \- set the file context to the system defaults
4 .
5 .SH "SYNOPSIS"
6 .B #include <selinux/selinux.h>
7 .sp
8 .BI "int selinux_lsetfilecon_default(const char *" path ");"
9 .
10 .SH "DESCRIPTION"
11 .BR selinux_lsetfilecon_default ()
12 sets the file context to the system defaults.
13 .
14 .SH "RETURN VALUE"
15 Returns zero on success or \-1 otherwise.
16 .
17 .SH "SEE ALSO"
18 .ad l
19 .nh
20 .BR selinux "(8), " selinux_file_context_cmp "(3), " selinux_file_context_verify "(3), " matchpathcon "(3), " freecon "(3), " setfilecon "(3), " setfscreatecon "(3)"