Recent unikraft version provides the symbol for the `madvise` syscall.
This commit removes the stub from the glue code, otherwise it will cause
a duplicate error during building.
Signed-off-by: Răzvan Vîrtan <virtanrazvan@gmail.com>
Reviewed-by: Razvan Deaconescu <razvan.deaconescu@cs.pub.ro>
Approved-by: Razvan Deaconescu <razvan.deaconescu@cs.pub.ro>
Tested-by: Unikraft CI <monkey@unikraft.io>
GitHub-Pull-Request: #3
return 0;
}
-int madvise(void *addr __unused, size_t length __unused, int advice __unused)
-{
- return 0;
-}
-
int mincore(void *addr __unused, size_t length __unused, unsigned char *vec __unused)
{
return 0;