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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> +/*****************************************************************************/
> +/*
> + * 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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux