X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/3903760236c30e3b5ace7a4eefac3a269d68957c..d9a64523371fa019c4575bb400cbbc3a50ac9903:/libsyscall/wrappers/cancelable/fcntl-base.c diff --git a/libsyscall/wrappers/cancelable/fcntl-base.c b/libsyscall/wrappers/cancelable/fcntl-base.c index bf6395112..fc98ea7ae 100644 --- a/libsyscall/wrappers/cancelable/fcntl-base.c +++ b/libsyscall/wrappers/cancelable/fcntl-base.c @@ -28,8 +28,6 @@ int __FCNTL(int, int, void *); * Stub function to account for the differences in the size of the third * argument when int and void * are different sizes. Also add pthread * cancelability. - * - * This is for LP64 only. */ int fcntl(int fd, int cmd, ...) @@ -50,6 +48,7 @@ fcntl(int fd, int cmd, ...) case F_OFD_SETLKW: case F_OFD_SETLKWTIMEOUT: case F_PREALLOCATE: + case F_PUNCHHOLE: case F_SETSIZE: case F_RDADVISE: case F_LOG2PHYS: @@ -66,6 +65,7 @@ fcntl(int fd, int cmd, ...) case F_ADDFILESIGS_RETURN: case F_FINDSIGS: case F_TRANSCODEKEY: + case F_TRIM_ACTIVE_FILE: case F_CHECK_LV: arg = va_arg(ap, void *); break;