1#if defined(__linux__)
2
3#include <linux/capability.h>
4
5namespace DB
6{
7
8/// Check that the current process has Linux capability. Examples: CAP_IPC_LOCK, CAP_NET_ADMIN.
9bool hasLinuxCapability(int cap);
10
11}
12
13#endif
14