lkml.org 
[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
    From
    Date
    John Ogness <dazukocode@ogness.net> 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.


    Eric


    \
     
     \ /
      Last update: 2009-02-12 21:17    [W:0.032 / U:29.084 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site