selinux_lsetfilecon_default(3) | SELinux API documentation | selinux_lsetfilecon_default(3) |
selinux_lsetfilecon_default - set the file context to the system defaults
#include <selinux/selinux.h>
int selinux_lsetfilecon_default(const char *path);
selinux_lsetfilecon_default() sets the file context to the system defaults.
Returns zero on success or -1 otherwise.
selinux(8), selinux_file_context_cmp(3), selinux_file_context_verify(3), matchpathcon(3), freecon(3), setfilecon(3), setfscreatecon(3)
21 November 2009 | sds@tycho.nsa.gov |