Re: [PATCH 1/2] security/selinux: fix /proc/sys/ labeling

From: Eric W. Biederman
Date: Tue Feb 01 2011 - 15:14:23 EST


Lucian Adrian Grijincu <lucian.grijincu@xxxxxxxxx> writes:

> On Tue, Feb 1, 2011 at 9:33 PM, Eric W. Biederman <ebiederm@xxxxxxxxxxxx> wrote:
>> What kernel has a dentry_path_raw? ÂPerhaps you mean __dentry_path?
>
>
> See the function here:
> https://github.com/mirrors/linux-2.6/blob/70d1f365568e0cdbc9f4ab92428e1830fdb09ab0/fs/dcache.c
>
> The last patches were against 2.6.38-rc2 because the dcache layer got
> rewritten in 2.6.38 http://lwn.net/Articles/421784/
>
> __dentry_path is now static (in fs/dcache.c) and does not take the
> necessary locks.

Thanks. I thought I was looking at the latest source but it turns out
I fat fingered something and my tree was still 2.6.36-rc3. Sigh.

dentry_path_raw does seem reasonable.

Eric
--
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/