CLONE_NEWPID value changed in 2.6.23-rc3-mm2. Update libclone.h to reflect
that change.

Since the new value conflicts with CLONE_NEWNET3 and since NEWNET2 and
NEWNET3 are unsed at present, this patch removes them for now. We can
add them back once their value is "locked in" in sched.h.

Signed-off-by: Sukadev Bhattiprolu <[EMAIL PROTECTED]>
---

Index: ltp-full-20070930/testcases/kernel/containers/libclone/libclone.h
===================================================================
--- ltp-full-20070930.orig/testcases/kernel/containers/libclone/libclone.h      
2007-10-10 17:16:22.000000000 -0700
+++ ltp-full-20070930/testcases/kernel/containers/libclone/libclone.h   
2007-10-10 17:17:19.000000000 -0700
@@ -54,16 +54,8 @@
 #define CLONE_NEWUSER          0x10000000
 #endif

-#ifndef CLONE_NEWNET2
-#define CLONE_NEWNET2          0x20000000
-#endif
-
-#ifndef CLONE_NEWNET3
-#define CLONE_NEWNET3          0x40000000
-#endif
-
 #ifndef CLONE_NEWPID
-#define CLONE_NEWPID           0x80000000
+#define CLONE_NEWPID           0x20000000
 #endif

 /*

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to