diff options
author | Nathan Scott <nathans@sgi.com> | 2003-02-26 06:29:15 +0000 |
---|---|---|
committer | Nathan Scott <nathans@sgi.com> | 2003-02-26 06:29:15 +0000 |
commit | d01f83eda36a1cc8f9b369d0ff376c74a64771ec (patch) | |
tree | f807ab6642ac88c1d15cf0fb3466348d23a31166 /include/libacl.h | |
parent | 38a1dc504c6f43bb1ebafa64882886d9a9a13ce7 (diff) | |
download | acl-d01f83eda36a1cc8f9b369d0ff376c74a64771ec.tar.gz |
An ACL userspace update from Andreas - adds in permissions copying routines
and symbol versioning for libacl.
Diffstat (limited to 'include/libacl.h')
-rw-r--r-- | include/libacl.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/libacl.h b/include/libacl.h index 318120f..021d345 100644 --- a/include/libacl.h +++ b/include/libacl.h @@ -51,6 +51,13 @@ extern int acl_entries(acl_t acl); extern const char *acl_error(int code); extern int acl_get_perm(acl_permset_t permset_d, acl_perm_t perm); +/* Copying permissions between files */ +struct error_context; +extern int perm_copy_file (const char *, const char *, + struct error_context *); +extern int perm_copy_fd (const char *, int, const char *, int, + struct error_context *); + #ifdef __cplusplus } #endif |