手機 - Motorola XT894 - Sailfish OS - 解決errno 38: SYS_memfd_create問題



參考資訊:
https://gist.github.com/propella/3996112562b33778038bf41b3721e3fb

修改前:

int fd = syscall(SYS_memfd_create, "main", 0);

修改後:

int fd = open("/tmp/shm", O_RDWR | O_EXCL | O_CREAT);