Post

Replies

Boosts

Views

Activity

M1 Mac sub process Violation: deny(1) sysctl-write kern.system_version_compat
I have a helper app embedded into one of my apple on the Mac store. It's plist basically has the sandbox entitlement and also inherit entitlement. It runs file on an intel Mac but seems to be getting tripped up on an M1 based Mac: I dont know if this is an entitlement thing, a rosetta thing, or something else. default 17:34:37.145662+0000 MyApp Using MTP so we are ignoring unlock default 17:34:37.145734+0000 MyApp Building database from Phone default 17:34:37.145942+0000 MyApp We already have an unlock... skipping actual unlockitunesXML but incrimenting number of tasks locking it to 2 default 17:34:37.145642+0000 MyApp Building database from additional storage default 17:34:37.146110+0000 MyApp Attempting to unlock drive 100 using SandBoxing default 17:34:37.146121+0000 MyApp There is no stored SandBox data entitlement saved for additional files default 17:34:37.146147+0000 MyApp Attempting to lock drive 100 using SandBoxing default 17:34:37.146192+0000 MyApp No sandbox bookmark for 100 - Additional Files default 17:34:37.149601+0000 MyApp Sleeping android command for 1 second...error 17:34:37.180210+0000 sandboxd Sandbox: my-helper(1211) deny(1) sysctl-write kern.system_version_compat Violation: deny(1) sysctl-write kern.system_version_compat Process: my-helper [1211] Path: ??? Load Address: 0 Identifier: ??? Version: ??? (???) Code Type: x86_64 (Native) Parent Process: MyApp [1194] Responsible: /Applications/MyApp.app/Contents/MacOS/MyApp User ID: 501 Date/Time: 2022-01-24 17:34:37.177 GMT OS Version: macOS 12.1 (21C52) Release Type: User Report Version: 8 MetaData: {"summary":"deny(1) sysctl-write kern.system_version_compat","uid":501,"responsible-process-path":"\/Applications\/MyApp.app\/Contents\/MacOS\/MyApp","normalized_target":["kern.system_version_compat"],"policy-description":"Sandbox","sysctl-name":"kern.system_version_compat","operation":"sysctl-write","hardware":"J313","primary-filter-value":"kern.system_version_compat","platform-policy":false,"team-id":"RW5WFW3PJY","flags":5,"platform_binary":"no","build":"macOS 12.1 (21C52)","profile-in-collection":false,"profile-flags":0,"errno":1,"apple-internal":false,"process":"my-helper","binary-in-trust-cache":false,"platform-binary":false,"target":"kern.system_version_compat","action":"deny","primary-filter":"sysctl-name","pid":1211,"signing-id":"my-helper","process-path":"\/Applications\/MyApp.app\/Contents\/MacOS\/my-helper","container":"\/Users\/dxncxn\/Library\/Containers\/com.map-pin.MyApp\/Data","release-type":"User"} Thread 0 (id: 23559): 0 0x00007ff8981d69401 libSystem.B.dylib 0x00007ff812da3a2c libSystem_initializer + 6382 dyld 0x0000000204a13b49 invocation function for block in
1
0
524
Jan ’22