mirror of
https://github.com/clearlinux/hyperstart.git
synced 2026-09-06 05:31:58 +00:00
Merge pull request #34 from wcwxyz/master
Use configure script to check setns function
This commit is contained in:
+1
-1
@@ -7,7 +7,7 @@
|
||||
* requires kernel-headers for syscall number hint.
|
||||
*/
|
||||
|
||||
#if !defined SYS_setns && defined __NR_setns
|
||||
#if !defined(HAVE_SETNS) && defined(__NR_setns)
|
||||
static inline int setns(int fd, int nstype)
|
||||
{
|
||||
errno = syscall(__NR_setns, fd, nstype);
|
||||
|
||||
Reference in New Issue
Block a user