blob: 249e9cc0791609da1a5547290b5fc0363a6982de (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
#! /bin/bash
# SPDX-License-Identifier: GPL-2.0
# Copyright (c) 2021 Christian Brauner. All Rights Reserved.
#
# FS QA Test 645
#
# Test that idmapped mounts behave correctly with complex user namespaces.
#
. ./common/preamble
_begin_fstest auto quick idmapped mount
# get standard environment, filters and checks
. ./common/filter
# real QA test starts here
_supported_fs generic
_require_idmapped_mounts
_require_test
_wants_kernel_commit dacfd001eaf2 \
"fs/mnt_idmapping.c: Return -EINVAL when no map is written"
echo "Silence is golden"
$here/src/vfs/vfstest --test-nested-userns \
--device "$TEST_DEV" --mount "$TEST_DIR" --fstype "$FSTYP"
status=$?
exit
|