linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] x86: Provide guards in uapi/asm/hw_breakpoint.h to prevent deletion by patch
@ 2012-12-17 14:49 David Howells
  2012-12-17 14:49 ` [PATCH 2/2] x86: Provide guards in uapi/asm/setup.h " David Howells
  2012-12-19  8:46 ` [PATCH 1/2] x86: Provide guards in uapi/asm/hw_breakpoint.h " Jean Delvare
  0 siblings, 2 replies; 4+ messages in thread
From: David Howells @ 2012-12-17 14:49 UTC (permalink / raw)
  To: khali; +Cc: x86, linux-kernel

Provide reinclusion guards in the empty uapi/asm/hw_breakpoint.h to make sure
that the patch program doesn't delete it.

However, should some part of asm/hw_breakpoint.h actually be exported here,
or, possibly, should the entire uapi file be removed?  In v3.6, though the
file was marked for export to userspace, it had nothing outside of __KERNEL__.

Signed-off-by: David Howells <dhowells@redhat.com>
cc: Jean Delvare <khali@linux-fr.org>
---

 arch/x86/include/uapi/asm/hw_breakpoint.h |    4 ++++
 1 file changed, 4 insertions(+)

diff --git a/arch/x86/include/uapi/asm/hw_breakpoint.h b/arch/x86/include/uapi/asm/hw_breakpoint.h
index e69de29..895596b 100644
--- a/arch/x86/include/uapi/asm/hw_breakpoint.h
+++ b/arch/x86/include/uapi/asm/hw_breakpoint.h
@@ -0,0 +1,4 @@
+#ifndef	_UAPI_I386_HW_BREAKPOINT_H
+#define	_UAPI_I386_HW_BREAKPOINT_H
+
+#endif	/* _UAPI_I386_HW_BREAKPOINT_H */


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

* [PATCH 2/2] x86: Provide guards in uapi/asm/setup.h to prevent deletion by patch
  2012-12-17 14:49 [PATCH 1/2] x86: Provide guards in uapi/asm/hw_breakpoint.h to prevent deletion by patch David Howells
@ 2012-12-17 14:49 ` David Howells
  2012-12-19  8:47   ` Jean Delvare
  2012-12-19  8:46 ` [PATCH 1/2] x86: Provide guards in uapi/asm/hw_breakpoint.h " Jean Delvare
  1 sibling, 1 reply; 4+ messages in thread
From: David Howells @ 2012-12-17 14:49 UTC (permalink / raw)
  To: khali; +Cc: x86, linux-kernel

Provide reinclusion guards in the empty uapi/asm/setup.h to make sure that the
patch program doesn't delete it.

However, should some part of asm/hw_setup.h actually be exported here, or,
possibly, should the entire uapi file be removed?  In v3.6, though the file
was marked for export to userspace, it had nothing outside of __KERNEL__.

Signed-off-by: David Howells <dhowells@redhat.com>
cc: Jean Delvare <khali@linux-fr.org>
---

 arch/x86/include/uapi/asm/setup.h |    4 ++++
 1 file changed, 4 insertions(+)

diff --git a/arch/x86/include/uapi/asm/setup.h b/arch/x86/include/uapi/asm/setup.h
index e69de29..96a4d53 100644
--- a/arch/x86/include/uapi/asm/setup.h
+++ b/arch/x86/include/uapi/asm/setup.h
@@ -0,0 +1,4 @@
+#ifndef _UAPI_ASM_X86_SETUP_H
+#define _UAPI_ASM_X86_SETUP_H
+
+#endif /* _UAPI_ASM_X86_SETUP_H */


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

* Re: [PATCH 1/2] x86: Provide guards in uapi/asm/hw_breakpoint.h to prevent deletion by patch
  2012-12-17 14:49 [PATCH 1/2] x86: Provide guards in uapi/asm/hw_breakpoint.h to prevent deletion by patch David Howells
  2012-12-17 14:49 ` [PATCH 2/2] x86: Provide guards in uapi/asm/setup.h " David Howells
