Re: [PATCH 2.6.15.4 1/1][RFC] ipt_owner: inode match supporting both incoming and outgoing packets

From: Christoph Hellwig
Date: Sat Feb 18 2006 - 07:35:12 EST


On Sat, Feb 18, 2006 at 02:32:14PM +0200, T?r?k Edwin wrote:
> Is there an alternative for locking the tasklist, and iterating through all
> the threads to: find out the struct task* given a struct fown_struct*. Or is
> there any other way to find out the inode, and mountpoint of that process?

no, and a driver shouldn't do that. This might sound harsh, but I'd say
what you're trying to do is fundamentally doomed ;-)

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/