site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com = Mike _______________________________________________ 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 Mar 9, 2004, at 9:06 AM, Martin Akesson wrote: Obviously something has changed as sysctl() now only returns 4 bytes which is nothing more than a null pointer, eg. there are no open files. Is there a new api for this or what should I do to fix this? I really need a list of open files in the system.
From a general perspective, the system doesn't want you to have a list of open files. Just to start with, it's a moderate security leak to advertise the existence of files you might not be able to search for. However, there are a few legitimate uses for this sort of information. What do you want the list for? This email sent to site_archiver@lists.apple.com