Home
last modified time | relevance | path

Searched refs:newpxdesc (Results 1 – 3 of 3) sorted by relevance

/third_party/ntfs-3g/libntfs-3g/
Dsecurity.c3092 struct POSIX_SECURITY *newpxdesc; in ntfs_set_posix_acl() local
3102 newpxdesc = (struct POSIX_SECURITY*)NULL; in ntfs_set_posix_acl()
3112 newpxdesc = ntfs_replace_acl(oldpxdesc, in ntfs_set_posix_acl()
3138 newpxdesc = ntfs_replace_acl(oldpxdesc, in ntfs_set_posix_acl()
3149 if (newpxdesc) { in ntfs_set_posix_acl()
3159 newpxdesc->mode &= ~S_ISGID; in ntfs_set_posix_acl()
3162 newpxdesc->mode, newpxdesc); in ntfs_set_posix_acl()
3165 free(newpxdesc); in ntfs_set_posix_acl()
3267 struct POSIX_SECURITY *newpxdesc = (struct POSIX_SECURITY*)NULL; in ntfs_set_mode() local
3282 newpxdesc = (struct POSIX_SECURITY*)malloc(pxsize); in ntfs_set_mode()
[all …]
Dacls.c1248 struct POSIX_SECURITY *newpxdesc; in ntfs_replace_acl() local
1260 newpxdesc = (struct POSIX_SECURITY*)malloc(newsize); in ntfs_replace_acl()
1261 if (newpxdesc) { in ntfs_replace_acl()
1264 newpxdesc->acccnt = oldpxdesc->acccnt; in ntfs_replace_acl()
1265 newpxdesc->defcnt = count; in ntfs_replace_acl()
1266 newpxdesc->firstdef = offset; in ntfs_replace_acl()
1268 for (i=0; i<newpxdesc->acccnt; i++) in ntfs_replace_acl()
1269 newpxdesc->acl.ace[i] = oldpxdesc->acl.ace[i]; in ntfs_replace_acl()
1272 newpxdesc->acl.ace[i + offset] = newacl->ace[i]; in ntfs_replace_acl()
1275 newpxdesc->acccnt = count; in ntfs_replace_acl()
[all …]
/third_party/ntfs-3g/ntfsprogs/
Dntfssecaudit.c2574 struct POSIX_SECURITY *newpxdesc; in tryposix() local
2581 newpxdesc = ntfs_merge_descr_posix(pxdesc, oldpxdesc); in tryposix()
2582 if (!newpxdesc) in tryposix()
2583 newpxdesc = pxdesc; in tryposix()
2587 showposix(newpxdesc); in tryposix()
2590 newpxdesc = pxdesc; in tryposix()
2591 attr = ntfs_build_descr_posix(context.mapping,newpxdesc, in tryposix()
2605 newpxdesc = linux_permissions_posix(attr,isdir); in tryposix()
2606 showposix(newpxdesc); in tryposix()
2607 free(newpxdesc); in tryposix()
[all …]