| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
Thanks, Terry.
There are no kauth hooks for mount/unmount notification,
I'm aware of it, that's why I'm asking.
as the permissions
are vetted before you get there, and so there are no allow/deny hooks in
kernel space.
Well, all this doesn't deny kauth's file operation scope.
You can get notification through disk arbitration in user space, and then
call down into your KEXT to tell it about the events. This is typically
done with DARegisterDiskMountApprovalCallback and
DARegisterDiskUnmountApprovalCallback, which would allow you to ensure
mostly synchronous operation.
I'm aware about the opportunity either. And still, I would appreciate, if you give me a hint, how do I do it from within kernel, i.e. *observe* mount/umount events, if there is any way. That would fit my needs perfectly.
-- Terry _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/email@hidden
| References: | |
| >Hooking mount events from within kernel. (From: "Maxim Zhuravlev" <email@hidden>) | |
| >Re: Hooking mount events from within kernel. (From: "Maxim Zhuravlev" <email@hidden>) | |
| >Re: Hooking mount events from within kernel. (From: Terry Lambert <email@hidden>) | |
| >Re: Hooking mount events from within kernel. (From: "Maxim Zhuravlev" <email@hidden>) | |
| >Re: Hooking mount events from within kernel. (From: Terry Lambert <email@hidden>) | |
| >Re: Hooking mount events from within kernel. (From: "Maxim Zhuravlev" <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.