internal.h (41f9d29f09ca0b22c3631e8a39676e74cda9bcc0) | internal.h (67d1214551e800f9fe7dc7c47a346d2df0fafed5) |
---|---|
1/* Authentication token and access key management internal defs 2 * 3 * Copyright (C) 2003-5, 2007 Red Hat, Inc. All Rights Reserved. 4 * Written by David Howells (dhowells@redhat.com) 5 * 6 * This program is free software; you can redistribute it and/or 7 * modify it under the terms of the GNU General Public License 8 * as published by the Free Software Foundation; either version --- 134 unchanged lines hidden (view full) --- 143 144extern int lookup_user_key_possessed(const struct key *key, const void *target); 145extern key_ref_t lookup_user_key(key_serial_t id, unsigned long flags, 146 key_perm_t perm); 147#define KEY_LOOKUP_CREATE 0x01 148#define KEY_LOOKUP_PARTIAL 0x02 149#define KEY_LOOKUP_FOR_UNLINK 0x04 150 | 1/* Authentication token and access key management internal defs 2 * 3 * Copyright (C) 2003-5, 2007 Red Hat, Inc. All Rights Reserved. 4 * Written by David Howells (dhowells@redhat.com) 5 * 6 * This program is free software; you can redistribute it and/or 7 * modify it under the terms of the GNU General Public License 8 * as published by the Free Software Foundation; either version --- 134 unchanged lines hidden (view full) --- 143 144extern int lookup_user_key_possessed(const struct key *key, const void *target); 145extern key_ref_t lookup_user_key(key_serial_t id, unsigned long flags, 146 key_perm_t perm); 147#define KEY_LOOKUP_CREATE 0x01 148#define KEY_LOOKUP_PARTIAL 0x02 149#define KEY_LOOKUP_FOR_UNLINK 0x04 150 |
151struct kludge { /* this will die off very soon */ 152 struct task_work twork; 153 struct cred *cred; 154}; | |
155extern long join_session_keyring(const char *name); | 151extern long join_session_keyring(const char *name); |
156extern void key_change_session_keyring(struct task_work *twork); | 152extern void key_change_session_keyring(struct callback_head *twork); |
157 158extern struct work_struct key_gc_work; 159extern unsigned key_gc_delay; 160extern void keyring_gc(struct key *keyring, time_t limit); 161extern void key_schedule_gc(time_t gc_at); 162extern void key_schedule_gc_links(void); 163extern void key_gc_keytype(struct key_type *ktype); 164 --- 106 unchanged lines hidden --- | 153 154extern struct work_struct key_gc_work; 155extern unsigned key_gc_delay; 156extern void keyring_gc(struct key *keyring, time_t limit); 157extern void key_schedule_gc(time_t gc_at); 158extern void key_schedule_gc_links(void); 159extern void key_gc_keytype(struct key_type *ktype); 160 --- 106 unchanged lines hidden --- |