Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 327248
b: refs/heads/master
c: c608973
h: refs/heads/master
v: v3
  • Loading branch information
Eric W. Biederman committed Sep 14, 2012
1 parent a78b84f commit 23f7adb
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 9a56c2db49e7349c7963f0ce66c1ef578d44ebd3
refs/heads/master: c6089735e7243a10faad676680c6e18d50959f74
2 changes: 0 additions & 2 deletions trunk/init/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion trunk/net/dns_resolver/dns_key.c
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,8 @@ static int __init init_dns_resolver(void)
if (!cred)
return -ENOMEM;

keyring = key_alloc(&key_type_keyring, ".dns_resolver", 0, 0, cred,
keyring = key_alloc(&key_type_keyring, ".dns_resolver",
GLOBAL_ROOT_UID, GLOBAL_ROOT_GID, cred,
(KEY_POS_ALL & ~KEY_POS_SETATTR) |
KEY_USR_VIEW | KEY_USR_READ,
KEY_ALLOC_NOT_IN_QUOTA);
Expand Down
6 changes: 4 additions & 2 deletions trunk/net/rxrpc/ar-key.c
Original file line number Diff line number Diff line change
Expand Up @@ -948,7 +948,8 @@ int rxrpc_get_server_data_key(struct rxrpc_connection *conn,

_enter("");

key = key_alloc(&key_type_rxrpc, "x", 0, 0, cred, 0,
key = key_alloc(&key_type_rxrpc, "x",
GLOBAL_ROOT_UID, GLOBAL_ROOT_GID, cred, 0,
KEY_ALLOC_NOT_IN_QUOTA);
if (IS_ERR(key)) {
_leave(" = -ENOMEM [alloc %ld]", PTR_ERR(key));
Expand Down Expand Up @@ -994,7 +995,8 @@ struct key *rxrpc_get_null_key(const char *keyname)
struct key *key;
int ret;

key = key_alloc(&key_type_rxrpc, keyname, 0, 0, cred,
key = key_alloc(&key_type_rxrpc, keyname,
GLOBAL_ROOT_UID, GLOBAL_ROOT_GID, cred,
KEY_POS_SEARCH, KEY_ALLOC_NOT_IN_QUOTA);
if (IS_ERR(key))
return key;
Expand Down

0 comments on commit 23f7adb

Please sign in to comment.