Skip to content

Commit b72ae63

Browse files
committed
[DO NOT MERGE] Just try removing stat
1 parent 460049f commit b72ae63

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

tools/lkl/lib/hijack/hijack.c

-13
Original file line numberDiff line numberDiff line change
@@ -586,19 +586,6 @@ void *mmap(void *addr, size_t length, int prot, int flags, int fd, off_t offset)
586586
return lkl_sys_mmap(addr, length, prot, flags, fd, offset);
587587
}
588588

589-
#ifndef __ANDROID__
590-
HOST_CALL(__xstat)
591-
int stat(const char *pathname, struct stat *buf)
592-
{
593-
CHECK_HOST_CALL(__xstat);
594-
#if defined(LKL_CONFIG_64BIT)
595-
return host___xstat(1, pathname, buf);
596-
#else
597-
return host___xstat(3, pathname, buf);
598-
#endif
599-
}
600-
#endif
601-
602589
ssize_t send(int fd, const void *buf, size_t len, int flags)
603590
{
604591
return sendto(fd, buf, len, flags, 0, 0);

0 commit comments

Comments
 (0)