Displaying 2 results from an estimated 2 matches for "ace4_identifier_group".
2006 Oct 31
0
6394541 ACL translators should ignore ACE4_IDENTIFIER_GROUP on special IDs
Author: samf
Repository: /hg/zfs-crypto/gate
Revision: ba9ce2ac74c77d65eac9cb61105b4d62fdce5311
Log message:
6394541 ACL translators should ignore ACE4_IDENTIFIER_GROUP on special IDs
Files:
update: usr/src/uts/common/fs/nfs/nfs4_acl.c
2010 Feb 01
1
[PATCH 03/23] vfs: rich ACL in-memory representation and manipulation
...> <snip>
>
> > +/*
> > + * richace_is_same_who - do both acl entries refer to the same identifier?
> > + */
> > +int
> > +richace_is_same_who(const struct richace *a, const struct richace *b)
> > +{
> > +#define WHO_FLAGS (ACE4_SPECIAL_WHO | ACE4_IDENTIFIER_GROUP)
> > + if ((a->e_flags & WHO_FLAGS) != (b->e_flags & WHO_FLAGS))
> > + return 0;
> > + if (a->e_flags & ACE4_SPECIAL_WHO)
> > + return a->u.e_who == b->u.e_who;
> > + else
> > + return a->u.e_id == b->u.e_id;
> > +#undef...