summaryrefslogtreecommitdiffstats
path: root/bin/setfacl/setfacl.h
diff options
context:
space:
mode:
authortrasz <trasz@FreeBSD.org>2009-12-26 10:06:45 +0000
committertrasz <trasz@FreeBSD.org>2009-12-26 10:06:45 +0000
commit0d8feb4153ecf50f763a2d1ce9074675cf68aae1 (patch)
tree69da4084dd7940b1bc884ce84515d2b52bc68da0 /bin/setfacl/setfacl.h
parente11fe899ea4c6f36c564e59d30a2d022dfb7f33c (diff)
downloadFreeBSD-src-0d8feb4153ecf50f763a2d1ce9074675cf68aae1.zip
FreeBSD-src-0d8feb4153ecf50f763a2d1ce9074675cf68aae1.tar.gz
Improve ACL branding mismatch detection and reporting in some rare cases,
such as "setfacl -m ''".
Diffstat (limited to 'bin/setfacl/setfacl.h')
-rw-r--r--bin/setfacl/setfacl.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/setfacl/setfacl.h b/bin/setfacl/setfacl.h
index 7c11b3a..290ac5b 100644
--- a/bin/setfacl/setfacl.h
+++ b/bin/setfacl/setfacl.h
@@ -71,6 +71,8 @@ void remove_ext(acl_t *prev_acl, const char *filename);
int set_acl_mask(acl_t *prev_acl, const char *filename);
/* util.c */
void *zmalloc(size_t size);
+const char *brand_name(int brand);
+int branding_mismatch(int brand1, int brand2);
uint have_mask;
uint need_mask;
OpenPOWER on IntegriCloud