diff options
author | Nathan Scott <nathans@sgi.com> | 2002-08-12 08:27:57 +0000 |
---|---|---|
committer | Nathan Scott <nathans@sgi.com> | 2002-08-12 08:27:57 +0000 |
commit | d725165fdbd4eff437ec18830c41e4e3202cf9c6 (patch) | |
tree | 0a9b41b4ca7b8243b7b42c247d363788fdf0ea44 /libacl | |
parent | 8a108ecc7c5eeddb57d5aa8b4b9525df6dfdcc09 (diff) | |
download | acl-d725165fdbd4eff437ec18830c41e4e3202cf9c6.tar.gz |
bump version, document changes - fix an unaligned access on ia64.
Diffstat (limited to 'libacl')
-rw-r--r-- | libacl/Makefile | 2 | ||||
-rw-r--r-- | libacl/libacl.h | 8 | ||||
-rw-r--r-- | libacl/libobj.h | 5 |
3 files changed, 7 insertions, 8 deletions
diff --git a/libacl/Makefile b/libacl/Makefile index a1df30e..91f52b8 100644 --- a/libacl/Makefile +++ b/libacl/Makefile @@ -37,7 +37,7 @@ include $(TOPDIR)/include/builddefs LTLIBRARY = libacl.la LTLIBS = -lattr LT_CURRENT = 1 -LT_REVISION = 2 +LT_REVISION = 3 LT_AGE = 0 CFILES = $(POSIX_CFILES) $(LIBACL_CFILES) $(INTERNAL_CFILES) diff --git a/libacl/libacl.h b/libacl/libacl.h index 3167e2b..3c973b6 100644 --- a/libacl/libacl.h +++ b/libacl/libacl.h @@ -22,7 +22,7 @@ struct __acl_permset_ext { }; struct acl_permset_obj_tag { obj_prefix o_prefix; - struct __acl_permset_ext i __attribute__ ((packed)); + struct __acl_permset_ext i; }; #define sperm i.s_perm @@ -38,7 +38,7 @@ struct __qualifier_ext { struct qualifier_obj_tag { obj_prefix o_prefix; - struct __qualifier_ext i __attribute__ ((packed)); + struct __qualifier_ext i; }; #define qid i.q_id @@ -61,7 +61,7 @@ struct __acl_entry_ext { struct acl_entry_obj_tag { obj_prefix o_prefix; - struct __acl_entry_ext i __attribute__ ((packed)); + struct __acl_entry_ext i; }; #define econtainer i.e_container @@ -88,7 +88,7 @@ struct __acl_ext { }; struct acl_obj_tag { obj_prefix o_prefix; - struct __acl_ext i __attribute__ ((packed)); + struct __acl_ext i; }; #define aprev i.a_prev diff --git a/libacl/libobj.h b/libacl/libobj.h index 6a4c76f..6857084 100644 --- a/libacl/libobj.h +++ b/libacl/libobj.h @@ -32,10 +32,9 @@ /* prefix for all objects */ /* [Note: p_magic is a long rather than int so that this structure */ /* does not become padded by the compiler on 64-bit architectures] */ -/* [Note2: Try to pack structures instead, to avoid wasting RAM] */ typedef struct { - int p_magic; + long p_magic; } obj_prefix; #define pmagic i.p_magic @@ -58,7 +57,7 @@ struct __string_ext { }; struct string_obj_tag { obj_prefix o_prefix; - struct __string_ext i __attribute__ ((packed)); + struct __string_ext i; }; #define sstr i.s_str |