Re: [PATCHv2 2/5] VFS: DazukoFS, stackable-fs, file access control

From: John Ogness
Date: Fri Feb 13 2009 - 15:23:44 EST


On 2009-02-12, ebiederm@xxxxxxxxxxxx (Eric W. Biederman) wrote:
> Please use struct pid properly.
>
> There is no guarantee that whoever opens /dev/dazukofs.0 will
> be in the global pid namespace.
>
> So you need to properly store a struct pid reference in your data
> structures, and call pid_vnr just before you pass the value to
> userspace.

Thanks. I was not aware of pid.h. I will make this change.

John Ogness
--
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/