forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Disperse the bits of linux/key_ui.h as the reason they were put here (keyfs) didn't get in. Signed-off-by: David Howells <[email protected]> Reviewed-by: James Morris <[email protected]> Signed-off-by: James Morris <[email protected]>
- Loading branch information
Showing
5 changed files
with
64 additions
and
67 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
/* Keyring key type | ||
* | ||
* Copyright (C) 2008 Red Hat, Inc. All Rights Reserved. | ||
* Written by David Howells ([email protected]) | ||
* | ||
* This program is free software; you can redistribute it and/or | ||
* modify it under the terms of the GNU General Public License | ||
* as published by the Free Software Foundation; either version | ||
* 2 of the License, or (at your option) any later version. | ||
*/ | ||
|
||
#ifndef _KEYS_KEYRING_TYPE_H | ||
#define _KEYS_KEYRING_TYPE_H | ||
|
||
#include <linux/key.h> | ||
#include <linux/rcupdate.h> | ||
|
||
/* | ||
* the keyring payload contains a list of the keys to which the keyring is | ||
* subscribed | ||
*/ | ||
struct keyring_list { | ||
struct rcu_head rcu; /* RCU deletion hook */ | ||
unsigned short maxkeys; /* max keys this list can hold */ | ||
unsigned short nkeys; /* number of keys currently held */ | ||
unsigned short delkey; /* key to be unlinked by RCU */ | ||
struct key *keys[0]; | ||
}; | ||
|
||
|
||
#endif /* _KEYS_KEYRING_TYPE_H */ |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters