[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.022 / U:8.564 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site