summaryrefslogtreecommitdiffstats
path: root/include/db.h
diff options
context:
space:
mode:
authormav <mav@FreeBSD.org>2015-10-03 11:23:08 +0000
committermav <mav@FreeBSD.org>2015-10-03 11:23:08 +0000
commit3cfde751dc37cf5999e6d39b71945077cca5651f (patch)
treebab0851189311e88037304f017f379619fd34732 /include/db.h
parentb237c6cdd85588040bf87bd3f14becf76ba63d78 (diff)
downloadFreeBSD-src-3cfde751dc37cf5999e6d39b71945077cca5651f.zip
FreeBSD-src-3cfde751dc37cf5999e6d39b71945077cca5651f.tar.gz
MFC r287280 (by delphij):
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 'include/db.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud