Skip to content
Snippets Groups Projects
  1. Sep 27, 2015
  2. Sep 20, 2015
  3. Sep 12, 2015
  4. Sep 04, 2015
  5. Aug 30, 2015
  6. Aug 28, 2015
  7. Aug 24, 2015
  8. Aug 16, 2015
  9. Aug 14, 2015
  10. Aug 09, 2015
  11. Aug 07, 2015
    • David Woodhouse's avatar
      modsign: Use single PEM file for autogenerated key · fb117949
      David Woodhouse authored
      
      The current rule for generating signing_key.priv and signing_key.x509 is
      a classic example of a bad rule which has a tendency to break parallel
      make. When invoked to create *either* target, it generates the other
      target as a side-effect that make didn't predict.
      
      So let's switch to using a single file signing_key.pem which contains
      both key and certificate. That matches what we do in the case of an
      external key specified by CONFIG_MODULE_SIG_KEY anyway, so it's also
      slightly cleaner.
      
      Signed-off-by: default avatarDavid Woodhouse <David.Woodhouse@intel.com>
      Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
      fb117949
    • David Woodhouse's avatar
    • David Howells's avatar
      MODSIGN: Use PKCS#7 messages as module signatures · 3f1e1bea
      David Howells authored
      
      Move to using PKCS#7 messages as module signatures because:
      
       (1) We have to be able to support the use of X.509 certificates that don't
           have a subjKeyId set.  We're currently relying on this to look up the
           X.509 certificate in the trusted keyring list.
      
       (2) PKCS#7 message signed information blocks have a field that supplies the
           data required to match with the X.509 certificate that signed it.
      
       (3) The PKCS#7 certificate carries fields that specify the digest algorithm
           used to generate the signature in a standardised way and the X.509
           certificates specify the public key algorithm in a standardised way - so
           we don't need our own methods of specifying these.
      
       (4) We now have PKCS#7 message support in the kernel for signed kexec purposes
           and we can make use of this.
      
      To make this work, the old sign-file script has been replaced with a program
      that needs compiling in a previous patch.  The rules to build it are added
      here.
      
      Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
      Tested-by: default avatarVivek Goyal <vgoyal@redhat.com>
      3f1e1bea
  12. Aug 03, 2015
  13. Jul 26, 2015
  14. Jul 22, 2015
  15. Jul 19, 2015
  16. Jul 12, 2015
  17. Jul 06, 2015
    • Michal Marek's avatar
      kbuild: Allow arch Makefiles to override {cpp,ld,c}flags · 61754c18
      Michal Marek authored
      
      Since commit a1c48bb1 (Makefile: Fix unrecognized cross-compiler command
      line options), the arch Makefile is included earlier by the main
      Makefile, preventing the arc architecture to set its -O3 compiler
      option. Since there might be more use cases for an arch Makefile to
      fine-tune the options, add support for ARCH_CPPFLAGS, ARCH_AFLAGS and
      ARCH_CFLAGS variables that are appended to the respective kbuild
      variables. The user still has the final say via the KCPPFLAGS, KAFLAGS
      and KCFLAGS variables.
      
      Reported-by: default avatarVineet Gupta <Vineet.Gupta1@synopsys.com>
      Cc: stable@vger.kernel.org # 3.16+
      Signed-off-by: default avatarMichal Marek <mmarek@suse.com>
      61754c18
  18. Jul 05, 2015
  19. Jun 22, 2015
  20. Jun 15, 2015
  21. Jun 08, 2015
  22. Jun 01, 2015
  23. May 25, 2015
  24. May 18, 2015
  25. May 10, 2015
  26. May 04, 2015
  27. Apr 29, 2015
  28. Apr 27, 2015
    • Paul Cercueil's avatar
      Makefile: Fix detection of clang when cross-compiling · ee4eb20d
      Paul Cercueil authored
      
      When the host's C compiler is clang, and when attempting to
      cross-compile Linux e.g. to MIPS with mipsel-linux-gcc, the Makefile
      would incorrectly detect the use of clang, which resulted in
      clang-specific flags being passed to mipsel-linux-gcc.
      
      This can be verified under Debian by installing the "clang" package,
      and then using it as the default compiler with:
      sudo update-alternatives --config cc
      
      This patch moves the detection of clang after the $(CC) variable is
      initialized to the name of the cross-compiler, so that the check applies
      to the cross-compiler and not the host's C compiler.
      
      v2: Move the detection of clang after the inclusion of the
      arch/*/Makefile (as they might set $(CROSS_COMPILE))
      
      Signed-off-by: default avatarPaul Cercueil <paul@crapouillou.net>
      Signed-off-by: default avatarMichal Marek <mmarek@suse.cz>
      ee4eb20d
    • Linus Torvalds's avatar
      Linux 4.1-rc1 · b787f68c
      Linus Torvalds authored
      v4.1-rc1
      b787f68c
  29. Apr 12, 2015
  30. Apr 09, 2015
    • Anton Blanchard's avatar
      jump_label: Allow jump labels to be used in assembly · c0ccf6f9
      Anton Blanchard authored
      
      To use jump labels in assembly we need the HAVE_JUMP_LABEL
      define, so we select a fallback version if the toolchain does
      not support them.
      
      Modify linux/jump_label.h so it can be included by assembly
      files. We also need to add -DCC_HAVE_ASM_GOTO to KBUILD_AFLAGS.
      
      Signed-off-by: default avatarAnton Blanchard <anton@samba.org>
      Acked-by: default avatarPeter Zijlstra (Intel) <peterz@infradead.org>
      Cc: Andrew Morton <akpm@linux-foundation.org>
      Cc: Linus Torvalds <torvalds@linux-foundation.org>
      Cc: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
      Cc: Peter Zijlstra <peterz@infradead.org>
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Cc: benh@kernel.crashing.org
      Cc: catalin.marinas@arm.com
      Cc: davem@davemloft.net
      Cc: heiko.carstens@de.ibm.com
      Cc: jbaron@akamai.com
      Cc: linux@arm.linux.org.uk
      Cc: linuxppc-dev@lists.ozlabs.org
      Cc: liuj97@gmail.com
      Cc: mgorman@suse.de
      Cc: mmarek@suse.cz
      Cc: mpe@ellerman.id.au
      Cc: paulus@samba.org
      Cc: ralf@linux-mips.org
      Cc: rostedt@goodmis.org
      Cc: schwidefsky@de.ibm.com
      Cc: will.deacon@arm.com
      Link: http://lkml.kernel.org/r/1428551492-21977-2-git-send-email-anton@samba.org
      
      
      Signed-off-by: default avatarIngo Molnar <mingo@kernel.org>
      c0ccf6f9
  31. Apr 06, 2015
  32. Apr 02, 2015
  33. Mar 29, 2015
  34. Mar 24, 2015
  35. Mar 22, 2015
Loading