2 .\" Copyright (C) 2006 Red Hat, Inc. All Rights Reserved.
3 .\" Written by David Howells (dhowells@redhat.com)
5 .\" This program is free software; you can redistribute it and/or
6 .\" modify it under the terms of the GNU General Public License
7 .\" as published by the Free Software Foundation; either version
8 .\" 2 of the License, or (at your option) any later version.
10 .TH KEYCTL_CLEAR 3 "4 May 2006" Linux "Linux Key Management Calls"
11 .\"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
13 keyctl_clear \- Clear a keyring
14 .\"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
17 .B #include <keyutils.h>
19 .BI "long keyctl_clear(key_serial_t " keyring ");"
20 .\"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
23 clears the contents of a
28 permission on a keyring to be able clear it.
29 .\"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
37 will be returned and errno will have been set to an appropriate error.
38 .\"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
42 The keyring specified is invalid.
45 The keyring specified has expired.
48 The keyring specified had been revoked.
51 The keyring exists, but is not
53 by the calling process.
54 .\"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
56 This is a library function that can be found in
60 should be specified to the linker.
61 .\"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""