@ 2012-12-19  8:46 ` Jean Delvare
  1 sibling, 0 replies; 4+ messages in thread
From: Jean Delvare @ 2012-12-19  8:46 UTC (permalink / raw)
  To: David Howells; +Cc: x86, linux-kernel

On Mon, 17 Dec 2012 14:49:25 +0000, David Howells wrote:
> Provide reinclusion guards in the empty uapi/asm/hw_breakpoint.h to make sure
> that the patch program doesn't delete it.
> 
> However, should some part of asm/hw_breakpoint.h actually be exported here,
> or, possibly, should the entire uapi file be removed?  In v3.6, though the
> file was marked for export to userspace, it had nothing outside of __KERNEL__.
> 
> Signed-off-by: David Howells <dhowells@redhat.com>
> cc: Jean Delvare <khali@linux-fr.org>
> ---
> 
>  arch/x86/include/uapi/asm/hw_breakpoint.h |    4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/arch/x86/include/uapi/asm/hw_breakpoint.h b/arch/x86/include/uapi/asm/hw_breakpoint.h
> index e69de29..895596b 100644
> --- a/arch/x86/include/uapi/asm/hw_breakpoint.h
> +++ b/arch/x86/include/uapi/asm/hw_breakpoint.h
> @@ -0,0 +1,4 @@
> +#ifndef	_UAPI_I386_HW_BREAKPOINT_H
> +#define	_UAPI_I386_HW_BREAKPOINT_H
> +
> +#endif	/* _UAPI_I386_HW_BREAKPOINT_H */
> 

Reviewed-by: Jean Delvare <khali@linux-fr.org>

-- 
Jean Delvare

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

* Re: [PATCH 2/2] x86: Provide guards in uapi/asm/setup.h to prevent deletion by patch
  2012-12-17 14:49 ` [PATCH 2/2] x86: Provide guards in uapi/asm/setup.h " David Howells
@ 2012-12-19  8:47   ` Jean Delvare
  0 siblings, 0 replies; 4+ messages in thread
From: Jean Delvare @ 2012-12-19  8:47 UTC (permalink / raw)
  To: David Howells; +Cc: x86, linux-kernel

On Mon, 17 Dec 2012 14:49:32 +0000, David Howells wrote:
> Provide reinclusion guards in the empty uapi/asm/setup.h to make sure that the
> patch program doesn't delete it.
> 
> However, should some part of asm/hw_setup.h actually be exported here, or,
> possibly, should the entire uapi file be removed?  In v3.6, though the file
> was marked for export to userspace, it had nothing outside of __KERNEL__.
> 
> Signed-off-by: David Howells <dhowells@redhat.com>
> cc: Jean Delvare <khali@linux-fr.org>
> ---
> 
>  arch/x86/include/uapi/asm/setup.h |    4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/arch/x86/include/uapi/asm/setup.h b/arch/x86/include/uapi/asm/setup.h
> index e69de29..96a4d53 100644
> --- a/arch/x86/include/uapi/asm/setup.h
> +++ b/arch/x86/include/uapi/asm/setup.h
> @@ -0,0 +1,4 @@
> +#ifndef _UAPI_ASM_X86_SETUP_H
> +#define _UAPI_ASM_X86_SETUP_H
> +
> +#endif /* _UAPI_ASM_X86_SETUP_H */
> 

Reviewed-by: Jean Delvare <khali@linux-fr.org>

-- 
Jean Delvare

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

end of thread, other threads:[~2012-12-19  8:47 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-12-17 14:49 [PATCH 1/2] x86: Provide guards in uapi/asm/hw_breakpoint.h to prevent deletion by patch David Howells
2012-12-17 14:49 ` [PATCH 2/2] x86: Provide guards in uapi/asm/setup.h " David Howells
2012-12-19  8:47   ` Jean Delvare
2012-12-19  8:46 ` [PATCH 1/2] x86: Provide guards in uapi/asm/hw_breakpoint.h " Jean Delvare

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).