acl-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Acl-devel] typo in acl_get_perm?


From: Andreas Grünbacher
Subject: Re: [Acl-devel] typo in acl_get_perm?
Date: Sat, 26 Dec 2015 11:57:13 +0100

Corinna,

2015-12-25 15:36 GMT+01:00 Corinna Vinschen <address@hidden>:
> I was wondering about a discrepancy between the man page for
> acl_get_perm and the actual implementation and I'm not sure if I just
> misunderstand the docs.
>
> The man page claims:
>
>   The acl_get_perm() function tests if the permission specified by the
>   argument perm is *contained* in the ACL permission set pointed to by
>   the argument permset_d.
>
> To me "contained" implies that all bits given in perm has to be set
> in the permissions permset_d refers to

this function supports testing for one permission, not for a set of
permissions. The man page seems clear about that; I'm unsure what's
confusing you.

Thanks,
Andreas



reply via email to

[Prev in Thread] Current Thread [Next in Thread]