diff --git a/include/namespace.h b/include/namespace.h index 2d0a56e..bffa870 100644 --- a/include/namespace.h +++ b/include/namespace.h @@ -35,22 +35,4 @@ # define CLONE_NEWTIME 0x00000080 # endif -# if !defined(HAVE_UNSHARE) || !defined(HAVE_SETNS) -# include -# endif - -# if !defined(HAVE_UNSHARE) && defined(SYS_unshare) -static inline int unshare(int flags) -{ - return syscall(SYS_unshare, flags); -} -# endif - -# if !defined(HAVE_SETNS) && defined(SYS_setns) -static inline int setns(int fd, int nstype) -{ - return syscall(SYS_setns, fd, nstype); -} -# endif - #endif /* UTIL_LINUX_NAMESPACE_H */