lkml.org 
[lkml]   [2020]   [May]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Setting mount propagation type in new mount API
Date
Michael Kerrisk (man-pages) <mtk.manpages@gmail.com> wrote:

> I've been looking at the new mount API (fsopen(), fsconfig(),
> fsmount(), move_mount(), etc.) and among the details that remain
> mysterious to me is this: how does one set the propagation type
> (private/shared/slave/unbindable) of a new mount and change the
> propagation type of an existing mount?

Christian said he was going to have a go at writing mount_setattr(). It's not
trivial as it has to be able to handle AT_RECURSIVE.

David

\
 
 \ /
  Last update: 2020-05-18 16:30    [W:6.099 / U:0.200 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site