namespace.h: Fix typo: s/CLONE_NEWSNS/CLONE_NEWNS/
PATCH 1/1 namespace.h: Fix typo: s/CLONE_NEWSNS/CLONE_NEWNS/
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 <[email protected]>
Signed-off-by Anton Cherkashyn <[email protected]>
--- include/namespace.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
include/namespace.h +1 -1
@@ -4,7 +4,7 @@# include <sched.h> -# ifndef CLONE_NEWSNS +# ifndef CLONE_NEWNS # define CLONE_NEWNS 0x00020000# endif # ifndef CLONE_NEWUTS
Signature · 1 line
1.7.10.4
Quoted 2 lines · Josh Triplett
include/namespace.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Applied, thanks.
Signature · 2 lines
Karel Zak <[email protected]> http://karelzak.blogspot.com