Re: [PATCH 2/6] KEYS: Reinstate EPERM for a key type name beginning with a '.'

From: David Howells
Date: Thu Sep 11 2014 - 17:27:17 EST


Mimi Zohar <zohar@xxxxxxxxxxxxxxxxxx> wrote:

> The concept of dot prefixing should probably be documented either in the
> code and/or documentation. At this point, both types and keyring names
> are reserved.

Indeed. There is one type whose name begins with a '.' that's sort of
internal to the kernel (".request_key_auth") that I definitely don't want
userspace to try creating.

The question of whether the description of a non-keyring key is permitted to
begin with a '.' is a separate issue to this patch. We'd have to be sure that
no one is using keys of such a form.

David
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/