site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com Hi, Best regards, Anton -- Anton Altaparmakov <aia21 at cam.ac.uk> (replace at with @) Unix Support, Computing Service, University of Cambridge, CB2 3QH, UK Linux NTFS maintainer, http://www.linux-ntfs.org/ _______________________________________________ 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... On 23 Sep 2009, at 09:20, anubhav rakshit wrote: I goofed up. I needed to know the protection. I think the closest you can come to that is to implement your VNOP_MMAP () so that when an mmap call happens you can see the protection of the mmap area in the a->a_fflags passed into your vnop mmap function which are a combination of PROT_READ, PROT_WRITE, and PROT_EXEC. This email sent to site_archiver@lists.apple.com