diff options
author | mav <mav@FreeBSD.org> | 2015-10-03 11:23:08 +0000 |
---|---|---|
committer | mav <mav@FreeBSD.org> | 2015-10-03 11:23:08 +0000 |
commit | 3cfde751dc37cf5999e6d39b71945077cca5651f (patch) | |
tree | bab0851189311e88037304f017f379619fd34732 /include/db.h | |
parent | b237c6cdd85588040bf87bd3f14becf76ba63d78 (diff) | |
download | FreeBSD-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