this repo has no description
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Implement `F_FULLFSYNC` using Linux's `fsync`

It's okay because Linux's `fsync` guarantees the same that macOS's `F_FULLFSYNC` does: the data will be written to the disk and, if necessary, it will wait for the disk cache to be flushed

+7
+6
src/kernel/emulation/linux/fcntl/fcntl.c
··· 76 76 case F_GETLK: 77 77 // TODO 78 78 return 0; 79 + case F_FULLFSYNC: { 80 + ret = LINUX_SYSCALL1(__NR_fsync, fd); 81 + if (ret < 0) 82 + ret = errno_linux_to_bsd(ret); 83 + return 0; 84 + }; 79 85 // TODO: implement remaining commands 80 86 default: 81 87 return -EINVAL;
+1
src/kernel/emulation/linux/fcntl/fcntl.h
··· 44 44 F_RDADVISE, 45 45 F_RDAHEAD, 46 46 F_GETPATH = 50, 47 + F_FULLFSYNC = 51, 47 48 F_CHECK_LV = 98, 48 49 }; 49 50