MAPPING
MAPPING m_Mappings[MAX_ENTRIES];// Parallel circular buffer to m_DuckEntries;
const SID *usid, struct MAPPING* const mapping[],
const SID *usid, struct MAPPING* const mapping[],
const SID *gsid, struct MAPPING* const mapping[],
static int buildacls_posix(struct MAPPING* const mapping[],
char *ntfs_build_descr_posix(struct MAPPING* const mapping[],
static uid_t find_tenant(struct MAPPING *const mapping[],
struct MAPPING *const mapping[],
const SID *ntfs_find_usid(const struct MAPPING* usermapping,
const struct MAPPING *p;
void ntfs_free_mapping(struct MAPPING *mapping[])
struct MAPPING *user;
struct MAPPING *group;
struct MAPPING *ntfs_do_user_mapping(struct MAPLIST *firstitem)
struct MAPPING *firstmapping;
struct MAPPING *lastmapping;
struct MAPPING *mapping;
firstmapping = (struct MAPPING*)NULL;
lastmapping = (struct MAPPING*)NULL;
(struct MAPPING*)
ntfs_malloc(sizeof(struct MAPPING));
mapping->next = (struct MAPPING*)NULL;
struct MAPPING *ntfs_do_group_mapping(struct MAPLIST *firstitem)
struct MAPPING *firstmapping;
struct MAPPING *lastmapping;
struct MAPPING *mapping;
firstmapping = (struct MAPPING*)NULL;
lastmapping = (struct MAPPING*)NULL;
mapping = (struct MAPPING*)
ntfs_malloc(sizeof(struct MAPPING));
mapping->next = (struct MAPPING*)NULL;
const SID *ntfs_find_gsid(const struct MAPPING* groupmapping,
const struct MAPPING *p;
uid_t ntfs_find_user(const struct MAPPING* usermapping, const SID *usid)
const struct MAPPING *p;
gid_t ntfs_find_group(const struct MAPPING* groupmapping, const SID * gsid)
const struct MAPPING *p;
const SID *ntfs_find_usid(const struct MAPPING *usermapping,
const SID *ntfs_find_gsid(const struct MAPPING *groupmapping,
uid_t ntfs_find_user(const struct MAPPING *usermapping, const SID *usid);
gid_t ntfs_find_group(const struct MAPPING *groupmapping, const SID * gsid);
struct MAPPING* const mapping[],
char *ntfs_build_descr_posix(struct MAPPING* const mapping[],
struct MAPPING *ntfs_do_user_mapping(struct MAPLIST *firstitem);
struct MAPPING *ntfs_do_group_mapping(struct MAPLIST *firstitem);
void ntfs_free_mapping(struct MAPPING *mapping[]);
struct MAPPING *user;
const struct MAPPING* group;
static int link_single_group(struct MAPPING *usermapping, struct passwd *user,
struct MAPPING *usermapping;
struct MAPPING *groupmapping;
struct MAPPING *usermapping;
struct MAPPING *groupmapping;
usermapping = (struct MAPPING*)ntfs_malloc(sizeof(struct MAPPING));
groupmapping = (struct MAPPING*)ntfs_malloc(sizeof(struct MAPPING));
usermapping->next = (struct MAPPING*)NULL;
groupmapping->next = (struct MAPPING*)NULL;
static BOOL check_mapping(const struct MAPPING *usermapping,
const struct MAPPING *groupmapping)
const struct MAPPING *mapping1;
const struct MAPPING *mapping2;
struct MAPPING *usermapping;
struct MAPPING *groupmapping;
scx->mapping[MAPUSERS] = (struct MAPPING*)NULL;
scx->mapping[MAPGROUPS] = (struct MAPPING*)NULL;
struct MAPPING *mapping[MAPCOUNT];
struct MAPPING *next;
withusermapping = scx && (scx->mapping[MAPUSERS] != (struct MAPPING*)NULL);
return (scx->mapping[MAPUSERS] != (struct MAPPING*)NULL);