selinux_restorecon_set_exclude_list - Man Page

set list of directories to be excluded from relabeling.

Synopsis

#include <selinux/restorecon.h>

void selinux_restorecon_set_exclude_list(const char **exclude_list);

Description

selinux_restorecon_set_exclude_list() passes to selinux_restorecon(3) a pointer containing a NULL terminated list of one or more directories that are not to be relabeled in exclude_list.

selinux_restorecon_set_exclude_list() must be called prior to selinux_restorecon(3).

See Also

selinux_restorecon(3),
selinux_restorecon_set_sehandle(3),
selinux_restorecon_default_handle(3),
selinux_restorecon_set_alt_rootpath(3),
selinux_restorecon_xattr(3)

Referenced By

selinux_restorecon(3), selinux_restorecon_default_handle(3), selinux_restorecon_set_alt_rootpath(3), selinux_restorecon_set_sehandle(3), selinux_restorecon_xattr(3).

20 Oct 2015 Security Enhanced Linux SELinux API documentation