POSIX_SECURITY
static mode_t posix_header(struct POSIX_SECURITY *pxdesc, mode_t basemode)
void ntfs_sort_posix(struct POSIX_SECURITY *pxdesc)
int ntfs_merge_mode_posix(struct POSIX_SECURITY *pxdesc, mode_t mode)
struct POSIX_SECURITY *ntfs_replace_acl(const struct POSIX_SECURITY *oldpxdesc,
struct POSIX_SECURITY *newpxdesc;
newsize = sizeof(struct POSIX_SECURITY)
newsize = sizeof(struct POSIX_SECURITY)
newpxdesc = (struct POSIX_SECURITY*)malloc(newsize);
newpxdesc = (struct POSIX_SECURITY*)NULL;
struct POSIX_SECURITY *ntfs_build_basic_posix(
const struct POSIX_SECURITY *pxdesc __attribute__((unused)),
struct POSIX_SECURITY *pydesc;
pydesc = (struct POSIX_SECURITY*)malloc(
sizeof(struct POSIX_SECURITY) + 3*sizeof(struct POSIX_ACE));
struct POSIX_SECURITY *ntfs_build_inherited_posix(
const struct POSIX_SECURITY *pxdesc, mode_t mode,
struct POSIX_SECURITY *pydesc;
pydesc = (struct POSIX_SECURITY*)malloc(
sizeof(struct POSIX_SECURITY) + count*sizeof(struct POSIX_ACE));
pydesc = (struct POSIX_SECURITY*)NULL;
struct POSIX_SECURITY *ntfs_merge_descr_posix(const struct POSIX_SECURITY *first,
const struct POSIX_SECURITY *second)
struct POSIX_SECURITY *pxdesc;
size = sizeof(struct POSIX_SECURITY)
pxdesc = (struct POSIX_SECURITY*)malloc(size);
char *secattr, int offs, const struct POSIX_SECURITY *pxdesc,
struct POSIX_SECURITY *pxdesc,
static int norm_std_permissions_posix(struct POSIX_SECURITY *posix_desc,
static int norm_ownadmin_permissions_posix(struct POSIX_SECURITY *posix_desc,
struct POSIX_SECURITY *ntfs_build_permissions_posix(
struct POSIX_SECURITY *pxdesc;
pxdesc = (struct POSIX_SECURITY*)malloc(
sizeof(struct POSIX_SECURITY)
pxdesc = (struct POSIX_SECURITY*)NULL;
pxdesc = (struct POSIX_SECURITY*)NULL;
BOOL ntfs_valid_posix(const struct POSIX_SECURITY *pxdesc)
BOOL ntfs_valid_posix(const struct POSIX_SECURITY *pxdesc);
void ntfs_sort_posix(struct POSIX_SECURITY *pxdesc);
int ntfs_merge_mode_posix(struct POSIX_SECURITY *pxdesc, mode_t mode);
struct POSIX_SECURITY *ntfs_build_inherited_posix(
const struct POSIX_SECURITY *pxdesc, mode_t mode,
struct POSIX_SECURITY *ntfs_build_basic_posix(
const struct POSIX_SECURITY *pxdesc, mode_t mode,
struct POSIX_SECURITY *ntfs_replace_acl(const struct POSIX_SECURITY *oldpxdesc,
struct POSIX_SECURITY *ntfs_build_permissions_posix(
struct POSIX_SECURITY *ntfs_merge_descr_posix(const struct POSIX_SECURITY *first,
const struct POSIX_SECURITY *second);
struct POSIX_SECURITY *pxdesc,
const struct POSIX_SECURITY *pxdesc)
+ (((struct POSIX_SECURITY*)cached->variable)->acccnt
+ ((struct POSIX_SECURITY*)cached->variable)->defcnt)
+ (((struct POSIX_SECURITY*)item->variable)->acccnt
+ ((struct POSIX_SECURITY*)item->variable)->defcnt)
&& memcmp(&((struct POSIX_SECURITY*)cached->variable)->acl,
&((struct POSIX_SECURITY*)item->variable)->acl, csize)));
struct POSIX_SECURITY *pxdesc)
struct POSIX_SECURITY *pxcached;
pxsize = sizeof(struct POSIX_SECURITY)
pxcached = (struct POSIX_SECURITY*)malloc(pxsize);
cacheentry->pxdesc = (struct POSIX_SECURITY*)NULL;
pxsize = sizeof(struct POSIX_SECURITY)
pxcached = (struct POSIX_SECURITY*)malloc(pxsize);
cacheentry->pxdesc = (struct POSIX_SECURITY*)NULL;
wanted.varsize = sizeof(struct POSIX_SECURITY)
struct POSIX_SECURITY *pxdesc, mode_t request,
struct POSIX_SECURITY *pxdesc;
struct POSIX_SECURITY *pxdesc;
pxdesc = (struct POSIX_SECURITY*)NULL;
struct POSIX_SECURITY *pxdesc;
static struct POSIX_SECURITY *inherit_posix(struct SECURITY_CONTEXT *scx,
struct POSIX_SECURITY *pxdesc;
struct POSIX_SECURITY *pydesc;
pydesc = (struct POSIX_SECURITY*)NULL;
struct POSIX_SECURITY *pxdesc;
wanted.varsize = sizeof(struct POSIX_SECURITY)
struct POSIX_SECURITY *pxdesc;
legacy.varsize = sizeof(struct POSIX_SECURITY)
struct POSIX_SECURITY *pxdesc)
wanted.varsize = sizeof(struct POSIX_SECURITY)
struct POSIX_SECURITY *oldpxdesc;
struct POSIX_SECURITY *newpxdesc;
newpxdesc = (struct POSIX_SECURITY*)NULL;
const struct POSIX_SECURITY *oldpxdesc;
struct POSIX_SECURITY *newpxdesc = (struct POSIX_SECURITY*)NULL;
pxsize = sizeof(struct POSIX_SECURITY)
newpxdesc = (struct POSIX_SECURITY*)malloc(pxsize);
newpxdesc = (struct POSIX_SECURITY*)NULL;
struct POSIX_SECURITY *pxdesc;
const struct POSIX_SECURITY *oldpxdesc;
struct POSIX_SECURITY *newpxdesc = (struct POSIX_SECURITY*)NULL;
pxsize = sizeof(struct POSIX_SECURITY)
newpxdesc = (struct POSIX_SECURITY*)malloc(pxsize);
mode_t mode, struct POSIX_SECURITY *pxdesc);
struct POSIX_SECURITY *pxdesc;