// These are normally defined in <sys/capability.h> added in libcap-dev package. Define these here
CAP_INHERITABLE = 2 /* Specifies the inheritable flag */ // NOLINT(readability-identifier-naming)
// Communication with the privileged service is performed with a simple message protocol over a Unix
// domain socket pair using the SOCK_SEQPACKET type, preserving record boundaries without explicitly
// Each message starts with a 4-byte type and a 4-byte sequence number, both in the host byte order,
// Note that C++ inheritance can not be used as all the data members need to be on the same struct
// definition. This means that we must contain the MessageHeader as the first member of each message
// Note that file descriptor return value is passed using the message control channel (ref. man 2