summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tapset/ChangeLog5
-rw-r--r--tapset/aux_syscalls.stp8
2 files changed, 13 insertions, 0 deletions
diff --git a/tapset/ChangeLog b/tapset/ChangeLog
index 6c3eced6..d2858f6e 100644
--- a/tapset/ChangeLog
+++ b/tapset/ChangeLog
@@ -1,3 +1,8 @@
+2008-06-03 Zhaolei <zhaolei@cn.fujitsu.com>
+
+ * aux_syscalls.stp (__fork_flags): Support for new clone flags
+ before linux-2.6.25.
+
2008-05-26 Mark Wielaard <mwielaard@redhat.com>
* task.stp : Only include fdtable.h for kernel versions > 2.6.25.
diff --git a/tapset/aux_syscalls.stp b/tapset/aux_syscalls.stp
index ec7fdcb0..2bd2ced4 100644
--- a/tapset/aux_syscalls.stp
+++ b/tapset/aux_syscalls.stp
@@ -1686,11 +1686,19 @@ const _stp_val_array const _stp_fork_list[] = {
V(CLONE_CHILD_SETTID),
V(CLONE_STOPPED),
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,19)
+ V(CLONE_NEWUTS),
V(CLONE_NEWIPC),
#endif
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,23)
V(CLONE_NEWUSER),
#endif
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,24)
+ V(CLONE_NEWPID),
+ V(CLONE_NEWNET),
+#endif
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,25)
+ V(CLONE_IO),
+#endif
{0, NULL}
};
%}