diff options
Diffstat (limited to 'Documentation/keys.txt')
-rw-r--r-- | Documentation/keys.txt | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/Documentation/keys.txt b/Documentation/keys.txt index 3bbe157b45e4..70e83cf664ae 100644 --- a/Documentation/keys.txt +++ b/Documentation/keys.txt | |||
@@ -270,9 +270,17 @@ about the status of the key service: | |||
270 | 270 | ||
271 | (*) /proc/keys | 271 | (*) /proc/keys |
272 | 272 | ||
273 | This lists all the keys on the system, giving information about their | 273 | This lists the keys that are currently viewable by the task reading the |
274 | type, description and permissions. The payload of the key is not available | 274 | file, giving information about their type, description and permissions. |
275 | this way: | 275 | It is not possible to view the payload of the key this way, though some |
276 | information about it may be given. | ||
277 | |||
278 | The only keys included in the list are those that grant View permission to | ||
279 | the reading process whether or not it possesses them. Note that LSM | ||
280 | security checks are still performed, and may further filter out keys that | ||
281 | the current process is not authorised to view. | ||
282 | |||
283 | The contents of the file look like this: | ||
276 | 284 | ||
277 | SERIAL FLAGS USAGE EXPY PERM UID GID TYPE DESCRIPTION: SUMMARY | 285 | SERIAL FLAGS USAGE EXPY PERM UID GID TYPE DESCRIPTION: SUMMARY |
278 | 00000001 I----- 39 perm 1f3f0000 0 0 keyring _uid_ses.0: 1/4 | 286 | 00000001 I----- 39 perm 1f3f0000 0 0 keyring _uid_ses.0: 1/4 |
@@ -300,7 +308,7 @@ about the status of the key service: | |||
300 | (*) /proc/key-users | 308 | (*) /proc/key-users |
301 | 309 | ||
302 | This file lists the tracking data for each user that has at least one key | 310 | This file lists the tracking data for each user that has at least one key |
303 | on the system. Such data includes quota information and statistics: | 311 | on the system. Such data includes quota information and statistics: |
304 | 312 | ||
305 | [root@andromeda root]# cat /proc/key-users | 313 | [root@andromeda root]# cat /proc/key-users |
306 | 0: 46 45/45 1/100 13/10000 | 314 | 0: 46 45/45 1/100 13/10000 |