diff options
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/keys.txt | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/Documentation/keys.txt b/Documentation/keys.txt index 6304db59bfe4..c17c4ca74302 100644 --- a/Documentation/keys.txt +++ b/Documentation/keys.txt | |||
@@ -498,7 +498,7 @@ The keyctl syscall functions are: | |||
498 | keyring is full, error ENFILE will result. | 498 | keyring is full, error ENFILE will result. |
499 | 499 | ||
500 | The link procedure checks the nesting of the keyrings, returning ELOOP if | 500 | The link procedure checks the nesting of the keyrings, returning ELOOP if |
501 | it appears to deep or EDEADLK if the link would introduce a cycle. | 501 | it appears too deep or EDEADLK if the link would introduce a cycle. |
502 | 502 | ||
503 | 503 | ||
504 | (*) Unlink a key or keyring from another keyring: | 504 | (*) Unlink a key or keyring from another keyring: |
@@ -628,6 +628,19 @@ The keyctl syscall functions are: | |||
628 | there is one, otherwise the user default session keyring. | 628 | there is one, otherwise the user default session keyring. |
629 | 629 | ||
630 | 630 | ||
631 | (*) Set the timeout on a key. | ||
632 | |||
633 | long keyctl(KEYCTL_SET_TIMEOUT, key_serial_t key, unsigned timeout); | ||
634 | |||
635 | This sets or clears the timeout on a key. The timeout can be 0 to clear | ||
636 | the timeout or a number of seconds to set the expiry time that far into | ||
637 | the future. | ||
638 | |||
639 | The process must have attribute modification access on a key to set its | ||
640 | timeout. Timeouts may not be set with this function on negative, revoked | ||
641 | or expired keys. | ||
642 | |||
643 | |||
631 | =============== | 644 | =============== |
632 | KERNEL SERVICES | 645 | KERNEL SERVICES |
633 | =============== | 646 | =============== |