Check-in [a0ad8fcf5e]
Overview
SHA1:a0ad8fcf5e12a910aceb002ae6fabb81d5f49165
Date: 2016-01-20 15:48:58
User: rkeene
Comment:Updated with better search for sys_call_table address in files
Timelines: family | ancestors | trunk
Downloads: Tarball | ZIP archive
Other Links: files | file ages | folders | manifest
Tags And Properties
Context
2016-01-20
15:48
[a0ad8fcf5e] Leaf: Updated with better search for sys_call_table address in files (user: rkeene, tags: trunk)
15:26
[6546477ed5] Updated to print UID of user invoking keyctl() (user: rkeene, tags: trunk, 1)
Changes

Modified configure from [b512e69854] to [a88b256cec].

    17     17   	echo "error: Unable to determine kernel build directory.  Try specifying the KERNEL_DIR environment variable" >&2
    18     18   
    19     19   	exit 1
    20     20   fi
    21     21   
    22     22   if [ -z "${SYSTEM_MAP_FILE}" ]; then
    23     23   	for trySystemMapFile in /proc/kallsyms "${kernelDir}/System.map" "/boot/System.map"; do
    24         -		if grep ' sys_call_table' "${trySystemMapFile}" >/dev/null 2>/dev/null; then
           24  +		if egrep ' sys_call_table($| )' "${trySystemMapFile}" >/dev/null 2>/dev/null; then
    25     25   			systemMapFile="${trySystemMapFile}"
    26     26   
    27     27   			break
    28     28   		fi
    29     29   	done
    30     30   else
    31     31   	systemMapFile="${SYSTEM_MAP_FILE}"