12 #include <linux/module.h>
14 #include <linux/slab.h>
18 #include <asm/uaccess.h>
21 static int logon_vet_description(
const char *
desc);
54 .vet_description = logon_vet_description,
68 if (datalen <= 0 || datalen > 32767 || !prep->data)
83 rcu_assign_keypointer(key, upayload);
103 if (datalen <= 0 || datalen > 32767 || !prep->data)
122 zap = key->payload.
data;
123 rcu_assign_keypointer(key, upayload);
141 return strcmp(key->description, description) == 0;
158 rcu_assign_keypointer(key,
NULL);
183 if (key_is_instantiated(key))
198 upayload = rcu_dereference_key(key);
202 if (buffer && buflen > 0) {
203 if (buflen > upayload->
datalen)
216 static int logon_vet_description(
const char *
desc)