public inbox for util-linux@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] namespace.h: Fix typo: s/CLONE_NEWSNS/CLONE_NEWNS/
@ 2013-03-08 19:43 Josh Triplett
  2013-03-13 13:47 ` Karel Zak
  0 siblings, 1 reply; 2+ messages in thread
From: Josh Triplett @ 2013-03-08 19:43 UTC (permalink / raw)
  To: util-linux; +Cc: Anton Cherkashyn

This typo causes namespace.h to always unconditionally define
CLONE_NEWNS rather than using the system definition.

Bug present since the initial version of unshare in commit
4205f1fda1ac32046125a2e0f3937b666186bfab.

Signed-off-by: Josh Triplett <josh@joshtriplett.org>
Signed-off-by: Anton Cherkashyn <mail@antonc.com>
---
 include/namespace.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/namespace.h b/include/namespace.h
index 3a219ce..9d58f13 100644
--- a/include/namespace.h
+++ b/include/namespace.h
@@ -4,7 +4,7 @@
 
 # include <sched.h>
 
-# ifndef CLONE_NEWSNS
+# ifndef CLONE_NEWNS
 #  define CLONE_NEWNS 0x00020000
 # endif
 # ifndef CLONE_NEWUTS
-- 
1.7.10.4


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

* Re: [PATCH] namespace.h: Fix typo: s/CLONE_NEWSNS/CLONE_NEWNS/
  2013-03-08 19:43 [PATCH] namespace.h: Fix typo: s/CLONE_NEWSNS/CLONE_NEWNS/ Josh Triplett
@ 2013-03-13 13:47 ` Karel Zak
  0 siblings, 0 replies; 2+ messages in thread
From: Karel Zak @ 2013-03-13 13:47 UTC (permalink / raw)
  To: Josh Triplett; +Cc: util-linux, Anton Cherkashyn

On Fri, Mar 08, 2013 at 11:43:17AM -0800, Josh Triplett wrote:
>  include/namespace.h |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

 Applied, thanks.

-- 
 Karel Zak  <kzak@redhat.com>
 http://karelzak.blogspot.com

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

end of thread, other threads:[~2013-03-13 13:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-08 19:43 [PATCH] namespace.h: Fix typo: s/CLONE_NEWSNS/CLONE_NEWNS/ Josh Triplett
2013-03-13 13:47 ` Karel Zak

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