1. 04 2月, 2017 1 次提交
    • A
      kbuild: modversions: add infrastructure for emitting relative CRCs · 56067812
      Ard Biesheuvel 提交于
      This add the kbuild infrastructure that will allow architectures to emit
      vmlinux symbol CRCs as 32-bit offsets to another location in the kernel
      where the actual value is stored. This works around problems with CRCs
      being mistaken for relocatable symbols on kernels that self relocate at
      runtime (i.e., powerpc with CONFIG_RELOCATABLE=y)
      
      For the kbuild side of things, this comes down to the following:
      
       - introducing a Kconfig symbol MODULE_REL_CRCS
      
       - adding a -R switch to genksyms to instruct it to emit the CRC symbols
         as references into the .rodata section
      
       - making modpost distinguish such references from absolute CRC symbols
         by the section index (SHN_ABS)
      
       - making kallsyms disregard non-absolute symbols with a __crc_ prefix
      Signed-off-by: NArd Biesheuvel <ard.biesheuvel@linaro.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      56067812
  2. 04 1月, 2017 2 次提交
  3. 21 12月, 2016 1 次提交
    • P
      selinux: use the kernel headers when building scripts/selinux · bfc5e3a6
      Paul Moore 提交于
      Commit 3322d0d6 ("selinux: keep SELinux in sync with new capability
      definitions") added a check on the defined capabilities without
      explicitly including the capability header file which caused problems
      when building genheaders for users of clang/llvm.  Resolve this by
      using the kernel headers when building genheaders, which is arguably
      the right thing to do regardless, and explicitly including the
      kernel's capability.h header file in classmap.h.  We also update the
      mdp build, even though it wasn't causing an error we really should
      be using the headers from the kernel we are building.
      Reported-by: NNicolas Iooss <nicolas.iooss@m4x.org>
      Signed-off-by: NPaul Moore <paul@paul-moore.com>
      bfc5e3a6
  4. 16 12月, 2016 1 次提交
  5. 14 12月, 2016 2 次提交
  6. 13 12月, 2016 12 次提交
  7. 12 12月, 2016 3 次提交
  8. 11 12月, 2016 8 次提交
  9. 06 12月, 2016 1 次提交
  10. 02 12月, 2016 1 次提交
  11. 29 11月, 2016 8 次提交