summaryrefslogtreecommitdiff
path: root/libacl
diff options
context:
space:
mode:
authorNathan Scott <nathans@sgi.com>2001-08-16 23:15:02 +0000
committerNathan Scott <nathans@sgi.com>2001-08-16 23:15:02 +0000
commit3de9a9a59f74f08275d4394a3d7636a757570031 (patch)
treec077715034263c0a1d424825fed6fb1c9a314129 /libacl
parent112fe8065a5ae235aae8da43ad0f07bfa664c846 (diff)
downloadacl-3de9a9a59f74f08275d4394a3d7636a757570031.tar.gz
fix the ACE ordering issue for setfacl, based on suggestions from Eric Peters.
Diffstat (limited to 'libacl')
-rw-r--r--libacl/libacl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libacl/libacl.c b/libacl/libacl.c
index 30f8930..f3b9e59 100644
--- a/libacl/libacl.c
+++ b/libacl/libacl.c
@@ -53,6 +53,7 @@ acl_check (acl_t acl, int *last)
setoserror (EINVAL);
return -1;
}
+ acl_entry_sort(acl);
if (last)
*last = 0;