File tree 3 files changed +23
-4
lines changed
3 files changed +23
-4
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,9 @@ the functions in the `rustix::thread::futex` module instead.
9
9
` rustix::process::waitpid ` 's return type changed from ` WaitStatus ` to
10
10
` (Pid, WaitStatus) ` , to additionally return the pid of the child.
11
11
12
+ The ` SLAVE ` flag in ` rustix::mount::MountPropagationFlags ` is renamed
13
+ to ` DOWNSTREAM ` .
14
+
12
15
The "cc" feature is removed. It hasn't had any effect for several
13
16
major releases.
14
17
Original file line number Diff line number Diff line change @@ -310,8 +310,16 @@ bitflags! {
310
310
const SHARED = c:: MS_SHARED ;
311
311
/// `MS_PRIVATE`
312
312
const PRIVATE = c:: MS_PRIVATE ;
313
- /// `MS_SLAVE`
314
- const SLAVE = c:: MS_SLAVE ;
313
+ /// Mark a mount as a downstream of its current peer group.
314
+ ///
315
+ /// Mount and unmount events propagate from the upstream peer group
316
+ /// into the downstream.
317
+ ///
318
+ /// In Linux documentation, this flag is named <code>MS_SLAVE</code>,
319
+ /// and the concepts of “upstream” and “downstream” are called
320
+ /// “master” and “slave”.
321
+ #[ doc( alias = "SLAVE" ) ]
322
+ const DOWNSTREAM = c:: MS_SLAVE ;
315
323
/// `MS_UNBINDABLE`
316
324
const UNBINDABLE = c:: MS_UNBINDABLE ;
317
325
/// `MS_REC`
Original file line number Diff line number Diff line change @@ -303,8 +303,16 @@ bitflags! {
303
303
const SHARED = linux_raw_sys:: general:: MS_SHARED ;
304
304
/// `MS_PRIVATE`
305
305
const PRIVATE = linux_raw_sys:: general:: MS_PRIVATE ;
306
- /// `MS_SLAVE`
307
- const SLAVE = linux_raw_sys:: general:: MS_SLAVE ;
306
+ /// Mark a mount as a downstream of its current peer group.
307
+ ///
308
+ /// Mount and unmount events propagate from the upstream peer group
309
+ /// into the downstream.
310
+ ///
311
+ /// In Linux documentation, this flag is named <code>MS_SLAVE</code>,
312
+ /// and the concepts of “upstream” and “downstream” are called
313
+ /// “master” and “slave”.
314
+ #[ doc( alias = "SLAVE" ) ]
315
+ const DOWNSTREAM = linux_raw_sys:: general:: MS_SLAVE ;
308
316
/// `MS_UNBINDABLE`
309
317
const UNBINDABLE = linux_raw_sys:: general:: MS_UNBINDABLE ;
310
318
/// `MS_REC`
You can’t perform that action at this time.
0 commit comments