[lkml]   [2011]   [Aug]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [RFC] fs, proc: Introduce the /proc/<pid>/map_files/ directory v2
    Pavel Emelyanov <> writes:
    > No and this is the trick - when you readlink it - it give you trash, but
    > when you open one - you get exactly the same file as the map points to.

    Isn't that a minor security hole?

    For example if I pass a file descriptor into a chroot process for
    reading, and with this interface you can open it for writing too.
    I could see this causing problems.


    -- -- Speaking for myself only

     \ /
      Last update: 2011-08-24 19:39    [W:0.018 / U:62.928 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site