~ubuntu-branches/ubuntu/saucy/manpages/saucy

« back to all changes in this revision

Viewing changes to man2/keyctl.2

  • Committer: Bazaar Package Importer
  • Author(s): Loïc Minier
  • Date: 2010-11-11 16:51:09 UTC
  • mfrom: (1.1.44 upstream) (2.2.7 sid)
  • Revision ID: james.westby@ubuntu.com-20101111165109-3yiyen1axa1ju3s0
Tags: 3.26-1ubuntu1
* Merge from Debian unstable; remaining changes:
  - ptrace.2, prctl.2: document Ubuntu-specific PTRACE_ATTACH,
    PR_SET_PTRACER behavior.

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
.\" 2 of the License, or (at your option) any later version.
9
9
.\"
10
10
.TH KEYCTL 2 2010-02-25 Linux "Linux Key Management Calls"
11
 
.\"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
12
11
.SH NAME
13
12
keyctl \- Manipulate the kernel's key management facility
14
 
.\"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
15
13
.SH SYNOPSIS
16
14
.nf
17
15
.B #include <keyutils.h>
18
16
.sp
19
17
.BI "long keyctl(int " cmd ", ...);"
20
 
.\"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
21
18
.SH DESCRIPTION
22
19
.BR keyctl ()
23
20
has a number of functions available:
79
76
See the
80
77
.B See Also
81
78
section at the bottom.
82
 
.\"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
83
79
.SH RETURN VALUE
84
80
On success
85
81
.BR keyctl ()
87
83
On error, the value
88
84
.B -1
89
85
will be returned and errno will have been set to an appropriate error.
90
 
.\"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
91
86
.SH ERRORS
92
87
.TP
93
88
.B ENOKEY
108
103
.TP
109
104
.B EACCES
110
105
A key operation wasn't permitted.
111
 
.\"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
112
106
.SH LINKING
113
107
Although this is a Linux system call, it is not present in
114
108
.I libc
117
111
When linking,
118
112
.B -lkeyutils
119
113
should be specified to the linker.
120
 
.\"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
121
114
.SH SEE ALSO
122
115
.BR keyctl (1),
123
116
.br
165
158
.br
166
159
.BR request-key (8)
167
160
.SH COLOPHON
168
 
This page is part of release 3.25 of the Linux
 
161
This page is part of release 3.26 of the Linux
169
162
.I man-pages
170
163
project.
171
164
A description of the project,