diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2024-04-22 10:22:57 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2024-04-22 11:19:20 -0400 |
commit | 3d58ea8f735ce57a62fc678ca36b388b9c731c83 (patch) | |
tree | 2daac0e57068f7702b33b6094a1df9def86fd7d2 /src/fsade.h | |
parent | b2d31717511bd21854840bd69875ca80b875137a (diff) | |
download | bfs-3d58ea8f735ce57a62fc678ca36b388b9c731c83.tar.xz |
fsade: Simplify BFS_CAN_CHECK_CAPABILITIES
Diffstat (limited to 'src/fsade.h')
-rw-r--r-- | src/fsade.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/fsade.h b/src/fsade.h index 6300852..cd5c34f 100644 --- a/src/fsade.h +++ b/src/fsade.h @@ -13,12 +13,7 @@ #define BFS_CAN_CHECK_ACL BFS_USE_SYS_ACL_H -#if !defined(BFS_CAN_CHECK_CAPABILITIES) && BFS_USE_SYS_CAPABILITY_H -# include <sys/capability.h> -# ifdef CAP_CHOWN -# define BFS_CAN_CHECK_CAPABILITIES true -# endif -#endif +#define BFS_CAN_CHECK_CAPABILITIES BFS_USE_LIBCAP #define BFS_CAN_CHECK_CONTEXT BFS_USE_LIBSELINUX |