Re: [10/26] netfilter: Allow xt_owner in any user namespace

2017-10-18 Thread Andrei Vagin
On Wed, Jul 06, 2016 at 04:23:52PM +0200, Pablo Neira Ayuso wrote: > From: "Eric W. Biederman" > > Making this work is a little tricky as it really isn't kosher to > change the xt_owner_match_info in a check function. > > Without changing xt_owner_match_info we need to know the user > namespace

[PATCH 10/26] netfilter: Allow xt_owner in any user namespace

2016-07-06 Thread Pablo Neira Ayuso
From: "Eric W. Biederman" Making this work is a little tricky as it really isn't kosher to change the xt_owner_match_info in a check function. Without changing xt_owner_match_info we need to know the user namespace the uids and gids are specified in. In the common case net->user_ns == current_u