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-06-08 01:29+0900\n"
10 "PO-Revision-Date: 2014-06-03 07:09+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, "
109 "that key will be updated rather than a new key being created; if not, a new "
110 "key 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:138 build/C/man2/keyctl.2:168
362 #: build/C/man2/request_key.2:147
365 #| "This page is part of release 3.67 of the Linux I<man-pages> project. A "
366 #| "description of the project, information about reporting bugs, and the "
367 #| "latest version of this page, can be found at \\%http://www.kernel.org/doc/"
370 "This page is part of release 3.68 of the Linux I<man-pages> project. A "
371 "description of the project, information about reporting bugs, and the latest "
372 "version of this page, can be found at \\%http://www.kernel.org/doc/man-"
375 "この man ページは Linux I<man-pages> プロジェクトのリリース 3.67 の一部\n"
376 "である。プロジェクトの説明とバグ報告に関する情報は\n"
377 "http://www.kernel.org/doc/man-pages/ に書かれている。"
380 #: build/C/man2/keyctl.2:27
386 #: build/C/man2/keyctl.2:27
392 #: build/C/man2/keyctl.2:30
393 msgid "keyctl - manipulate the kernel's key management facility"
397 #: build/C/man2/keyctl.2:35
399 msgid "B<long keyctl(int >I<cmd>B<, ...);>\n"
400 msgstr "B<long keyctl(int >I<cmd>B<, ...);>\n"
403 #: build/C/man2/keyctl.2:39
404 msgid "B<keyctl>() has a number of functions available:"
408 #: build/C/man2/keyctl.2:39
410 msgid "B<KEYCTL_GET_KEYRING_ID>"
411 msgstr "B<KEYCTL_GET_KEYRING_ID>"
414 #: build/C/man2/keyctl.2:42
415 msgid "Ask for a keyring's ID."
419 #: build/C/man2/keyctl.2:42
421 msgid "B<KEYCTL_JOIN_SESSION_KEYRING>"
422 msgstr "B<KEYCTL_JOIN_SESSION_KEYRING>"
425 #: build/C/man2/keyctl.2:45
426 msgid "Join or start named session keyring."
430 #: build/C/man2/keyctl.2:45
432 msgid "B<KEYCTL_UPDATE>"
433 msgstr "B<KEYCTL_UPDATE>"
436 #: build/C/man2/keyctl.2:48
437 msgid "Update a key."
441 #: build/C/man2/keyctl.2:48
443 msgid "B<KEYCTL_REVOKE>"
444 msgstr "B<KEYCTL_REVOKE>"
447 #: build/C/man2/keyctl.2:51
448 msgid "Revoke a key."
452 #: build/C/man2/keyctl.2:51
454 msgid "B<KEYCTL_CHOWN>"
455 msgstr "B<KEYCTL_CHOWN>"
458 #: build/C/man2/keyctl.2:54
459 msgid "Set ownership of a key."
463 #: build/C/man2/keyctl.2:54
465 msgid "B<KEYCTL_SETPERM>"
466 msgstr "B<KEYCTL_SETPERM>"
469 #: build/C/man2/keyctl.2:57
470 msgid "Set perms on a key."
474 #: build/C/man2/keyctl.2:57
476 msgid "B<KEYCTL_DESCRIBE>"
477 msgstr "B<KEYCTL_DESCRIBE>"
480 #: build/C/man2/keyctl.2:60
481 msgid "Describe a key."
485 #: build/C/man2/keyctl.2:60
487 msgid "B<KEYCTL_CLEAR>"
488 msgstr "B<KEYCTL_CLEAR>"
491 #: build/C/man2/keyctl.2:63
492 msgid "Clear contents of a keyring."
496 #: build/C/man2/keyctl.2:63
498 msgid "B<KEYCTL_LINK>"
499 msgstr "B<KEYCTL_LINK>"
502 #: build/C/man2/keyctl.2:66
503 msgid "Link a key into a keyring."
507 #: build/C/man2/keyctl.2:66
509 msgid "B<KEYCTL_UNLINK>"
510 msgstr "B<KEYCTL_UNLINK>"
513 #: build/C/man2/keyctl.2:69
514 msgid "Unlink a key from a keyring."
518 #: build/C/man2/keyctl.2:69
520 msgid "B<KEYCTL_SEARCH>"
521 msgstr "B<KEYCTL_SEARCH>"
524 #: build/C/man2/keyctl.2:72
525 msgid "Search for a key in a keyring."
529 #: build/C/man2/keyctl.2:72
531 msgid "B<KEYCTL_READ>"
532 msgstr "B<KEYCTL_READ>"
535 #: build/C/man2/keyctl.2:75
536 msgid "Read a key or keyring's contents."
540 #: build/C/man2/keyctl.2:75
542 msgid "B<KEYCTL_INSTANTIATE>"
543 msgstr "B<KEYCTL_INSTANTIATE>"
546 #: build/C/man2/keyctl.2:78
547 msgid "Instantiate a partially constructed key."
551 #: build/C/man2/keyctl.2:78
553 msgid "B<KEYCTL_NEGATE>"
554 msgstr "B<KEYCTL_NEGATE>"
557 #: build/C/man2/keyctl.2:81
558 msgid "Negate a partially constructed key."
562 #: build/C/man2/keyctl.2:81
564 msgid "B<KEYCTL_SET_REQKEY_KEYRING>"
565 msgstr "B<KEYCTL_SET_REQKEY_KEYRING>"
568 #: build/C/man2/keyctl.2:84
569 msgid "Set default request-key keyring."
573 #: build/C/man2/keyctl.2:84
575 msgid "B<KEYCTL_SET_TIMEOUT>"
576 msgstr "B<KEYCTL_SET_TIMEOUT>"
579 #: build/C/man2/keyctl.2:87
580 msgid "Set timeout on a key."
584 #: build/C/man2/keyctl.2:87
586 msgid "B<KEYCTL_ASSUME_AUTHORITY>"
587 msgstr "B<KEYCTL_ASSUME_AUTHORITY>"
590 #: build/C/man2/keyctl.2:90
591 msgid "Assume authority to instantiate key."
595 #: build/C/man2/keyctl.2:97
597 "These are wrapped by B<libkeyutils> into individual functions to permit "
598 "compiler the compiler to check types. See the B<See Also> section at the "
603 #: build/C/man2/keyctl.2:103
605 "On success B<keyctl>() returns the serial number of the key it found. On "
606 "error, the value -1 will be returned and errno will have been set to an "
611 #: build/C/man2/keyctl.2:107
612 msgid "A key operation wasn't permitted."
616 #: build/C/man2/keyctl.2:111
618 "The key quota for the caller's user would be exceeded by creating a key or "
619 "linking it to the keyring."
623 #: build/C/man2/keyctl.2:114
624 msgid "An expired key was found or specified."
628 #: build/C/man2/keyctl.2:114 build/C/man2/request_key.2:114
630 msgid "B<EKEYREJECTED>"
631 msgstr "B<EKEYREJECTED>"
634 #: build/C/man2/keyctl.2:117
635 msgid "A rejected key was found or specified."
639 #: build/C/man2/keyctl.2:120
640 msgid "A revoked key was found or specified."
644 #: build/C/man2/keyctl.2:123
645 msgid "No matching key was found or an invalid key was specified."
649 #: build/C/man2/keyctl.2:157
651 "B<keyctl>(1), B<add_key>(2), B<request_key>(2), B<keyctl_set_timeout>(3), "
652 "B<keyctl_chown>(3), B<keyctl_clear>(3), B<keyctl_describe>(3), "
653 "B<keyctl_describe_alloc>(3), B<keyctl_get_keyring_ID>(3), "
654 "B<keyctl_instantiate>(3), B<keyctl_join_session_keyring>(3), "
655 "B<keyctl_link>(3), B<keyctl_negate>(3), B<keyctl_revoke>(3), "
656 "B<keyctl_search>(3), B<keyctl_setperm>(3), B<keyctl_set_reqkey_keyring>(3), "
657 "B<keyctl_set_timeout>(3), B<keyctl_read>(3), B<keyctl_read_alloc>(3), "
658 "B<keyctl_unlink>(3), B<keyctl_update>(3), B<request-key>(8)"
662 #: build/C/man2/keyctl.2:160
663 msgid "The kernel source file I<Documentation/security/keys.txt>."
667 #: build/C/man2/request_key.2:11
673 #: build/C/man2/request_key.2:14
674 msgid "request_key - request a key from the kernel's key management facility"
678 #: build/C/man2/request_key.2:21
681 "B<key_serial_t request_key(const char *>I<type>B<, const char *>I<description>B<,>\n"
682 "B< const char *>I<callout_info>B<,>\n"
683 "B< key_serial_t >I<keyring>B<);>\n"
685 "B<key_serial_t request_key(const char *>I<type>B<, const char *>I<description>B<,>\n"
686 "B< const char *>I<callout_info>B<,>\n"
687 "B< key_serial_t >I<keyring>B<);>\n"
690 #: build/C/man2/request_key.2:31
692 "B<request_key>() asks the kernel to find a key of the given I<type> that "
693 "matches the specified I<description> and, if successful, to attach it to the "
694 "nominated I<keyring> and to return its serial number."
698 #: build/C/man2/request_key.2:36
700 "B<request_key>() first recursively searches all the keyrings attached to "
701 "the calling process in the order thread-specific keyring, process-specific "
702 "keyring and then session keyring for a matching key."
706 #: build/C/man2/request_key.2:44
708 "If B<request_key>() is called from a program invoked by B<request_key>() "
709 "on behalf of some other process to generate a key, then the keyrings of that "
710 "other process will be searched next, using that other process's UID, GID, "
711 "groups, and security context to control access."
715 #: build/C/man2/request_key.2:52
717 "The keys in each keyring searched are checked for a match before any child "
718 "keyrings are recursed into. Only keys that are B<searchable> for the caller "
719 "may be found, and only B<searchable> keyrings may be searched."
723 #: build/C/man2/request_key.2:61
725 "If the key is not found, then, if I<callout_info> is set, this function will "
726 "attempt to look further afield. In such a case, the I<callout_info> is "
727 "passed to a user-space service such as B</sbin/request-key> to generate the "
732 #: build/C/man2/request_key.2:69
734 "If that is unsuccessful also, then an error will be returned, and a "
735 "temporary negative key will be installed in the nominated I<keyring>. This "
736 "will expire after a few seconds, but will cause subsequent calls to "
737 "B<request_key>() to fail until it does."
741 #: build/C/man2/request_key.2:74
743 "The I<keyring> serial number may be that of a valid keyring to which the "
744 "caller has write permission, or it may be a special keyring ID:"
748 #: build/C/man2/request_key.2:94
750 "If a key is created, no matter whether it's a valid key or a negative key, "
751 "it will displace any other key of the same type and description from the "
752 "destination I<keyring>."
756 #: build/C/man2/request_key.2:100
758 "On success B<request_key>() returns the serial number of the key it found. "
759 "On error, the value -1 will be returned and errno will have been set to an "
764 #: build/C/man2/request_key.2:104
770 #: build/C/man2/request_key.2:107
771 msgid "The request was interrupted by a signal."
775 #: build/C/man2/request_key.2:114
776 msgid "An expired key was found, but no replacement could be obtained."
780 #: build/C/man2/request_key.2:117
781 msgid "The attempt to generate a new key was rejected."
785 #: build/C/man2/request_key.2:120
786 msgid "A revoked key was found, but no replacement could be obtained."
790 #: build/C/man2/request_key.2:126
791 msgid "No matching key was found."
795 #: build/C/man2/request_key.2:139
796 msgid "B<keyctl>(1), B<add_key>(2), B<keyctl>(2), B<request-key>(8)"
797 msgstr "B<keyctl>(1), B<add_key>(2), B<keyctl>(2), B<request-key>(8)"