summaryrefslogtreecommitdiffstats
path: root/lib/libc/posix1e/acl_from_text.c
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_from_text.c
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_from_text.c')
-rw-r--r--lib/libc/posix1e/acl_from_text.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/lib/libc/posix1e/acl_from_text.c b/lib/libc/posix1e/acl_from_text.c
index e35d150..a772024 100644
--- a/lib/libc/posix1e/acl_from_text.c
+++ b/lib/libc/posix1e/acl_from_text.c
@@ -1,5 +1,5 @@
/*-
- * Copyright (c) 1999, 2000 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
@@ -173,7 +173,7 @@ acl_from_text(const char *buf_p)
goto error_label;
}
- error = acl_string_to_perm(permission, &p);
+ error = _posix1e_acl_string_to_perm(permission, &p);
if (error == -1) {
errno = EINVAL;
goto error_label;
@@ -193,7 +193,8 @@ acl_from_text(const char *buf_p)
case ACL_USER:
case ACL_GROUP:
- error = acl_name_to_id(t, qualifier, &id);
+ error = _posix1e_acl_name_to_id(t, qualifier,
+ &id);
if (error == -1)
goto error_label;
break;
@@ -203,7 +204,7 @@ acl_from_text(const char *buf_p)
goto error_label;
}
- error = acl_add_entry(acl, t, id, p);
+ error = _posix1e_acl_add_entry(acl, t, id, p);
if (error == -1)
goto error_label;
}
OpenPOWER on IntegriCloud