Home | History | Annotate | Download | only in keyctl

Lines Matching refs:key

22  * checking the validity of a key and the key's semaphore being taken,
23 * then the key type read method will see a revoked key.
25 * This causes a problem for the user-defined key type because it
27 * in a non-revoked key and doesn't check for a NULL pointer.
53 key_serial_t key = (unsigned long)arg;
56 keyctl(KEYCTL_READ, key, buffer, 4);
63 key_serial_t key = (unsigned long)arg;
65 keyctl(KEYCTL_REVOKE, key);
73 key_serial_t key;
77 key = add_key("user", "ltptestkey", "foo", 3,
79 if (key == -1)
80 tst_brk(TBROK | TERRNO, "Failed to add key");
83 (void *)(unsigned long)key);
85 (void *)(unsigned long)key);
87 (void *)(unsigned long)key);
89 (void *)(unsigned long)key);