New API call iso_local_get_acl_text()

and bug fixes about "default" ACL
This commit is contained in:
2009-01-27 21:19:49 +01:00
parent 0b4792bc0c
commit b53ef57ac6
5 changed files with 72 additions and 33 deletions

View File

@ -1817,7 +1817,7 @@ int iso_local_set_acl_text(char *disk_path, char *text, int flag)
#ifdef Libisofs_with_aaiP
return aaip_set_acl_text(disk_path, text, flag);
return aaip_set_acl_text(disk_path, text, flag & 1);
#else /* Libisofs_with_aaiP */
@ -1827,3 +1827,20 @@ int iso_local_set_acl_text(char *disk_path, char *text, int flag)
}
/* ts A90127 */
int iso_local_get_acl_text(char *disk_path, char **text, int flag)
{
#ifdef Libisofs_with_aaiP
return aaip_get_acl_text(disk_path, text, flag & (1 | 16 | (1 << 15)));
#else /* Libisofs_with_aaiP */
return 0;
#endif /* ! Libisofs_with_aaiP */
}