Lines Matching defs:serial
66 key_serial_t serial;
71 serial = request_key("user", keyname, NULL, 0);
72 if (serial == -1)
75 *ret = serial;
79 static int retrieve_key(key_serial_t serial, char ***ret) {
91 n = keyctl(KEYCTL_READ, (unsigned long) serial, (unsigned long) p, (unsigned long) m, 0);
116 key_serial_t serial;
126 r = lookup_key(keyname, &serial);
128 r = retrieve_key(serial, &l);
146 serial = add_key("user", keyname, p, n-1, KEY_SPEC_USER_KEYRING);
148 if (serial == -1)
152 (unsigned long) serial,
156 log_debug("Added key to keyring as %" PRIi32 ".", serial);
176 key_serial_t serial;
185 r = lookup_key(keyname, &serial);
191 return retrieve_key(serial, ret);