The natural successor to kauth is some combination of EndpointSecurity and ExecutionPolicy. The natural successor to NKEs is one of the various NetworkExtension technologies we introduced in 10.15 beta. WWDC 2019 Session 714 Network Extensions for the Modern Mac is good summary of those technologies.
Having said that, none of these are a great match for your requirements. Ideally the Mac should be better about honouring SMB’s concept of offline files. When you started this project, did you file an enhancement request along those lines? If so, what was the bug number?
Share and Enjoy
Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
let myEmail = "eskimo" + "1" + "@apple.com"
One of my team member had raised the bug for the same. Here is the bug id - https://bugreport.apple.com/web/?problemID=48189135
Feedback assistant id - https://feedbackassistant.apple.com/feedback/5339891
Feedback report for Finder - https://feedbackassistant.apple.com/feedback/7323090
Please let me know, if I need to raise feedback against other component? SMBUtil is not present under component.
If MAC honors SMB's offline bit, it is of greater help to us. We even contacted Apple technical support team which is available through priviledged account, but the they closed our request by asking us to contact helpline directly.
Later we ended up doing too many changes at server, windows, mac box side to support icloud way of display of files on MAC.
Hope for the resolution from Apple side with support for SMB offline bit. Thanks for the help.