diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2014-08-22 16:39:03 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-01-08 09:58:16 -0800 |
commit | 260cb8f431389643881f136d62838334de5fc327 (patch) | |
tree | b664c7e58819c19d57232a4d739c1655bbc3dd8f /kernel/uid16.c | |
parent | 4be461b16020beb18a0cd680ec74ba63f83b677c (diff) | |
download | lwn-260cb8f431389643881f136d62838334de5fc327.tar.gz lwn-260cb8f431389643881f136d62838334de5fc327.zip |
mnt: Update unprivileged remount test
commit 4a44a19b470a886997d6647a77bb3e38dcbfa8c5 upstream.
- 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.
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel/uid16.c')
0 files changed, 0 insertions, 0 deletions