this repo has no description
1
fork

Configure Feed

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

Fix int-conversion error

Thomas A 19b7308c d98de558

+47 -3
+1 -1
src/duct/src/commpage.c
··· 6 6 7 7 void _darling_initialize_commpage(void) 8 8 { 9 - mmap(_COMM_PAGE_START_ADDRESS, _COMM_PAGE_AREA_LENGTH, PROT_READ|PROT_WRITE, 9 + mmap((void*)_COMM_PAGE_START_ADDRESS, _COMM_PAGE_AREA_LENGTH, PROT_READ|PROT_WRITE, 10 10 MAP_ANON | MAP_PRIVATE, -1, 0); 11 11 12 12 *((uint8_t*)_COMM_PAGE_NCPUS) = 1;
+10
src/frameworks/CoreServices/include/FSEvents/FSEvents.h
··· 100 100 CFTimeInterval latency, 101 101 FSEventStreamCreateFlags flags); 102 102 103 + extern FSEventStreamRef FSEventStreamCreateRelativeToDevice( 104 + CFAllocatorRef allocator, 105 + FSEventStreamCallback callback, 106 + FSEventStreamContext *context, 107 + dev_t deviceToWatch, 108 + CFArrayRef pathsToWatchRelativeToDevice, 109 + FSEventStreamEventId sinceWhen, 110 + CFTimeInterval latency, 111 + FSEventStreamCreateFlags flags); 112 + 103 113 extern CF_RETURNS_RETAINED CFArrayRef FSEventStreamCopyPathsBeingWatched(ConstFSEventStreamRef streamRef); 104 114 105 115 extern FSEventStreamEventId FSEventStreamGetLatestEventId(ConstFSEventStreamRef streamRef);
+14
src/frameworks/CoreServices/src/FSEvents/FSEvents.m
··· 37 37 callback: callback]; 38 38 } 39 39 40 + extern FSEventStreamRef FSEventStreamCreateRelativeToDevice( 41 + CFAllocatorRef allocator, 42 + FSEventStreamCallback callback, 43 + FSEventStreamContext *context, 44 + dev_t deviceToWatch, 45 + CFArrayRef pathsToWatchRelativeToDevice, 46 + FSEventStreamEventId sinceWhen, 47 + CFTimeInterval latency, 48 + FSEventStreamCreateFlags flags) 49 + { 50 + printf("STUB %s\n", __PRETTY_FUNCTION__); 51 + return nil; 52 + } 53 + 40 54 CFArrayRef FSEventStreamCopyPathsBeingWatched(ConstFSEventStreamRef streamRef) 41 55 { 42 56 FSEventsImpl* impl = (FSEventsImpl*) streamRef;
+1 -1
src/kernel/libsyscall/CMakeLists.txt
··· 4 4 5 5 enable_language(C ASM) 6 6 7 - set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c99 -nostdinc -include ${CMAKE_CURRENT_SOURCE_DIR}/nolegacy.h") 7 + set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c99 -nostdinc -include ${CMAKE_CURRENT_SOURCE_DIR}/nolegacy.h -Wno-error=int-conversion") 8 8 include_directories(BEFORE 9 9 "${CMAKE_CURRENT_SOURCE_DIR}/wrappers" 10 10 "${CMAKE_CURRENT_SOURCE_DIR}/mach"
+3
src/libaks/include/libaks.h
··· 106 106 107 107 kern_return_t aks_generation(keybag_handle_t handle, generation_option_t option, uint32_t* current); 108 108 109 + const uint8_t * aks_ref_key_get_blob(aks_ref_key_t refkey, size_t *out_blob_len); 110 + const uint8_t * aks_ref_key_get_external_data(aks_ref_key_t refkey, size_t *out_external_data_len); 111 + 109 112 #ifdef __cplusplus 110 113 } 111 114 #endif
+10
src/libaks/libaks.c
··· 83 83 printf("STUB %s\n", __PRETTY_FUNCTION__); 84 84 return KERN_FAILURE; 85 85 }; 86 + 87 + const uint8_t * aks_ref_key_get_blob(aks_ref_key_t refkey, size_t *out_blob_len) { 88 + printf("STUB %s\n", __PRETTY_FUNCTION__); 89 + return NULL; 90 + } 91 + 92 + const uint8_t * aks_ref_key_get_external_data(aks_ref_key_t refkey, size_t *out_external_data_len) { 93 + printf("STUB %s\n", __PRETTY_FUNCTION__); 94 + return NULL; 95 + }
+1 -1
src/private-frameworks/MobileAsset/include/MobileAsset/MAAsset.h
··· 25 25 // `OTATrustUtilities.m` only imports that on iOS, but still expects this to be 26 26 // defined on macOS (i figure it's probably an error in Apple's code, 27 27 // because even `SecAKSWrappers.c` uses a different constant on macOS) 28 - #define kMobileKeyBagLockStatusNotificationID (-1) 28 + #define kMobileKeyBagLockStatusNotificationID "kMobileKeyBagLockStatusNotificationID" 29 29 30 30 // seem to be implicitly depended on by `OTATrustUtilities.m` in Security 31 31 #import <MobileAsset/ASAsset.h>
+2
src/private-frameworks/MobileAsset/include/MobileAsset/MAAssetQuery.h
··· 31 31 32 32 @interface MAAssetQuery : NSObject 33 33 34 + - (MAQueryResult) queryMetaDataSync; 35 + 34 36 // guessing it's readonly, since it wouldn't really make sense for clients to be able to 35 37 // write results to a query 36 38 @property (readonly) NSArray<MAAsset*>* results;
+5
src/private-frameworks/MobileAsset/src/MAAssetQuery.m
··· 21 21 22 22 @implementation MAAssetQuery 23 23 24 + - (MAQueryResult)queryMetaDataSync { 25 + NSLog(@"Stub called: queryMetaDataSync in %@", [self class]); 26 + return MAQuerySuccessful; 27 + } 28 + 24 29 - (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector 25 30 { 26 31 return [NSMethodSignature signatureWithObjCTypes: "v@:"];