gfs_acl_equiv_mode(3)

gfs_acl_equiv_mode3

Check for an equivalent gfarm acl

Usage

#include <gfarm/gfarm.h>

gfarm_error_t gfs_acl_equiv_mode(gfarm_acl_t acl, gfarm_mode_t *mode_p, int *is_not_equiv_p);

Input arguments

acl

An ACL structure type.

mode_p

If the pointer mode_p is not NULL, the value pointed to by mode_p is set to the value that defines the same owner/group/other permissions as contained in the ACL.

is_not_equiv_p

If the pointer is_not_equiv_p is not NULL, the value pointed to by is_not_equiv_p is set to 0 (the acl is an equivalent ACL) or 1 (the acl is not an equivalent ACL).

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.

  1. 9–10
  2. 11–13

From libgfarm-dev 2.7.20+dfsg-1.2+b1 in Debian 13 (Trixie). Parsed by carta from the page's man source.