Commit Graph

816 Commits

Author SHA1 Message Date
4c13522783 Some adpations to FreeBSD
and a temporary dummy of iconv (which is not installed on the test box)
2009-02-03 16:13:08 +01:00
8d459c7f77 Fixed unterminated comment. 2009-02-02 21:33:22 +01:00
1eb8029e60 Some enhancements about xattr API. 2009-02-02 21:10:21 +01:00
4950f869cb Giving access to AAIP xattr by new API functions iso_node_get_attrs() and
iso_node_set_attrs. Giving access to local filesystem xattr by new API
functions iso_local_get_attrs(), iso_local_set_attrs().
2009-02-02 11:49:28 +01:00
c226491f18 Polished AAIP specs. 2009-01-31 10:25:04 +01:00
84c100c2f5 Gave up adjustability of Signature Word "AA" in specs and implementation. 2009-01-30 18:58:11 +01:00
b600757649 Changed iso_node_set_acl_text() and iso_node_set_acl_text() so they
process both eventual ACLs of a node in one call.
2009-01-30 15:37:48 +01:00
313c4ff20f Silenced a warning of FreeBSD about shifting 32-bit dev_t by 32 bit.
Silenced warnings of FreeBSD about unused variables.
2009-01-29 21:54:24 +01:00
b824db94dc Clarified role of aaip_xinfo_func in libisofs API 2009-01-29 11:24:20 +01:00
9f60c75f08 Introduced generic ACL-EA-system adapter aaip-os-dummy.c
which steps in at compile time if neither __FreeBSD__ nor __linux is defined.
2009-01-29 10:52:08 +01:00
6dee6e4c20 More bug fixes about "default" ACL.
Made aaip_xinfo_func() available unconditionally.
2009-01-28 12:37:59 +01:00
b53ef57ac6 New API call iso_local_get_acl_text()
and bug fixes about "default" ACL
2009-01-27 21:19:49 +01:00
0b4792bc0c Mentioned the need for 64 bit file i/o 2009-01-27 12:19:10 +01:00
2cc74562fb Changed aaip API to allow fabrication of missing mandatory ACL entries
from st_mode
2009-01-27 09:50:55 +01:00
d9f3244037 Updated AAIP specs by exlicit rules for ER and ES 2009-01-26 15:46:59 +01:00
4ed2269570 Writing ES fields with RRIP and AAIP fields when ER of AAIP is written.
Also provided API call iso_write_opts_set_aaip_susp_1_10() which prevents
writing AAIP ER and consequentially of ES fields.
2009-01-26 15:12:57 +01:00
7dfec561d9 Avoided to store deleted ACL as attribute with empty value 2009-01-25 10:49:07 +01:00
dc26d8eefc Updating st_mode permission bits in iso_node_set_acl_text() 2009-01-24 17:45:22 +01:00
bd9b49714f Let configure detect availability of libacl and of Linux listxattr call
and aaip-os work around eventual missing functionality
2009-01-23 18:28:51 +01:00
aae339fe49 voiding to store empty ACL for all directories withou ACL 2009-01-23 13:17:22 +01:00
c801fa60f7 Incremented version to 0.6.13 and .so age to 9. 2009-01-23 09:43:52 +01:00
c8495481ca Controlling import and export of ACL, EA, AAIP 2009-01-23 09:32:32 +01:00
65e5b00171 Disabled loading of AAIP from ISO images by default
and provided new API function iso_read_opts_set_no_aaip()
2009-01-21 16:03:59 +01:00
bb69e14b08 Better messages of non-AAIP aware libisofs about AAIP enhanced images 2009-01-21 14:25:08 +01:00
a5aedd51a4 Re-enabled compilation without Libisofs_with_aaiP
but prepared messages of that code for existence of AA and ER of AAIP
2009-01-21 14:08:10 +01:00
1150ee32a4 New API call iso_node_set_acl_text()
and automatic update of ACL entries by iso_node_set_permissions()
2009-01-21 13:29:10 +01:00
d4ce4a7f88 Forgot to store node.c before committing 425. 2009-01-19 10:52:40 +01:00
6659ec1566 Correcting my statement in the previous commit:
There is defined correspondence between ACL and st_mode in Linux man 5 acl.
It is complicated and libisofs will have to ensure integrity of ACL
manipulations and st_mode manipulations. (It will not check integrity when
loading ACLs and st_mode from filesystems.)
2009-01-19 10:48:34 +01:00
6ad6d3c219 Gave up deleting of single ACL entries if they match st_mode.
Only totally trivial ACLs are discarded as a whole.
This seems necessary because the relation between st_mode and ACL
is not clearly defined in man 5 acl.
2009-01-19 09:50:29 +01:00
24fadd7649 New API function iso_local_set_acl_text() 2009-01-18 22:36:06 +01:00
723d23321a Handling ACL entries which match the POSIX permissions 2009-01-18 18:39:06 +01:00
ece6eca9a5 Avoided memory overflow with Aaip_encode_debuG 2009-01-17 20:25:00 +01:00
20adf50275 New API function iso_node_get_acl_text
Fixes for problems with CE usage and reading of multiple AA fields
2009-01-17 16:06:05 +01:00
c6f4370e71 Fixed a memory hog about submitting multiple fields in aaip_add_AA() 2009-01-16 13:38:02 +01:00
d01b3cc6cc Implemented generation of AA strings from local filesystem
and upgraded IsoFileSourceIface lfs_class to version 1
2009-01-16 13:24:30 +01:00
9dc56426c0 New API call iso_file_source_get_aa_string()
and IsoFileSource_Iface.version == 1 with ifs_class
Now libisofs is able to load AA strings from images and to store them again.
2009-01-15 21:58:48 +01:00
de99f93640 Implemented reading of AA fields to struct image_fs_data.aa_string
and defined IsoFileSource_Iface version 1 with access function .get_aa_string()
2009-01-15 17:43:58 +01:00
3c91c2f333 Implemented reading of AA field string from iso_node_get_xinfo().
(No AA strings get submitted as xinfo yet.)
2009-01-14 15:49:02 +01:00
3294dd5e94 Introduced AAIP code. Now linking with libacl.
(Todo: handle system dependy of -lacl in configure.ac)
2009-01-14 12:11:47 +01:00
e8f1dfb8e5 Silenced warning about multiple ER fields. Enabled recognizing of AAIP-ER.
Vreixo needs to explain TODO #00016 in fs_image.c
2009-01-13 20:44:36 +01:00
19661b0c05 Testing the ER field which announces AAIP. 2009-01-13 20:25:12 +01:00
1267052c03 Accounting for the size of AA fields in rrip_calc_len() 2009-01-13 18:35:14 +01:00
f7a47baa22 Experiment with dummy AA fields.
Looks good when writing. But when reading there are
problems with the directory size which is not aligned
to 2048.
2009-01-13 14:02:27 +01:00
cc9de1507f Described license situation of make_isohybrid_mbr.c 2008-11-25 17:11:52 +01:00
6b273ef79a Added a missing change for RRIP-1.10 option to rrip_calc_len() 2008-11-25 17:07:24 +01:00
a8c7d1b0e6 Removed surplus line from rrip_add_PN().
It was introduced with the FreeBSD port.
2008-11-25 16:53:36 +01:00
7990e01a57 More apostrophes removed from messages 2008-11-25 16:49:10 +01:00
23e2647920 Described need to pad isohybrid to full MB.
Removed compiler warning about isohybrid FIXME.
2008-11-25 16:32:55 +01:00
412ad2fcdb Version switch to 0.6.12 , libisofs-6.8.0.so 2008-11-25 15:39:40 +01:00
14dd988f0f New API function iso_write_opts_set_dir_rec_mtime() to store the mtime
of the source files in their ECMA-119 Directory Records
2008-11-25 15:31:33 +01:00