linux-config.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] init/Kconfig: Preserve mtimes in initramfs only if BLK_DEV_INITRD
@ 2022-08-16  0:29 Alec Ari
  0 siblings, 0 replies; 2+ messages in thread
From: Alec Ari @ 2022-08-16  0:29 UTC (permalink / raw)
  To: Linux Block, Linux Config

 From: Alec Ari <alec@onelabs.com>
Date: Mon, 15 Aug 2022 19:18:56 -0500
Subject: init/Kconfig: Preserve mtimes in initramfs only if 
BLK_DEV_INITRD

Would preserving mtimes in initramfs prove useful if
BLK_DEV_INITRD is disabled?

Signed-off-by: Alec Ari <alec@onelabs.com>
---
  init/Kconfig | 1 +
  1 file changed, 1 insertion(+)

diff --git a/init/Kconfig b/init/Kconfig
index 80fe60fa7..8322860a7 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -1392,6 +1392,7 @@ config BOOT_CONFIG_EMBED_FILE

  config INITRAMFS_PRESERVE_MTIME
  	bool "Preserve cpio archive mtimes in initramfs"
+	depends on BLK_DEV_INITRD
  	default y
  	help
  	  Each entry in an initramfs cpio archive carries an mtime value. When
-- 
2.37.2


^ permalink raw reply related	[flat|nested] 2+ messages in thread
* [PATCH] init/Kconfig: Preserve mtimes in initramfs only if BLK_DEV_INITRD
@ 2022-08-16  0:43 Alec Ari
  0 siblings, 0 replies; 2+ messages in thread
From: Alec Ari @ 2022-08-16  0:43 UTC (permalink / raw)
  To: linux-block, linux-config

From: Alec Ari <alec@onelabs.com>
Date: Mon, 15 Aug 2022 19:13:12 -0500
Subject: crypto: Make FIPS_SIGNATURE_SELFTEST depend on CRYPTO_FIPS

Would running FIPS selftests be necessary if FIPS is disabled?

Signed-off-by: Alec Ari <alec@onelabs.com>
---
 crypto/asymmetric_keys/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/crypto/asymmetric_keys/Kconfig b/crypto/asymmetric_keys/Kconfig
index 3df3fe4ed..562bbd774 100644
--- a/crypto/asymmetric_keys/Kconfig
+++ b/crypto/asymmetric_keys/Kconfig
@@ -81,6 +81,7 @@ config FIPS_SIGNATURE_SELFTEST
          This option causes some selftests to be run on the signature
          verification code, using some built in data.  This is required
          for FIPS.
+       depends on CRYPTO_FIPS
        depends on KEYS
        depends on ASYMMETRIC_KEY_TYPE
        depends on PKCS7_MESSAGE_PARSER
-- 
2.37.2

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-08-16  0:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-16  0:29 [PATCH] init/Kconfig: Preserve mtimes in initramfs only if BLK_DEV_INITRD Alec Ari
  -- strict thread matches above, loose matches on Subject: below --
2022-08-16  0:43 Alec Ari

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).