userns xt_recent: Specify the owner/group of ip_list_perms in the initial user namespace
authorEric W. Biederman <ebiederm@xmission.com>
Fri, 25 May 2012 22:26:52 +0000 (16:26 -0600)
committerEric W. Biederman <ebiederm@xmission.com>
Wed, 15 Aug 2012 04:55:29 +0000 (21:55 -0700)
commitda7428080a15189c7acd266d514324f2a2e89e14
tree089a7f484ac3886d67e7d2db936dd69c5e150cc4
parent8c6e2a941ae74d850a7bf0e5b3f4cd567e0f27dc
userns xt_recent: Specify the owner/group of ip_list_perms in the initial user namespace

xt_recent creates a bunch of proc files and initializes their uid
and gids to the values of ip_list_uid and ip_list_gid.  When
initialize those proc files convert those values to kuids so they
can continue to reside on the /proc inode.

Cc: Pablo Neira Ayuso <pablo@netfilter.org>
Cc: Patrick McHardy <kaber@trash.net>
Cc: Jan Engelhardt <jengelh@medozas.de>
Acked-by: David S. Miller <davem@davemloft.net>
Acked-by: Serge Hallyn <serge.hallyn@canonical.com>
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
init/Kconfig
net/netfilter/xt_recent.c