Jamie Gritton <jamie_at_FreeBSD.org> writes: > Index: kern/vfs_export.c > =================================================================== > --- kern/vfs_export.c (revision 197506) > +++ kern/vfs_export.c (working copy) > _at__at_ -122,6 +122,8 _at__at_ > 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
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:56 UTC