lkml.org 
[lkml]   [2018]   [Jun]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRe: [PATCH 30/32] vfs: Allow cloning of a mount tree with open(O_PATH|O_CLONE_MOUNT) [ver #8]
    Date
    Al Viro <viro@ZenIV.linux.org.uk> wrote:

    > > Instead of overloading this on open having a specific syscalls just
    > > seems like a much saner idea.
    >
    > It's not just mount API; these can be used independently of that.
    > Think of the uses where you pass those to ...at() and you'll see
    > a bunch of applications of that thing.

    I kind of agree with Christoph on this point. Yes, you can use the resultant
    fd for other things, but that doesn't mean it has to be obtained initially
    through open() or openat() rather than, say, a new pick_mount() syscall.

    Further, having more parameters available gives us the opportunity to change
    the settings on any mounts we create at the point of creation.

    David

    \
     
     \ /
      Last update: 2018-06-01 10:28    [W:4.115 / U:0.100 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site