diff options
| author | David Howells <dhowells@redhat.com> | 2006-01-06 03:11:24 -0500 |
|---|---|---|
| committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-06 11:33:29 -0500 |
| commit | 8d9067bda99c68e1a17d93e78cf3a5a3f67e0c35 (patch) | |
| tree | 6f3c7fe665012c456b57840c290eafd4deabbeb2 /include/linux | |
| parent | 32725ad8430b58e42c5d54757ce7871e680d05cb (diff) | |
[PATCH] Keys: Remove key duplication
Remove the key duplication stuff since there's nothing that uses it, no way
to get at it and it's awkward to deal with for LSM purposes.
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/key.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/include/linux/key.h b/include/linux/key.h index 53513a3be53b..4d189e51bc6c 100644 --- a/include/linux/key.h +++ b/include/linux/key.h | |||
| @@ -193,14 +193,6 @@ struct key_type { | |||
| 193 | */ | 193 | */ |
| 194 | int (*instantiate)(struct key *key, const void *data, size_t datalen); | 194 | int (*instantiate)(struct key *key, const void *data, size_t datalen); |
| 195 | 195 | ||
| 196 | /* duplicate a key of this type (optional) | ||
| 197 | * - the source key will be locked against change | ||
| 198 | * - the new description will be attached | ||
| 199 | * - the quota will have been adjusted automatically from | ||
| 200 | * source->quotalen | ||
| 201 | */ | ||
| 202 | int (*duplicate)(struct key *key, const struct key *source); | ||
| 203 | |||
| 204 | /* update a key of this type (optional) | 196 | /* update a key of this type (optional) |
| 205 | * - this method should call key_payload_reserve() to recalculate the | 197 | * - this method should call key_payload_reserve() to recalculate the |
| 206 | * quota consumption | 198 | * quota consumption |
