Skip to content

Commit fd33ab3

Browse files
authored
Merge pull request #583 from timschumi/hijack-stat-i686
lkl: Remove the stat symbol hijack
2 parents 1219089 + 5920e09 commit fd33ab3

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

tools/lkl/lib/hijack/hijack.c

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -586,15 +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(__xstat64)
591-
int stat(const char *pathname, struct stat *buf)
592-
{
593-
CHECK_HOST_CALL(__xstat64);
594-
return host___xstat64(0, pathname, buf);
595-
}
596-
#endif
597-
598589
ssize_t send(int fd, const void *buf, size_t len, int flags)
599590
{
600591
return sendto(fd, buf, len, flags, 0, 0);

0 commit comments

Comments
 (0)