Skip to main content
Filter by
Sorted by
Tagged with
1 vote
0 answers
43 views

What I do: Build the the AudioDriverKit example driver from Apple and install to an M1 Ipad. Allow the driver in the settings. Open some browser and go to Youtube. Play some video. Stop playback and ...
tuple_cat's user avatar
  • 1,396
0 votes
0 answers
252 views

I am having some issues with running an XPC server on an endpoint security and connecting to it from the sandboxed host application. I added a mach-lookup entitlement and I get a 159 error (sandbox ...
justenx's user avatar
1 vote
0 answers
26 views

If I call RequestDeviceConfigurationChange with an OBObject created with OSNumber::withNumber, where do I need to call release() on the OBObject object. The documentation of OSNumber::withNumber says ...
tuple_cat's user avatar
  • 1,396
1 vote
0 answers
36 views

What is the difference between for example: SetPowerState(powerFlags, SUPERDISPATCH); and super::SetPowerState(powerFlags); The documentation for SetPowerState says that super:: should be called at ...
tuple_cat's user avatar
  • 1,396
-1 votes
1 answer
144 views

Following the documentation, I'm trying to create a camera extension on macOS Monterey 12.7.6 with Xcode 14.2. It points to somewhere in Xcode new target menu which should contain System Extension >...
a82fd72deb's user avatar
1 vote
0 answers
42 views

I am trying to add an output mute to an AudioDriverKit driver. I create the control like this: ivars->m_output_mute_control = IOUserAudioBooleanControl::Create( in_driver, true, true, ...
tuple_cat's user avatar
  • 1,396
1 vote
0 answers
256 views

I am currently writing an agent for endpoint security. I cannot connect the application and the xpc service. I start the plist with launchctl and then open the application, but it does not connect and ...
Bugra Karabudak's user avatar
3 votes
0 answers
288 views

I am currently developing a macOS application that involves communication with a System Extension (DEXT) created using DriverKit. Despite the extension appearing to be correctly installed and ...
Henhen1227's user avatar
-1 votes
1 answer
192 views

There are various ways to monitor filesystem access on MacOS Ventura, like fs_events or the new Endpoint Security System Extension framework. Is there a way to intercept and potentially prevent a ...
Yuri's user avatar
  • 3
0 votes
1 answer
197 views

What is the rule of flow orientation when packet tunnel provider and app proxy provider run simultaneously on one mac endpoint? There is two applications run on one mac endpoint, one app with app ...
yanran's user avatar
  • 63
1 vote
0 answers
456 views

I'm trying to start the vpn provider from a container application After I successfully activated the extension, and started the process by sending xpc request to the network extension, I've tried to ...
Zohar81's user avatar
  • 5,214
0 votes
0 answers
87 views

I developed a screen watermarking program that worked fine before macOS 12.4. After upgrading to 12.4, "System Extension Blocked" pop-up cann't be click, but the other window is ok. the ...
I'm a robot's user avatar
2 votes
1 answer
752 views

I have googled and searched here and have come up empty. I have an application that installs a system extension and I'm resorting to writing to a file when the extension is installed to know. Is there ...
spartygw's user avatar
  • 3,522
1 vote
1 answer
601 views

I have an application that we're developing that provides VPN System Extension for macOS. I have successfully built, signed and notarized the app. When we install the package the user sees this popup: ...
spartygw's user avatar
  • 3,522
0 votes
1 answer
273 views

With kexts we could to vm_read/vm_write, is there a similar way for Endpoint Security?
Toma's user avatar
  • 2,945
3 votes
1 answer
523 views

I am porting a MacOS PCI driver written with IOKit to the new PCIDriverKit framework. I am able to perform DMA with a contiguous buffer allocated inside the dext (with IOBufferMemoryDescriptor::Create)...
Philippe Cornet's user avatar
9 votes
1 answer
1k views

How to memory-map a PCI Base Address Register (BAR) from a PCIDriverKit driver (DEXT) to a userspace application? Memory-mapping from a driver extension to an application can be accomplished by ...
vially's user avatar
  • 1,526
3 votes
0 answers
208 views

I have a Driverkit driver that takes care of a USB device. The driver unpacks data in the USB packets, and writes the data to buffers that are shared between the app and the driver. The shared buffers ...
tuple_cat's user avatar
  • 1,396
3 votes
0 answers
202 views

I'm new to XCode, so maybe I'm missing something that is very easy, but how can I create a CLI tool with XCode and bundle it with a system extension I compiled? I want to create a console app that is ...
Aviv David's user avatar
3 votes
1 answer
1k views

At 3:38-4:00 in the session video, it seems Baek San Chang says that AudioDriverKit will not be allowed to be used for virtual audio devices Video: https://developer.apple.com/videos/play/wwdc2021/...
user1884325's user avatar
  • 2,560
1 vote
1 answer
172 views

I'm working with Apple's DriverKitUserClientSample code as a basis, but I'm trying to use the PCIDriverKit. In my MyClass::Start method I successfully get the IOPCIDevice from the provider, and call ...
jreing's user avatar
  • 291
0 votes
1 answer
286 views

I am trying out Endpoint security System extension to prevent users from deleting my app data. I used "ES_EVENT_TYPE_AUTH_UNLINK" to stop users from deleting app files. I am trying to figure ...
Durgaprasad's user avatar
  • 1,951
-1 votes
1 answer
587 views

My project consists of main application, an endpoint security extension and a findersync extension. When I try to build it in release mode, the findersync extension is getting built with entitlements ...
preetham-kumar's user avatar
1 vote
0 answers
391 views

I want to make the reduce transparency option enabled across macos except for the dock and menu bar. Is there a way to make that happen in macOS big sur?
Nawaf's user avatar
  • 127
3 votes
1 answer
357 views

I successfully built and ran Apple's sample Communicateing Between a DriverKit Extension and a Client App on macOS 11, meaning I can install the DEXT and also control it via it's client. On macOS 10....
cro76's user avatar
  • 33
2 votes
2 answers
1k views

I'm using Network Extension to filter the outgoing TCP traffic to specific IP: import NetworkExtension import os.log class FilterDataProvider: NEFilterDataProvider { override func startFilter(...
MeirS's user avatar
  • 61
5 votes
2 answers
1k views

we have developed a kernel extension (KEXT) for a virtual file system (VFS) on macOS to integrate our software with external programs like Adobe InDesign or Microsoft Word. Our software and the KEXT ...
Michael's user avatar
  • 582
2 votes
1 answer
269 views

I would like to ask for guidance on how to ideally communicate with a custom USB HID device on MacOS. Use case Modify a microphone volume via an external USB HID device. Question Can I use DriverKit (...
Tom Kupka's user avatar
3 votes
1 answer
670 views

For my own edification, I'm trying to read some audio data from a USB audio interface using a DriverKit System Extension. My IOProviderClass is IOUSBHostInterface. I can successfully Open() the ...
Gordon Childs's user avatar
3 votes
1 answer
1k views

In this part of the 2019 WWDC session demo of DriverKit System Extensions you can see the driver and only the driver's log output being streamed using this command: log stream --predicate 'sender = &...
Gordon Childs's user avatar
1 vote
3 answers
1k views

I compile a macOS driverkit system extension as a Universal library so that it contains both x86_64 and arm64. One Apple Silicon computer A the driver starts when I attach the USB device. On Apple ...
tuple_cat's user avatar
  • 1,396
1 vote
1 answer
411 views

With KEXT it was possible to allocate needed class (i.e. IOUSBHostDevice) do init(), attach(), set needed properties and call registerService() of this object. With DEXT we have got IOService::Create()...
Alex's user avatar
  • 33
2 votes
1 answer
262 views

virtual kern_return_t IOService::Terminate(uint64_t options) says you can pass a parameter with options. I wonder what the different options are? The documentation does not say anything.
tuple_cat's user avatar
  • 1,396
2 votes
1 answer
709 views

Our request to get the entitlement com.apple.developer.driverkit.userclient-access to access our Driverkit driver with bundle id com.example.driver for the app with bundle id com.example.app was ...
tuple_cat's user avatar
  • 1,396
3 votes
1 answer
2k views

im trying to submit a Network Extension activation request but i get this error. The operation couldn’t be completed. (OSSystemExtensionErrorDomain error 9.) I looked it up and apparently it means &...
Santiago Alvarez's user avatar
0 votes
0 answers
398 views

I knew the LSEnvironment is for defining environment variables to be set before launching the App. <key>LSEnvironment</key> <dict> <key>PATH</key> <string>...</...
android2test's user avatar
0 votes
0 answers
472 views

Apple developer documentation says: If your hardware communicates entirely using standards-based protocols, you can ship a driver that matches your hardware to one of the built-in system drivers. Is ...
khuttun's user avatar
  • 753
5 votes
0 answers
346 views

I'm trying to create an application that uses a system extension (NEFilterPacketProvider to be exact). Currently I'm using CocoaPods to manage my dependencies. Everything works fine, up until the ...
Kristupas A.'s user avatar
1 vote
1 answer
219 views

I am looking at the documentation of IOBufferMemoryDescriptor. It says "... Except where noted, you are also responsible for releasing buffers that you allocate.". IOBufferMemoryDescriptor::...
tuple_cat's user avatar
  • 1,396
2 votes
1 answer
432 views

I have written a system extension using DriverKit and USBDriverKit that seems to work well (running with developer mode on, SIP off, ... still waiting for entitlements). When I plug my USB device and ...
ScottBraun's user avatar
2 votes
2 answers
2k views

I am trying to learn more about DriverKit and memory management, and I read this question: How to allocate memory in a DriverKit system extension and map it to another process? And I would like to ...
ScottBraun's user avatar
1 vote
0 answers
127 views

I have written a DriverKit for a USB device and it seems to work well. It is a port from an existing KExt. In the KExt I could call SuspendDevice(true) on IOUsbDevice and it would tell the hub to ...
ScottBraun's user avatar
3 votes
1 answer
1k views

I have an app that installs a DriverKit system extension when it launches. If I then drag this app to the Bin from /Applications then I am prompted about that the app also manages a system extension ...
tuple_cat's user avatar
  • 1,396
6 votes
2 answers
6k views

I have a macOS System Extension for a USB device driver. It works when I disable SIP and manually sign using my codesign identity (generated from my Apple ID using "security find-identity" ...
GTAE86's user avatar
  • 1,966
2 votes
0 answers
154 views

I need to save some configuration from a DriverKit driver. I was reading How to save kext configuration between sessions and in this case it seems that the preferred way is to save the config from a ...
tuple_cat's user avatar
  • 1,396
9 votes
3 answers
5k views

I want to build a macOS app that filters specific network requests so I need to add the NetworkExtensions capability. But after I add a NetworkExtensions capability, I get the following message: Your ...
potato-dev2's user avatar
2 votes
0 answers
275 views

With the release of Big Sur - Network Kernel extensions are now officially inaccessible. However I cannot find the equivalent functionality I need in the new Network Extensions API. In my NKE (network ...
horseyguy's user avatar
  • 30k
1 vote
0 answers
113 views

In ACM Dext handleInterruptPacket override method is not getting invoked by the system. Kindly let me know anything missing. iig file: class UserUsbACMControl: public IOUserUSBSerial { virtual ...
david's user avatar
  • 421
1 vote
1 answer
823 views

I am creating a system extension and bundling it in a Mac app on Mac OS Catalina. I have had success building the app and requesting activation of the extension from my application delegate (Swift). ...
DemetriOS's user avatar
  • 191
2 votes
1 answer
305 views

I am trying to send request using AsyncIO for Interrupt EP, for AsyncIO I have created IOMemoryBufferDescriptor, once IOMemoryBufferDescriptor, Create is success I used GetAddressRange and stored ...
david's user avatar
  • 421