selinux\_restorecon\_get\_skipped\_errors(3) SELinux API documentation selinux\_restorecon\_get\_skipped\_errors(3)

# [NAME](#NAME)

selinux\_restorecon\_get\_skipped\_errors - get the number of errors ignored by [**selinux\_restorecon**(3)](/man/os/libselinux/selinux_restorecon.3) or [**selinux\_restorecon\_parallel**(3)](/man/os/libselinux/selinux_restorecon_parallel.3) during the file tree walk

# [SYNOPSIS](#SYNOPSIS)

**#include &lt;selinux/restorecon.h&gt;**

**long unsigned selinux\_restorecon\_get\_skipped\_errors(void);**

# [DESCRIPTION](#DESCRIPTION)

If **SELINUX\_RESTORECON\_COUNT\_ERRORS** was passed to [**selinux\_restorecon**(3)](/man/os/libselinux/selinux_restorecon.3) or [**selinux\_restorecon\_parallel**(3)](/man/os/libselinux/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.

# [SEE ALSO](#SEE_ALSO)

[**selinux\_restorecon**(3)](/man/os/libselinux/selinux_restorecon.3)

27 Apr 2022 Security Enhanced Linux

---

Document: selinux_restorecon_get_skipped_errors(3) from libselinux 3.11-r2 (Chainguard OS)
Source: https://github.com/SELinuxProject/selinux.git
