Home | History | Annotate | Download | only in libhfuzz
      1 #include "libhfcommon/common.h"
      2 #include "libhfcommon/files.h"
      3 #include "libhfcommon/log.h"
      4 #include "libhfcommon/ns.h"
      5 #include "libhfuzz/libhfuzz.h"
      6 
      7 #if defined(_HF_ARCH_LINUX)
      8 
      9 bool linuxEnterNs(uintptr_t cloneFlags) {
     10     return nsEnter(cloneFlags);
     11 }
     12 
     13 bool linuxIfaceUp(const char* ifacename) {
     14     return nsIfaceUp(ifacename);
     15 }
     16 
     17 bool linuxMountTmpfs(const char* dst) {
     18     return nsMountTmpfs(dst);
     19 }
     20 
     21 #endif /* defined(_HF_ARCH_LINUX) */
     22