1 #!/bin/bash 1 #!/bin/bash 2 # SPDX-License-Identifier: GPL-2.0 2 # SPDX-License-Identifier: GPL-2.0 3 # Kselftest framework requirement - SKIP code 3 # Kselftest framework requirement - SKIP code is 4. 4 ksft_skip=4 4 ksft_skip=4 5 5 6 # Run mount selftests 6 # Run mount selftests 7 if [ -f /proc/self/uid_map ] ; then 7 if [ -f /proc/self/uid_map ] ; then 8 ./unprivileged-remount-test ; 8 ./unprivileged-remount-test ; 9 else 9 else 10 echo "WARN: No /proc/self/uid_map exis 10 echo "WARN: No /proc/self/uid_map exist, test skipped." ; 11 exit $ksft_skip 11 exit $ksft_skip 12 fi 12 fi
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.