diff options
author | Eric W. Biederman | 2014-08-22 23:39:03 +0200 |
---|---|---|
committer | Eric W. Biederman | 2014-12-02 17:46:48 +0100 |
commit | 4a44a19b470a886997d6647a77bb3e38dcbfa8c5 (patch) | |
tree | 33ca998ebb8ddf4071eca23a2bb0a9472606ada0 /fs/namespace.c | |
parent | mnt: Implicitly add MNT_NODEV on remount when it was implicitly added by mount (diff) | |
download | kernel-qcow2-linux-4a44a19b470a886997d6647a77bb3e38dcbfa8c5.tar.gz kernel-qcow2-linux-4a44a19b470a886997d6647a77bb3e38dcbfa8c5.tar.xz kernel-qcow2-linux-4a44a19b470a886997d6647a77bb3e38dcbfa8c5.zip |
mnt: Update unprivileged remount test
- MNT_NODEV should be irrelevant except when reading back mount flags,
no longer specify MNT_NODEV on remount.
- Test MNT_NODEV on devpts where it is meaningful even for unprivileged mounts.
- Add a test to verify that remount of a prexisting mount with the same flags
is allowed and does not change those flags.
- Cleanup up the definitions of MS_REC, MS_RELATIME, MS_STRICTATIME that are used
when the code is built in an environment without them.
- Correct the test error messages when tests fail. There were not 5 tests
that tested MS_RELATIME.
Cc: stable@vger.kernel.org
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Diffstat (limited to 'fs/namespace.c')
0 files changed, 0 insertions, 0 deletions