lkml.org 
[lkml]   [2006]   [Jun]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [RFC][PATCH 00/20] Mount writer count and read-only bind mounts (v2)
    On Fri, 16 Jun 2006, Dave Hansen wrote:
    > The following series implements read-only bind mounts. This feature
    > allows a read-only view into a read-write filesystem.

    Thanks, I like this idea very much. I think I have found at least one good
    use for it even before it is merged. :-)

    But...

    > One note: the previous patches all worked this way:
    >
    > mount --bind -o ro /source /dest
    >
    > These patches have changed that behavior. It now requires two steps:
    >
    > mount --bind /source /dest
    > mount -o remount,ro /dest

    Isn't this some kind of security risk (at least in my planned use)? I mean
    - for a small fraction of second somebody seeing /dest can write
    /source... No?


    Thanks,

    Grzegorz Kulewski

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2006-06-17 01:32    [W:0.022 / U:32.920 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site