summaryrefslogtreecommitdiffstats
path: root/lib/libc/posix1e/acl_support.h
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2001-03-13 02:31:32 +0000
committerrwatson <rwatson@FreeBSD.org>2001-03-13 02:31:32 +0000
commit8e7df2068e923db9a2e7e1d53eb226709656ddf0 (patch)
treedc59d433275058cb54f02bd6533a3a1f872cfc28 /lib/libc/posix1e/acl_support.h
parent585c8d185e968e4fe013b63908d569484665df4e (diff)
downloadFreeBSD-src-8e7df2068e923db9a2e7e1d53eb226709656ddf0.zip
FreeBSD-src-8e7df2068e923db9a2e7e1d53eb226709656ddf0.tar.gz
o Update copyright dates.
o Rename internal library functions so that they are prefixed with _posix1e or _POSIX1E, removing them from the application namespace (and potential conflict with other ACL functions elsewhere in the system). Obtained from: TrustedBSD Project
Diffstat (limited to 'lib/libc/posix1e/acl_support.h')
-rw-r--r--lib/libc/posix1e/acl_support.h25
1 files changed, 14 insertions, 11 deletions
diff --git a/lib/libc/posix1e/acl_support.h b/lib/libc/posix1e/acl_support.h
index e34aca5..a907e52 100644
--- a/lib/libc/posix1e/acl_support.h
+++ b/lib/libc/posix1e/acl_support.h
@@ -1,5 +1,5 @@
/*-
- * Copyright (c) 1999 Robert N. M. Watson
+ * Copyright (c) 1999, 2000, 2001 Robert N. M. Watson
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -23,7 +23,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $FreeBSD$
+ * $FreeBSD$
*/
/*
* Support functionality for the POSIX.1e ACL interface
@@ -32,15 +32,18 @@
#ifndef _ACL_SUPPORT_H
#define _ACL_SUPPORT_H
-#define ACL_STRING_PERM_MAXSIZE 3 /* read, write, exec */
+#define _POSIX1E_ACL_STRING_PERM_MAXSIZE 3 /* read, write, exec */
-int acl_check(struct acl *acl);
-int acl_sort(acl_t acl);
-int acl_posix1e(acl_t acl, acl_type_t type);
-int acl_id_to_name(acl_tag_t tag, uid_t id, ssize_t buf_len, char *buf);
-int acl_name_to_id(acl_tag_t tag, char *name, uid_t *id);
-int acl_perm_to_string(acl_perm_t perm, ssize_t buf_len, char *buf);
-int acl_string_to_perm(char *string, acl_perm_t *perm);
-int acl_add_entry(acl_t acl, acl_tag_t tag, uid_t id, acl_perm_t perm);
+int _posix1e_acl_check(struct acl *acl);
+int _posix1e_acl_sort(acl_t acl);
+int _posix1e_acl(acl_t acl, acl_type_t type);
+int _posix1e_acl_id_to_name(acl_tag_t tag, uid_t id, ssize_t buf_len,
+ char *buf);
+int _posix1e_acl_name_to_id(acl_tag_t tag, char *name, uid_t *id);
+int _posix1e_acl_perm_to_string(acl_perm_t perm, ssize_t buf_len,
+ char *buf);
+int _posix1e_acl_string_to_perm(char *string, acl_perm_t *perm);
+int _posix1e_acl_add_entry(acl_t acl, acl_tag_t tag, uid_t id,
+ acl_perm_t perm);
#endif
OpenPOWER on IntegriCloud