summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/abort.c
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2015-08-29 08:16:57 +0000
committerdelphij <delphij@FreeBSD.org>2015-08-29 08:16:57 +0000
commit56f6e9f0242d6b38ab99c2672170c5b3cc5f0d13 (patch)
tree380d448403b72245c0f504a03f9871617976ba0c /lib/libc/stdlib/abort.c
parent3809a94aebef3aa8a8baa58a1a213378630a7d8a (diff)
downloadFreeBSD-src-56f6e9f0242d6b38ab99c2672170c5b3cc5f0d13.zip
FreeBSD-src-56f6e9f0242d6b38ab99c2672170c5b3cc5f0d13.tar.gz
In r286705 (Illumos 5960/a2cdcdd), a separate thread is created with curproc
as parent. In the case of a send or receive, the curproc would be the userland application that issues the ioctl. This would trigger an assertion failure introduced in Solaris compatibility shims in r196458 when kernel is compiled with INVARIANTS. Fix this by using p0 (proc0 or kernel) as the parent thread when creating the kernel threads.
Diffstat (limited to 'lib/libc/stdlib/abort.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud