POSIX_ACE
struct POSIX_ACE *pace;
struct POSIX_ACE ace;
memcpy(&ace,&pacl->ace[i-1],sizeof(struct POSIX_ACE));
memcpy(&pacl->ace[i-1],&pacl->ace[i],sizeof(struct POSIX_ACE));
memcpy(&pacl->ace[i],&ace,sizeof(struct POSIX_ACE));
memcpy(&ace,&pacl->ace[i-1],sizeof(struct POSIX_ACE));
memcpy(&pacl->ace[i-1],&pacl->ace[i],sizeof(struct POSIX_ACE));
memcpy(&pacl->ace[i],&ace,sizeof(struct POSIX_ACE));
struct POSIX_ACE *pace;
+ (oldpxdesc->acccnt + count)*sizeof(struct POSIX_ACE);
+ (oldpxdesc->defcnt + count)*sizeof(struct POSIX_ACE);
struct POSIX_ACE *pyace;
sizeof(struct POSIX_SECURITY) + 3*sizeof(struct POSIX_ACE));
struct POSIX_ACE *pyace;
sizeof(struct POSIX_SECURITY) + count*sizeof(struct POSIX_ACE));
size = sizeof(struct POSIX_ACE)*defcnt;
static int merge_lists_posix(struct POSIX_ACE *targetace,
const struct POSIX_ACE *firstace,
const struct POSIX_ACE *secondace,
struct POSIX_ACE *targetace;
const struct POSIX_ACE *firstace;
const struct POSIX_ACE *secondace;
+ second->acccnt + second->defcnt)*sizeof(struct POSIX_ACE);
ACE_FLAGS flags, const struct POSIX_ACE *pxace,
ACE_FLAGS flags, const struct POSIX_ACE *pxace,
ACE_FLAGS flags, const struct POSIX_ACE *pxace,
const struct POSIX_ACE *pxace;
struct POSIX_ACE *pxace;
struct POSIX_ACE *pxace;
struct POSIX_ACE *pxace;
+ alloccnt*sizeof(struct POSIX_ACE));
const struct POSIX_ACE *pace;
*sizeof(struct POSIX_ACE) :
*sizeof(struct POSIX_ACE) :
+ (pxdesc->acccnt + pxdesc->defcnt)*sizeof(struct POSIX_ACE);
+ (pxdesc->acccnt + pxdesc->defcnt)*sizeof(struct POSIX_ACE);
+ (pxdesc->acccnt + pxdesc->defcnt)*sizeof(struct POSIX_ACE);
struct POSIX_ACE *pxace;
+ pxdesc->defcnt*sizeof(struct POSIX_ACE);
+ pxdesc->acccnt*sizeof(struct POSIX_ACE);
+ (pxdesc->acccnt + pxdesc->defcnt)*sizeof(struct POSIX_ACE);
+ (pxdesc->acccnt + pxdesc->defcnt)*sizeof(struct POSIX_ACE);
+ (pxdesc->acccnt + pxdesc->defcnt)*sizeof(struct POSIX_ACE);
count = (size - sizeof(struct POSIX_ACL)) / sizeof(struct POSIX_ACE);
+ (oldpxdesc->acccnt + oldpxdesc->defcnt)*sizeof(struct POSIX_ACE);
+ (oldpxdesc->acccnt + oldpxdesc->defcnt)*sizeof(struct POSIX_ACE);
struct POSIX_ACE ace[0];
cnt = (size - sizeof(struct POSIX_ACL)) / sizeof(struct POSIX_ACE);