Re: [PATCH 01/19] User-space API definition

From: Randy Dunlap
Date: Fri Aug 20 2010 - 13:13:16 EST


On Fri, 20 Aug 2010 10:45:44 +0200 Miloslav TrmaÄ wrote:

> +#define NCRIO_KEY_INIT _IO('c', 204)
> +/* generate a secret key */
> +#define NCRIO_KEY_GENERATE _IOWR('c', 205, struct ncr_key_generate)
> +/* generate a public key pair */
> +#define NCRIO_KEY_GENERATE_PAIR _IOWR('c', 206, struct ncr_key_generate_pair)
> +/* derive a new key from an old one */
> +#define NCRIO_KEY_DERIVE _IOWR('c', 207, struct ncr_key_derive)
> +/* return information on a key */
> +#define NCRIO_KEY_GET_INFO _IOWR('c', 208, struct ncr_key_get_info)
> +/* export a secret key */
> +#define NCRIO_KEY_EXPORT _IOWR('c', 209, struct ncr_key_export)
> +/* import a secret key */
> +#define NCRIO_KEY_IMPORT _IOWR('c', 210, struct ncr_key_import)
> +
> +#define NCRIO_KEY_DEINIT _IOR ('c', 215, ncr_key_t)


Please add (another) 'c' entry to Documentation/ioctl/ioctl-number.txt.

---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***
--
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/