[PULL,linux-kvm] configs for kernel test suite

Message ID 20171121190805.GA5098@whence.com
State New
Headers show
Series
  • [PULL,linux-kvm] configs for kernel test suite
Related show

Pull-request

git://git.launchpad.net/~kamalmostafa/ubuntu/+source/linux/+git/linux-kvm lp1729681

Message

Kamal Mostafa Nov. 21, 2017, 7:08 p.m.
BugLink: http://bugs.launchpad.net/bugs/1729681
        
linux-kvm needs various standard kernel features and diagnostic options
in order to run the Ubuntu kernel test suite.

A test kernel with these changes has demonstrated positive test results
(most kernel test suites pass, some don't due to intentionally disabled
configs).

No code changes here, just enabling a bunch of configs and their
prerequisites.

 -Kamal


The following changes since commit 1c116612516673c4eab3e9a6ed6843c57a8666c2:

  UBUNTU: Start new release (2017-11-03 12:49:04 -0700)

are available in the git repository at:

  git://git.launchpad.net/~kamalmostafa/ubuntu/+source/linux/+git/linux-kvm lp1729681

for you to fetch changes up to 75920a9030821825859aff63e2da9116323a1cf5:

  UBUNTU: kvm: [config] enable OPENVSWITCH (2017-11-08 13:41:11 -0800)

----------------------------------------------------------------
Kamal Mostafa (18):
      UBUNTU: kvm: [config] enable AIO
      UBUNTU: kvm: [config] enable HUGETLBFS
      UBUNTU: kvm: [config] enable IA32_EMULATION
      UBUNTU: kvm: [config] enable SWAP
      UBUNTU: kvm: [config] enable USERFAULTFD
      UBUNTU: kvm: [config] enable FANOTIFY
      UBUNTU: kvm: [config] enable EVENTFD
      UBUNTU: kvm: [config] enable POSIX_MQUEUE
      UBUNTU: kvm: [config] enable MEMBARRIER
      UBUNTU: kvm: [config] enable CONNECTOR, PROC_EVENTS
      UBUNTU: kvm: [config] enable ADVISE_SYSCALLS
      UBUNTU: kvm: [config] enable SECURITY, SECURITY_APPARMOR
      UBUNTU: kvm: [config] enable DEVPTS_MULTIPLE_INSTANCES
      UBUNTU: kvm: [config] enable IP_ADVANCED_ROUTER
      UBUNTU: kvm: [config] enable RELOCATABLE, RANDOMIZE_BASE
      UBUNTU: kvm: [config] enable CC_STACKPROTECTOR_STRONG
      UBUNTU: kvm: [config] enable SELINUX, SMACK, TOMOYO, YAMA
      UBUNTU: kvm: [config] enable OPENVSWITCH

 debian.kvm/config/config.common.ubuntu | 138 ++++++++++++++++++++++++++-------
 1 file changed, 109 insertions(+), 29 deletions(-)

Comments

Marcelo Henrique Cerri Nov. 22, 2017, 7:56 p.m. | #1
As we've discussed via irc, the generic kernel sets some additional
selinux configs that are missing in the pull request.

Some examples are:

CONFIG_SECURITY_SELINUX_BOOTPARAM=y
CONFIG_SECURITY_SELINUX_BOOTPARAM_VALUE=0
CONFIG_SECURITY_SELINUX_DISABLE=y

The remaining changes look to me though.