selinux_lsetfilecon_default - Man Page
set the file context to the system defaults
Synopsis
#include <selinux/selinux.h>
int selinux_lsetfilecon_default(const char *path);
Description
selinux_lsetfilecon_default() sets the file context to the system defaults.
Return Value
Returns zero on success or -1 otherwise.
See Also
selinux(8), selinux_file_context_cmp(3), selinux_file_context_verify(3), matchpathcon(3), freecon(3), setfilecon(3), setfscreatecon(3)
Info
21 November 2009 stephen.smalley.work@gmail.com SELinux API documentation