selinux_lsetfilecon_default(3) centos man page | unix.com

Man Page: selinux_lsetfilecon_default

Operating Environment: centos

Section: 3

selinux_lsetfilecon_default(3)				     SELinux API documentation				    selinux_lsetfilecon_default(3)

NAME
selinux_lsetfilecon_default - 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) sds@tycho.nsa.gov 21 November 2009 selinux_lsetfilecon_default(3)
Related Man Pages
matchpathcon(3) - debian
matchpathcon_index(3) - debian
matchpathcon_fini(3) - centos
matchpathcon_init(3) - centos
set_matchpathcon_printf(3) - centos
Similar Topics in the Unix Linux Community
How to increment version inside a file?
Tar Command
Docker learning Phase-I
Controlling user input
Please Welcome Dave Munro to the Moderator Team!