gfs_acl_check3
Check a gfarm acl for validity
Usage
#include <gfarm/gfarm.h>
gfarm_error_t gfs_acl_check(gfarm_acl_t acl, int *last_p, int *acl_check_err_code_p);
Input arguments
acl
An ACL structure type which is sorted.
last_p
If this last_p is not NULL, the gfs_acl_check(3) function assigns the number of the ACL entry at which the error was detected to the value pointed to by this last_p.
acl_check_err_code
GFARM_ACL_MULTI_ERROR or GFARM_ACL_DUPLICATE_ERROR or GFARM_ACL_MISS_ERROR or GFARM_ACL_ENTRY_ERROR.
Return values
GFARM_ERR_NO_ERROR
The function terminated successfully.
Others
An error except the above occurred. The reason is shown by gfarm_error_string(3).
Releases
5 releases since Debian 9 (Stretch); the text changed 1 time.