selinux_restorecon_get_skipped_errors(3) | SELinux API documentation | selinux_restorecon_get_skipped_errors(3) |
selinux_restorecon_get_skipped_errors - get the number of errors ignored by selinux_restorecon(3) or selinux_restorecon_parallel(3) during the file tree walk
#include <selinux/restorecon.h>
long unsigned selinux_restorecon_get_skipped_errors(void);
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.
27 Apr 2022 | Security Enhanced Linux |