Post

Replies

Boosts

Views

Activity

Comment on Is there official way to restart nesessionmanger on macOS instead of killing it?
Thanks @eskimo, I see the main issue in both production(activate system extension again during the upgrade product) and developer machines(can reproduce by multiple activations). And both log of sysextd and nesessionmanager to show the system extension should be launched, but not. Btw, I noticed that if I activate system extension multiple times, the old ones would be terminated by sysextd, so looks no need to do deactivation before activate it?
Topic: App & System Services SubTopic: General Tags:
May ’23
Comment on How to disable App Transport Security by enabling NSAllowsArbitraryLoads for daemon process since it does not have info.plist on macOS
Thanks, @eskimo. So that means daemons do not have ATS restrictions when using HTTP, right? Actually, I encountered the error message 'The resource could not be loaded because the App Transport Security policy requires the use of a secure connection.' while using NSURLSession to access a website via HTTP from my daemon on macOS 11. Interestingly, I cannot reproduce the same issue on macOS 12 and 13. It appears to be a bug specific to macOS 11?
Topic: App & System Services SubTopic: General Tags:
Jul ’23
Comment on Any new APIs to replace es_mute_path_*** since they are deprecated
I will do it, thanks a lot! @eskimo. Btw: I feel there is a security concern if a process is muted by path, let's say if I muted a trusted process by path, however, the process might be replaced by a totally different one with the same path, then the events of the "new" one also are muted, right?
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Oct ’21
Comment on Any new APIs to replace es_mute_path_*** since they are deprecated
Agree with you, thanks @eskimo. Btw: FB9726842 for your reference.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Oct ’21
Comment on A memory leak in SecCodeCopySigningInformation or SecCodeCheckValidity?
Thanks a lot, @eskimo. The issue was found on macOS 10.15, let me test it on the latest macOS.
Replies
Boosts
Views
Activity
Feb ’22
Comment on A memory leak when capturing callback function from block of setTerminationHandler of NSTask
@eskimo, more findings, if NSTask is launched successfully, then there is no leak. The leak happens when failed to launch task or not to launch task.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Mar ’22
Comment on CFNetworkCopyProxiesForAutoConfigurationScript and CFNetworkExecuteProxyAutoConfigurationURL cause the memory leak
Hi @eskimo, please refer to FB11991632.
Replies
Boosts
Views
Activity
Feb ’23
Comment on CFNetworkCopyProxiesForAutoConfigurationScript and CFNetworkExecuteProxyAutoConfigurationURL cause the memory leak
Yes, @eskimo. I enabled the ARC.
Replies
Boosts
Views
Activity
Feb ’23
Comment on Is there official way to restart nesessionmanger on macOS instead of killing it?
Thanks @eskimo, I see the main issue in both production(activate system extension again during the upgrade product) and developer machines(can reproduce by multiple activations). And both log of sysextd and nesessionmanager to show the system extension should be launched, but not. Btw, I noticed that if I activate system extension multiple times, the old ones would be terminated by sysextd, so looks no need to do deactivation before activate it?
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
May ’23
Comment on Is there official way to restart nesessionmanger on macOS instead of killing it?
Thanks @eskimo. I actually used a GUI app in response to user actions indeed.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
May ’23
Comment on How to disable App Transport Security by enabling NSAllowsArbitraryLoads for daemon process since it does not have info.plist on macOS
Thanks, @eskimo. So that means daemons do not have ATS restrictions when using HTTP, right? Actually, I encountered the error message 'The resource could not be loaded because the App Transport Security policy requires the use of a secure connection.' while using NSURLSession to access a website via HTTP from my daemon on macOS 11. Interestingly, I cannot reproduce the same issue on macOS 12 and 13. It appears to be a bug specific to macOS 11?
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jul ’23
Comment on IOBluetoothDevice registerForConnectNotifications callbacks not working (no callbacks) when process run as daemon/root under Sonoma (works on Ventura)
https://developer.apple.com/documentation/devicemanagement/privacypreferencespolicycontrol/services?language=objc, it should be supported in MDM.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Apr ’24