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