
EXAMPLE: READING FILE PERMISSIONS
447
To interpret an ACL, it is necessa ry to find out how many ACEs it contains.
In most cases, the ACL information class,
, is
, and the parameter is a structure of type
. is the other value for the class.
An
structure has three members: the most impor-
tant one is
, which shows how many entries are in the list. To determine
whether the ACL is large enough, look at the
and
members of the structure.
The
function retrieves ACEs by index.
Obtain the ACEs (the total number is now known) by usi ng an index.
points to an structure, which has a member called , which, in turn,
has an
member. The type can be teste ...