lkml.org 
[lkml]   [2009]   [Feb]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCHv2 2/5] VFS: DazukoFS, stackable-fs, file access control
From
Date
On 2009-02-12, ebiederm@xmission.com (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


\
 
 \ /
  Last update: 2009-02-13 21:25    [W:0.301 / U:0.592 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site