site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com On Jul 24, 2007, at 11:54 AM, darwin-dev-request@lists.apple.com wrote: I've noticed, that operations related to a given filesystem are handled via an array of function pointers named `v_op'. You don't. The array is private to the kernel. There is no KPI provided for this. I'm unable to use v_op, I've tried to find a "general" function for `getxattr()'. After a bit of exploration, I've found : `vn_getxattr()' which seems the right thing to use. This is how I've vn_getxattr is not KPI. = Mike _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... I am now wondering, what's the best way to reference this array. I'd like to use the `getxattr()' function within a kernel extension. As As a general rule, if you think you want to initiate operations on files, file attributes, pathnames etc. from the kernel you have made a design error and need to stop and re-evaluate what you are doing. In almost every case, what you are trying to do should be handled in user space. This email sent to site_archiver@lists.apple.com