Commit 35b574a
committed
Merge tag 'pull-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
Pull mount fixes from Al Viro:
"Various mount-related bugfixes:
- split the do_move_mount() checks in subtree-of-our-ns and
entire-anon cases and adapt detached mount propagation selftest for
mount_setattr
- allow clone_private_mount() for a path on real rootfs
- fix a race in call of has_locked_children()
- fix move_mount propagation graph breakage by MOVE_MOUNT_SET_GROUP
- make sure clone_private_mnt() caller has CAP_SYS_ADMIN in the right
userns
- avoid false negatives in path_overmount()
- don't leak MNT_LOCKED from parent to child in finish_automount()
- do_change_type(): refuse to operate on unmounted/not ours mounts"
* tag 'pull-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs:
do_change_type(): refuse to operate on unmounted/not ours mounts
clone_private_mnt(): make sure that caller has CAP_SYS_ADMIN in the right userns
selftests/mount_setattr: adapt detached mount propagation test
do_move_mount(): split the checks in subtree-of-our-ns and entire-anon cases
fs: allow clone_private_mount() for a path on real rootfs
fix propagation graph breakage by MOVE_MOUNT_SET_GROUP move_mount(2)
finish_automount(): don't leak MNT_LOCKED from parent to child
path_overmount(): avoid false negatives
fs/fhandle.c: fix a race in call of has_locked_children()File tree
3 files changed
+74
-59
lines changed- fs
- include/linux
- tools/testing/selftests/mount_setattr
3 files changed
+74
-59
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2410 | 2410 | | |
2411 | 2411 | | |
2412 | 2412 | | |
2413 | | - | |
| 2413 | + | |
2414 | 2414 | | |
2415 | 2415 | | |
2416 | 2416 | | |
| |||
2424 | 2424 | | |
2425 | 2425 | | |
2426 | 2426 | | |
| 2427 | + | |
| 2428 | + | |
| 2429 | + | |
| 2430 | + | |
| 2431 | + | |
| 2432 | + | |
| 2433 | + | |
| 2434 | + | |
| 2435 | + | |
| 2436 | + | |
2427 | 2437 | | |
2428 | 2438 | | |
2429 | 2439 | | |
| |||
2468 | 2478 | | |
2469 | 2479 | | |
2470 | 2480 | | |
2471 | | - | |
2472 | | - | |
2473 | | - | |
2474 | | - | |
2475 | | - | |
2476 | | - | |
2477 | | - | |
2478 | | - | |
2479 | | - | |
| 2481 | + | |
| 2482 | + | |
| 2483 | + | |
| 2484 | + | |
| 2485 | + | |
| 2486 | + | |
| 2487 | + | |
| 2488 | + | |
| 2489 | + | |
| 2490 | + | |
| 2491 | + | |
2480 | 2492 | | |
2481 | 2493 | | |
2482 | | - | |
2483 | 2494 | | |
2484 | 2495 | | |
2485 | 2496 | | |
2486 | 2497 | | |
2487 | | - | |
| 2498 | + | |
| 2499 | + | |
| 2500 | + | |
| 2501 | + | |
2488 | 2502 | | |
2489 | 2503 | | |
2490 | 2504 | | |
| |||
2930 | 2944 | | |
2931 | 2945 | | |
2932 | 2946 | | |
| 2947 | + | |
| 2948 | + | |
| 2949 | + | |
| 2950 | + | |
2933 | 2951 | | |
2934 | 2952 | | |
2935 | 2953 | | |
| |||
3021 | 3039 | | |
3022 | 3040 | | |
3023 | 3041 | | |
3024 | | - | |
| 3042 | + | |
3025 | 3043 | | |
3026 | 3044 | | |
3027 | 3045 | | |
| |||
3414 | 3432 | | |
3415 | 3433 | | |
3416 | 3434 | | |
3417 | | - | |
| 3435 | + | |
3418 | 3436 | | |
3419 | 3437 | | |
3420 | 3438 | | |
| |||
3428 | 3446 | | |
3429 | 3447 | | |
3430 | 3448 | | |
3431 | | - | |
| 3449 | + | |
3432 | 3450 | | |
3433 | 3451 | | |
3434 | 3452 | | |
| |||
3453 | 3471 | | |
3454 | 3472 | | |
3455 | 3473 | | |
3456 | | - | |
| 3474 | + | |
| 3475 | + | |
| 3476 | + | |
3457 | 3477 | | |
3458 | 3478 | | |
3459 | 3479 | | |
3460 | 3480 | | |
| 3481 | + | |
| 3482 | + | |
| 3483 | + | |
3461 | 3484 | | |
3462 | | - | |
3463 | | - | |
3464 | | - | |
3465 | | - | |
| 3485 | + | |
3466 | 3486 | | |
3467 | | - | |
| 3487 | + | |
| 3488 | + | |
| 3489 | + | |
| 3490 | + | |
| 3491 | + | |
| 3492 | + | |
3468 | 3493 | | |
3469 | 3494 | | |
3470 | 3495 | | |
| |||
3623 | 3648 | | |
3624 | 3649 | | |
3625 | 3650 | | |
3626 | | - | |
3627 | | - | |
3628 | | - | |
3629 | 3651 | | |
3630 | 3652 | | |
3631 | 3653 | | |
3632 | 3654 | | |
3633 | | - | |
3634 | | - | |
3635 | | - | |
3636 | | - | |
3637 | | - | |
| 3655 | + | |
| 3656 | + | |
| 3657 | + | |
| 3658 | + | |
| 3659 | + | |
| 3660 | + | |
| 3661 | + | |
| 3662 | + | |
| 3663 | + | |
3638 | 3664 | | |
3639 | | - | |
3640 | | - | |
3641 | | - | |
3642 | | - | |
3643 | | - | |
| 3665 | + | |
| 3666 | + | |
| 3667 | + | |
3644 | 3668 | | |
3645 | | - | |
3646 | | - | |
| 3669 | + | |
| 3670 | + | |
3647 | 3671 | | |
3648 | | - | |
3649 | | - | |
| 3672 | + | |
| 3673 | + | |
| 3674 | + | |
3650 | 3675 | | |
3651 | | - | |
| 3676 | + | |
| 3677 | + | |
| 3678 | + | |
| 3679 | + | |
| 3680 | + | |
| 3681 | + | |
| 3682 | + | |
| 3683 | + | |
3652 | 3684 | | |
3653 | 3685 | | |
3654 | | - | |
3655 | | - | |
3656 | | - | |
3657 | 3686 | | |
3658 | 3687 | | |
3659 | 3688 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
68 | | - | |
| 68 | + | |
| 69 | + | |
69 | 70 | | |
70 | 71 | | |
71 | 72 | | |
| |||
Lines changed: 1 addition & 16 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2079 | 2079 | | |
2080 | 2080 | | |
2081 | 2081 | | |
2082 | | - | |
2083 | | - | |
2084 | | - | |
2085 | | - | |
2086 | 2082 | | |
2087 | 2083 | | |
2088 | | - | |
2089 | | - | |
2090 | | - | |
2091 | | - | |
2092 | | - | |
2093 | | - | |
2094 | | - | |
2095 | | - | |
2096 | | - | |
2097 | | - | |
2098 | | - | |
2099 | | - | |
| 2084 | + | |
2100 | 2085 | | |
2101 | 2086 | | |
2102 | 2087 | | |
| |||
0 commit comments