Comment 0 for bug 1766780

Po-Hsu Lin (cypressyew) wrote :

test_250_config_security_perf_events_restrict from the kernel security test suite failed with 4.15.0-1008 KVM kernel.

 FAIL: test_250_config_security_perf_events_restrict (__main__.KernelSecurityTest)
  Ensure CONFIG_SECURITY_PERF_EVENTS_RESTRICT is set
  ----------------------------------------------------------------------
  Traceback (most recent call last):
    File "./test-kernel-security.py", line 2313, in test_250_config_security_perf_events_restrict
      self.assertEqual(expected, self._test_config(config_name))
  AssertionError: True != False

The CONFIG_SECURITY_PERF_EVENTS_RESTRICT is not set.
$ cat /boot/config-4.15.0-1008-kvm | grep CONFIG_SECURITY_PERF_EVENTS_RESTRICT
# CONFIG_SECURITY_PERF_EVENTS_RESTRICT is not set

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: linux-image-4.15.0-1008-kvm 4.15.0-1008.8
ProcVersionSignature: User Name 4.15.0-1008.8-kvm 4.15.17
Uname: Linux 4.15.0-1008-kvm x86_64
NonfreeKernelModules: signpost
ApportVersion: 2.20.9-0ubuntu7
Architecture: amd64
Date: Wed Apr 25 04:41:49 2018
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=C.UTF-8
 SHELL=/bin/bash
SourcePackage: linux-kvm
UpgradeStatus: No upgrade log present (probably fresh install)