]> git.neil.brown.name Git - history.git/commit
[PATCH] CLONE_SETTLS, CLONE_SETTID, 2.5.31-BK
authorIngo Molnar <mingo@elte.hu>
Tue, 13 Aug 2002 07:36:16 +0000 (00:36 -0700)
committerLinus Torvalds <torvalds@home.transmeta.com>
Tue, 13 Aug 2002 07:36:16 +0000 (00:36 -0700)
commit61afdfc9984f7686962b3be31d95c865e926a296
tree281b2070223bbe0beb19f0ac5c754cae13e9531a
parent192b4702937e0828b6204fed1f7cd82270ffec9d
[PATCH] CLONE_SETTLS, CLONE_SETTID, 2.5.31-BK

This adds two new clone() flags:

    CLONE_SETTLS => if present then the third clone() syscall parameter
                    is the new TLS.

    CLONE_SETTID => if present then the child TID is written to the
                    address specified by the fourth clone() parameter.

the new parameters are handled in a safe way, clone() returns -EFAULT or
-EINVAL if there's some problem with them.
arch/i386/kernel/process.c
include/linux/sched.h