From fc2edb49d9638e1c64c581ed61d94d3bf9aec28f Mon Sep 17 00:00:00 2001 From: Zhaolei Date: Tue, 3 Jun 2008 17:53:44 +0800 Subject: Support for new clone flags before linux-2.6.25. --- tapset/ChangeLog | 5 +++++ tapset/aux_syscalls.stp | 8 ++++++++ 2 files changed, 13 insertions(+) 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 + + * aux_syscalls.stp (__fork_flags): Support for new clone flags + before linux-2.6.25. + 2008-05-26 Mark Wielaard * 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,10 +1686,18 @@ 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} }; -- cgit