Hi Kofi,
Thanks for your input. It actually solved my problem by just changing the config.
But, I ran into another problem with freeing an array, allocated using malloc.
Here's my simple code:
// In root thread/process
char *buf = malloc(409600);
// do sth with buf
free(buf); // here I got an error saying "libsel4muslcsys: Error attempting syscall 91"
printf("done\n") // this one was printed out too
Does this have anything to do with config as well? I tried to increase malloc limit (which I dont think it's related much to free) but I still get an error. Also, no error was output if when I tried 4096 bytes as a size of buf.
Thanks,
Oak