diff options
author | Ulrich Drepper <drepper@redhat.com> | 2002-11-22 00:09:11 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2002-11-22 00:09:11 +0000 |
commit | 755e51bee0f83ba13e40a2ed046ef8bf47e04758 (patch) | |
tree | a2889109553045e90caa9345be9704a9d58c8c8a | |
parent | 56c910668cff9131a365b98e9a91e636aace337a (diff) | |
download | glibc-755e51bee0f83ba13e40a2ed046ef8bf47e04758.tar.gz |
Update.
2002-11-21 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/bits/sched.h: Add new CLONE_* flags.
* sysdeps/unix/sysv/linux/i386/clone.S: Add support for
CLONE_CHILD_*TID flags.
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/bits/sched.h | 17 |
2 files changed, 22 insertions, 1 deletions
@@ -1,3 +1,9 @@ +2002-11-21 Ulrich Drepper <drepper@redhat.com> + + * sysdeps/unix/sysv/linux/bits/sched.h: Add new CLONE_* flags. + * sysdeps/unix/sysv/linux/i386/clone.S: Add support for + CLONE_CHILD_*TID flags. + 2002-11-20 Andreas Jaeger <aj@suse.de> * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h (SIGCONTEXT): diff --git a/sysdeps/unix/sysv/linux/bits/sched.h b/sysdeps/unix/sysv/linux/bits/sched.h index 5c10d85d45..9aaf96e0ca 100644 --- a/sysdeps/unix/sysv/linux/bits/sched.h +++ b/sysdeps/unix/sysv/linux/bits/sched.h @@ -1,6 +1,6 @@ /* Definitions of constants and data structure for POSIX 1003.1b-1993 scheduling interface. - Copyright (C) 1996, 1997, 1998, 1999, 2001 Free Software Foundation, Inc. + Copyright (C) 1996,1997,1998,1999,2001,2002 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -41,6 +41,21 @@ # define CLONE_PTRACE 0x00002000 /* Set if tracing continues on the child. */ # define CLONE_VFORK 0x00004000 /* Set if the parent wants the child to wake it up on mm_release. */ +# define CLONE_PARENT 0x00008000 /* Set if we want to have the same + parent as the cloner. */ +# define CLONE_THREAD 0x00010000 /* Set to add to same thread group. */ +# define CLONE_NEWNS 0x00020000 /* Set to create new namespace. */ +# define CLONE_SYSVSEM 0x00040000 /* Set to shared SVID SEM_UNDO semantics. */ +# define CLONE_SETTLS 0x00080000 /* Set TLS info. */ +# define CLONE_PARENT_SETTID 0x00100000 /* Store TID in userlevel buffer + before MM copy. */ +# define CLONE_CHILD_CLEARTID 0x00200000 /* Register exit futex and memory + location to clear. */ +# define CLONE_DETACHED 0x00400000 /* Create clone detached. */ +# define CLONE_UNTRACED 0x00800000 /* Set if the tracing process can't + force CLONE_PTRACE on this clone. */ +# define CLONE_CHILD_SETTID 0x01000000 /* Store TID in userlevel buffer in + the child. */ #endif /* The official definition. */ |