public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] security: fix ima kconfig warning
@ 2012-02-24 19:28 Randy Dunlap
  2012-02-27 20:27 ` Rajiv Andrade
  2012-02-28  0:02 ` James Morris
  0 siblings, 2 replies; 3+ messages in thread
From: Randy Dunlap @ 2012-02-24 19:28 UTC (permalink / raw)
  To: LKML; +Cc: Geert Uytterhoeven, Mimi Zohar, James Morris

From: Randy Dunlap <rdunlap@xenotime.net>

Fix IMA kconfig warning on non-X86 architectures:

warning: (IMA) selects TCG_TIS which has unmet direct dependencies
(TCG_TPM && X86)

But why do TCG_TIS and TCG_NSC depend on X86??

Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
Reported-by: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Mimi Zohar <zohar@us.ibm.com>
Cc: James Morris <jmorris@namei.org>
---
No IMA/TPM builds have been tested with this change...

 security/integrity/ima/Kconfig |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- lnx-33-rc4.orig/security/integrity/ima/Kconfig
+++ lnx-33-rc4/security/integrity/ima/Kconfig
@@ -10,7 +10,7 @@ config IMA
 	select CRYPTO_MD5
 	select CRYPTO_SHA1
 	select TCG_TPM if !S390 && !UML
-	select TCG_TIS if TCG_TPM
+	select TCG_TIS if TCG_TPM && X86
 	help
 	  The Trusted Computing Group(TCG) runtime Integrity
 	  Measurement Architecture(IMA) maintains a list of hash

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

* Re: [PATCH] security: fix ima kconfig warning
  2012-02-24 19:28 [PATCH] security: fix ima kconfig warning Randy Dunlap
@ 2012-02-27 20:27 ` Rajiv Andrade
  2012-02-28  0:02 ` James Morris
  1 sibling, 0 replies; 3+ messages in thread
From: Rajiv Andrade @ 2012-02-27 20:27 UTC (permalink / raw)
  To: Randy Dunlap; +Cc: LKML, Geert Uytterhoeven, Mimi Zohar, James Morris

On Fri, 24 Feb 2012, Randy Dunlap wrote:

> From: Randy Dunlap <rdunlap@xenotime.net>
> 
> Fix IMA kconfig warning on non-X86 architectures:
> 
> warning: (IMA) selects TCG_TIS which has unmet direct dependencies
> (TCG_TPM && X86)
> 
> But why do TCG_TIS and TCG_NSC depend on X86??
>

These drivers only support the probing for TPM devices on this platform,
through PNP or a hardcoded address base.

Acked-by: Rajiv Andrade <srajiv@linux.vnet.ibm.com>

> Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
> Reported-by: Geert Uytterhoeven <geert@linux-m68k.org>
> Cc: Mimi Zohar <zohar@us.ibm.com>
> Cc: James Morris <jmorris@namei.org>
> ---
> No IMA/TPM builds have been tested with this change...
> 
>  security/integrity/ima/Kconfig |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> --- lnx-33-rc4.orig/security/integrity/ima/Kconfig
> +++ lnx-33-rc4/security/integrity/ima/Kconfig
> @@ -10,7 +10,7 @@ config IMA
>  	select CRYPTO_MD5
>  	select CRYPTO_SHA1
>  	select TCG_TPM if !S390 && !UML
> -	select TCG_TIS if TCG_TPM
> +	select TCG_TIS if TCG_TPM && X86
>  	help
>  	  The Trusted Computing Group(TCG) runtime Integrity
>  	  Measurement Architecture(IMA) maintains a list of hash
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/
> 

-- 
Rajiv Andrade
Security Development
IBM Linux Technology Center


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

* Re: [PATCH] security: fix ima kconfig warning
  2012-02-24 19:28 [PATCH] security: fix ima kconfig warning Randy Dunlap
  2012-02-27 20:27 ` Rajiv Andrade
@ 2012-02-28  0:02 ` James Morris
  1 sibling, 0 replies; 3+ messages in thread
From: James Morris @ 2012-02-28  0:02 UTC (permalink / raw)
  To: Randy Dunlap; +Cc: LKML, Geert Uytterhoeven, Mimi Zohar

On Fri, 24 Feb 2012, Randy Dunlap wrote:

> From: Randy Dunlap <rdunlap@xenotime.net>
> 
> Fix IMA kconfig warning on non-X86 architectures:

Applied to
git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security.git next


- James
-- 
James Morris
<jmorris@namei.org>

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

end of thread, other threads:[~2012-02-28  0:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-24 19:28 [PATCH] security: fix ima kconfig warning Randy Dunlap
2012-02-27 20:27 ` Rajiv Andrade
2012-02-28  0:02 ` James Morris

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox