diff options
author | trasz <trasz@FreeBSD.org> | 2009-12-26 10:06:45 +0000 |
---|---|---|
committer | trasz <trasz@FreeBSD.org> | 2009-12-26 10:06:45 +0000 |
commit | 0d8feb4153ecf50f763a2d1ce9074675cf68aae1 (patch) | |
tree | 69da4084dd7940b1bc884ce84515d2b52bc68da0 /bin/setfacl/setfacl.h | |
parent | e11fe899ea4c6f36c564e59d30a2d022dfb7f33c (diff) | |
download | FreeBSD-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.h | 2 |
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; |