From: | "Alexis Ballier (aballier)" <aballier@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in sys-freebsd/freebsd-sources/files: freebsd-sources-9.1-nfsserver.patch |
Date: | Sat, 27 Jul 2013 17:16:35 |
Message-Id: | 20130727171628.D088220081@flycatcher.gentoo.org |
1 | aballier 13/07/27 17:16:28 |
2 | |
3 | Added: freebsd-sources-9.1-nfsserver.patch |
4 | Log: |
5 | Apply fix for FreeBSD-SA-13:08, bug #478314 |
6 | |
7 | (Portage version: 2.2.0_alpha190/cvs/Linux x86_64, signed Manifest commit with key 160F534A) |
8 | |
9 | Revision Changes Path |
10 | 1.1 sys-freebsd/freebsd-sources/files/freebsd-sources-9.1-nfsserver.patch |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-freebsd/freebsd-sources/files/freebsd-sources-9.1-nfsserver.patch?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-freebsd/freebsd-sources/files/freebsd-sources-9.1-nfsserver.patch?rev=1.1&content-type=text/plain |
14 | |
15 | Index: freebsd-sources-9.1-nfsserver.patch |
16 | =================================================================== |
17 | http://www.freebsd.org/security/advisories/FreeBSD-SA-13:08.nfsserver.asc |
18 | https://bugs.gentoo.org/show_bug.cgi?id=478314 |
19 | |
20 | Index: sys/kern/vfs_export.c |
21 | =================================================================== |
22 | --- sys/kern/vfs_export.c (revision 253367) |
23 | +++ sys/kern/vfs_export.c (working copy) |
24 | @@ -208,7 +208,7 @@ |
25 | np->netc_anon = crget(); |
26 | np->netc_anon->cr_uid = argp->ex_anon.cr_uid; |
27 | crsetgroups(np->netc_anon, argp->ex_anon.cr_ngroups, |
28 | - np->netc_anon->cr_groups); |
29 | + argp->ex_anon.cr_groups); |
30 | np->netc_anon->cr_prison = &prison0; |
31 | prison_hold(np->netc_anon->cr_prison); |
32 | np->netc_numsecflavors = argp->ex_numsecflavors; |