diff options
author | Konstantin Belousov <kib@FreeBSD.org> | 2012-02-10 00:02:13 +0000 |
---|---|---|
committer | Konstantin Belousov <kib@FreeBSD.org> | 2012-02-10 00:02:13 +0000 |
commit | db3273398b408f29b088b0b4ceaf65ce1a58d936 (patch) | |
tree | 6c1604f05fbb306e388325c5cec342e42e38433c /sys/sys/proc.h | |
parent | 3e7cc3cab317ccb1a20026e13b4bef3810af863c (diff) | |
download | src-db3273398b408f29b088b0b4ceaf65ce1a58d936.tar.gz src-db3273398b408f29b088b0b4ceaf65ce1a58d936.zip |
Mark the automatically attached child with PL_FLAG_CHILD in struct
lwpinfo flags, for PT_FOLLOWFORK auto-attachment.
In collaboration with: Dmitry Mikulin <dmitrym juniper net>
MFC after: 1 week
Notes
Notes:
svn path=/head/; revision=231320
Diffstat (limited to 'sys/sys/proc.h')
-rw-r--r-- | sys/sys/proc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/sys/proc.h b/sys/sys/proc.h index 9ebfe836ead6..0245e88f9019 100644 --- a/sys/sys/proc.h +++ b/sys/sys/proc.h @@ -384,6 +384,7 @@ do { \ process */ #define TDB_STOPATFORK 0x00000080 /* Stop at the return from fork (child only) */ +#define TDB_CHILD 0x00000100 /* New child indicator for ptrace() */ /* * "Private" flags kept in td_pflags: |