8.0-RC1: kernel page fault in NLM master thread (VIMAGE or ZFS
related?)
Dag-Erling Smørgrav
des at des.no
Sun Sep 27 19:24:51 UTC 2009
Jamie Gritton <jamie at FreeBSD.org> writes:
> Index: kern/vfs_export.c
> ===================================================================
> --- kern/vfs_export.c (revision 197506)
> +++ kern/vfs_export.c (working copy)
> @@ -122,6 +122,8 @@
> np->netc_anon->cr_uid = argp->ex_anon.cr_uid;
> crsetgroups(np->netc_anon, argp->ex_anon.cr_ngroups,
> argp->ex_anon.cr_groups);
> + np->netc_anon->cr_prison = &prison0;
> + prison_hold(np->netc_anon->cr_prison);
> np->netc_numsecflavors = argp->ex_numsecflavors;
> bcopy(argp->ex_secflavors, np->netc_secflavors,
> sizeof(np->netc_secflavors));
You need to #include <sys/jail.h> for prison0... See attached patch.
DES
--
Dag-Erling Smørgrav - des at des.no
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nfslockd.diff
Type: text/x-patch
Size: 1602 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20090927/bc8dac6f/nfslockd.bin
More information about the freebsd-stable
mailing list