These two configs are not enabled in the kernel config file:
$ grep -e CONFIG_DEBUG_RODATA -e CONFIG_STRICT_KERNEL_RWX /boot/config-4.4.0-1022-kvm
# CONFIG_DEBUG_RODATA is not set
As in you comment #3 the CONFIG_KERNEL_DEBUG should be CONFIG_DEBUG_KERNEL instead?
The code was checking for "DEBUG_KERNEL", and this one is enabled in the 4.4 KVM kernel
Hi Steve,
Today I found this one is still failing on 4.4 KVM:
FAIL: test_072_ config_ debug_rodata (__main_ _.KernelSecurit yTest) DEBUG_RODATA/ CONFIG_ STRICT_ KERNEL_ RWX enabled ------- ------- ------- ------- ------- ------- ------- ------- ------- -- kernel- security. py", line 674, in test_072_ config_ debug_rodata assertEqual( self._test_ config( option) , expected)
CONFIG_
-----
Traceback (most recent call last):
File "./test-
self.
AssertionError: False != True
ubuntu@zeppo:~$ cat /proc/version_ signature
Ubuntu 4.4.0-1022.27-kvm 4.4.128
These two configs are not enabled in the kernel config file: STRICT_ KERNEL_ RWX /boot/config- 4.4.0-1022- kvm
$ grep -e CONFIG_DEBUG_RODATA -e CONFIG_
# CONFIG_DEBUG_RODATA is not set
As in you comment #3 the CONFIG_KERNEL_DEBUG should be CONFIG_DEBUG_KERNEL instead?
The code was checking for "DEBUG_KERNEL", and this one is enabled in the 4.4 KVM kernel
$ grep DEBUG_KERNEL /boot/config- 4.4.0-1022- kvm DEBUG_KERNEL= y
CONFIG_
Therefore I will re-open the task for q-r-t.