summaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/bits/sched.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-01-19 15:34:49 +0000
committerUlrich Drepper <drepper@redhat.com>1999-01-19 15:34:49 +0000
commitd53afacb5553ca5c62a11c8185391afe0e745d9a (patch)
treeb9576e82e90ee9b7fc0379ef209236b88343efd5 /sysdeps/unix/sysv/linux/bits/sched.h
parent3ef4002b3ff17002a45627c45d62eace9d84b958 (diff)
downloadglibc-d53afacb5553ca5c62a11c8185391afe0e745d9a.tar.gz
Update.
* sysdeps/unix/sysv/linux/i386/vfork.S: Rewrite to use clone. * sysdeps/unix/sysv/linux/bits/sched.h: Define CLONE_VFORK.
Diffstat (limited to 'sysdeps/unix/sysv/linux/bits/sched.h')
-rw-r--r--sysdeps/unix/sysv/linux/bits/sched.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/bits/sched.h b/sysdeps/unix/sysv/linux/bits/sched.h
index 113bf4df5b..7e3c40eb4e 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 Free Software Foundation, Inc.
+ Copyright (C) 1996, 1997, 1998, 1999 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
@@ -39,6 +39,8 @@
# define CLONE_SIGHAND 0x00000800 /* Set if signal handlers shared. */
# define CLONE_PID 0x00001000 /* Set if pid shared. */
# 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. */
#endif
/* The official definition. */