I further checked it and found that it is shmget function call which is failing and below is the error in logs:
2022-11-15 11:02:45.051915+0530 0x2da Error 0x0 132 0 sandboxd: [com.apple.sandbox.reporting:violation] Sandbox: com.mycompanysecur(86334) deny(1) ipc-sysv-shm
Violation: deny(1) ipc-sysv-shm
Process: com.skyhighsecur [86334]
Path: /Library/SystemExtensions/DBAD18A1-0222-46DE-BDCE-C79C93F32254/com.mycompanysecurity.epclient.networkextension.systemextension/Contents/MacOS/com.mycompanysecurity.epclient.networkextension
Load Address: 0x1000b8000
Identifier: com.mycompanysecurity.epclient.networkextension
Version: 1 (1.0)
Code Type: x86_64 (Native)
Parent Process: launchd [1]
Responsible: /Library/SystemExtensions/DBAD18A1-0222-46DE-BDCE-C79C93F32254/com.mycompanysecurity.epclient.networkextension.systemextension/Contents/MacOS/com.mycompanysecurity.epclient.networkextension
User ID: 0
Date/Time: 2022-11-15 11:02:44.963 GMT+5:30
OS Version: macOS 11.6.5 (20G517)
Report Version: 8
MetaData: {"profile-in-collection":false,"action":"deny","build":"macOS 11.6.5 (20G517)","platform_binary":"no","uid":0,"summary":"deny(1) ipc-sysv-shm","hardware":"Mac","flags":5,"signing-id":"com.mycompanysecurity.epclient.networkextension","errno":1,"process-path":"/Library/SystemExtensions/DBAD18A1-0222-46DE-BDCE-C79C93F32254/com.mycompanysecurity.epclient.networkextension.systemextension/Contents/MacOS/com.mycompanysecurity.epclient.networkextension","profile-flags":0,"container":"/private/var/root/Library/Containers/com.mycompanysecurity.epclient.networkextension/Data","team-id":"W6824P2V89","pid":86334,"apple-internal":false,"process":"com.mycompanysecur","responsible-process-path":"/Library/SystemExtensions/DBAD18A1-0222-46DE-BDCE-C79C93F32254/com.mycompanysecurity.epclient.networkextension.systemextension/Contents/MacOS/com.mycompanysecurity.epclient.networkextension","operation":"ipc-sysv-shm","platform-binary":false,"platform-policy":false}
Is there any way, by adding any new capability or runtime exception we can allow SystemV Shared memory functions/feature in an App With Sandbox capability?