/* Clone a task - this clones the calling program thread. This is called indirectly via a small wrapper  */
asmlinkage long score_clone(struct pt_regs *regs)
/* Clone a task - this clones the calling program thread. This is called indirectly via a small wrapper  */
asmlinkage long score_clone(struct pt_regs *regs)
{
	unsigned long clone_flags;
	unsigned long newsp;
	int __user *parent_tidptr, *child_tidptr;
	clone_flags = regs->regs[4];
	newsp = regs->regs[5];
	if (!newsp)
		newsp = regs->regs[0];
	parent_tidptr = (int __user *)regs->regs[6];
	child_tidptr = (int __user *)regs->regs[8];
	return do_fork(clone_flags, newsp, regs, 0,
			parent_tidptr, child_tidptr);
}