arphaman added a comment.

In https://reviews.llvm.org/D27827#829661, @thakis wrote:

> We just noticed that if you call __builtin_available() for the first time 
> after activating your app's sandbox, the function will fail:
>
> SandboxViolation: crdmg(15489) deny file-read-data 
> /System/Library/CoreServices/SystemVersion.plist
>  Violation:       deny file-read-data 
> /System/Library/CoreServices/SystemVersion.plist 
>  Process:         crdmg [15489]
>  Path:            /Volumes/Build/src/./out/release/crdmg
>
> Thread 0 (id: 421251):
>  0   libsystem_kernel.dylib           0x00007fffe94a1a86 __open_nocancel + 10
>  1   crdmg                            0x000000010444be98 
> parseSystemVersionPList + 360
>  2                                    0xec83485354415541


Hmm, never saw this before. Please post your exact configuration - 
clang/compiler-rt versions, OS version, toolchain & SDK. Is it possible to get 
a reproducer?


Repository:
  rL LLVM

https://reviews.llvm.org/D27827



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to