diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2012-05-25 22:37:54 (GMT) |
---|---|---|
committer | Eric W. Biederman <ebiederm@xmission.com> | 2012-09-14 01:28:04 (GMT) |
commit | c6089735e7243a10faad676680c6e18d50959f74 (patch) | |
tree | b2a19e10a0a126298aaa7a145e1ee327e3e2d85e /init/Kconfig | |
parent | 9a56c2db49e7349c7963f0ce66c1ef578d44ebd3 (diff) | |
download | linux-fsl-qoriq-c6089735e7243a10faad676680c6e18d50959f74.tar.xz |
userns: net: Call key_alloc with GLOBAL_ROOT_UID, GLOBAL_ROOT_GID instead of 0, 0
In net/dns_resolver/dns_key.c and net/rxrpc/ar-key.c make them
work with user namespaces enabled where key_alloc takes kuids and kgids.
Pass GLOBAL_ROOT_UID and GLOBAL_ROOT_GID instead of bare 0's.
Cc: Sage Weil <sage@inktank.com>
Cc: ceph-devel@vger.kernel.org
Cc: David Howells <dhowells@redhat.com>
Cc: David Miller <davem@davemloft.net>
Cc: linux-afs@lists.infradead.org
Acked-by: Serge Hallyn <serge.hallyn@canonical.com>
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Diffstat (limited to 'init/Kconfig')
-rw-r--r-- | init/Kconfig | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/init/Kconfig b/init/Kconfig index 8dce711..fd8696b 100644 --- a/init/Kconfig +++ b/init/Kconfig @@ -938,8 +938,6 @@ config UIDGID_CONVERTED # Networking depends on NET_9P = n - depends on AF_RXRPC = n - depends on DNS_RESOLVER = n # Filesystems depends on USB_GADGETFS = n |