Re: [PATCH v2 0/2] sunrpc: don't strip a uid's groups when the mountd group lookup fails
Chuck Lever <[email protected]>
| Newsgroups | org.kernel.vger.linux-nfs,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <178681105303.93379.12774054259768112149.b4-ty@b4> |
On Sat, 15 Aug 2026 03:19:51 +0500, Ameer Hamza wrote:
> On a server running rpc.mountd with --manage-gids, a transient
> name-service failure makes mountd answer the auth.unix.gid upcall
> with a zero-group reply, which the kernel installs as a valid
> positive entry. Patch 1 records such replies as negative entries
> on the classic /proc channel, so the credential keeps the groups
> it already carries. Patch 2 does the same for the netlink upcall,
> which has an explicit NEGATIVE flag the parser does not propagate.
>
> [...]
Applied to nfsd-testing, thanks!
[1/2] sunrpc: treat empty auth.unix.gid replies as negative entries
commit: e865ae50d85a5585eb29cd67dfb0f776da1aa0c9
[2/2] sunrpc: honor the netlink unix_gid NEGATIVE flag
commit: 76427d869120552a1a82e1f1488d9f8311827d84
--
Chuck Lever