kafs: disable use of AFS syscall on macOS
Using syscall() directly on macOS has been deprecated since 10.12. The value of AFS_SYSCALL on libkafs overlaps with SYS_poll, causing k_hasafs() to hang on macOS 11.0. Remove the AFS_SYSCALL macro to disable the AFS syscall on macOS.
This commit is contained in:
@@ -104,10 +104,6 @@
|
||||
#define AFS_SYSCALL 210
|
||||
#endif
|
||||
|
||||
#ifdef __APPLE__ /* MacOS X */
|
||||
#define AFS_SYSCALL 230
|
||||
#endif
|
||||
|
||||
#ifdef SYS_afs_syscall
|
||||
#define AFS_SYSCALL3 SYS_afs_syscall
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user