blob: 1550d0d5cb3dfd8af5a70a68271a193b9bfc3b65 [file] [log] [blame]
#include "libhfcommon/common.h"
#include "libhfcommon/files.h"
#include "libhfcommon/log.h"
#include "libhfcommon/ns.h"
#include "libhfuzz/libhfuzz.h"
#if defined(_HF_ARCH_LINUX)
bool linuxEnterNs(uintptr_t cloneFlags) {
return nsEnter(cloneFlags);
}
bool linuxIfaceUp(const char* ifacename) {
return nsIfaceUp(ifacename);
}
bool linuxMountTmpfs(const char* dst) {
return nsMountTmpfs(dst);
}
#endif /* defined(_HF_ARCH_LINUX) */