| 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:39+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 "random" |
| 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 "random, urandom - kernel random number source devices" |
| 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 "SYNOPSIS" |
| 57 |
msgstr "" |
| 58 |
|
| 59 |
#. type: Plain text |
| 60 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 61 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 62 |
#, no-wrap |
| 63 |
msgid "#include E<lt>linux/random.hE<gt>\n" |
| 64 |
msgstr "" |
| 65 |
|
| 66 |
#. type: Plain text |
| 67 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 68 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 69 |
#, no-wrap |
| 70 |
msgid "B<int ioctl(>I<fd>B<, RND>I<request>B<, >I<param>B<);>\n" |
| 71 |
msgstr "" |
| 72 |
|
| 73 |
#. type: SH |
| 74 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 75 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 76 |
#, no-wrap |
| 77 |
msgid "DESCRIPTION" |
| 78 |
msgstr "" |
| 79 |
|
| 80 |
#. type: Plain text |
| 81 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 82 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 83 |
msgid "" |
| 84 |
"The character special files I</dev/random> and I</dev/urandom> (present " |
| 85 |
"since Linux 1.3.30) provide an interface to the kernel's random number " |
| 86 |
"generator. The file I</dev/random> has major device number 1 and minor " |
| 87 |
"device number 8. The file I</dev/urandom> has major device number 1 and " |
| 88 |
"minor device number 9." |
| 89 |
msgstr "" |
| 90 |
|
| 91 |
#. type: Plain text |
| 92 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 93 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 94 |
msgid "" |
| 95 |
"The random number generator gathers environmental noise from device drivers " |
| 96 |
"and other sources into an entropy pool. The generator also keeps an " |
| 97 |
"estimate of the number of bits of noise in the entropy pool. From this " |
| 98 |
"entropy pool, random numbers are created." |
| 99 |
msgstr "" |
| 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 "" |
| 105 |
"Linux 3.17 and later provides the simpler and safer B<getrandom>(2) " |
| 106 |
"interface which requires no special files; see the B<getrandom>(2) manual " |
| 107 |
"page for details." |
| 108 |
msgstr "" |
| 109 |
|
| 110 |
#. type: Plain text |
| 111 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 112 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 113 |
msgid "" |
| 114 |
"When read, the I</dev/urandom> device returns random bytes using a " |
| 115 |
"pseudorandom number generator seeded from the entropy pool. Reads from this " |
| 116 |
"device do not block (i.e., the CPU is not yielded), but can incur an " |
| 117 |
"appreciable delay when requesting large amounts of data." |
| 118 |
msgstr "" |
| 119 |
|
| 120 |
#. This is a real problem; see |
| 121 |
#. commit 9b4d008787f864f17d008c9c15bbe8a0f7e2fc24 |
| 122 |
#. type: Plain text |
| 123 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 124 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 125 |
msgid "" |
| 126 |
"When read during early boot time, I</dev/urandom> may return data prior to " |
| 127 |
"the entropy pool being initialized. If this is of concern in your " |
| 128 |
"application, use B<getrandom>(2) or I</dev/random> instead." |
| 129 |
msgstr "" |
| 130 |
|
| 131 |
#. type: Plain text |
| 132 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 133 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 134 |
msgid "" |
| 135 |
"The I</dev/random> device is a legacy interface which dates back to a time " |
| 136 |
"where the cryptographic primitives used in the implementation of I</dev/" |
| 137 |
"urandom> were not widely trusted. It will return random bytes only within " |
| 138 |
"the estimated number of bits of fresh noise in the entropy pool, blocking if " |
| 139 |
"necessary. I</dev/random> is suitable for applications that need high " |
| 140 |
"quality randomness, and can afford indeterminate delays." |
| 141 |
msgstr "" |
| 142 |
|
| 143 |
#. type: Plain text |
| 144 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 145 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 146 |
msgid "" |
| 147 |
"When the entropy pool is empty, reads from I</dev/random> will block until " |
| 148 |
"additional environmental noise is gathered. Since Linux 5.6, the " |
| 149 |
"B<O_NONBLOCK> flag is ignored as I</dev/random> will no longer block except " |
| 150 |
"during early boot process. In earlier versions, if B<open>(2) is called " |
| 151 |
"for I</dev/random> with the B<O_NONBLOCK> flag, a subsequent B<read>(2) " |
| 152 |
"will not block if the requested number of bytes is not available. Instead, " |
| 153 |
"the available bytes are returned. If no byte is available, B<read>(2) will " |
| 154 |
"return -1 and I<errno> will be set to B<EAGAIN>." |
| 155 |
msgstr "" |
| 156 |
|
| 157 |
#. type: Plain text |
| 158 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 159 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 160 |
msgid "" |
| 161 |
"The B<O_NONBLOCK> flag has no effect when opening I</dev/urandom>. When " |
| 162 |
"calling B<read>(2) for the device I</dev/urandom>, reads of up to 256 bytes " |
| 163 |
"will return as many bytes as are requested and will not be interrupted by a " |
| 164 |
"signal handler. Reads with a buffer over this limit may return less than " |
| 165 |
"the requested number of bytes or fail with the error B<EINTR>, if " |
| 166 |
"interrupted by a signal handler." |
| 167 |
msgstr "" |
| 168 |
|
| 169 |
#. commit 79a8468747c5f95ed3d5ce8376a3e82e0c5857fc |
| 170 |
#. SEC_XFER_SIZE in drivers/char/random.c |
| 171 |
#. type: Plain text |
| 172 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 173 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 174 |
msgid "" |
| 175 |
"Since Linux 3.16, a B<read>(2) from I</dev/urandom> will return at most " |
| 176 |
"32\\ MB. A B<read>(2) from I</dev/random> will return at most 512 bytes " |
| 177 |
"(340 bytes before Linux 2.6.12)." |
| 178 |
msgstr "" |
| 179 |
|
| 180 |
#. type: Plain text |
| 181 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 182 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 183 |
msgid "" |
| 184 |
"Writing to I</dev/random> or I</dev/urandom> will update the entropy pool " |
| 185 |
"with the data written, but this will not result in a higher entropy count. " |
| 186 |
"This means that it will impact the contents read from both files, but it " |
| 187 |
"will not make reads from I</dev/random> faster." |
| 188 |
msgstr "" |
| 189 |
|
| 190 |
#. type: SS |
| 191 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 192 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 193 |
#, no-wrap |
| 194 |
msgid "Usage" |
| 195 |
msgstr "" |
| 196 |
|
| 197 |
#. type: Plain text |
| 198 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 199 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 200 |
msgid "" |
| 201 |
"The I</dev/random> interface is considered a legacy interface, and I</dev/" |
| 202 |
"urandom> is preferred and sufficient in all use cases, with the exception of " |
| 203 |
"applications which require randomness during early boot time; for these " |
| 204 |
"applications, B<getrandom>(2) must be used instead, because it will block " |
| 205 |
"until the entropy pool is initialized." |
| 206 |
msgstr "" |
| 207 |
|
| 208 |
#. type: Plain text |
| 209 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 210 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 211 |
msgid "" |
| 212 |
"If a seed file is saved across reboots as recommended below, the output is " |
| 213 |
"cryptographically secure against attackers without local root access as soon " |
| 214 |
"as it is reloaded in the boot sequence, and perfectly adequate for network " |
| 215 |
"encryption session keys. (All major Linux distributions have saved the seed " |
| 216 |
"file across reboots since 2000 at least.) Since reads from I</dev/random> " |
| 217 |
"may block, users will usually want to open it in nonblocking mode (or " |
| 218 |
"perform a read with timeout), and provide some sort of user notification if " |
| 219 |
"the desired entropy is not immediately available." |
| 220 |
msgstr "" |
| 221 |
|
| 222 |
#. type: SS |
| 223 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 224 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 225 |
#, no-wrap |
| 226 |
msgid "Configuration" |
| 227 |
msgstr "" |
| 228 |
|
| 229 |
#. type: Plain text |
| 230 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 231 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 232 |
msgid "" |
| 233 |
"If your system does not have I</dev/random> and I</dev/urandom> created " |
| 234 |
"already, they can be created with the following commands:" |
| 235 |
msgstr "" |
| 236 |
|
| 237 |
#. type: Plain text |
| 238 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 239 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 240 |
#, no-wrap |
| 241 |
msgid "" |
| 242 |
"mknod -m 666 /dev/random c 1 8\n" |
| 243 |
"mknod -m 666 /dev/urandom c 1 9\n" |
| 244 |
"chown root:root /dev/random /dev/urandom\n" |
| 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 |
"When a Linux system starts up without much operator interaction, the entropy " |
| 252 |
"pool may be in a fairly predictable state. This reduces the actual amount " |
| 253 |
"of noise in the entropy pool below the estimate. In order to counteract " |
| 254 |
"this effect, it helps to carry entropy pool information across shut-downs " |
| 255 |
"and start-ups. To do this, add the lines to an appropriate script which is " |
| 256 |
"run during the Linux system start-up sequence:" |
| 257 |
msgstr "" |
| 258 |
|
| 259 |
#. type: Plain text |
| 260 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 261 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 262 |
#, no-wrap |
| 263 |
msgid "" |
| 264 |
"echo \"Initializing random number generator...\"\n" |
| 265 |
"random_seed=/var/run/random-seed\n" |
| 266 |
"# Carry a random seed from start-up to start-up\n" |
| 267 |
"# Load and then save the whole entropy pool\n" |
| 268 |
"if [ -f $random_seed ]; then\n" |
| 269 |
" cat $random_seed E<gt>/dev/urandom\n" |
| 270 |
"else\n" |
| 271 |
" touch $random_seed\n" |
| 272 |
"fi\n" |
| 273 |
"chmod 600 $random_seed\n" |
| 274 |
"poolfile=/proc/sys/kernel/random/poolsize\n" |
| 275 |
"[ -r $poolfile ] && bits=$(cat $poolfile) || bits=4096\n" |
| 276 |
"bytes=$(expr $bits / 8)\n" |
| 277 |
"dd if=/dev/urandom of=$random_seed count=1 bs=$bytes\n" |
| 278 |
msgstr "" |
| 279 |
|
| 280 |
#. type: Plain text |
| 281 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 282 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 283 |
msgid "" |
| 284 |
"Also, add the following lines in an appropriate script which is run during " |
| 285 |
"the Linux system shutdown:" |
| 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 |
#, no-wrap |
| 292 |
msgid "" |
| 293 |
"# Carry a random seed from shut-down to start-up\n" |
| 294 |
"# Save the whole entropy pool\n" |
| 295 |
"echo \"Saving random seed...\"\n" |
| 296 |
"random_seed=/var/run/random-seed\n" |
| 297 |
"touch $random_seed\n" |
| 298 |
"chmod 600 $random_seed\n" |
| 299 |
"poolfile=/proc/sys/kernel/random/poolsize\n" |
| 300 |
"[ -r $poolfile ] && bits=$(cat $poolfile) || bits=4096\n" |
| 301 |
"bytes=$(expr $bits / 8)\n" |
| 302 |
"dd if=/dev/urandom of=$random_seed count=1 bs=$bytes\n" |
| 303 |
msgstr "" |
| 304 |
|
| 305 |
#. type: Plain text |
| 306 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 307 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 308 |
msgid "" |
| 309 |
"In the above examples, we assume Linux 2.6.0 or later, where I</proc/sys/" |
| 310 |
"kernel/random/poolsize> returns the size of the entropy pool in bits (see " |
| 311 |
"below)." |
| 312 |
msgstr "" |
| 313 |
|
| 314 |
#. type: SS |
| 315 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 316 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 317 |
#, no-wrap |
| 318 |
msgid "/proc interfaces" |
| 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 |
"The files in the directory I</proc/sys/kernel/random> (present since Linux " |
| 326 |
"2.3.16) provide additional information about the I</dev/random> device:" |
| 327 |
msgstr "" |
| 328 |
|
| 329 |
#. type: TP |
| 330 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 331 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 332 |
#, no-wrap |
| 333 |
msgid "I<entropy_avail>" |
| 334 |
msgstr "" |
| 335 |
|
| 336 |
#. type: Plain text |
| 337 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 338 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 339 |
msgid "" |
| 340 |
"This read-only file gives the available entropy, in bits. This will be a " |
| 341 |
"number in the range 0 to 4096." |
| 342 |
msgstr "" |
| 343 |
|
| 344 |
#. type: TP |
| 345 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 346 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 347 |
#, no-wrap |
| 348 |
msgid "I<poolsize>" |
| 349 |
msgstr "" |
| 350 |
|
| 351 |
#. type: Plain text |
| 352 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 353 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 354 |
msgid "" |
| 355 |
"This file gives the size of the entropy pool. The semantics of this file " |
| 356 |
"vary across kernel versions:" |
| 357 |
msgstr "" |
| 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 "Linux 2.4:" |
| 364 |
msgstr "" |
| 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 file gives the size of the entropy pool in I<bytes>. Normally, this " |
| 371 |
"file will have the value 512, but it is writable, and can be changed to any " |
| 372 |
"value for which an algorithm is available. The choices are 32, 64, 128, " |
| 373 |
"256, 512, 1024, or 2048." |
| 374 |
msgstr "" |
| 375 |
|
| 376 |
#. type: TP |
| 377 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 378 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 379 |
#, no-wrap |
| 380 |
msgid "Linux 2.6 and later:" |
| 381 |
msgstr "" |
| 382 |
|
| 383 |
#. type: Plain text |
| 384 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 385 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 386 |
msgid "" |
| 387 |
"This file is read-only, and gives the size of the entropy pool in I<bits>. " |
| 388 |
"It contains the value 4096." |
| 389 |
msgstr "" |
| 390 |
|
| 391 |
#. type: TP |
| 392 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 393 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 394 |
#, no-wrap |
| 395 |
msgid "I<read_wakeup_threshold>" |
| 396 |
msgstr "" |
| 397 |
|
| 398 |
#. type: Plain text |
| 399 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 400 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 401 |
msgid "" |
| 402 |
"This file contains the number of bits of entropy required for waking up " |
| 403 |
"processes that sleep waiting for entropy from I</dev/random>. The default " |
| 404 |
"is 64." |
| 405 |
msgstr "" |
| 406 |
|
| 407 |
#. type: TP |
| 408 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 409 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 410 |
#, no-wrap |
| 411 |
msgid "I<write_wakeup_threshold>" |
| 412 |
msgstr "" |
| 413 |
|
| 414 |
#. type: Plain text |
| 415 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 416 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 417 |
msgid "" |
| 418 |
"This file contains the number of bits of entropy below which we wake up " |
| 419 |
"processes that do a B<select>(2) or B<poll>(2) for write access to I</dev/" |
| 420 |
"random>. These values can be changed by writing to the files." |
| 421 |
msgstr "" |
| 422 |
|
| 423 |
#. type: TP |
| 424 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 425 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 426 |
#, no-wrap |
| 427 |
msgid "I<uuid>" |
| 428 |
msgstr "" |
| 429 |
|
| 430 |
#. type: TQ |
| 431 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 432 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 433 |
#, no-wrap |
| 434 |
msgid "I<boot_id>" |
| 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 |
"These read-only files contain random strings like 6fd5a44b-35f4-4ad4-" |
| 442 |
"a9b9-6b9be13e1fe9. The former is generated afresh for each read, the latter " |
| 443 |
"was generated once." |
| 444 |
msgstr "" |
| 445 |
|
| 446 |
#. type: SS |
| 447 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 448 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 449 |
#, no-wrap |
| 450 |
msgid "ioctl(2) interface" |
| 451 |
msgstr "" |
| 452 |
|
| 453 |
#. type: Plain text |
| 454 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 455 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 456 |
msgid "" |
| 457 |
"The following B<ioctl>(2) requests are defined on file descriptors " |
| 458 |
"connected to either I</dev/random> or I</dev/urandom>. All requests " |
| 459 |
"performed will interact with the input entropy pool impacting both I</dev/" |
| 460 |
"random> and I</dev/urandom>. The B<CAP_SYS_ADMIN> capability is required " |
| 461 |
"for all requests except B<RNDGETENTCNT>." |
| 462 |
msgstr "" |
| 463 |
|
| 464 |
#. type: TP |
| 465 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 466 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 467 |
#, no-wrap |
| 468 |
msgid "B<RNDGETENTCNT>" |
| 469 |
msgstr "" |
| 470 |
|
| 471 |
#. type: Plain text |
| 472 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 473 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 474 |
msgid "" |
| 475 |
"Retrieve the entropy count of the input pool, the contents will be the same " |
| 476 |
"as the I<entropy_avail> file under proc. The result will be stored in the " |
| 477 |
"int pointed to by the argument." |
| 478 |
msgstr "" |
| 479 |
|
| 480 |
#. type: TP |
| 481 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 482 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 483 |
#, no-wrap |
| 484 |
msgid "B<RNDADDTOENTCNT>" |
| 485 |
msgstr "" |
| 486 |
|
| 487 |
#. type: Plain text |
| 488 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 489 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 490 |
msgid "" |
| 491 |
"Increment or decrement the entropy count of the input pool by the value " |
| 492 |
"pointed to by the argument." |
| 493 |
msgstr "" |
| 494 |
|
| 495 |
#. type: TP |
| 496 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 497 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 498 |
#, no-wrap |
| 499 |
msgid "B<RNDGETPOOL>" |
| 500 |
msgstr "" |
| 501 |
|
| 502 |
#. type: Plain text |
| 503 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 504 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 505 |
msgid "Removed in Linux 2.6.9." |
| 506 |
msgstr "" |
| 507 |
|
| 508 |
#. type: TP |
| 509 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 510 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 511 |
#, no-wrap |
| 512 |
msgid "B<RNDADDENTROPY>" |
| 513 |
msgstr "" |
| 514 |
|
| 515 |
#. type: Plain text |
| 516 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 517 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 518 |
msgid "" |
| 519 |
"Add some additional entropy to the input pool, incrementing the entropy " |
| 520 |
"count. This differs from writing to I</dev/random> or I</dev/urandom>, " |
| 521 |
"which only adds some data but does not increment the entropy count. The " |
| 522 |
"following structure is used:" |
| 523 |
msgstr "" |
| 524 |
|
| 525 |
#. type: Plain text |
| 526 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 527 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 528 |
#, no-wrap |
| 529 |
msgid "" |
| 530 |
"struct rand_pool_info {\n" |
| 531 |
" int entropy_count;\n" |
| 532 |
" int buf_size;\n" |
| 533 |
" __u32 buf[0];\n" |
| 534 |
"};\n" |
| 535 |
msgstr "" |
| 536 |
|
| 537 |
#. type: Plain text |
| 538 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 539 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 540 |
msgid "" |
| 541 |
"Here I<entropy_count> is the value added to (or subtracted from) the entropy " |
| 542 |
"count, and I<buf> is the buffer of size I<buf_size> which gets added to the " |
| 543 |
"entropy pool." |
| 544 |
msgstr "" |
| 545 |
|
| 546 |
#. type: TP |
| 547 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 548 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 549 |
#, no-wrap |
| 550 |
msgid "B<RNDZAPENTCNT>" |
| 551 |
msgstr "" |
| 552 |
|
| 553 |
#. type: TQ |
| 554 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 555 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 556 |
#, no-wrap |
| 557 |
msgid "B<RNDCLEARPOOL>" |
| 558 |
msgstr "" |
| 559 |
|
| 560 |
#. type: Plain text |
| 561 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 562 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 563 |
msgid "" |
| 564 |
"Zero the entropy count of all pools and add some system data (such as wall " |
| 565 |
"clock) to the pools." |
| 566 |
msgstr "" |
| 567 |
|
| 568 |
#. type: SH |
| 569 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 570 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 571 |
#, no-wrap |
| 572 |
msgid "FILES" |
| 573 |
msgstr "" |
| 574 |
|
| 575 |
#. type: Plain text |
| 576 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 577 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 578 |
msgid "I</dev/random>" |
| 579 |
msgstr "" |
| 580 |
|
| 581 |
#. type: Plain text |
| 582 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 583 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 584 |
msgid "I</dev/urandom>" |
| 585 |
msgstr "" |
| 586 |
|
| 587 |
#. type: SH |
| 588 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 589 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 590 |
#, no-wrap |
| 591 |
msgid "NOTES" |
| 592 |
msgstr "" |
| 593 |
|
| 594 |
#. type: Plain text |
| 595 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 596 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 597 |
msgid "" |
| 598 |
"For an overview and comparison of the various interfaces that can be used to " |
| 599 |
"obtain randomness, see B<random>(7)." |
| 600 |
msgstr "" |
| 601 |
|
| 602 |
#. type: SH |
| 603 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 604 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 605 |
#, no-wrap |
| 606 |
msgid "BUGS" |
| 607 |
msgstr "" |
| 608 |
|
| 609 |
#. .SH AUTHOR |
| 610 |
#. The kernel's random number generator was written by |
| 611 |
#. Theodore Ts'o ([email protected]). |
| 612 |
#. type: Plain text |
| 613 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 614 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 615 |
msgid "" |
| 616 |
"During early boot time, reads from I</dev/urandom> may return data prior to " |
| 617 |
"the entropy pool being initialized." |
| 618 |
msgstr "" |
| 619 |
|
| 620 |
#. type: SH |
| 621 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 622 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 623 |
#, no-wrap |
| 624 |
msgid "SEE ALSO" |
| 625 |
msgstr "" |
| 626 |
|
| 627 |
#. type: Plain text |
| 628 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 629 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 630 |
msgid "B<mknod>(1), B<getrandom>(2), B<random>(7)" |
| 631 |
msgstr "" |
| 632 |
|
| 633 |
#. type: Plain text |
| 634 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 635 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 636 |
msgid "RFC\\ 1750, \"Randomness Recommendations for Security\"" |
| 637 |
msgstr "" |
| 638 |
|
| 639 |
#. type: TH |
| 640 |
#: debian-trixie |
| 641 |
#, no-wrap |
| 642 |
msgid "2024-05-02" |
| 643 |
msgstr "" |
| 644 |
|
| 645 |
#. type: TH |
| 646 |
#: debian-trixie |
| 647 |
#, no-wrap |
| 648 |
msgid "Linux man-pages 6.9.1" |
| 649 |
msgstr "" |
| 650 |
|
| 651 |
#. type: TP |
| 652 |
#: debian-trixie |
| 653 |
#, no-wrap |
| 654 |
msgid "I<uuid> and I<boot_id>" |
| 655 |
msgstr "" |
| 656 |
|
| 657 |
#. type: TH |
| 658 |
#: fedora-44 fedora-rawhide |
| 659 |
#, no-wrap |
| 660 |
msgid "2024-06-28" |
| 661 |
msgstr "" |
| 662 |
|
| 663 |
#. type: TH |
| 664 |
#: fedora-44 fedora-rawhide |
| 665 |
#, no-wrap |
| 666 |
msgid "Linux man-pages 6.13" |
| 667 |
msgstr "" |
| 668 |
|
| 669 |
#. type: TH |
| 670 |
#: mageia-cauldron |
| 671 |
#, no-wrap |
| 672 |
msgid "Linux man-pages 6.17" |
| 673 |
msgstr "" |
| 674 |
|
| 675 |
#. type: TH |
| 676 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 677 |
#, no-wrap |
| 678 |
msgid "Linux man-pages (unreleased)" |
| 679 |
msgstr "" |