Re: [PATCH-RFC] code for raceless /sys/fs/foofs/*
From: viro
Date: Wed May 05 2004 - 11:30:14 EST
On Wed, May 05, 2004 at 05:53:16PM +0400, Nikita Danilov wrote:
> Hello,
>
> attached patch adds code necessary to safely export per-super-block
> information in /sys/fs and /proc/fs.
>
> Common problem with exporting file system information in procfs or sysfs
> is a race between method that inputs/outputs data and concurrent umount
> of the super-block involved.
Aside of the implementation questions (will comment later), there is an
interface problem here. We end up allowing anyone who has sysfs mounted
(in chroot jail, in limited namespace, etc.) to pin down _any_ reiser4
superblock, whether they have the thing itself mounted or not.
-
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/