mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-09 06:43:09 +00:00
KEYS: Strip trailing spaces
Strip some trailing spaces. Signed-off-by: David Howells <dhowells@redhat.com>
This commit is contained in:
parent
40d273782f
commit
965475acca
@ -51,7 +51,7 @@ struct krb5_principal {
|
|||||||
struct krb5_tagged_data {
|
struct krb5_tagged_data {
|
||||||
/* for tag value, see /usr/include/krb5/krb5.h
|
/* for tag value, see /usr/include/krb5/krb5.h
|
||||||
* - KRB5_AUTHDATA_* for auth data
|
* - KRB5_AUTHDATA_* for auth data
|
||||||
* -
|
* -
|
||||||
*/
|
*/
|
||||||
s32 tag;
|
s32 tag;
|
||||||
u32 data_len;
|
u32 data_len;
|
||||||
|
@ -114,7 +114,7 @@ found:
|
|||||||
ret = key_link(key_ref_to_ptr(dest_ref), persistent);
|
ret = key_link(key_ref_to_ptr(dest_ref), persistent);
|
||||||
if (ret == 0) {
|
if (ret == 0) {
|
||||||
key_set_timeout(persistent, persistent_keyring_expiry);
|
key_set_timeout(persistent, persistent_keyring_expiry);
|
||||||
ret = persistent->serial;
|
ret = persistent->serial;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -442,7 +442,7 @@ static struct key *construct_key_and_link(struct keyring_search_context *ctx,
|
|||||||
|
|
||||||
if (ctx->index_key.type == &key_type_keyring)
|
if (ctx->index_key.type == &key_type_keyring)
|
||||||
return ERR_PTR(-EPERM);
|
return ERR_PTR(-EPERM);
|
||||||
|
|
||||||
user = key_user_lookup(current_fsuid());
|
user = key_user_lookup(current_fsuid());
|
||||||
if (!user)
|
if (!user)
|
||||||
return ERR_PTR(-ENOMEM);
|
return ERR_PTR(-ENOMEM);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user