summaryrefslogtreecommitdiffstats
path: root/lib/libc/posix1e/acl_support.h
diff options
context:
space:
mode:
authortrasz <trasz@FreeBSD.org>2010-07-06 17:20:08 +0000
committertrasz <trasz@FreeBSD.org>2010-07-06 17:20:08 +0000
commit01650ad878472e2c42f627f44fca98f5a039d9fa (patch)
tree4da36126fa75f050bc281ed8379746b6f0264624 /lib/libc/posix1e/acl_support.h
parent24fa71e44c132c2f9db2cb1f8c8926f6fcee9335 (diff)
downloadFreeBSD-src-01650ad878472e2c42f627f44fca98f5a039d9fa.zip
FreeBSD-src-01650ad878472e2c42f627f44fca98f5a039d9fa.tar.gz
Fix acl_from_text(3) - and, therefore, setfacl(1) - for user and group
names names starting with a digit. MFC after: 1 month
Diffstat (limited to 'lib/libc/posix1e/acl_support.h')
-rw-r--r--lib/libc/posix1e/acl_support.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libc/posix1e/acl_support.h b/lib/libc/posix1e/acl_support.h
index 8f7dfed..11fa29b 100644
--- a/lib/libc/posix1e/acl_support.h
+++ b/lib/libc/posix1e/acl_support.h
@@ -61,5 +61,6 @@ int _posix1e_acl_add_entry(acl_t acl, acl_tag_t tag, uid_t id,
acl_perm_t perm);
char *string_skip_whitespace(char *string);
void string_trim_trailing_whitespace(char *string);
+int _acl_name_to_id(acl_tag_t tag, char *name, uid_t *id);
#endif
OpenPOWER on IntegriCloud