From c52635fce35aa7d2e4414a44bac9fe06dfb56885 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Mon, 17 Dec 2018 22:05:49 -0500 Subject: Implement -acl test --- util.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'util.h') diff --git a/util.h b/util.h index 7506924..836db37 100644 --- a/util.h +++ b/util.h @@ -34,6 +34,7 @@ #endif #define BFS_HAS_MNTENT BFS_HAS_INCLUDE(, __GLIBC__) +#define BFS_HAS_SYS_ACL BFS_HAS_INCLUDE(, true) #define BFS_HAS_SYS_CAPABILITY BFS_HAS_INCLUDE(, __linux__) #define BFS_HAS_SYS_MKDEV BFS_HAS_INCLUDE(, false) #define BFS_HAS_SYS_PARAM BFS_HAS_INCLUDE(, true) @@ -197,6 +198,11 @@ int bfs_minor(dev_t dev); struct BFTW; +/** + * Check if a file has a non-trvial Access Control List. + */ +bool bfs_check_acl(const struct BFTW *ftwbuf); + /** * Check if a file has a non-trvial capability set. */ -- cgit v1.2.3