1selinux_lsetfilecon_default(S3E)Linux API documentatsieolninux_lsetfilecon_default(3)
2
3
4
6 selinux_lsetfilecon_default - set the file context to the system
7 defaults.
8
9
11 #include <selinux/selinux.h>
12
13
14 int selinux_lsetfilecon_default(const char *path);
15
16
18 selinux_lsetfilecon_default sets the file context to the system
19 defaults.
20
21
22
24 Returns zero on success or -1 otherwise.
25
26
28 selinux(8), selinux_file_context_cmp(3), selinux_file_context_ver‐
29 ify(3), matchpathcon(3), freecon(3), setfilecon(3), setfscreatecon(3)
30
31
32
33sds@tycho.nsa.gov 21 November 2009 selinux_lsetfilecon_default(3)