mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-19 09:16:29 +00:00
check-kernel-config: check for STRICT_MODULE_RWX too
This is what CONFIG_DEBUG_SET_MODULE_RONX was renamed to; since we want that one, presumably we want this one too. Signed-off-by: Tycho Andersen <tycho@docker.com>
This commit is contained in:
parent
4fb767a480
commit
6ff8a7387f
@ -73,6 +73,7 @@ fi
|
||||
|
||||
if [ "$kernelMajor" -ge 4 -a "$kernelMinor" -ge 11 ]; then
|
||||
echo $UNZIPPED_CONFIG | grep -q CONFIG_STRICT_KERNEL_RWX=y || fail "CONFIG_STRICT_KERNEL_RWX=y"
|
||||
echo $UNZIPPED_CONFIG | grep -q CONFIG_STRICT_MODULE_RWX=y || fail "CONFIG_STRICT_MODULE_RWX=y"
|
||||
fi
|
||||
|
||||
# Negative cases
|
||||
|
Loading…
Reference in New Issue
Block a user