This file is indexed.

/usr/src/blcr-0.8.5/tests/reloc_exe.sh is in blcr-dkms 0.8.5-2.

This file is owned by root:root, with mode 0o755.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
#!/bin/sh
set -e
. ${cr_testsdir:-`dirname $0`}/shellinit
context=`pwd`/Context1
#
TMPDIR=`cd ${TMPDIR:-/tmp} && $cr_pwd`
MY_TMPDIR1=`mktemp -d ${TMPDIR}/blcr_reloc.XXXXXX`
MY_TMPDIR2=`mktemp -d ${TMPDIR}/blcr_reloc.XXXXXX`
trap "\rm -rf ${MY_TMPDIR1} ${MY_TMPDIR2} $context 2>/dev/null" 0
cp -f ${cr_testsdir}/reloc_aux ${MY_TMPDIR1}/reloc_exe
${cr_run} ${MY_TMPDIR1}/reloc_exe ${MY_TMPDIR1} "$context --clobber"
# Move the mmap()ed executable
mv -f ${MY_TMPDIR1}/reloc_exe ${MY_TMPDIR2}/
${cr_restart} --relocate ${MY_TMPDIR1}/reloc_exe=${MY_TMPDIR2}/reloc_exe $context