]> git.saurik.com Git - apple/libsystem.git/commitdiff
Libsystem-1281.100.1.tar.gz macos-10154 macos-10155 macos-10156 v1281.100.1
authorApple <opensource@apple.com>
Fri, 1 May 2020 18:18:36 +0000 (18:18 +0000)
committerApple <opensource@apple.com>
Fri, 1 May 2020 18:18:36 +0000 (18:18 +0000)
init.c

diff --git a/init.c b/init.c
index a07abe9929054c893db6e1eb84bc43173b1c7cb0..9d604e0c529bf115d3622809748fe5510fa4c957 100644 (file)
--- a/init.c
+++ b/init.c
@@ -169,7 +169,7 @@ libSystem_initializer(int argc,
                      const struct ProgramVars* vars)
 {
        static const struct _libkernel_functions libkernel_funcs = {
-               .version = 3,
+               .version = 4,
                // V1 functions
 #if !TARGET_OS_DRIVERKIT
                .dlsym = dlsym,
@@ -181,6 +181,8 @@ libSystem_initializer(int argc,
                // V2 functions (removed)
                // V3 functions
                .pthread_clear_qos_tsd = _pthread_clear_qos_tsd,
+               // V4 functions
+               .pthread_current_stack_contains_np = pthread_current_stack_contains_np,
        };
 
        static const struct _libpthread_functions libpthread_funcs = {