summaryrefslogtreecommitdiffstats
path: root/sbin/routed/input.c
diff options
context:
space:
mode:
authorkbyanc <kbyanc@FreeBSD.org>2004-12-08 19:03:55 +0000
committerkbyanc <kbyanc@FreeBSD.org>2004-12-08 19:03:55 +0000
commitf947a8cc1cf9e160deab254a7ff4be233c0f56d3 (patch)
treecc3c26c5ae16a7d5844532ea312c2e51494cdf6c /sbin/routed/input.c
parentef8150870e5acf935d8d5a80d0e04b08a14c5c14 (diff)
downloadFreeBSD-src-f947a8cc1cf9e160deab254a7ff4be233c0f56d3.zip
FreeBSD-src-f947a8cc1cf9e160deab254a7ff4be233c0f56d3.tar.gz
If the parent process has the trap bit set (i.e. a debugger had single
stepped the process to the system call), we need to clear the trap flag from the new frame unless the debugger had set PF_FORK on the parent. Otherwise, the child will receive a (likely unexpected) SIGTRAP when it executes the first instruction after returning to userland. Reviewed by: bde MFC after: 3 days
Diffstat (limited to 'sbin/routed/input.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud