OSDN Git Service

6c418c238fa31e9bfc0fc8c13202d99ba51d5de8
[linuxjm/LDP_man-pages.git] / po4a / keyutils / po / ja.po
1 # SOME DESCRIPTIVE TITLE
2 # Copyright (C) YEAR Free Software Foundation, Inc.
3 # This file is distributed under the same license as the PACKAGE package.
4 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5 #
6 msgid ""
7 msgstr ""
8 "Project-Id-Version: PACKAGE VERSION\n"
9 "POT-Creation-Date: 2014-04-13 10:26+0900\n"
10 "PO-Revision-Date: 2013-09-28 04:24+0900\n"
11 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
12 "Language-Team: LANGUAGE <LL@li.org>\n"
13 "Language: \n"
14 "MIME-Version: 1.0\n"
15 "Content-Type: text/plain; charset=UTF-8\n"
16 "Content-Transfer-Encoding: 8bit\n"
17
18 #. type: TH
19 #: build/C/man2/add_key.2:11
20 #, no-wrap
21 msgid "ADD_KEY"
22 msgstr "ADD_KEY"
23
24 #. type: TH
25 #: build/C/man2/add_key.2:11 build/C/man2/request_key.2:11
26 #, no-wrap
27 msgid "2010-02-25"
28 msgstr "2010-02-25"
29
30 #. type: TH
31 #: build/C/man2/add_key.2:11 build/C/man2/keyctl.2:27
32 #: build/C/man2/request_key.2:11
33 #, no-wrap
34 msgid "Linux"
35 msgstr "Linux"
36
37 #. type: TH
38 #: build/C/man2/add_key.2:11 build/C/man2/keyctl.2:27
39 #: build/C/man2/request_key.2:11
40 #, no-wrap
41 msgid "Linux Key Management Calls"
42 msgstr "Linux Key Management Calls"
43
44 #. type: SH
45 #: build/C/man2/add_key.2:12 build/C/man2/keyctl.2:28
46 #: build/C/man2/request_key.2:12
47 #, no-wrap
48 msgid "NAME"
49 msgstr "名前"
50
51 #. type: Plain text
52 #: build/C/man2/add_key.2:14
53 msgid "add_key - add a key to the kernel's key management facility"
54 msgstr ""
55
56 #. type: SH
57 #: build/C/man2/add_key.2:14 build/C/man2/keyctl.2:30
58 #: build/C/man2/request_key.2:14
59 #, no-wrap
60 msgid "SYNOPSIS"
61 msgstr "書式"
62
63 #. type: Plain text
64 #: build/C/man2/add_key.2:17 build/C/man2/keyctl.2:33
65 #: build/C/man2/request_key.2:17
66 #, no-wrap
67 msgid "B<#include E<lt>keyutils.hE<gt>>\n"
68 msgstr "B<#include E<lt>keyutils.hE<gt>>\n"
69
70 #. type: Plain text
71 #: build/C/man2/add_key.2:21
72 #, no-wrap
73 msgid ""
74 "B<key_serial_t add_key(const char *>I<type>B<, const char *>I<description>B<,>\n"
75 "B<                     const void *>I<payload>B<, size_t >I<plen>B<,>\n"
76 "B<                     key_serial_t >I<keyring>B<);>\n"
77 msgstr ""
78 "B<key_serial_t add_key(const char *>I<type>B<, const char *>I<description>B<,>\n"
79 "B<                     const void *>I<payload>B<, size_t >I<plen>B<,>\n"
80 "B<                     key_serial_t >I<keyring>B<);>\n"
81
82 #. type: SH
83 #: build/C/man2/add_key.2:22 build/C/man2/keyctl.2:36
84 #: build/C/man2/request_key.2:22
85 #, no-wrap
86 msgid "DESCRIPTION"
87 msgstr "説明"
88
89 #. type: Plain text
90 #: build/C/man2/add_key.2:35
91 msgid ""
92 "B<add_key>()  asks the kernel to create or update a key of the given I<type> "
93 "and I<description>, instantiate it with the I<payload> of length I<plen>, "
94 "and to attach it to the nominated I<keyring> and to return its serial number."
95 msgstr ""
96
97 #. type: Plain text
98 #: build/C/man2/add_key.2:38
99 msgid ""
100 "The key type may reject the data if it's in the wrong format or in some "
101 "other way invalid."
102 msgstr ""
103
104 #. type: Plain text
105 #: build/C/man2/add_key.2:46
106 msgid ""
107 "If the destination I<keyring> already contains a key that matches the "
108 "specified I<type> and I<description> then, if the key type supports it, that "
109 "key will be updated rather than a new key being created; if not, a new key "
110 "will be created and it will displace the link to the extant key from the "
111 "keyring."
112 msgstr ""
113
114 #. type: Plain text
115 #: build/C/man2/add_key.2:51
116 msgid ""
117 "The destination I<keyring> serial number may be that of a valid keyring to "
118 "which the caller has write permission, or it may be a special keyring ID:"
119 msgstr ""
120
121 #. type: TP
122 #: build/C/man2/add_key.2:51 build/C/man2/request_key.2:74
123 #, no-wrap
124 msgid "B<KEY_SPEC_THREAD_KEYRING>"
125 msgstr "B<KEY_SPEC_THREAD_KEYRING>"
126
127 #. type: Plain text
128 #: build/C/man2/add_key.2:54 build/C/man2/request_key.2:77
129 msgid "This specifies the caller's thread-specific keyring."
130 msgstr ""
131
132 #. type: TP
133 #: build/C/man2/add_key.2:54 build/C/man2/request_key.2:77
134 #, no-wrap
135 msgid "B<KEY_SPEC_PROCESS_KEYRING>"
136 msgstr "B<KEY_SPEC_PROCESS_KEYRING>"
137
138 #. type: Plain text
139 #: build/C/man2/add_key.2:57 build/C/man2/request_key.2:80
140 msgid "This specifies the caller's process-specific keyring."
141 msgstr ""
142
143 #. type: TP
144 #: build/C/man2/add_key.2:57 build/C/man2/request_key.2:80
145 #, no-wrap
146 msgid "B<KEY_SPEC_SESSION_KEYRING>"
147 msgstr "B<KEY_SPEC_SESSION_KEYRING>"
148
149 #. type: Plain text
150 #: build/C/man2/add_key.2:60 build/C/man2/request_key.2:83
151 msgid "This specifies the caller's session-specific keyring."
152 msgstr ""
153
154 #. type: TP
155 #: build/C/man2/add_key.2:60 build/C/man2/request_key.2:83
156 #, no-wrap
157 msgid "B<KEY_SPEC_USER_KEYRING>"
158 msgstr "B<KEY_SPEC_USER_KEYRING>"
159
160 #. type: Plain text
161 #: build/C/man2/add_key.2:63 build/C/man2/request_key.2:86
162 msgid "This specifies the caller's UID-specific keyring."
163 msgstr ""
164
165 #. type: TP
166 #: build/C/man2/add_key.2:63 build/C/man2/request_key.2:86
167 #, no-wrap
168 msgid "B<KEY_SPEC_USER_SESSION_KEYRING>"
169 msgstr "B<KEY_SPEC_USER_SESSION_KEYRING>"
170
171 #. type: Plain text
172 #: build/C/man2/add_key.2:66 build/C/man2/request_key.2:89
173 msgid "This specifies the caller's UID-session keyring."
174 msgstr ""
175
176 #. type: SH
177 #: build/C/man2/add_key.2:66
178 #, no-wrap
179 msgid "KEY TYPES"
180 msgstr ""
181
182 #. type: Plain text
183 #: build/C/man2/add_key.2:69
184 msgid ""
185 "There are a number of key types available in the core key management code, "
186 "and these can be specified to this function:"
187 msgstr ""
188
189 #. type: TP
190 #: build/C/man2/add_key.2:69
191 #, no-wrap
192 msgid "B<``user''>"
193 msgstr "B<``user''>"
194
195 #. type: Plain text
196 #: build/C/man2/add_key.2:80
197 msgid ""
198 "Keys of the user-defined key type may contain a blob of arbitrary data, and "
199 "the I<description> may be any valid string, though it is preferred that the "
200 "description be prefixed with a string representing the service to which the "
201 "key is of interest and a colon (for instance ``B<afs:mykey>'').  The "
202 "I<payload> may be empty or NULL for keys of this type."
203 msgstr ""
204
205 #. type: TP
206 #: build/C/man2/add_key.2:80
207 #, no-wrap
208 msgid "B<``keyring''>"
209 msgstr "B<``keyring''>"
210
211 #. type: Plain text
212 #: build/C/man2/add_key.2:89
213 msgid ""
214 "Keyrings are special key types that may contain links to sequences of other "
215 "keys of any type.  If this interface is used to create a keyring, then a "
216 "NULL I<payload> should be specified, and I<plen> should be zero."
217 msgstr ""
218
219 #. type: SH
220 #: build/C/man2/add_key.2:89 build/C/man2/keyctl.2:97
221 #: build/C/man2/request_key.2:94
222 #, no-wrap
223 msgid "RETURN VALUE"
224 msgstr "返り値"
225
226 #. type: Plain text
227 #: build/C/man2/add_key.2:95
228 msgid ""
229 "On success B<add_key>()  returns the serial number of the key it created or "
230 "updated.  On error, the value -1 will be returned and errno will have been "
231 "set to an appropriate error."
232 msgstr ""
233
234 #. type: SH
235 #: build/C/man2/add_key.2:95 build/C/man2/keyctl.2:103
236 #: build/C/man2/request_key.2:100
237 #, no-wrap
238 msgid "ERRORS"
239 msgstr "エラー"
240
241 #. type: TP
242 #: build/C/man2/add_key.2:96 build/C/man2/keyctl.2:120
243 #: build/C/man2/request_key.2:123
244 #, no-wrap
245 msgid "B<ENOKEY>"
246 msgstr "B<ENOKEY>"
247
248 #. type: Plain text
249 #: build/C/man2/add_key.2:99
250 msgid "The keyring doesn't exist."
251 msgstr ""
252
253 #. type: TP
254 #: build/C/man2/add_key.2:99 build/C/man2/keyctl.2:111
255 #: build/C/man2/request_key.2:111
256 #, no-wrap
257 msgid "B<EKEYEXPIRED>"
258 msgstr "B<EKEYEXPIRED>"
259
260 #. type: Plain text
261 #: build/C/man2/add_key.2:102
262 msgid "The keyring has expired."
263 msgstr ""
264
265 #. type: TP
266 #: build/C/man2/add_key.2:102 build/C/man2/keyctl.2:117
267 #: build/C/man2/request_key.2:117
268 #, no-wrap
269 msgid "B<EKEYREVOKED>"
270 msgstr "B<EKEYREVOKED>"
271
272 #. type: Plain text
273 #: build/C/man2/add_key.2:105
274 msgid "The keyring has been revoked."
275 msgstr ""
276
277 #. type: TP
278 #: build/C/man2/add_key.2:105
279 #, no-wrap
280 msgid "B<EINVAL>"
281 msgstr "B<EINVAL>"
282
283 #. type: Plain text
284 #: build/C/man2/add_key.2:108
285 msgid "The payload data was invalid."
286 msgstr ""
287
288 #. type: TP
289 #: build/C/man2/add_key.2:108 build/C/man2/request_key.2:120
290 #, no-wrap
291 msgid "B<ENOMEM>"
292 msgstr "B<ENOMEM>"
293
294 #. type: Plain text
295 #: build/C/man2/add_key.2:111 build/C/man2/request_key.2:123
296 msgid "Insufficient memory to create a key."
297 msgstr ""
298
299 #. type: TP
300 #: build/C/man2/add_key.2:111 build/C/man2/keyctl.2:107
301 #: build/C/man2/request_key.2:107
302 #, no-wrap
303 msgid "B<EDQUOT>"
304 msgstr "B<EDQUOT>"
305
306 #. type: Plain text
307 #: build/C/man2/add_key.2:115 build/C/man2/request_key.2:111
308 msgid ""
309 "The key quota for this user would be exceeded by creating this key or "
310 "linking it to the keyring."
311 msgstr ""
312
313 #. type: TP
314 #: build/C/man2/add_key.2:115 build/C/man2/keyctl.2:104
315 #: build/C/man2/request_key.2:101
316 #, no-wrap
317 msgid "B<EACCES>"
318 msgstr "B<EACCES>"
319
320 #. type: Plain text
321 #: build/C/man2/add_key.2:118 build/C/man2/request_key.2:104
322 msgid "The keyring wasn't available for modification by the user."
323 msgstr ""
324
325 #. type: SH
326 #: build/C/man2/add_key.2:118 build/C/man2/keyctl.2:123
327 #: build/C/man2/request_key.2:126
328 #, no-wrap
329 msgid "LINKING"
330 msgstr "LINKING"
331
332 #. type: Plain text
333 #: build/C/man2/add_key.2:126 build/C/man2/keyctl.2:131
334 #: build/C/man2/request_key.2:134
335 msgid ""
336 "Although this is a Linux system call, it is not present in I<libc> but can "
337 "be found rather in I<libkeyutils>.  When linking, B<-lkeyutils> should be "
338 "specified to the linker."
339 msgstr ""
340
341 #. type: SH
342 #: build/C/man2/add_key.2:126 build/C/man2/keyctl.2:131
343 #: build/C/man2/request_key.2:134
344 #, no-wrap
345 msgid "SEE ALSO"
346 msgstr "関連項目"
347
348 #. type: Plain text
349 #: build/C/man2/add_key.2:130
350 msgid "B<keyctl>(1), B<keyctl>(2), B<request_key>(2)"
351 msgstr "B<keyctl>(1), B<keyctl>(2), B<request_key>(2)"
352
353 #. type: SH
354 #: build/C/man2/add_key.2:130 build/C/man2/keyctl.2:160
355 #: build/C/man2/request_key.2:139
356 #, no-wrap
357 msgid "COLOPHON"
358 msgstr "この文書について"
359
360 #. type: Plain text
361 #: build/C/man2/add_key.2:137 build/C/man2/keyctl.2:167
362 #: build/C/man2/request_key.2:146
363 #, fuzzy
364 #| msgid ""
365 #| "This page is part of release 3.54 of the Linux I<man-pages> project.  A "
366 #| "description of the project, and information about reporting bugs, can be "
367 #| "found at \\%http://www.kernel.org/doc/man-pages/."
368 msgid ""
369 "This page is part of release 3.63 of the Linux I<man-pages> project.  A "
370 "description of the project, and information about reporting bugs, can be "
371 "found at \\%http://www.kernel.org/doc/man-pages/."
372 msgstr ""
373 "この man ページは Linux I<man-pages> プロジェクトのリリース 3.54 の一部\n"
374 "である。プロジェクトの説明とバグ報告に関する情報は\n"
375 "http://www.kernel.org/doc/man-pages/ に書かれている。"
376
377 #. type: TH
378 #: build/C/man2/keyctl.2:27
379 #, no-wrap
380 msgid "KEYCTL"
381 msgstr "KEYCTL"
382
383 #. type: TH
384 #: build/C/man2/keyctl.2:27
385 #, no-wrap
386 msgid "2014-01-22"
387 msgstr ""
388
389 #. type: Plain text
390 #: build/C/man2/keyctl.2:30
391 msgid "keyctl - manipulate the kernel's key management facility"
392 msgstr ""
393
394 #. type: Plain text
395 #: build/C/man2/keyctl.2:35
396 #, no-wrap
397 msgid "B<long keyctl(int >I<cmd>B<, ...);>\n"
398 msgstr "B<long keyctl(int >I<cmd>B<, ...);>\n"
399
400 #. type: Plain text
401 #: build/C/man2/keyctl.2:39
402 msgid "B<keyctl>()  has a number of functions available:"
403 msgstr ""
404
405 #. type: TP
406 #: build/C/man2/keyctl.2:39
407 #, no-wrap
408 msgid "B<KEYCTL_GET_KEYRING_ID>"
409 msgstr "B<KEYCTL_GET_KEYRING_ID>"
410
411 #. type: Plain text
412 #: build/C/man2/keyctl.2:42
413 msgid "Ask for a keyring's ID."
414 msgstr ""
415
416 #. type: TP
417 #: build/C/man2/keyctl.2:42
418 #, no-wrap
419 msgid "B<KEYCTL_JOIN_SESSION_KEYRING>"
420 msgstr "B<KEYCTL_JOIN_SESSION_KEYRING>"
421
422 #. type: Plain text
423 #: build/C/man2/keyctl.2:45
424 msgid "Join or start named session keyring."
425 msgstr ""
426
427 #. type: TP
428 #: build/C/man2/keyctl.2:45
429 #, no-wrap
430 msgid "B<KEYCTL_UPDATE>"
431 msgstr "B<KEYCTL_UPDATE>"
432
433 #. type: Plain text
434 #: build/C/man2/keyctl.2:48
435 msgid "Update a key."
436 msgstr ""
437
438 #. type: TP
439 #: build/C/man2/keyctl.2:48
440 #, no-wrap
441 msgid "B<KEYCTL_REVOKE>"
442 msgstr "B<KEYCTL_REVOKE>"
443
444 #. type: Plain text
445 #: build/C/man2/keyctl.2:51
446 msgid "Revoke a key."
447 msgstr ""
448
449 #. type: TP
450 #: build/C/man2/keyctl.2:51
451 #, no-wrap
452 msgid "B<KEYCTL_CHOWN>"
453 msgstr "B<KEYCTL_CHOWN>"
454
455 #. type: Plain text
456 #: build/C/man2/keyctl.2:54
457 msgid "Set ownership of a key."
458 msgstr ""
459
460 #. type: TP
461 #: build/C/man2/keyctl.2:54
462 #, no-wrap
463 msgid "B<KEYCTL_SETPERM>"
464 msgstr "B<KEYCTL_SETPERM>"
465
466 #. type: Plain text
467 #: build/C/man2/keyctl.2:57
468 msgid "Set perms on a key."
469 msgstr ""
470
471 #. type: TP
472 #: build/C/man2/keyctl.2:57
473 #, no-wrap
474 msgid "B<KEYCTL_DESCRIBE>"
475 msgstr "B<KEYCTL_DESCRIBE>"
476
477 #. type: Plain text
478 #: build/C/man2/keyctl.2:60
479 msgid "Describe a key."
480 msgstr ""
481
482 #. type: TP
483 #: build/C/man2/keyctl.2:60
484 #, no-wrap
485 msgid "B<KEYCTL_CLEAR>"
486 msgstr "B<KEYCTL_CLEAR>"
487
488 #. type: Plain text
489 #: build/C/man2/keyctl.2:63
490 msgid "Clear contents of a keyring."
491 msgstr ""
492
493 #. type: TP
494 #: build/C/man2/keyctl.2:63
495 #, no-wrap
496 msgid "B<KEYCTL_LINK>"
497 msgstr "B<KEYCTL_LINK>"
498
499 #. type: Plain text
500 #: build/C/man2/keyctl.2:66
501 msgid "Link a key into a keyring."
502 msgstr ""
503
504 #. type: TP
505 #: build/C/man2/keyctl.2:66
506 #, no-wrap
507 msgid "B<KEYCTL_UNLINK>"
508 msgstr "B<KEYCTL_UNLINK>"
509
510 #. type: Plain text
511 #: build/C/man2/keyctl.2:69
512 msgid "Unlink a key from a keyring."
513 msgstr ""
514
515 #. type: TP
516 #: build/C/man2/keyctl.2:69
517 #, no-wrap
518 msgid "B<KEYCTL_SEARCH>"
519 msgstr "B<KEYCTL_SEARCH>"
520
521 #. type: Plain text
522 #: build/C/man2/keyctl.2:72
523 msgid "Search for a key in a keyring."
524 msgstr ""
525
526 #. type: TP
527 #: build/C/man2/keyctl.2:72
528 #, no-wrap
529 msgid "B<KEYCTL_READ>"
530 msgstr "B<KEYCTL_READ>"
531
532 #. type: Plain text
533 #: build/C/man2/keyctl.2:75
534 msgid "Read a key or keyring's contents."
535 msgstr ""
536
537 #. type: TP
538 #: build/C/man2/keyctl.2:75
539 #, no-wrap
540 msgid "B<KEYCTL_INSTANTIATE>"
541 msgstr "B<KEYCTL_INSTANTIATE>"
542
543 #. type: Plain text
544 #: build/C/man2/keyctl.2:78
545 msgid "Instantiate a partially constructed key."
546 msgstr ""
547
548 #. type: TP
549 #: build/C/man2/keyctl.2:78
550 #, no-wrap
551 msgid "B<KEYCTL_NEGATE>"
552 msgstr "B<KEYCTL_NEGATE>"
553
554 #. type: Plain text
555 #: build/C/man2/keyctl.2:81
556 msgid "Negate a partially constructed key."
557 msgstr ""
558
559 #. type: TP
560 #: build/C/man2/keyctl.2:81
561 #, no-wrap
562 msgid "B<KEYCTL_SET_REQKEY_KEYRING>"
563 msgstr "B<KEYCTL_SET_REQKEY_KEYRING>"
564
565 #. type: Plain text
566 #: build/C/man2/keyctl.2:84
567 msgid "Set default request-key keyring."
568 msgstr ""
569
570 #. type: TP
571 #: build/C/man2/keyctl.2:84
572 #, no-wrap
573 msgid "B<KEYCTL_SET_TIMEOUT>"
574 msgstr "B<KEYCTL_SET_TIMEOUT>"
575
576 #. type: Plain text
577 #: build/C/man2/keyctl.2:87
578 msgid "Set timeout on a key."
579 msgstr ""
580
581 #. type: TP
582 #: build/C/man2/keyctl.2:87
583 #, no-wrap
584 msgid "B<KEYCTL_ASSUME_AUTHORITY>"
585 msgstr "B<KEYCTL_ASSUME_AUTHORITY>"
586
587 #. type: Plain text
588 #: build/C/man2/keyctl.2:90
589 msgid "Assume authority to instantiate key."
590 msgstr ""
591
592 #. type: Plain text
593 #: build/C/man2/keyctl.2:97
594 msgid ""
595 "These are wrapped by B<libkeyutils> into individual functions to permit "
596 "compiler the compiler to check types.  See the B<See Also> section at the "
597 "bottom."
598 msgstr ""
599
600 #. type: Plain text
601 #: build/C/man2/keyctl.2:103
602 msgid ""
603 "On success B<keyctl>()  returns the serial number of the key it found.  On "
604 "error, the value -1 will be returned and errno will have been set to an "
605 "appropriate error."
606 msgstr ""
607
608 #. type: Plain text
609 #: build/C/man2/keyctl.2:107
610 msgid "A key operation wasn't permitted."
611 msgstr ""
612
613 #. type: Plain text
614 #: build/C/man2/keyctl.2:111
615 msgid ""
616 "The key quota for the caller's user would be exceeded by creating a key or "
617 "linking it to the keyring."
618 msgstr ""
619
620 #. type: Plain text
621 #: build/C/man2/keyctl.2:114
622 msgid "An expired key was found or specified."
623 msgstr ""
624
625 #. type: TP
626 #: build/C/man2/keyctl.2:114 build/C/man2/request_key.2:114
627 #, no-wrap
628 msgid "B<EKEYREJECTED>"
629 msgstr "B<EKEYREJECTED>"
630
631 #. type: Plain text
632 #: build/C/man2/keyctl.2:117
633 msgid "A rejected key was found or specified."
634 msgstr ""
635
636 #. type: Plain text
637 #: build/C/man2/keyctl.2:120
638 msgid "A revoked key was found or specified."
639 msgstr ""
640
641 #. type: Plain text
642 #: build/C/man2/keyctl.2:123
643 msgid "No matching key was found or an invalid key was specified."
644 msgstr ""
645
646 #. type: Plain text
647 #: build/C/man2/keyctl.2:157
648 msgid ""
649 "B<keyctl>(1), B<add_key>(2), B<request_key>(2), B<keyctl_set_timeout>(3), "
650 "B<keyctl_chown>(3), B<keyctl_clear>(3), B<keyctl_describe>(3), "
651 "B<keyctl_describe_alloc>(3), B<keyctl_get_keyring_ID>(3), "
652 "B<keyctl_instantiate>(3), B<keyctl_join_session_keyring>(3), B<keyctl_link>"
653 "(3), B<keyctl_negate>(3), B<keyctl_revoke>(3), B<keyctl_search>(3), "
654 "B<keyctl_setperm>(3), B<keyctl_set_reqkey_keyring>(3), B<keyctl_set_timeout>"
655 "(3), B<keyctl_read>(3), B<keyctl_read_alloc>(3), B<keyctl_unlink>(3), "
656 "B<keyctl_update>(3), B<request-key>(8)"
657 msgstr ""
658
659 #. type: Plain text
660 #: build/C/man2/keyctl.2:160
661 msgid "The kernel source file I<Documentation/security/keys.txt>."
662 msgstr ""
663
664 #. type: TH
665 #: build/C/man2/request_key.2:11
666 #, no-wrap
667 msgid "REQUEST_KEY"
668 msgstr "REQUEST_KEY"
669
670 #. type: Plain text
671 #: build/C/man2/request_key.2:14
672 msgid "request_key - request a key from the kernel's key management facility"
673 msgstr ""
674
675 #. type: Plain text
676 #: build/C/man2/request_key.2:21
677 #, no-wrap
678 msgid ""
679 "B<key_serial_t request_key(const char *>I<type>B<, const char *>I<description>B<,>\n"
680 "B<                         const char *>I<callout_info>B<,>\n"
681 "B<                         key_serial_t >I<keyring>B<);>\n"
682 msgstr ""
683 "B<key_serial_t request_key(const char *>I<type>B<, const char *>I<description>B<,>\n"
684 "B<                         const char *>I<callout_info>B<,>\n"
685 "B<                         key_serial_t >I<keyring>B<);>\n"
686
687 #. type: Plain text
688 #: build/C/man2/request_key.2:31
689 msgid ""
690 "B<request_key>()  asks the kernel to find a key of the given I<type> that "
691 "matches the specified I<description> and, if successful, to attach it to the "
692 "nominated I<keyring> and to return its serial number."
693 msgstr ""
694
695 #. type: Plain text
696 #: build/C/man2/request_key.2:36
697 msgid ""
698 "B<request_key>()  first recursively searches all the keyrings attached to "
699 "the calling process in the order thread-specific keyring, process-specific "
700 "keyring and then session keyring for a matching key."
701 msgstr ""
702
703 #. type: Plain text
704 #: build/C/man2/request_key.2:44
705 msgid ""
706 "If B<request_key>()  is called from a program invoked by B<request_key>()  "
707 "on behalf of some other process to generate a key, then the keyrings of that "
708 "other process will be searched next, using that other process's UID, GID, "
709 "groups, and security context to control access."
710 msgstr ""
711
712 #. type: Plain text
713 #: build/C/man2/request_key.2:52
714 msgid ""
715 "The keys in each keyring searched are checked for a match before any child "
716 "keyrings are recursed into.  Only keys that are B<searchable> for the caller "
717 "may be found, and only B<searchable> keyrings may be searched."
718 msgstr ""
719
720 #. type: Plain text
721 #: build/C/man2/request_key.2:61
722 msgid ""
723 "If the key is not found, then, if I<callout_info> is set, this function will "
724 "attempt to look further afield.  In such a case, the I<callout_info> is "
725 "passed to a user-space service such as B</sbin/request-key> to generate the "
726 "key."
727 msgstr ""
728
729 #. type: Plain text
730 #: build/C/man2/request_key.2:69
731 msgid ""
732 "If that is unsuccessful also, then an error will be returned, and a "
733 "temporary negative key will be installed in the nominated I<keyring>.  This "
734 "will expire after a few seconds, but will cause subsequent calls to "
735 "B<request_key>()  to fail until it does."
736 msgstr ""
737
738 #. type: Plain text
739 #: build/C/man2/request_key.2:74
740 msgid ""
741 "The I<keyring> serial number may be that of a valid keyring to which the "
742 "caller has write permission, or it may be a special keyring ID:"
743 msgstr ""
744
745 #. type: Plain text
746 #: build/C/man2/request_key.2:94
747 msgid ""
748 "If a key is created, no matter whether it's a valid key or a negative key, "
749 "it will displace any other key of the same type and description from the "
750 "destination I<keyring>."
751 msgstr ""
752
753 #. type: Plain text
754 #: build/C/man2/request_key.2:100
755 msgid ""
756 "On success B<request_key>()  returns the serial number of the key it found.  "
757 "On error, the value -1 will be returned and errno will have been set to an "
758 "appropriate error."
759 msgstr ""
760
761 #. type: TP
762 #: build/C/man2/request_key.2:104
763 #, no-wrap
764 msgid "B<EINTR>"
765 msgstr "B<EINTR>"
766
767 #. type: Plain text
768 #: build/C/man2/request_key.2:107
769 msgid "The request was interrupted by a signal."
770 msgstr ""
771
772 #. type: Plain text
773 #: build/C/man2/request_key.2:114
774 msgid "An expired key was found, but no replacement could be obtained."
775 msgstr ""
776
777 #. type: Plain text
778 #: build/C/man2/request_key.2:117
779 msgid "The attempt to generate a new key was rejected."
780 msgstr ""
781
782 #. type: Plain text
783 #: build/C/man2/request_key.2:120
784 msgid "A revoked key was found, but no replacement could be obtained."
785 msgstr ""
786
787 #. type: Plain text
788 #: build/C/man2/request_key.2:126
789 msgid "No matching key was found."
790 msgstr ""
791
792 #. type: Plain text
793 #: build/C/man2/request_key.2:139
794 msgid "B<keyctl>(1), B<add_key>(2), B<keyctl>(2), B<request-key>(8)"
795 msgstr "B<keyctl>(1), B<add_key>(2), B<keyctl>(2), B<request-key>(8)"