Skip to contentSkip to conversation

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

DISCUSSION Arjan van de Ven 1 participant 1 message Jun 28, 2006 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 9 lines
(quoted diff) +8 -0
+/*****************************************************************************/
+/*
+ * 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,

Review

Quoted 10 lines
(quoted diff) +10 -0
+			 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?