Re: [PATCH] Keys: Add possessor permissions to keys

David Howells
2005-09-21T15:44:17Z

Linus Torvalds <torvalds@osdl.org> wrote:

> Ok, maybe I'm just strange, but when I see code like
>
> if (is_key_possessed(keyref)) {
>
> I'm inevitably mentally going "Linda Blair! It is spewing pea-soup and
> rotating its head!"
>
> Maybe not the best of naming practices..

Or maybe not the best of mental or film watching practices? :-)

How about if I call it is_key_retained() instead?

Of course, I now prefer the name is_key_possessed() if only to frighten other
kernel developers...

David