Re: [PATCH v3 0/3] cgroup: add xattr support
From: Tejun Heo
Date: Tue Jul 17 2012 - 16:41:27 EST
Hello,
On Mon, Jul 02, 2012 at 10:29:25AM -0400, Aristeu Rozanski wrote:
> This series are a refreshed version of a patchset submitted by Li Zefan back
> in march:
> https://lkml.org/lkml/2012/3/1/13
>
> With Li's permission, I refreshed the patches to apply over the latest upstream
> and added the modifications suggested by others in the thread:
> - using a mount option instead of config option to enable the xattr support
> - reinitialize the list in kmem_xattrs_free()
> - renamed functions to simple_xattr_*()
>
> Signed-off-by: Li Zefan <lizefan@xxxxxxxxxx>
> Signed-off-by: Aristeu Rozanski <aris@xxxxxxxxxx>
I raised this point before but I'm worried about directly exposing
kernel memory through xattr interface to userland. Maybe it's okay as
long as !root users are kept from creating them. I don't know. I
really hope it used anonymous page cache instead of kmem tho. Hugh,
would something like that be difficult?
Thanks.
--
tejun
--
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/