Commit 12f147d
Al Viro
do_change_type(): refuse to operate on unmounted/not ours mounts
Ensure that propagation settings can only be changed for mounts located
in the caller's mount namespace. This change aligns permission checking
with the rest of mount(2).
Reviewed-by: Christian Brauner <[email protected]>
Fixes: 07b2088 ("beginning of the shared-subtree proper")
Reported-by: "Orlando, Noah" <[email protected]>
Signed-off-by: Al Viro <[email protected]>1 parent c28f922 commit 12f147d
1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2959 | 2959 | | |
2960 | 2960 | | |
2961 | 2961 | | |
| 2962 | + | |
| 2963 | + | |
| 2964 | + | |
| 2965 | + | |
2962 | 2966 | | |
2963 | 2967 | | |
2964 | 2968 | | |
| |||
0 commit comments