X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?p=pandora-kernel.git;a=blobdiff_plain;f=security%2Fkeys%2Frequest_key_auth.c;h=6cff37529b80210c3bc2b789c44662bb56a33f52;hp=3c0cfdec6e37c739413d4c0ec897595fa41b1b31;hb=e52e713ec30a31e9a4663d9aebbaae5ec07466a6;hpb=2f3e4af471e38e0658e701973238ae4b5e50fcd6 diff --git a/security/keys/request_key_auth.c b/security/keys/request_key_auth.c index 3c0cfdec6e37..6cff37529b80 100644 --- a/security/keys/request_key_auth.c +++ b/security/keys/request_key_auth.c @@ -59,7 +59,8 @@ static void request_key_auth_describe(const struct key *key, seq_puts(m, "key:"); seq_puts(m, key->description); - seq_printf(m, " pid:%d ci:%zu", rka->pid, rka->callout_len); + if (key_is_instantiated(key)) + seq_printf(m, " pid:%d ci:%zu", rka->pid, rka->callout_len); } /*