Home
last modified time | relevance | path

Searched refs:pxdesc (Results 1 – 5 of 5) sorted by relevance

/third_party/ntfs-3g/libntfs-3g/
Dacls.c962 BOOL ntfs_valid_posix(const struct POSIX_SECURITY *pxdesc) in ntfs_valid_posix() argument
990 pacl = &pxdesc->acl; in ntfs_valid_posix()
1004 for (i=0; i<pxdesc->acccnt + pxdesc->defcnt; i++) { in ntfs_valid_posix()
1005 if (i >= pxdesc->firstdef) in ntfs_valid_posix()
1057 if ((pxdesc->acccnt > 0) in ntfs_valid_posix()
1064 if (pxdesc->defcnt && (pxdesc->acccnt > pxdesc->firstdef)) in ntfs_valid_posix()
1066 if ((pxdesc->acccnt < 0) || (pxdesc->defcnt < 0)) in ntfs_valid_posix()
1069 if (pxdesc->mode in ntfs_valid_posix()
1071 && (checks[0].mode != (pxdesc->mode & 0777))) in ntfs_valid_posix()
1074 if (pxdesc->tagsset != checks[0].tagsset) in ntfs_valid_posix()
[all …]
Dsecurity.c1353 const struct POSIX_SECURITY *pxdesc) in ntfs_basic_perms() argument
1361 perms = pxdesc->mode; in ntfs_basic_perms()
1362 for (k=0; k < pxdesc->acccnt; k++) { in ntfs_basic_perms()
1363 pace = &pxdesc->acl.ace[k]; in ntfs_basic_perms()
1466 && cacheentry->pxdesc) in free_caches()
1467 free(cacheentry->pxdesc); in free_caches()
1575 struct POSIX_SECURITY *pxdesc) in enter_cache() argument
1611 if (cacheentry->valid && cacheentry->pxdesc) in enter_cache()
1612 free(cacheentry->pxdesc); in enter_cache()
1613 if (pxdesc) { in enter_cache()
[all …]
/third_party/ntfs-3g/ntfsprogs/
Dntfssecaudit.c1507 static void showposix(const struct POSIX_SECURITY *pxdesc) in showposix() argument
1522 if (pxdesc) { in showposix()
1523 acccnt = pxdesc->acccnt; in showposix()
1524 defcnt = pxdesc->defcnt; in showposix()
1525 firstdef = pxdesc->firstdef; in showposix()
1526 acl = &pxdesc->acl; in showposix()
1531 printf(" mode : 0%03o\n",(int)pxdesc->mode); in showposix()
1532 printf(" tagsset : 0x%02x\n",(int)pxdesc->tagsset); in showposix()
2074 struct POSIX_SECURITY *pxdesc; in showhex() local
2145 pxdesc = linux_permissions_posix(attr,isdir); in showhex()
[all …]
/third_party/ntfs-3g/include/ntfs-3g/
Dacls.h148 BOOL ntfs_valid_posix(const struct POSIX_SECURITY *pxdesc);
149 void ntfs_sort_posix(struct POSIX_SECURITY *pxdesc);
150 int ntfs_merge_mode_posix(struct POSIX_SECURITY *pxdesc, mode_t mode);
152 const struct POSIX_SECURITY *pxdesc, mode_t mode,
155 const struct POSIX_SECURITY *pxdesc, mode_t mode,
166 struct POSIX_SECURITY *pxdesc,
Dsecurity.h61 struct POSIX_SECURITY *pxdesc; member
251 mode_t mode, struct POSIX_SECURITY *pxdesc);