cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

run_unprivileged_remount.sh (285B)


      1#!/bin/bash
      2# SPDX-License-Identifier: GPL-2.0
      3# Kselftest framework requirement - SKIP code is 4.
      4ksft_skip=4
      5
      6# Run mount selftests
      7if [ -f /proc/self/uid_map ] ; then
      8	./unprivileged-remount-test ;
      9else
     10	echo "WARN: No /proc/self/uid_map exist, test skipped." ;
     11	exit $ksft_skip
     12fi