PERFORCE change 103827 for review
Roman Divacky
rdivacky at FreeBSD.org
Mon Aug 14 11:57:55 UTC 2006
http://perforce.freebsd.org/chv.cgi?CH=103827
Change 103827 by rdivacky at rdivacky_witten on 2006/08/14 11:57:26
Remove CLONE_PID checking, this flag doesnt exist in linux anymore. Also remove
forgotten defines from linux32_machdep.c.
Affected files ...
.. //depot/projects/soc2006/rdivacky_linuxolator/amd64/linux32/linux.h#3 edit
.. //depot/projects/soc2006/rdivacky_linuxolator/amd64/linux32/linux32_machdep.c#5 edit
.. //depot/projects/soc2006/rdivacky_linuxolator/i386/linux/linux.h#18 edit
.. //depot/projects/soc2006/rdivacky_linuxolator/i386/linux/linux_machdep.c#46 edit
Differences ...
==== //depot/projects/soc2006/rdivacky_linuxolator/amd64/linux32/linux.h#3 (text+ko) ====
@@ -832,7 +832,7 @@
#define CLONE_FS 0x200
#define CLONE_FILES 0x400
#define CLONE_SIGHAND 0x800
-#define CLONE_PID 0x1000 /* this flag does not exist in linux */
+#define CLONE_PID 0x1000 /* this flag does not exist in linux anymore */
#define CLONE_PARENT 0x00008000
#define CLONE_THREAD 0x10000
#define CLONE_SETTLS 0x80000
==== //depot/projects/soc2006/rdivacky_linuxolator/amd64/linux32/linux32_machdep.c#5 (text+ko) ====
@@ -473,12 +473,6 @@
return (0);
}
-#define CLONE_VM 0x100
-#define CLONE_FS 0x200
-#define CLONE_FILES 0x400
-#define CLONE_SIGHAND 0x800
-#define CLONE_PID 0x1000
-
int
linux_clone(struct thread *td, struct linux_clone_args *args)
{
@@ -492,8 +486,6 @@
printf(ARGS(clone, "flags %x, stack %x"),
(unsigned int)(uintptr_t)args->flags,
(unsigned int)(uintptr_t)args->stack);
- if (args->flags & CLONE_PID)
- printf(LMSG("CLONE_PID not yet supported"));
}
#endif
==== //depot/projects/soc2006/rdivacky_linuxolator/i386/linux/linux.h#18 (text+ko) ====
@@ -795,7 +795,7 @@
#define CLONE_FS 0x200
#define CLONE_FILES 0x400
#define CLONE_SIGHAND 0x800
-#define CLONE_PID 0x1000 /* this flag does not exist in linux */
+#define CLONE_PID 0x1000 /* this flag does not exist in linux anymore */
#define CLONE_PARENT 0x00008000
#define CLONE_THREAD 0x10000
#define CLONE_SETTLS 0x80000
==== //depot/projects/soc2006/rdivacky_linuxolator/i386/linux/linux_machdep.c#46 (text+ko) ====
@@ -350,8 +350,6 @@
printf(ARGS(clone, "flags %x, stack %x, parent tid: %x, child tid: %x"),
(unsigned int)args->flags, (unsigned int)args->stack,
(unsigned int)args->parent_tidptr, (unsigned int)args->child_tidptr);
- if (args->flags & CLONE_PID)
- printf(LMSG("CLONE_PID not yet supported"));
}
#endif
More information about the p4-projects
mailing list