2#ifndef PEDIGREE_POSIX_LINUX_CLONE_ABI_H
3#define PEDIGREE_POSIX_LINUX_CLONE_ABI_H
18 uint64_t set_tid_size;
22namespace LinuxCloneAbi {
23constexpr size_t Version0Size = 64;
24constexpr size_t Version1Size = 80;
25constexpr size_t Version2Size = 88;
26constexpr size_t MaximumSize = 4096;
27constexpr uint64_t ClearSighand = 1ULL << 32;
30static_assert(
sizeof(
LinuxCloneArgs) == LinuxCloneAbi::Version2Size,
31 "Linux amd64 clone_args must remain 88 bytes");
32static_assert(offsetof(
LinuxCloneArgs, set_tid) == LinuxCloneAbi::Version0Size &&
34 "Linux clone_args version boundaries changed");
40 "Linux clone_args field offsets changed");