selinux_restorecon_set_exclude_list(3)

selinux_restorecon_set_exclude_list3

Set list of directories to be excluded from relabeling.

Usage

#include <selinux/restorecon.h>

void selinux_restorecon_set_exclude_list(const char **exclude_list);

Overview

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).

Releases

Unchanged in 5 releases since Debian 9 (Stretch).

  1. 9–13

From libselinux1-dev 3.8.1-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.