| 1 |
# Russian translation of manpages |
| 2 |
# This file is distributed under the same license as the manpages-l10n package. |
| 3 |
# Copyright © of this file: |
| 4 |
# Dmitry Bolkhovskikh <[email protected]>, 2017. |
| 5 |
# Yuri Kozlov <[email protected]>, 2012-2019. |
| 6 |
msgid "" |
| 7 |
msgstr "" |
| 8 |
"Project-Id-Version: manpages-l10n\n" |
| 9 |
"POT-Creation-Date: 2026-06-05 06:17+0200\n" |
| 10 |
"PO-Revision-Date: 2024-12-21 19:49+0300\n" |
| 11 |
"Last-Translator: Yuri Kozlov <[email protected]>\n" |
| 12 |
"Language-Team: Russian <[email protected]>\n" |
| 13 |
"Language: ru\n" |
| 14 |
"MIME-Version: 1.0\n" |
| 15 |
"Content-Type: text/plain; charset=UTF-8\n" |
| 16 |
"Content-Transfer-Encoding: 8bit\n" |
| 17 |
"Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && " |
| 18 |
"n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || " |
| 19 |
"(n%100>=11 && n%100<=14)? 2 : 3);\n" |
| 20 |
"X-Generator: Lokalize 2.0\n" |
| 21 |
|
| 22 |
#. type: TH |
| 23 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 24 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 25 |
#, no-wrap |
| 26 |
msgid "add_key" |
| 27 |
msgstr "add_key" |
| 28 |
|
| 29 |
#. type: TH |
| 30 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 31 |
#: opensuse-tumbleweed |
| 32 |
#, no-wrap |
| 33 |
msgid "2026-02-08" |
| 34 |
msgstr "8 февраля 2026 г." |
| 35 |
|
| 36 |
#. type: TH |
| 37 |
#: archlinux debian-unstable |
| 38 |
#, fuzzy, no-wrap |
| 39 |
#| msgid "Linux man-pages 6.17" |
| 40 |
msgid "Linux man-pages 6.18" |
| 41 |
msgstr "Справочные страницы Linux 6.17" |
| 42 |
|
| 43 |
#. type: SH |
| 44 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 45 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 46 |
#, no-wrap |
| 47 |
msgid "NAME" |
| 48 |
msgstr "НАИМЕНОВАНИЕ" |
| 49 |
|
| 50 |
#. type: Plain text |
| 51 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 52 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 53 |
msgid "add_key - add a key to the kernel's key management facility" |
| 54 |
msgstr "add_key - добавить ключ в систему управления ключами ядра" |
| 55 |
|
| 56 |
#. type: SH |
| 57 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 58 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 59 |
#, no-wrap |
| 60 |
msgid "LIBRARY" |
| 61 |
msgstr "БИБЛИОТЕКА" |
| 62 |
|
| 63 |
#. type: Plain text |
| 64 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 65 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 66 |
msgid "Standard C library (I<libc>,\\ I<-lc>)" |
| 67 |
msgstr "Стандартная библиотека языка C (I<libc>,\\ I<-lc>)" |
| 68 |
|
| 69 |
#. type: SH |
| 70 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 71 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 72 |
#, no-wrap |
| 73 |
msgid "SYNOPSIS" |
| 74 |
msgstr "СИНТАКСИС" |
| 75 |
|
| 76 |
#. type: Plain text |
| 77 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 78 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 79 |
#, no-wrap |
| 80 |
msgid "B<#include E<lt>keyutils.hE<gt>>\n" |
| 81 |
msgstr "B<#include E<lt>keyutils.hE<gt>>\n" |
| 82 |
|
| 83 |
#. type: Plain text |
| 84 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 85 |
#: opensuse-tumbleweed |
| 86 |
#, fuzzy, no-wrap |
| 87 |
#| msgid "" |
| 88 |
#| "B<key_serial_t add_key(const char *>I<type>B<, const char *>I<description>B<,>\n" |
| 89 |
#| "B< const void >I<payload>B<[.>I<plen>B<], size_t >I<plen>B<,>\n" |
| 90 |
#| "B< key_serial_t >I<keyring>B<);>\n" |
| 91 |
msgid "" |
| 92 |
"B<key_serial_t add_key(>size_t size;\n" |
| 93 |
"B< const char *>I<type>B<, const char *>I<description>B<,>\n" |
| 94 |
"B< const void >I<payload>B<[>I<size>B<], size_t >I<size>B<,>\n" |
| 95 |
"B< key_serial_t >I<keyring>B<);>\n" |
| 96 |
msgstr "" |
| 97 |
"B<key_serial_t add_key(const char *>I<type>B<, const char *>I<description>B<,>\n" |
| 98 |
"B< const void >I<payload>B<[.>I<plen>B<], size_t >I<plen>B<,>\n" |
| 99 |
"B< key_serial_t >I<keyring>B<);>\n" |
| 100 |
|
| 101 |
#. type: Plain text |
| 102 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 103 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 104 |
msgid "I<Note>: There is no glibc wrapper for this system call; see NOTES." |
| 105 |
msgstr "" |
| 106 |
"I<Замечание>: В glibc нет обёрточной функции для данного системного вызова; " |
| 107 |
"смотрите ЗАМЕЧАНИЯ." |
| 108 |
|
| 109 |
#. type: SH |
| 110 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 111 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 112 |
#, no-wrap |
| 113 |
msgid "DESCRIPTION" |
| 114 |
msgstr "ОПИСАНИЕ" |
| 115 |
|
| 116 |
#. type: Plain text |
| 117 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 118 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 119 |
#, fuzzy |
| 120 |
#| msgid "" |
| 121 |
#| "B<add_key>() creates or updates a key of the given I<type> and " |
| 122 |
#| "I<description>, instantiates it with the I<payload> of length I<plen>, " |
| 123 |
#| "attaches it to the nominated I<keyring>, and returns the key's serial " |
| 124 |
#| "number." |
| 125 |
msgid "" |
| 126 |
"B<add_key>() creates or updates a key of the given I<type> and " |
| 127 |
"I<description>, instantiates it with the I<payload> of size I<size>, " |
| 128 |
"attaches it to the nominated I<keyring>, and returns the key's serial number." |
| 129 |
msgstr "" |
| 130 |
"Вызов B<add_key>() создаёт или обновляет ключ заданного типа I<type> с " |
| 131 |
"описанием I<description>, конструирует его с полезными данными I<payload> и " |
| 132 |
"длиной I<plen>, присоединяет его к заданной связке ключей I<keyring> и " |
| 133 |
"возвращает его серийный номер." |
| 134 |
|
| 135 |
#. type: Plain text |
| 136 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 137 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 138 |
msgid "" |
| 139 |
"The key may be rejected if the provided data is in the wrong format or it is " |
| 140 |
"invalid in some other way." |
| 141 |
msgstr "" |
| 142 |
"Ключ может быть отклонён, если его данные представлены в неправильном " |
| 143 |
"формате или возникла другая ошибка." |
| 144 |
|
| 145 |
#. #-#-#-#-# archlinux: add_key.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 146 |
#. FIXME The aforementioned phrases begs the question: |
| 147 |
#. which key types support this? |
| 148 |
#. FIXME Perhaps elaborate the implications here? Namely, the new |
| 149 |
#. key will have a new ID, and if the old key was a keyring that |
| 150 |
#. is consequently unlinked, then keys that it was anchoring |
| 151 |
#. will have their reference count decreased by one (and may |
| 152 |
#. consequently be garbage collected). Is this all correct? |
| 153 |
#. type: Plain text |
| 154 |
#. #-#-#-#-# debian-trixie: add_key.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 155 |
#. FIXME The aforementioned phrases begs the question: |
| 156 |
#. which key types support this? |
| 157 |
#. FIXME Perhaps elaborate the implications here? Namely, the new |
| 158 |
#. key will have a new ID, and if the old key was a keyring that |
| 159 |
#. is consequently unlinked, then keys that it was anchoring |
| 160 |
#. will have their reference count decreased by one (and may |
| 161 |
#. consequently be garbage collected). Is this all correct? |
| 162 |
#. type: Plain text |
| 163 |
#. #-#-#-#-# debian-unstable: add_key.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 164 |
#. FIXME The aforementioned phrases begs the question: |
| 165 |
#. which key types support this? |
| 166 |
#. FIXME Perhaps elaborate the implications here? Namely, the new |
| 167 |
#. key will have a new ID, and if the old key was a keyring that |
| 168 |
#. is consequently unlinked, then keys that it was anchoring |
| 169 |
#. will have their reference count decreased by one (and may |
| 170 |
#. consequently be garbage collected). Is this all correct? |
| 171 |
#. type: Plain text |
| 172 |
#. #-#-#-#-# fedora-44: add_key.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 173 |
#. FIXME The aforementioned phrases begs the question: |
| 174 |
#. which key types support this? |
| 175 |
#. FIXME Perhaps elaborate the implications here? Namely, the new |
| 176 |
#. key will have a new ID, and if the old key was a keyring that |
| 177 |
#. is consequently unlinked, then keys that it was anchoring |
| 178 |
#. will have their reference count decreased by one (and may |
| 179 |
#. consequently be garbage collected). Is this all correct? |
| 180 |
#. type: Plain text |
| 181 |
#. #-#-#-#-# fedora-rawhide: add_key.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 182 |
#. FIXME The aforementioned phrases begs the question: |
| 183 |
#. which key types support this? |
| 184 |
#. FIXME Perhaps elaborate the implications here? Namely, the new |
| 185 |
#. key will have a new ID, and if the old key was a keyring that |
| 186 |
#. is consequently unlinked, then keys that it was anchoring |
| 187 |
#. will have their reference count decreased by one (and may |
| 188 |
#. consequently be garbage collected). Is this all correct? |
| 189 |
#. type: Plain text |
| 190 |
#. #-#-#-#-# mageia-cauldron: add_key.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 191 |
#. FIXME The aforementioned phrases begs the question: |
| 192 |
#. which key types support this? |
| 193 |
#. FIXME Perhaps elaborate the implications here? Namely, the new |
| 194 |
#. key will have a new ID, and if the old key was a keyring that |
| 195 |
#. is consequently unlinked, then keys that it was anchoring |
| 196 |
#. will have their reference count decreased by one (and may |
| 197 |
#. consequently be garbage collected). Is this all correct? |
| 198 |
#. type: Plain text |
| 199 |
#. #-#-#-#-# opensuse-leap-16-1: add_key.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 200 |
#. FIXME The aforementioned phrases begs the question: |
| 201 |
#. which key types support this? |
| 202 |
#. FIXME Perhaps elaborate the implications here? Namely, the new |
| 203 |
#. key will have a new ID, and if the old key was a keyring that |
| 204 |
#. is consequently unlinked, then keys that it was anchoring |
| 205 |
#. will have their reference count decreased by one (and may |
| 206 |
#. consequently be garbage collected). Is this all correct? |
| 207 |
#. type: Plain text |
| 208 |
#. #-#-#-#-# opensuse-tumbleweed: add_key.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 209 |
#. FIXME The aforementioned phrases begs the question: |
| 210 |
#. which key types support this? |
| 211 |
#. FIXME Perhaps elaborate the implications here? Namely, the new |
| 212 |
#. key will have a new ID, and if the old key was a keyring that |
| 213 |
#. is consequently unlinked, then keys that it was anchoring |
| 214 |
#. will have their reference count decreased by one (and may |
| 215 |
#. consequently be garbage collected). Is this all correct? |
| 216 |
#. type: Plain text |
| 217 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 218 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 219 |
msgid "" |
| 220 |
"If the destination I<keyring> already contains a key that matches the " |
| 221 |
"specified I<type> and I<description>, then, if the key type supports it, " |
| 222 |
"that key will be updated rather than a new key being created; if not, a new " |
| 223 |
"key (with a different ID) will be created and it will displace the link to " |
| 224 |
"the extant key from the keyring." |
| 225 |
msgstr "" |
| 226 |
"Если в указываемой связке ключей I<keyring> уже есть ключ с таким же I<type> " |
| 227 |
"и I<description> то, если тип ключа это поддерживает, ключ будет обновлён, а " |
| 228 |
"не создан заново; если нет, то будет создан новый ключ (с другим " |
| 229 |
"идентификатором) и он вытеснит ссылку на существующий ключ из связки." |
| 230 |
|
| 231 |
#. FIXME . Perhaps have a separate page describing special keyring IDs? |
| 232 |
#. type: Plain text |
| 233 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 234 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 235 |
msgid "" |
| 236 |
"The destination I<keyring> serial number may be that of a valid keyring for " |
| 237 |
"which the caller has I<write> permission. Alternatively, it may be one of " |
| 238 |
"the following special keyring IDs:" |
| 239 |
msgstr "" |
| 240 |
"Связка ключей I<keyring> может задаваться серийным номером действующей " |
| 241 |
"связки ключей, для которой у вызывающего есть права на I<запись>. Или же это " |
| 242 |
"может быть один из следующих специальных идентификаторов связок ключей:" |
| 243 |
|
| 244 |
#. type: TP |
| 245 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 246 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 247 |
#, no-wrap |
| 248 |
msgid "B<KEY_SPEC_THREAD_KEYRING>" |
| 249 |
msgstr "B<KEY_SPEC_THREAD_KEYRING>" |
| 250 |
|
| 251 |
#. type: Plain text |
| 252 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 253 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 254 |
msgid "" |
| 255 |
"This specifies the caller's thread-specific keyring (B<thread-keyring>(7))." |
| 256 |
msgstr "Связка ключей вызывающей нити (B<thread-keyring>(7))." |
| 257 |
|
| 258 |
#. type: TP |
| 259 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 260 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 261 |
#, no-wrap |
| 262 |
msgid "B<KEY_SPEC_PROCESS_KEYRING>" |
| 263 |
msgstr "B<KEY_SPEC_PROCESS_KEYRING>" |
| 264 |
|
| 265 |
#. type: Plain text |
| 266 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 267 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 268 |
msgid "" |
| 269 |
"This specifies the caller's process-specific keyring (B<process-keyring>(7))." |
| 270 |
msgstr "Связка ключей вызывающего процесса (B<process-keyring>(7))." |
| 271 |
|
| 272 |
#. type: TP |
| 273 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 274 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 275 |
#, no-wrap |
| 276 |
msgid "B<KEY_SPEC_SESSION_KEYRING>" |
| 277 |
msgstr "B<KEY_SPEC_SESSION_KEYRING>" |
| 278 |
|
| 279 |
#. type: Plain text |
| 280 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 281 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 282 |
msgid "" |
| 283 |
"This specifies the caller's session-specific keyring (B<session-keyring>(7))." |
| 284 |
msgstr "Связка ключей сеанса вызывающего (B<session-keyring>(7))." |
| 285 |
|
| 286 |
#. type: TP |
| 287 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 288 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 289 |
#, no-wrap |
| 290 |
msgid "B<KEY_SPEC_USER_KEYRING>" |
| 291 |
msgstr "B<KEY_SPEC_USER_KEYRING>" |
| 292 |
|
| 293 |
#. type: Plain text |
| 294 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 295 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 296 |
msgid "This specifies the caller's UID-specific keyring (B<user-keyring>(7))." |
| 297 |
msgstr "Связка ключей по UID вызывающего (B<user-keyring>(7))." |
| 298 |
|
| 299 |
#. type: TP |
| 300 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 301 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 302 |
#, no-wrap |
| 303 |
msgid "B<KEY_SPEC_USER_SESSION_KEYRING>" |
| 304 |
msgstr "B<KEY_SPEC_USER_SESSION_KEYRING>" |
| 305 |
|
| 306 |
#. type: Plain text |
| 307 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 308 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 309 |
msgid "" |
| 310 |
"This specifies the caller's UID-session keyring (B<user-session-keyring>(7))." |
| 311 |
msgstr "Связка ключей по UID сеанса вызывающего (B<user-session-keyring>(7))." |
| 312 |
|
| 313 |
#. type: SS |
| 314 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 315 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 316 |
#, no-wrap |
| 317 |
msgid "Key types" |
| 318 |
msgstr "Типы ключей" |
| 319 |
|
| 320 |
#. type: Plain text |
| 321 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 322 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 323 |
msgid "" |
| 324 |
"The key I<type> is a string that specifies the key's type. Internally, the " |
| 325 |
"kernel defines a number of key types that are available in the core key " |
| 326 |
"management code. Among the types that are available for user-space use and " |
| 327 |
"can be specified as the I<type> argument to B<add_key>() are the following:" |
| 328 |
msgstr "" |
| 329 |
"Значение I<type> ключа представляет собой строку, которой определяется тип " |
| 330 |
"ключа. Внутри ядра определено несколько типов ключей, которые доступны в " |
| 331 |
"ядре кода управления ключами. В пользовательском пространстве в аргументе " |
| 332 |
"I<type> при вызове B<add_key>() можно использовать следующие значения:" |
| 333 |
|
| 334 |
#. type: TP |
| 335 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 336 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 337 |
#, no-wrap |
| 338 |
msgid "I<\\[dq]keyring\\[dq]>" |
| 339 |
msgstr "I<\\[dq]keyring\\[dq]>" |
| 340 |
|
| 341 |
#. type: Plain text |
| 342 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 343 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 344 |
#, fuzzy |
| 345 |
#| msgid "" |
| 346 |
#| "Keyrings are special key types that may contain links to sequences of " |
| 347 |
#| "other keys of any type. If this interface is used to create a keyring, " |
| 348 |
#| "then I<payload> should be NULL and I<plen> should be zero." |
| 349 |
msgid "" |
| 350 |
"Keyrings are special key types that may contain links to sequences of other " |
| 351 |
"keys of any type. If this interface is used to create a keyring, then " |
| 352 |
"I<payload> should be NULL and I<size> should be zero." |
| 353 |
msgstr "" |
| 354 |
"Связки ключей — это специальные типы ключей, которые могут содержать ссылки " |
| 355 |
"на цепочки других ключей любого типа. Если данный интерфейс используется для " |
| 356 |
"создания связки ключей, то значение I<payload> должно быть равно NULL, а " |
| 357 |
"I<plen> должно быть равно нулю." |
| 358 |
|
| 359 |
#. type: TP |
| 360 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 361 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 362 |
#, no-wrap |
| 363 |
msgid "I<\\[dq]user\\[dq]>" |
| 364 |
msgstr "I<\\[dq]user\\[dq]>" |
| 365 |
|
| 366 |
#. type: Plain text |
| 367 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 368 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 369 |
msgid "" |
| 370 |
"This is a general purpose key type whose payload may be read and updated by " |
| 371 |
"user-space applications. The key is kept entirely within kernel memory. " |
| 372 |
"The payload for keys of this type is a blob of arbitrary data of up to " |
| 373 |
"32,767 bytes." |
| 374 |
msgstr "" |
| 375 |
"Тип ключа общего назначения, чьи полезные данные можно читать и обновлять из " |
| 376 |
"пользовательских программ. Ключ полностью хранится в памяти ядра. Полезные " |
| 377 |
"данные ключей этого типа представляют собой данные произвольной структуры " |
| 378 |
"(blob) размером до 32767 байт." |
| 379 |
|
| 380 |
#. type: TP |
| 381 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 382 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 383 |
#, no-wrap |
| 384 |
msgid "I<\\[dq]logon\\[dq]> (since Linux 3.3)" |
| 385 |
msgstr "I<\\[dq]logon\\[dq]> (начиная с Linux 3.3)" |
| 386 |
|
| 387 |
#. commit 9f6ed2ca257fa8650b876377833e6f14e272848b |
| 388 |
#. type: Plain text |
| 389 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 390 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 391 |
#, fuzzy |
| 392 |
#| msgid "" |
| 393 |
#| "This key type is essentially the same as I<\"user\">, but it does not " |
| 394 |
#| "permit the key to read. This is suitable for storing payloads that you " |
| 395 |
#| "do not want to be readable from user space." |
| 396 |
msgid "" |
| 397 |
"This key type is essentially the same as I<\\[dq]user\\[dq]>, but it does " |
| 398 |
"not permit the key to read. This is suitable for storing payloads that you " |
| 399 |
"do not want to be readable from user space." |
| 400 |
msgstr "" |
| 401 |
"Данный тип ключа подобен I<\"user\">, но не позволяет читать ключ. Этот тип " |
| 402 |
"подходит для хранения полезных данных, которые вам не нужно читать из " |
| 403 |
"пользовательского пространства." |
| 404 |
|
| 405 |
#. type: Plain text |
| 406 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 407 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 408 |
msgid "" |
| 409 |
"This key type vets the I<description> to ensure that it is qualified by a " |
| 410 |
"\"service\" prefix, by checking to ensure that the I<description> contains a " |
| 411 |
"':' that is preceded by other characters." |
| 412 |
msgstr "" |
| 413 |
"Для данного типа ключа значение I<description> должно уточняться префиксом " |
| 414 |
"«service», который в I<description> отделяется символом «:» от остальных " |
| 415 |
"символов." |
| 416 |
|
| 417 |
#. type: TP |
| 418 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 419 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 420 |
#, no-wrap |
| 421 |
msgid "I<\\[dq]big_key\\[dq]> (since Linux 3.13)" |
| 422 |
msgstr "I<\\[dq]big_key\\[dq]> (начиная с Linux 3.13)" |
| 423 |
|
| 424 |
#. commit ab3c3587f8cda9083209a61dbe3a4407d3cada10 |
| 425 |
#. type: Plain text |
| 426 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 427 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 428 |
#, fuzzy |
| 429 |
#| msgid "" |
| 430 |
#| "This key type is similar to I<\"user\">, but may hold a payload of up to " |
| 431 |
#| "1\\ MiB. If the key payload is large enough, then it may be stored " |
| 432 |
#| "encrypted in tmpfs (which can be swapped out) rather than kernel memory." |
| 433 |
msgid "" |
| 434 |
"This key type is similar to I<\\[dq]user\\[dq]>, but may hold a payload of " |
| 435 |
"up to 1\\ MiB. If the key payload is large enough, then it may be stored " |
| 436 |
"encrypted in tmpfs (which can be swapped out) rather than kernel memory." |
| 437 |
msgstr "" |
| 438 |
"Данный тип ключа подобен I<\"user\">, но может содержать полезные данные " |
| 439 |
"размером до 1\\ МиБ. Если полезной нагрузки много, то её можно хранить " |
| 440 |
"зашифрованной в tmpfs (может вытесняться из памяти), а не в памяти ядра." |
| 441 |
|
| 442 |
#. type: Plain text |
| 443 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 444 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 445 |
msgid "For further details on these key types, see B<keyrings>(7)." |
| 446 |
msgstr "" |
| 447 |
"Дополнительную информацию об этих типах ключей смотрите в B<keyrings>(7)." |
| 448 |
|
| 449 |
#. type: SH |
| 450 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 451 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 452 |
#, no-wrap |
| 453 |
msgid "RETURN VALUE" |
| 454 |
msgstr "ВОЗВРАЩАЕМОЕ ЗНАЧЕНИЕ" |
| 455 |
|
| 456 |
#. type: Plain text |
| 457 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 458 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 459 |
#, fuzzy |
| 460 |
#| msgid "" |
| 461 |
#| "On success, B<add_key>() returns the serial number of the key it created " |
| 462 |
#| "or updated. On error, -1 is returned and I<errno> is set to indicate the " |
| 463 |
#| "cause of the error." |
| 464 |
msgid "" |
| 465 |
"On success, B<add_key>() returns the serial number of the key it created or " |
| 466 |
"updated. On error, -1 is returned and I<errno> is set to indicate the error." |
| 467 |
msgstr "" |
| 468 |
"При успешном выполнении B<add_key>() возвращается серийный номер созданного " |
| 469 |
"или изменённого ключа. При ошибке возвращается -1, а в I<errno> содержится " |
| 470 |
"код ошибки." |
| 471 |
|
| 472 |
#. type: SH |
| 473 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 474 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 475 |
#, no-wrap |
| 476 |
msgid "ERRORS" |
| 477 |
msgstr "ОШИБКИ" |
| 478 |
|
| 479 |
#. type: TP |
| 480 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 481 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 482 |
#, no-wrap |
| 483 |
msgid "B<EACCES>" |
| 484 |
msgstr "B<EACCES>" |
| 485 |
|
| 486 |
#. type: Plain text |
| 487 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 488 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 489 |
msgid "The keyring wasn't available for modification by the user." |
| 490 |
msgstr "Изменение связки ключей пользователю недоступно." |
| 491 |
|
| 492 |
#. type: TP |
| 493 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 494 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 495 |
#, no-wrap |
| 496 |
msgid "B<EDQUOT>" |
| 497 |
msgstr "B<EDQUOT>" |
| 498 |
|
| 499 |
#. type: Plain text |
| 500 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 501 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 502 |
msgid "" |
| 503 |
"The key quota for this user would be exceeded by creating this key or " |
| 504 |
"linking it to the keyring." |
| 505 |
msgstr "" |
| 506 |
"Квота на ключи для данного пользователя была бы превышена, если бы этот ключ " |
| 507 |
"создался или был бы прицеплен в связку ключей." |
| 508 |
|
| 509 |
#. type: TP |
| 510 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 511 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 512 |
#, no-wrap |
| 513 |
msgid "B<EFAULT>" |
| 514 |
msgstr "B<EFAULT>" |
| 515 |
|
| 516 |
#. type: Plain text |
| 517 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 518 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 519 |
msgid "" |
| 520 |
"One or more of I<type>, I<description>, and I<payload> points outside " |
| 521 |
"process's accessible address space." |
| 522 |
msgstr "" |
| 523 |
"Значение одного или нескольких полей из I<type>, I<description> и I<payload> " |
| 524 |
"указывают вне доступного адресного пространства процесса." |
| 525 |
|
| 526 |
#. type: TP |
| 527 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 528 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 529 |
#, no-wrap |
| 530 |
msgid "B<EINVAL>" |
| 531 |
msgstr "B<EINVAL>" |
| 532 |
|
| 533 |
#. type: Plain text |
| 534 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 535 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 536 |
msgid "" |
| 537 |
"The size of the string (including the terminating null byte) specified in " |
| 538 |
"I<type> or I<description> exceeded the limit (32 bytes and 4096 bytes " |
| 539 |
"respectively)." |
| 540 |
msgstr "" |
| 541 |
"Размер строки (включая конечный байт null), заданной в I<type> или " |
| 542 |
"I<description>, превышает ограничение (32 байта и 4096 байт, соответственно)." |
| 543 |
|
| 544 |
#. type: Plain text |
| 545 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 546 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 547 |
msgid "The payload data was invalid." |
| 548 |
msgstr "Некорректное значение полезных данных." |
| 549 |
|
| 550 |
#. type: Plain text |
| 551 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 552 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 553 |
#, fuzzy |
| 554 |
#| msgid "" |
| 555 |
#| "I<type> was I<\"logon\"> and the I<description> was not qualified with a " |
| 556 |
#| "prefix string of the form I<\"service:\">." |
| 557 |
msgid "" |
| 558 |
"I<type> was I<\\[dq]logon\\[dq]> and the I<description> was not qualified " |
| 559 |
"with a prefix string of the form I<\\[dq]service:\\[dq]>." |
| 560 |
msgstr "" |
| 561 |
"Значение I<type> равно I<\"logon\">, но значение I<description> не " |
| 562 |
"начинается строкой-префиксом в виде I<\"service:\">." |
| 563 |
|
| 564 |
#. type: TP |
| 565 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 566 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 567 |
#, no-wrap |
| 568 |
msgid "B<EKEYEXPIRED>" |
| 569 |
msgstr "B<EKEYEXPIRED>" |
| 570 |
|
| 571 |
#. type: Plain text |
| 572 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 573 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 574 |
msgid "The keyring has expired." |
| 575 |
msgstr "Срок службы связки ключей истёк." |
| 576 |
|
| 577 |
#. type: TP |
| 578 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 579 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 580 |
#, no-wrap |
| 581 |
msgid "B<EKEYREVOKED>" |
| 582 |
msgstr "B<EKEYREVOKED>" |
| 583 |
|
| 584 |
#. type: Plain text |
| 585 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 586 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 587 |
msgid "The keyring has been revoked." |
| 588 |
msgstr "Связка ключей отозвана." |
| 589 |
|
| 590 |
#. type: TP |
| 591 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 592 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 593 |
#, no-wrap |
| 594 |
msgid "B<ENOKEY>" |
| 595 |
msgstr "B<ENOKEY>" |
| 596 |
|
| 597 |
#. type: Plain text |
| 598 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 599 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 600 |
msgid "The keyring doesn't exist." |
| 601 |
msgstr "Связка ключей не существует." |
| 602 |
|
| 603 |
#. type: TP |
| 604 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 605 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 606 |
#, no-wrap |
| 607 |
msgid "B<ENOMEM>" |
| 608 |
msgstr "B<ENOMEM>" |
| 609 |
|
| 610 |
#. type: Plain text |
| 611 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 612 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 613 |
msgid "Insufficient memory to create a key." |
| 614 |
msgstr "Недостаточно памяти для создания ключа." |
| 615 |
|
| 616 |
#. type: TP |
| 617 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 618 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 619 |
#, no-wrap |
| 620 |
msgid "B<EPERM>" |
| 621 |
msgstr "B<EPERM>" |
| 622 |
|
| 623 |
#. type: Plain text |
| 624 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 625 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 626 |
#, fuzzy |
| 627 |
#| msgid "" |
| 628 |
#| "The I<type> started with a period (\\(aq.\\(aq). Key types that begin " |
| 629 |
#| "with a period are reserved to the implementation." |
| 630 |
msgid "" |
| 631 |
"The I<type> started with a period (\\[aq].\\[aq]). Key types that begin " |
| 632 |
"with a period are reserved to the implementation." |
| 633 |
msgstr "" |
| 634 |
"Значение I<type> начинается с точки (\\(aq.\\(aq). Типы ключей, начинающиеся " |
| 635 |
"с точки, зарезервированы для использования в реализации." |
| 636 |
|
| 637 |
#. type: Plain text |
| 638 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 639 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 640 |
#, fuzzy |
| 641 |
#| msgid "" |
| 642 |
#| "I<type> was I<\"keyring\"> and the I<description> started with a period " |
| 643 |
#| "(\\(aq.\\(aq). Keyrings with descriptions (names) that begin with a " |
| 644 |
#| "period are reserved to the implementation." |
| 645 |
msgid "" |
| 646 |
"I<type> was I<\\[dq]keyring\\[dq]> and the I<description> started with a " |
| 647 |
"period (\\[aq].\\[aq]). Keyrings with descriptions (names) that begin with " |
| 648 |
"a period are reserved to the implementation." |
| 649 |
msgstr "" |
| 650 |
"Значение I<type> равно I<\"keyring\"> и I<description> начинается с точки (\\" |
| 651 |
"(aq.\\(aq). Связки ключей с описаниями (именами), которые начинаются с " |
| 652 |
"точки, зарезервированы для использования реализацией." |
| 653 |
|
| 654 |
#. type: SH |
| 655 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 656 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 657 |
#, no-wrap |
| 658 |
msgid "STANDARDS" |
| 659 |
msgstr "СТАНДАРТЫ" |
| 660 |
|
| 661 |
#. type: Plain text |
| 662 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 663 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 664 |
msgid "Linux." |
| 665 |
msgstr "Linux." |
| 666 |
|
| 667 |
#. type: SH |
| 668 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 669 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 670 |
#, no-wrap |
| 671 |
msgid "HISTORY" |
| 672 |
msgstr "ИСТОРИЯ" |
| 673 |
|
| 674 |
#. type: Plain text |
| 675 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 676 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 677 |
msgid "Linux 2.6.10." |
| 678 |
msgstr "Linux 2.6.10." |
| 679 |
|
| 680 |
#. type: SH |
| 681 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 682 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 683 |
#, no-wrap |
| 684 |
msgid "NOTES" |
| 685 |
msgstr "ПРИМЕЧАНИЯ" |
| 686 |
|
| 687 |
#. type: Plain text |
| 688 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 689 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 690 |
#, fuzzy |
| 691 |
#| msgid "" |
| 692 |
#| "No wrapper for this system call is provided in glibc. A wrapper is " |
| 693 |
#| "provided in the I<libkeyutils> package. When employing the wrapper in " |
| 694 |
#| "that library, link with I<-lkeyutils>." |
| 695 |
msgid "" |
| 696 |
"glibc does not provide a wrapper for this system call. A wrapper is " |
| 697 |
"provided in the I<libkeyutils> library. (The accompanying package provides " |
| 698 |
"the I<E<lt>keyutils.hE<gt>> header file.) When employing the wrapper in " |
| 699 |
"that library, link with I<-lkeyutils>." |
| 700 |
msgstr "" |
| 701 |
"В glibc нет обёрточной функции для этого системного вызова. Такая функция " |
| 702 |
"предоставляется пакетом I<libkeyutils>. Для работы с функцией подключите " |
| 703 |
"библиотеку с помощью I<-lkeyutils>." |
| 704 |
|
| 705 |
#. type: SH |
| 706 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 707 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 708 |
#, no-wrap |
| 709 |
msgid "EXAMPLES" |
| 710 |
msgstr "ПРИМЕРЫ" |
| 711 |
|
| 712 |
#. type: Plain text |
| 713 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 714 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 715 |
msgid "" |
| 716 |
"The program below creates a key with the type, description, and payload " |
| 717 |
"specified in its command-line arguments, and links that key into the session " |
| 718 |
"keyring. The following shell session demonstrates the use of the program:" |
| 719 |
msgstr "" |
| 720 |
"Программа, представленная ниже, создаёт ключ с типом, описанием и полезными " |
| 721 |
"данными, указанными в аргументах командной строки, и и цепляет этот ключ в " |
| 722 |
"связку ключей сеанса. Пример работы программы:" |
| 723 |
|
| 724 |
#. type: Plain text |
| 725 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 726 |
#: opensuse-tumbleweed |
| 727 |
#, fuzzy, no-wrap |
| 728 |
#| msgid "" |
| 729 |
#| "$ B<./a.out user mykey \"Some payload\">\n" |
| 730 |
#| "Key ID is 64a4dca\n" |
| 731 |
#| "$ B<grep \\[aq]64a4dca\\[aq] /proc/keys>\n" |
| 732 |
#| "064a4dca I--Q--- 1 perm 3f010000 1000 1000 user mykey: 12\n" |
| 733 |
msgid "" |
| 734 |
"$B< ./a.out user mykey \\[dq]Some payload\\[dq]>;\n" |
| 735 |
"Key ID is 64a4dca\n" |
| 736 |
"$B< grep \\[aq]64a4dca\\[aq] /proc/keys>;\n" |
| 737 |
"064a4dca I--Q--- 1 perm 3f010000 1000 1000 user mykey: 12\n" |
| 738 |
msgstr "" |
| 739 |
"$ B<./a.out user mykey \"Some payload\">\n" |
| 740 |
"ID ключа 64a4dca\n" |
| 741 |
"$ B<grep \\[aq]64a4dca\\[aq] /proc/keys>\n" |
| 742 |
"064a4dca I--Q--- 1 perm 3f010000 1000 1000 user mykey: 12\n" |
| 743 |
|
| 744 |
#. type: SS |
| 745 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 746 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 747 |
#, no-wrap |
| 748 |
msgid "Program source" |
| 749 |
msgstr "Исходный код программы" |
| 750 |
|
| 751 |
#. type: Plain text |
| 752 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 753 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 754 |
#, no-wrap |
| 755 |
msgid "" |
| 756 |
"#include E<lt>keyutils.hE<gt>\n" |
| 757 |
"#include E<lt>stdint.hE<gt>\n" |
| 758 |
"#include E<lt>stdio.hE<gt>\n" |
| 759 |
"#include E<lt>stdlib.hE<gt>\n" |
| 760 |
"#include E<lt>string.hE<gt>\n" |
| 761 |
"\\&\n" |
| 762 |
"int\n" |
| 763 |
"main(int argc, char *argv[])\n" |
| 764 |
"{\n" |
| 765 |
" key_serial_t key;\n" |
| 766 |
"\\&\n" |
| 767 |
" if (argc != 4) {\n" |
| 768 |
" fprintf(stderr, \"Usage: %s type description payload\\[rs]n\",\n" |
| 769 |
" argv[0]);\n" |
| 770 |
" exit(EXIT_FAILURE);\n" |
| 771 |
" }\n" |
| 772 |
"\\&\n" |
| 773 |
" key = add_key(argv[1], argv[2], argv[3], strlen(argv[3]),\n" |
| 774 |
" KEY_SPEC_SESSION_KEYRING);\n" |
| 775 |
" if (key == -1) {\n" |
| 776 |
" perror(\"add_key\");\n" |
| 777 |
" exit(EXIT_FAILURE);\n" |
| 778 |
" }\n" |
| 779 |
"\\&\n" |
| 780 |
" printf(\"Key ID is %jx\\[rs]n\", (uintmax_t) key);\n" |
| 781 |
"\\&\n" |
| 782 |
" exit(EXIT_SUCCESS);\n" |
| 783 |
"}\n" |
| 784 |
msgstr "" |
| 785 |
"#include E<lt>keyutils.hE<gt>\n" |
| 786 |
"#include E<lt>stdint.hE<gt>\n" |
| 787 |
"#include E<lt>stdio.hE<gt>\n" |
| 788 |
"#include E<lt>stdlib.hE<gt>\n" |
| 789 |
"#include E<lt>string.hE<gt>\n" |
| 790 |
"\\&\n" |
| 791 |
"int\n" |
| 792 |
"main(int argc, char *argv[])\n" |
| 793 |
"{\n" |
| 794 |
" key_serial_t key;\n" |
| 795 |
"\\&\n" |
| 796 |
" if (argc != 4) {\n" |
| 797 |
" fprintf(stderr, \"Usage: %s type description payload\\[rs]n\",\n" |
| 798 |
" argv[0]);\n" |
| 799 |
" exit(EXIT_FAILURE);\n" |
| 800 |
" }\n" |
| 801 |
"\\&\n" |
| 802 |
" key = add_key(argv[1], argv[2], argv[3], strlen(argv[3]),\n" |
| 803 |
" KEY_SPEC_SESSION_KEYRING);\n" |
| 804 |
" if (key == -1) {\n" |
| 805 |
" perror(\"add_key\");\n" |
| 806 |
" exit(EXIT_FAILURE);\n" |
| 807 |
" }\n" |
| 808 |
"\\&\n" |
| 809 |
" printf(\"Key ID is %jx\\[rs]n\", (uintmax_t) key);\n" |
| 810 |
"\\&\n" |
| 811 |
" exit(EXIT_SUCCESS);\n" |
| 812 |
"}\n" |
| 813 |
|
| 814 |
#. SRC END |
| 815 |
#. type: SH |
| 816 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 817 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 818 |
#, no-wrap |
| 819 |
msgid "SEE ALSO" |
| 820 |
msgstr "СМОТРИТЕ ТАКЖЕ" |
| 821 |
|
| 822 |
#. type: Plain text |
| 823 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 824 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 825 |
msgid "" |
| 826 |
"B<keyctl>(1), B<keyctl>(2), B<request_key>(2), B<keyctl>(3), B<keyrings>(7), " |
| 827 |
"B<keyutils>(7), B<persistent-keyring>(7), B<process-keyring>(7), B<session-" |
| 828 |
"keyring>(7), B<thread-keyring>(7), B<user-keyring>(7), B<user-session-" |
| 829 |
"keyring>(7)" |
| 830 |
msgstr "" |
| 831 |
"B<keyctl>(1), B<keyctl>(2), B<request_key>(2), B<keyctl>(3), B<keyrings>(7), " |
| 832 |
"B<keyutils>(7), B<persistent-keyring>(7), B<process-keyring>(7), B<session-" |
| 833 |
"keyring>(7), B<thread-keyring>(7), B<user-keyring>(7), B<user-session-" |
| 834 |
"keyring>(7)" |
| 835 |
|
| 836 |
#. type: Plain text |
| 837 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 838 |
#: opensuse-tumbleweed |
| 839 |
#, fuzzy |
| 840 |
#| msgid "" |
| 841 |
#| "The kernel source files I<Documentation/security/keys/core.rst> and " |
| 842 |
#| "I<Documentation/keys/request-key.rst> (or, before Linux 4.13, in the " |
| 843 |
#| "files I<Documentation/security/keys.txt> and I<Documentation/security/" |
| 844 |
#| "keys-request-key.txt>)." |
| 845 |
msgid "" |
| 846 |
"The kernel source files I<Documentation/security/keys/core.rst> and " |
| 847 |
"I<Documentation/keys/request-key.rst>." |
| 848 |
msgstr "" |
| 849 |
"Файлы исходного кода ядра I<Documentation/security/keys/core.rst> и " |
| 850 |
"I<Documentation/keys/request-key.rst> (или, до Linux 4.13, файлы " |
| 851 |
"I<Documentation/security/keys.txt> и I<Documentation/security/keys-request-" |
| 852 |
"key.txt>)." |
| 853 |
|
| 854 |
#. type: TH |
| 855 |
#: debian-trixie |
| 856 |
#, no-wrap |
| 857 |
msgid "2024-06-15" |
| 858 |
msgstr "15 июня 2024 г." |
| 859 |
|
| 860 |
#. type: TH |
| 861 |
#: debian-trixie |
| 862 |
#, no-wrap |
| 863 |
msgid "Linux man-pages 6.9.1" |
| 864 |
msgstr "Страницы руководства Linux 6.9.1" |
| 865 |
|
| 866 |
#. type: Plain text |
| 867 |
#: debian-trixie |
| 868 |
msgid "Standard C library (I<libc>, I<-lc>)" |
| 869 |
msgstr "Стандартная библиотека языка C (I<libc>, I<-lc>)" |
| 870 |
|
| 871 |
#. type: Plain text |
| 872 |
#: debian-trixie |
| 873 |
#, no-wrap |
| 874 |
msgid "" |
| 875 |
"B<key_serial_t add_key(const char *>I<type>B<, const char *>I<description>B<,>\n" |
| 876 |
"B< const void >I<payload>B<[.>I<plen>B<], size_t >I<plen>B<,>\n" |
| 877 |
"B< key_serial_t >I<keyring>B<);>\n" |
| 878 |
msgstr "" |
| 879 |
"B<key_serial_t add_key(const char *>I<type>B<, const char *>I<description>B<,>\n" |
| 880 |
"B< const void >I<payload>B<[.>I<plen>B<], size_t >I<plen>B<,>\n" |
| 881 |
"B< key_serial_t >I<keyring>B<);>\n" |
| 882 |
|
| 883 |
#. type: Plain text |
| 884 |
#: debian-trixie |
| 885 |
msgid "" |
| 886 |
"B<add_key>() creates or updates a key of the given I<type> and " |
| 887 |
"I<description>, instantiates it with the I<payload> of length I<plen>, " |
| 888 |
"attaches it to the nominated I<keyring>, and returns the key's serial number." |
| 889 |
msgstr "" |
| 890 |
"Вызов B<add_key>() создаёт или обновляет ключ заданного типа I<type> с " |
| 891 |
"описанием I<description>, конструирует его с полезными данными I<payload> и " |
| 892 |
"длиной I<plen>, присоединяет его к заданной связке ключей I<keyring> и " |
| 893 |
"возвращает его серийный номер." |
| 894 |
|
| 895 |
#. type: Plain text |
| 896 |
#: debian-trixie |
| 897 |
msgid "" |
| 898 |
"Keyrings are special key types that may contain links to sequences of other " |
| 899 |
"keys of any type. If this interface is used to create a keyring, then " |
| 900 |
"I<payload> should be NULL and I<plen> should be zero." |
| 901 |
msgstr "" |
| 902 |
"Связки ключей — это специальные типы ключей, которые могут содержать ссылки " |
| 903 |
"на цепочки других ключей любого типа. Если данный интерфейс используется для " |
| 904 |
"создания связки ключей, то значение I<payload> должно быть равно NULL, а " |
| 905 |
"I<plen> должно быть равно нулю." |
| 906 |
|
| 907 |
#. type: Plain text |
| 908 |
#: debian-trixie fedora-44 fedora-rawhide |
| 909 |
#, no-wrap |
| 910 |
msgid "" |
| 911 |
"$ B<./a.out user mykey \"Some payload\">\n" |
| 912 |
"Key ID is 64a4dca\n" |
| 913 |
"$ B<grep \\[aq]64a4dca\\[aq] /proc/keys>\n" |
| 914 |
"064a4dca I--Q--- 1 perm 3f010000 1000 1000 user mykey: 12\n" |
| 915 |
msgstr "" |
| 916 |
"$ B<./a.out user mykey \"Some payload\">\n" |
| 917 |
"ID ключа 64a4dca\n" |
| 918 |
"$ B<grep \\[aq]64a4dca\\[aq] /proc/keys>\n" |
| 919 |
"064a4dca I--Q--- 1 perm 3f010000 1000 1000 user mykey: 12\n" |
| 920 |
|
| 921 |
#. commit b68101a1e8f0263dbc7b8375d2a7c57c6216fb76 |
| 922 |
#. commit 3db38ed76890565772fcca3279cc8d454ea6176b |
| 923 |
#. type: Plain text |
| 924 |
#: debian-trixie fedora-44 fedora-rawhide |
| 925 |
msgid "" |
| 926 |
"The kernel source files I<Documentation/security/keys/core.rst> and " |
| 927 |
"I<Documentation/keys/request-key.rst> (or, before Linux 4.13, in the files " |
| 928 |
"I<Documentation/security/keys.txt> and I<Documentation/security/keys-request-" |
| 929 |
"key.txt>)." |
| 930 |
msgstr "" |
| 931 |
"Файлы исходного кода ядра I<Documentation/security/keys/core.rst> и " |
| 932 |
"I<Documentation/keys/request-key.rst> (или, до Linux 4.13, файлы " |
| 933 |
"I<Documentation/security/keys.txt> и I<Documentation/security/keys-request-" |
| 934 |
"key.txt>)." |
| 935 |
|
| 936 |
#. type: TH |
| 937 |
#: fedora-44 fedora-rawhide |
| 938 |
#, no-wrap |
| 939 |
msgid "2024-11-17" |
| 940 |
msgstr "17 ноября 2024 г." |
| 941 |
|
| 942 |
#. type: TH |
| 943 |
#: fedora-44 fedora-rawhide |
| 944 |
#, no-wrap |
| 945 |
msgid "Linux man-pages 6.13" |
| 946 |
msgstr "Страницы руководства Linux 6.13" |
| 947 |
|
| 948 |
#. type: Plain text |
| 949 |
#: fedora-44 fedora-rawhide |
| 950 |
#, fuzzy, no-wrap |
| 951 |
#| msgid "" |
| 952 |
#| "B<key_serial_t add_key(const char *>I<type>B<, const char *>I<description>B<,>\n" |
| 953 |
#| "B< const void >I<payload>B<[.>I<plen>B<], size_t >I<plen>B<,>\n" |
| 954 |
#| "B< key_serial_t >I<keyring>B<);>\n" |
| 955 |
msgid "" |
| 956 |
"B<key_serial_t add_key(const char *>I<type>B<, const char *>I<description>B<,>\n" |
| 957 |
"B< const void >I<payload>B<[.>I<size>B<], size_t >I<size>B<,>\n" |
| 958 |
"B< key_serial_t >I<keyring>B<);>\n" |
| 959 |
msgstr "" |
| 960 |
"B<key_serial_t add_key(const char *>I<type>B<, const char *>I<description>B<,>\n" |
| 961 |
"B< const void >I<payload>B<[.>I<plen>B<], size_t >I<plen>B<,>\n" |
| 962 |
"B< key_serial_t >I<keyring>B<);>\n" |
| 963 |
|
| 964 |
#. type: TH |
| 965 |
#: mageia-cauldron |
| 966 |
#, no-wrap |
| 967 |
msgid "Linux man-pages 6.17" |
| 968 |
msgstr "Страницы руководства Linux 6.17" |
| 969 |
|
| 970 |
#. type: TH |
| 971 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 972 |
#, no-wrap |
| 973 |
msgid "Linux man-pages (unreleased)" |
| 974 |
msgstr "Страницы руководства Linux (не выпущены)" |