#, fuzzy msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "POT-Creation-Date: 2014-06-26 13:13+0900\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. type: TH #: man-pages/man2/add_key.2:11 #, no-wrap msgid "ADD_KEY" msgstr "" #. type: TH #: man-pages/man2/add_key.2:11 #, no-wrap msgid "2010-02-25" msgstr "" #. type: TH #: man-pages/man2/add_key.2:11 #, no-wrap msgid "Linux" msgstr "" #. type: TH #: man-pages/man2/add_key.2:11 #, no-wrap msgid "Linux Key Management Calls" msgstr "" #. type: SH #: man-pages/man2/add_key.2:12 #, no-wrap msgid "NAME" msgstr "" #. type: Plain text #: man-pages/man2/add_key.2:14 msgid "add_key - add a key to the kernel's key management facility" msgstr "" #. type: SH #: man-pages/man2/add_key.2:14 #, no-wrap msgid "SYNOPSIS" msgstr "" #. type: Plain text #: man-pages/man2/add_key.2:17 #, no-wrap msgid "B<#include Ekeyutils.hE>\n" msgstr "" #. type: Plain text #: man-pages/man2/add_key.2:21 #, no-wrap msgid "" "BIB<, const char " "*>IB<,>\n" "B< const void *>IB<, size_t >IB<,>\n" "B< key_serial_t >IB<);>\n" msgstr "" #. type: SH #: man-pages/man2/add_key.2:22 #, no-wrap msgid "DESCRIPTION" msgstr "" #. type: Plain text #: man-pages/man2/add_key.2:35 msgid "" "B() asks the kernel to create or update a key of the given I " "and I, instantiate it with the I of length I, " "and to attach it to the nominated I and to return its serial number." "" msgstr "" #. type: Plain text #: man-pages/man2/add_key.2:38 msgid "" "The key type may reject the data if it's in the wrong format or in some " "other way invalid." msgstr "" #. type: Plain text #: man-pages/man2/add_key.2:46 msgid "" "If the destination I already contains a key that matches the " "specified I and I then, if the key type supports it, " "that key will be updated rather than a new key being created; if not, a new " "key will be created and it will displace the link to the extant key from the " "keyring." msgstr "" #. type: Plain text #: man-pages/man2/add_key.2:51 msgid "" "The destination I serial number may be that of a valid keyring to " "which the caller has write permission, or it may be a special keyring ID:" msgstr "" #. type: TP #: man-pages/man2/add_key.2:51 #, no-wrap msgid "B" msgstr "" #. type: Plain text #: man-pages/man2/add_key.2:54 msgid "This specifies the caller's thread-specific keyring." msgstr "" #. type: TP #: man-pages/man2/add_key.2:54 #, no-wrap msgid "B" msgstr "" #. type: Plain text #: man-pages/man2/add_key.2:57 msgid "This specifies the caller's process-specific keyring." msgstr "" #. type: TP #: man-pages/man2/add_key.2:57 #, no-wrap msgid "B" msgstr "" #. type: Plain text #: man-pages/man2/add_key.2:60 msgid "This specifies the caller's session-specific keyring." msgstr "" #. type: TP #: man-pages/man2/add_key.2:60 #, no-wrap msgid "B" msgstr "" #. type: Plain text #: man-pages/man2/add_key.2:63 msgid "This specifies the caller's UID-specific keyring." msgstr "" #. type: TP #: man-pages/man2/add_key.2:63 #, no-wrap msgid "B" msgstr "" #. type: Plain text #: man-pages/man2/add_key.2:66 msgid "This specifies the caller's UID-session keyring." msgstr "" #. type: SH #: man-pages/man2/add_key.2:66 #, no-wrap msgid "KEY TYPES" msgstr "" #. type: Plain text #: man-pages/man2/add_key.2:69 msgid "" "There are a number of key types available in the core key management code, " "and these can be specified to this function:" msgstr "" #. type: TP #: man-pages/man2/add_key.2:69 #, no-wrap msgid "B<``user''>" msgstr "" #. type: Plain text #: man-pages/man2/add_key.2:80 msgid "" "Keys of the user-defined key type may contain a blob of arbitrary data, and " "the I may be any valid string, though it is preferred that the " "description be prefixed with a string representing the service to which the " "key is of interest and a colon (for instance ``B''). The " "I may be empty or NULL for keys of this type." msgstr "" #. type: TP #: man-pages/man2/add_key.2:80 #, no-wrap msgid "B<``keyring''>" msgstr "" #. type: Plain text #: man-pages/man2/add_key.2:89 msgid "" "Keyrings are special key types that may contain links to sequences of other " "keys of any type. If this interface is used to create a keyring, then a " "NULL I should be specified, and I should be zero." msgstr "" #. type: SH #: man-pages/man2/add_key.2:89 #, no-wrap msgid "RETURN VALUE" msgstr "" #. type: Plain text #: man-pages/man2/add_key.2:95 msgid "" "On success B() returns the serial number of the key it created or " "updated. On error, the value -1 will be returned and errno will have been " "set to an appropriate error." msgstr "" #. type: SH #: man-pages/man2/add_key.2:95 #, no-wrap msgid "ERRORS" msgstr "" #. type: TP #: man-pages/man2/add_key.2:96 #, no-wrap msgid "B" msgstr "" #. type: Plain text #: man-pages/man2/add_key.2:99 msgid "The keyring doesn't exist." msgstr "" #. type: TP #: man-pages/man2/add_key.2:99 #, no-wrap msgid "B" msgstr "" #. type: Plain text #: man-pages/man2/add_key.2:102 msgid "The keyring has expired." msgstr "" #. type: TP #: man-pages/man2/add_key.2:102 #, no-wrap msgid "B" msgstr "" #. type: Plain text #: man-pages/man2/add_key.2:105 msgid "The keyring has been revoked." msgstr "" #. type: TP #: man-pages/man2/add_key.2:105 #, no-wrap msgid "B" msgstr "" #. type: Plain text #: man-pages/man2/add_key.2:108 msgid "The payload data was invalid." msgstr "" #. type: TP #: man-pages/man2/add_key.2:108 #, no-wrap msgid "B" msgstr "" #. type: Plain text #: man-pages/man2/add_key.2:111 msgid "Insufficient memory to create a key." msgstr "" #. type: TP #: man-pages/man2/add_key.2:111 #, no-wrap msgid "B" msgstr "" #. type: Plain text #: man-pages/man2/add_key.2:115 msgid "" "The key quota for this user would be exceeded by creating this key or " "linking it to the keyring." msgstr "" #. type: TP #: man-pages/man2/add_key.2:115 #, no-wrap msgid "B" msgstr "" #. type: Plain text #: man-pages/man2/add_key.2:118 msgid "The keyring wasn't available for modification by the user." msgstr "" #. type: SH #: man-pages/man2/add_key.2:118 #, no-wrap msgid "LINKING" msgstr "" #. type: Plain text #: man-pages/man2/add_key.2:126 msgid "" "Although this is a Linux system call, it is not present in I but can " "be found rather in I. When linking, B<-lkeyutils> should be " "specified to the linker." msgstr "" #. type: SH #: man-pages/man2/add_key.2:126 #, no-wrap msgid "SEE ALSO" msgstr "" #. type: Plain text #: man-pages/man2/add_key.2:130 msgid "B(1), B(2), B(2)" msgstr "" #. type: SH #: man-pages/man2/add_key.2:130 #, no-wrap msgid "COLOPHON" msgstr "" #. type: Plain text #: man-pages/man2/add_key.2:138 msgid "" "This page is part of release 3.68 of the Linux I project. A " "description of the project, information about reporting bugs, and the latest " "version of this page, can be found at \\%http://www.kernel.org/doc/man-pages/" "." msgstr ""