setns.c 301 B

1234567891011121314
  1. /*
  2. * setns() for uClibc
  3. *
  4. * Copyright (C) 2015 Bernhard Reutner-Fischer <uclibc@uclibc.org>
  5. *
  6. * Licensed under the LGPL v2.1 or later, see the file COPYING.LIB in this tarball.
  7. */
  8. #include <sys/syscall.h>
  9. #include <sched.h>
  10. #ifdef __NR_setns
  11. _syscall2(int, setns, int, fd, int, nstype)
  12. #endif