site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=kdOYpD86Ar2ThMiaFzFZmsWVTFIe86WKjfybxDXNlaM=; b=SAtIHZx/rpUTiNLJIu7BDN1YLO3jpukHPO9qaqqSIoJ4Y96y3VjgSMwf8f0rmrAy62 bC4HbKLT1JoQusT7NSC2Zhd3hXBfphyCXvwybQj6vzujs70LtB9GZ9QVQ5DITmqvrBkN nzb4CxhUXDgJ6k2/WlTwsW/MgcJfmK7cR8Ke8= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=UBpaLspLODxapWgftBz3DneR4ZTvowzYEw5ENkkEPuwEdUSJlVMpbirtDqMb/uqGEo S7Gla3QhW2HUUC/8FToujgf3Ntp2kYyX2lRjvIbQ6QfTRmZdUnt12MlDKoYZnfUaHrjZ 1FZgUEzCFIV/YlFhi3E535eHXBKQkQVx8dqOY= Yes sure, you solved temporary the problem, but you asked for advices regarding a good or a bad use of kernel API, you also complained about the lack of documentation, this was not fair, you could met the same problem in FB kernel and if you ask the same thing on FB mailing list you 'll get the same answers and maybe less political there's a implicit rule: as far as possible (it depends nke, fs) - do not use a method enclosed in a PRIVATE defined - you have to "considare" the rest of kernel APIs as protected // no need advertising - in MacOS IOKit is the public IO interface, kpis are also a public interface to the "bsd-like" API one of mistake of the previous kteam has been to expose mach primitives without warnings, and Terry try to correct this in 90% of his answers IMHO so what I try to express is: you asked for an advice despite your solved problem, "maybe" there is a alternative safer way to get your result, and "maybe" a better design, we can only express some theories, because you are not very "locace" about your entire app/model Cheers! On Thu, Jul 24, 2008 at 10:42 AM, Greg <greg@kinostudios.com> wrote:
On Jul 24, 2008, at 1:32 PM, mm w wrote:
Hi Greg, maybe if you could describe a bit your mechanism, you could have a right answer and some leads for a example why do you need the "type" of a VNODE, - do you receive a userspace file event?
Well, the kext sends out file events, but I'm confused, I already solved my problem (in the reply to myself), did you not see that? I simply needed a vnode_put call after a vnode_lookup.
- Greg
-- -mmw _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... This email sent to site_archiver@lists.apple.com
participants (1)
-
mm w