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
10 #include <selinux/selinux.h>
11
12 int selinux_lsetfilecon_default(const char *path);
13
15 selinux_lsetfilecon_default() sets the file context to the system
16 defaults.
17
19 Returns zero on success or -1 otherwise.
20
22 selinux(8), selinux_file_context_cmp(3),
23 selinux_file_context_verify(3), matchpathcon(3), freecon(3),
24 setfilecon(3), setfscreatecon(3)
25
26
27
28sds@tycho.nsa.gov 21 November 2009 selinux_lsetfilecon_default(3)