mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Re: + keys-allow-in-kernel-key-requestor-to-pass-auxiliary-data-to-upcaller.patch added to -mm tree
       [not found] <200606272332.k5RNWf43018630@shell0.pdx.osdl.net>
@ 2006-06-28  8:47 ` Arjan van de Ven
  0 siblings, 0 replies; only message in thread
From: Arjan van de Ven @ 2006-06-28  8:47 UTC (permalink / raw)
  To: linux-kernel; +Cc: akpm, dhowells, kwc


> +/*****************************************************************************/
> +/*
> + * request a key with auxiliary data for the upcaller
> + * - search the process's keyrings
> + * - check the list of keys being created or updated
> + * - call out to userspace for a key if supplementary info was provided
> + */
> +struct key *request_key2(struct key_type *type,
> +			 const char *description,
> +			 const char *callout_info,
> +			 void *aux)
> +{
> +	return request_key_and_link(type, description, callout_info, aux,
> +				    NULL, KEY_ALLOC_IN_QUOTA);
> +
> +} /* end request_key2() */
> +
> +EXPORT_SYMBOL(request_key2);


that's a pretty dire name ..... request_key_with_data() or even
__request_key() would have been better..

and also since this is new, linux specific thing, shouldn't this be a
_GPL export?



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-06-28  8:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <200606272332.k5RNWf43018630@shell0.pdx.osdl.net>
2006-06-28  8:47 ` + keys-allow-in-kernel-key-requestor-to-pass-auxiliary-data-to-upcaller.patch added to -mm tree Arjan van de Ven

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®