[lkml]   [2009]   [Feb]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCHv2 2/5] VFS: DazukoFS, stackable-fs, file access control
John Ogness <> writes:

> Patch 2: Creates /dev/dazukofs.0 for userspace applications to perform
> file access control. At this point, all applications are
> considered to be working together (in the same group).

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.

As it is your code is broken.


 \ /
  Last update: 2009-02-12 21:17    [W:0.142 / U:30.388 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site