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.
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"
15 "Content-Type: text/plain; charset=UTF-8\n"
16 "Content-Transfer-Encoding: 8bit\n"
19 #: build/C/man2/add_key.2:11
25 #: build/C/man2/add_key.2:11 build/C/man2/request_key.2:11
31 #: build/C/man2/add_key.2:11 build/C/man2/keyctl.2:27
32 #: build/C/man2/request_key.2:11
38 #: build/C/man2/add_key.2:11 build/C/man2/keyctl.2:27
39 #: build/C/man2/request_key.2:11
41 msgid "Linux Key Management Calls"
42 msgstr "Linux Key Management Calls"
45 #: build/C/man2/add_key.2:12 build/C/man2/keyctl.2:28
46 #: build/C/man2/request_key.2:12
52 #: build/C/man2/add_key.2:14
53 msgid "add_key - add a key to the kernel's key management facility"
57 #: build/C/man2/add_key.2:14 build/C/man2/keyctl.2:30
58 #: build/C/man2/request_key.2:14
64 #: build/C/man2/add_key.2:17 build/C/man2/keyctl.2:33
65 #: build/C/man2/request_key.2:17
67 msgid "B<#include E<lt>keyutils.hE<gt>>\n"
68 msgstr "B<#include E<lt>keyutils.hE<gt>>\n"
71 #: build/C/man2/add_key.2:21
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"
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"
83 #: build/C/man2/add_key.2:22 build/C/man2/keyctl.2:36
84 #: build/C/man2/request_key.2:22
90 #: build/C/man2/add_key.2:35
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."
98 #: build/C/man2/add_key.2:38
100 "The key type may reject the data if it's in the wrong format or in some "
105 #: build/C/man2/add_key.2:46
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 "
115 #: build/C/man2/add_key.2:51
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:"
122 #: build/C/man2/add_key.2:51 build/C/man2/request_key.2:74
124 msgid "B<KEY_SPEC_THREAD_KEYRING>"
125 msgstr "B<KEY_SPEC_THREAD_KEYRING>"
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."
133 #: build/C/man2/add_key.2:54 build/C/man2/request_key.2:77
135 msgid "B<KEY_SPEC_PROCESS_KEYRING>"
136 msgstr "B<KEY_SPEC_PROCESS_KEYRING>"
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."
144 #: build/C/man2/add_key.2:57 build/C/man2/request_key.2:80
146 msgid "B<KEY_SPEC_SESSION_KEYRING>"
147 msgstr "B<KEY_SPEC_SESSION_KEYRING>"
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."
155 #: build/C/man2/add_key.2:60 build/C/man2/request_key.2:83
157 msgid "B<KEY_SPEC_USER_KEYRING>"
158 msgstr "B<KEY_SPEC_USER_KEYRING>"
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."
166 #: build/C/man2/add_key.2:63 build/C/man2/request_key.2:86
168 msgid "B<KEY_SPEC_USER_SESSION_KEYRING>"
169 msgstr "B<KEY_SPEC_USER_SESSION_KEYRING>"
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."
177 #: build/C/man2/add_key.2:66
183 #: build/C/man2/add_key.2:69
185 "There are a number of key types available in the core key management code, "
186 "and these can be specified to this function:"
190 #: build/C/man2/add_key.2:69
196 #: build/C/man2/add_key.2:80
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."
206 #: build/C/man2/add_key.2:80
208 msgid "B<``keyring''>"
209 msgstr "B<``keyring''>"
212 #: build/C/man2/add_key.2:89
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."
220 #: build/C/man2/add_key.2:89 build/C/man2/keyctl.2:97
221 #: build/C/man2/request_key.2:94
227 #: build/C/man2/add_key.2:95
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."
235 #: build/C/man2/add_key.2:95 build/C/man2/keyctl.2:103
236 #: build/C/man2/request_key.2:100
242 #: build/C/man2/add_key.2:96 build/C/man2/keyctl.2:120
243 #: build/C/man2/request_key.2:123
249 #: build/C/man2/add_key.2:99
250 msgid "The keyring doesn't exist."
254 #: build/C/man2/add_key.2:99 build/C/man2/keyctl.2:111
255 #: build/C/man2/request_key.2:111
257 msgid "B<EKEYEXPIRED>"
258 msgstr "B<EKEYEXPIRED>"
261 #: build/C/man2/add_key.2:102
262 msgid "The keyring has expired."
266 #: build/C/man2/add_key.2:102 build/C/man2/keyctl.2:117
267 #: build/C/man2/request_key.2:117
269 msgid "B<EKEYREVOKED>"
270 msgstr "B<EKEYREVOKED>"
273 #: build/C/man2/add_key.2:105
274 msgid "The keyring has been revoked."
278 #: build/C/man2/add_key.2:105
284 #: build/C/man2/add_key.2:108
285 msgid "The payload data was invalid."
289 #: build/C/man2/add_key.2:108 build/C/man2/request_key.2:120
295 #: build/C/man2/add_key.2:111 build/C/man2/request_key.2:123
296 msgid "Insufficient memory to create a key."
300 #: build/C/man2/add_key.2:111 build/C/man2/keyctl.2:107
301 #: build/C/man2/request_key.2:107
307 #: build/C/man2/add_key.2:115 build/C/man2/request_key.2:111
309 "The key quota for this user would be exceeded by creating this key or "
310 "linking it to the keyring."
314 #: build/C/man2/add_key.2:115 build/C/man2/keyctl.2:104
315 #: build/C/man2/request_key.2:101
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."
326 #: build/C/man2/add_key.2:118 build/C/man2/keyctl.2:123
327 #: build/C/man2/request_key.2:126
333 #: build/C/man2/add_key.2:126 build/C/man2/keyctl.2:131
334 #: build/C/man2/request_key.2:134
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."
342 #: build/C/man2/add_key.2:126 build/C/man2/keyctl.2:131
343 #: build/C/man2/request_key.2:134
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)"
354 #: build/C/man2/add_key.2:130 build/C/man2/keyctl.2:160
355 #: build/C/man2/request_key.2:139
361 #: build/C/man2/add_key.2:137 build/C/man2/keyctl.2:167
362 #: build/C/man2/request_key.2:146
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/."
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/."
373 "この man ページは Linux I<man-pages> プロジェクトのリリース 3.54 の一部\n"
374 "である。プロジェクトの説明とバグ報告に関する情報は\n"
375 "http://www.kernel.org/doc/man-pages/ に書かれている。"
378 #: build/C/man2/keyctl.2:27
384 #: build/C/man2/keyctl.2:27
390 #: build/C/man2/keyctl.2:30
391 msgid "keyctl - manipulate the kernel's key management facility"
395 #: build/C/man2/keyctl.2:35
397 msgid "B<long keyctl(int >I<cmd>B<, ...);>\n"
398 msgstr "B<long keyctl(int >I<cmd>B<, ...);>\n"
401 #: build/C/man2/keyctl.2:39
402 msgid "B<keyctl>() has a number of functions available:"
406 #: build/C/man2/keyctl.2:39
408 msgid "B<KEYCTL_GET_KEYRING_ID>"
409 msgstr "B<KEYCTL_GET_KEYRING_ID>"
412 #: build/C/man2/keyctl.2:42
413 msgid "Ask for a keyring's ID."
417 #: build/C/man2/keyctl.2:42
419 msgid "B<KEYCTL_JOIN_SESSION_KEYRING>"
420 msgstr "B<KEYCTL_JOIN_SESSION_KEYRING>"
423 #: build/C/man2/keyctl.2:45
424 msgid "Join or start named session keyring."
428 #: build/C/man2/keyctl.2:45
430 msgid "B<KEYCTL_UPDATE>"
431 msgstr "B<KEYCTL_UPDATE>"
434 #: build/C/man2/keyctl.2:48
435 msgid "Update a key."
439 #: build/C/man2/keyctl.2:48
441 msgid "B<KEYCTL_REVOKE>"
442 msgstr "B<KEYCTL_REVOKE>"
445 #: build/C/man2/keyctl.2:51
446 msgid "Revoke a key."
450 #: build/C/man2/keyctl.2:51
452 msgid "B<KEYCTL_CHOWN>"
453 msgstr "B<KEYCTL_CHOWN>"
456 #: build/C/man2/keyctl.2:54
457 msgid "Set ownership of a key."
461 #: build/C/man2/keyctl.2:54
463 msgid "B<KEYCTL_SETPERM>"
464 msgstr "B<KEYCTL_SETPERM>"
467 #: build/C/man2/keyctl.2:57
468 msgid "Set perms on a key."
472 #: build/C/man2/keyctl.2:57
474 msgid "B<KEYCTL_DESCRIBE>"
475 msgstr "B<KEYCTL_DESCRIBE>"
478 #: build/C/man2/keyctl.2:60
479 msgid "Describe a key."
483 #: build/C/man2/keyctl.2:60
485 msgid "B<KEYCTL_CLEAR>"
486 msgstr "B<KEYCTL_CLEAR>"
489 #: build/C/man2/keyctl.2:63
490 msgid "Clear contents of a keyring."
494 #: build/C/man2/keyctl.2:63
496 msgid "B<KEYCTL_LINK>"
497 msgstr "B<KEYCTL_LINK>"
500 #: build/C/man2/keyctl.2:66
501 msgid "Link a key into a keyring."
505 #: build/C/man2/keyctl.2:66
507 msgid "B<KEYCTL_UNLINK>"
508 msgstr "B<KEYCTL_UNLINK>"
511 #: build/C/man2/keyctl.2:69
512 msgid "Unlink a key from a keyring."
516 #: build/C/man2/keyctl.2:69
518 msgid "B<KEYCTL_SEARCH>"
519 msgstr "B<KEYCTL_SEARCH>"
522 #: build/C/man2/keyctl.2:72
523 msgid "Search for a key in a keyring."
527 #: build/C/man2/keyctl.2:72
529 msgid "B<KEYCTL_READ>"
530 msgstr "B<KEYCTL_READ>"
533 #: build/C/man2/keyctl.2:75
534 msgid "Read a key or keyring's contents."
538 #: build/C/man2/keyctl.2:75
540 msgid "B<KEYCTL_INSTANTIATE>"
541 msgstr "B<KEYCTL_INSTANTIATE>"
544 #: build/C/man2/keyctl.2:78
545 msgid "Instantiate a partially constructed key."
549 #: build/C/man2/keyctl.2:78
551 msgid "B<KEYCTL_NEGATE>"
552 msgstr "B<KEYCTL_NEGATE>"
555 #: build/C/man2/keyctl.2:81
556 msgid "Negate a partially constructed key."
560 #: build/C/man2/keyctl.2:81
562 msgid "B<KEYCTL_SET_REQKEY_KEYRING>"
563 msgstr "B<KEYCTL_SET_REQKEY_KEYRING>"
566 #: build/C/man2/keyctl.2:84
567 msgid "Set default request-key keyring."
571 #: build/C/man2/keyctl.2:84
573 msgid "B<KEYCTL_SET_TIMEOUT>"
574 msgstr "B<KEYCTL_SET_TIMEOUT>"
577 #: build/C/man2/keyctl.2:87
578 msgid "Set timeout on a key."
582 #: build/C/man2/keyctl.2:87
584 msgid "B<KEYCTL_ASSUME_AUTHORITY>"
585 msgstr "B<KEYCTL_ASSUME_AUTHORITY>"
588 #: build/C/man2/keyctl.2:90
589 msgid "Assume authority to instantiate key."
593 #: build/C/man2/keyctl.2:97
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 "
601 #: build/C/man2/keyctl.2:103
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 "
609 #: build/C/man2/keyctl.2:107
610 msgid "A key operation wasn't permitted."
614 #: build/C/man2/keyctl.2:111
616 "The key quota for the caller's user would be exceeded by creating a key or "
617 "linking it to the keyring."
621 #: build/C/man2/keyctl.2:114
622 msgid "An expired key was found or specified."
626 #: build/C/man2/keyctl.2:114 build/C/man2/request_key.2:114
628 msgid "B<EKEYREJECTED>"
629 msgstr "B<EKEYREJECTED>"
632 #: build/C/man2/keyctl.2:117
633 msgid "A rejected key was found or specified."
637 #: build/C/man2/keyctl.2:120
638 msgid "A revoked key was found or specified."
642 #: build/C/man2/keyctl.2:123
643 msgid "No matching key was found or an invalid key was specified."
647 #: build/C/man2/keyctl.2:157
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)"
660 #: build/C/man2/keyctl.2:160
661 msgid "The kernel source file I<Documentation/security/keys.txt>."
665 #: build/C/man2/request_key.2:11
671 #: build/C/man2/request_key.2:14
672 msgid "request_key - request a key from the kernel's key management facility"
676 #: build/C/man2/request_key.2:21
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"
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"
688 #: build/C/man2/request_key.2:31
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."
696 #: build/C/man2/request_key.2:36
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."
704 #: build/C/man2/request_key.2:44
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."
713 #: build/C/man2/request_key.2:52
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."
721 #: build/C/man2/request_key.2:61
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 "
730 #: build/C/man2/request_key.2:69
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."
739 #: build/C/man2/request_key.2:74
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:"
746 #: build/C/man2/request_key.2:94
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>."
754 #: build/C/man2/request_key.2:100
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 "
762 #: build/C/man2/request_key.2:104
768 #: build/C/man2/request_key.2:107
769 msgid "The request was interrupted by a signal."
773 #: build/C/man2/request_key.2:114
774 msgid "An expired key was found, but no replacement could be obtained."
778 #: build/C/man2/request_key.2:117
779 msgid "The attempt to generate a new key was rejected."
783 #: build/C/man2/request_key.2:120
784 msgid "A revoked key was found, but no replacement could be obtained."
788 #: build/C/man2/request_key.2:126
789 msgid "No matching key was found."
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)"