RSBAC_CHECK(2)

NAME
rsbac_check - trigger RSBAC consistency check

SYNOPSIS
#include <rsbac/syscalls.h>

int rsbac_check(int correct);

DESCRIPTION
rsbac_check requests the kernel to check the current RSBAC status for consistency. If correct is not 0, detected errors are corrected, otherwise they are only reported via syslog.

RETURN VALUE
rsbac_check returns 0 on success and an error code otherwise.

ERRORS

EPERM
    The decision component denied the request for this user/process.

SEE ALSO
rsbac_stats(2),rsbac_stats_pm(2).

AUTHOR
Amon Ott <ao@compuniverse.com>