Re: +keys-allow-in-kernel-key-requestor-to-pass-auxiliary-data-to-upcaller.patchadded to -mm tree

From: Arjan van de Ven
Date: Wed Jun 28 2006 - 04:45:46 EST



> +/*****************************************************************************/
> +/*
> + * 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?


-
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/