aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/security/keys/request_key.c
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2016-06-14 10:29:44 +0100
committerDavid Howells <dhowells@redhat.com>2016-06-14 10:29:44 +0100
commit965475acca2cbcc1d748a8b6a05f8c7cf57d075a (patch)
tree773e1e16dd91ee926d6b8dd7914e90814841e360 /security/keys/request_key.c
parentsecurity: tomoyo: simplify the gc kthread creation (diff)
downloadwireguard-linux-965475acca2cbcc1d748a8b6a05f8c7cf57d075a.tar.xz
wireguard-linux-965475acca2cbcc1d748a8b6a05f8c7cf57d075a.zip
KEYS: Strip trailing spaces
Strip some trailing spaces. Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'security/keys/request_key.c')
-rw-r--r--security/keys/request_key.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/keys/request_key.c b/security/keys/request_key.c
index a29e3554751e..43affcf10b22 100644
--- a/security/keys/request_key.c
+++ b/security/keys/request_key.c
@@ -442,7 +442,7 @@ static struct key *construct_key_and_link(struct keyring_search_context *ctx,
if (ctx->index_key.type == &key_type_keyring)
return ERR_PTR(-EPERM);
-
+
user = key_user_lookup(current_fsuid());
if (!user)
return ERR_PTR(-ENOMEM);