--- Linux-Clone/Clone.xs 2022/09/03 23:47:02 1.6 +++ Linux-Clone/Clone.xs 2022/09/03 23:56:10 1.7 @@ -16,6 +16,8 @@ #include #include +#include + #ifdef __has_include #if !__has_include("linux/kcmp.h") // use "" as GCC wrongly expands macros #undef SYS_kcmp @@ -165,6 +167,18 @@ const_iv (KCMP_SYSVSEM) const_iv (KCMP_FILE) # endif +# ifdef NS_GET_USERNS + const_iv (NS_GET_USERNS) +# endif +# ifdef NS_GET_PARENT + const_iv (NS_GET_PARENT) +# endif +# ifdef NS_GET_NSTYPE + const_iv (NS_GET_NSTYPE) +# endif +# ifdef NS_OWNER_UID + const_iv (NS_OWNER_UID +# endif }; for (civ = const_iv + sizeof (const_iv) / sizeof (const_iv [0]); civ > const_iv; civ--)