lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20220107154309.287d658a@canb.auug.org.au>
Date:   Fri, 7 Jan 2022 15:43:09 +1100
From:   Stephen Rothwell <sfr@...b.auug.org.au>
To:     Jarkko Sakkinen <jarkko@...nel.org>,
        Masahiro Yamada <masahiroy@...nel.org>
Cc:     Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
        Linux Next Mailing List <linux-next@...r.kernel.org>,
        Mickaël Salaün 
        <mic@...ux.microsoft.com>
Subject: linux-next: manual merge of the tpmdd tree with the kbuild tree

Hi all,

Today's linux-next merge of the tpmdd tree got a conflict in:

  certs/Makefile

between commits:

  33c1957574b6 ("kbuild: do not quote string values in include/config/auto.conf")
  41f431290557 ("certs: refactor file cleaning")

from the kbuild tree and commit:

  0fde37e9c004 ("certs: Check that builtin blacklist hashes are valid")

from the tpmdd tree.

I fixed it up (see below) and can carry the fix as necessary. This
is now fixed as far as linux-next is concerned, but any non trivial
conflicts should be mentioned to your upstream maintainer when your tree
is submitted for merging.  You may also want to consider cooperating
with the maintainer of the conflicting tree to minimise any particularly
complex conflicts.

-- 
Cheers,
Stephen Rothwell

diff --cc certs/Makefile
index f7041c29a2e0,e38e10c46890..000000000000
--- a/certs/Makefile
+++ b/certs/Makefile
@@@ -6,21 -6,46 +6,36 @@@
  obj-$(CONFIG_SYSTEM_TRUSTED_KEYRING) += system_keyring.o system_certificates.o common.o
  obj-$(CONFIG_SYSTEM_BLACKLIST_KEYRING) += blacklist.o common.o
  obj-$(CONFIG_SYSTEM_REVOCATION_LIST) += revocation_certificates.o
 -ifneq ($(CONFIG_SYSTEM_BLACKLIST_HASH_LIST),"")
 +ifneq ($(CONFIG_SYSTEM_BLACKLIST_HASH_LIST),)
+ 
+ quiet_cmd_check_blacklist_hashes = CHECK   $(patsubst "%",%,$(2))
+       cmd_check_blacklist_hashes = $(AWK) -f $(srctree)/scripts/check-blacklist-hashes.awk $(2); touch $@
+ 
+ $(eval $(call config_filename,SYSTEM_BLACKLIST_HASH_LIST))
+ 
+ $(obj)/blacklist_hashes.o: $(obj)/blacklist_hashes_checked
+ 
+ CFLAGS_blacklist_hashes.o += -I$(srctree)
+ 
 -targets += blacklist_hashes_checked
+ $(obj)/blacklist_hashes_checked: $(SYSTEM_BLACKLIST_HASH_LIST_SRCPREFIX)$(SYSTEM_BLACKLIST_HASH_LIST_FILENAME) scripts/check-blacklist-hashes.awk FORCE
+ 	$(call if_changed,check_blacklist_hashes,$(SYSTEM_BLACKLIST_HASH_LIST_SRCPREFIX)$(CONFIG_SYSTEM_BLACKLIST_HASH_LIST))
+ 
  obj-$(CONFIG_SYSTEM_BLACKLIST_KEYRING) += blacklist_hashes.o
+ 
  else
  obj-$(CONFIG_SYSTEM_BLACKLIST_KEYRING) += blacklist_nohashes.o
  endif
++targets += blacklist_hashes_checked
  
 -ifeq ($(CONFIG_SYSTEM_TRUSTED_KEYRING),y)
 -
 -$(eval $(call config_filename,SYSTEM_TRUSTED_KEYS))
 +quiet_cmd_extract_certs  = CERT    $@
 +      cmd_extract_certs  = $(obj)/extract-cert $(2) $@
  
 -# GCC doesn't include .incbin files in -MD generated dependencies (PR#66871)
  $(obj)/system_certificates.o: $(obj)/x509_certificate_list
  
 -# Cope with signing_key.x509 existing in $(srctree) not $(objtree)
 -AFLAGS_system_certificates.o := -I$(srctree)
 -
 -quiet_cmd_extract_certs  = EXTRACT_CERTS   $(patsubst "%",%,$(2))
 -      cmd_extract_certs  = scripts/extract-cert $(2) $@
 +$(obj)/x509_certificate_list: $(CONFIG_SYSTEM_TRUSTED_KEYS) $(obj)/extract-cert FORCE
 +	$(call if_changed,extract_certs,$(if $(CONFIG_SYSTEM_TRUSTED_KEYS),$<,""))
  
  targets += x509_certificate_list
 -$(obj)/x509_certificate_list: scripts/extract-cert $(SYSTEM_TRUSTED_KEYS_SRCPREFIX)$(SYSTEM_TRUSTED_KEYS_FILENAME) FORCE
 -	$(call if_changed,extract_certs,$(SYSTEM_TRUSTED_KEYS_SRCPREFIX)$(CONFIG_SYSTEM_TRUSTED_KEYS))
 -endif # CONFIG_SYSTEM_TRUSTED_KEYRING
 -
 -clean-files := x509_certificate_list .x509.list x509_revocation_list blacklist_hashes_checked
  
  ifeq ($(CONFIG_MODULE_SIG),y)
  	SIGN_KEY = y

Content of type "application/pgp-signature" skipped

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