New API call iso_local_get_acl_text()
and bug fixes about "default" ACL
This commit is contained in:
@ -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 */
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user