selinux_restorecon_get_skipped_errors(3)

selinux_restorecon_get_skipped_errors3

Get the number of errors ignored by selinux_restorecon(3) or selinux_restorecon_parallel(3) during the file tree walk

Usage

#include <selinux/restorecon.h>

long unsigned selinux_restorecon_get_skipped_errors(void);

Overview

If SELINUX_RESTORECON_COUNT_ERRORS was passed to selinux_restorecon(3) or selinux_restorecon_parallel(3) and that function returned successfully (i.e., with a zero return value), then selinux_restorecon_get_skipped_errors() returns the number of errors ignored during the file tree walk.

Releases

Unchanged in 2 releases since Debian 12 (Bookworm).

  1. 12–13

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