Re: [patch 6/8] Factor out sysctl pathname code

From: Christoph Hellwig
Date: Sat May 31 2008 - 04:28:16 EST


On Thu, May 29, 2008 at 01:32:51PM +0200, Miklos Szeredi wrote:
> Convert the selinux sysctl pathname computation code into a standalone
> function.

No point bloating core kernel for selinux mess. And this whole routine
should rather go away rather than moving it to core code. While doing
pathname based lookup for the label might work for the limited case
of sysctl where there are no symlinks but is a rather dumb idea in
general. And reconstructing this path from the sysctl tables is twice
as dumb.
--
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/