| 1 |
# Spanish translation of manpages |
| 2 |
# This file is distributed under the same license as the manpages-l10n package. |
| 3 |
# Copyright © of this file: |
| 4 |
# Gerardo Aburruzaga García <[email protected]>, 1998. |
| 5 |
# Juan Piernas <[email protected]>, 1999, 2005. |
| 6 |
msgid "" |
| 7 |
msgstr "" |
| 8 |
"Project-Id-Version: manpages-l10n\n" |
| 9 |
"POT-Creation-Date: 2026-06-05 06:31+0200\n" |
| 10 |
"PO-Revision-Date: 2005-05-04 19:53+0200\n" |
| 11 |
"Last-Translator: Juan Piernas <[email protected]>\n" |
| 12 |
"Language-Team: Spanish <[email protected]>\n" |
| 13 |
"Language: es\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=2; plural=(n != 1);\n" |
| 18 |
"X-Generator: Lokalize 20.04.1\n" |
| 19 |
|
| 20 |
#. type: TH |
| 21 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 22 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 23 |
#, no-wrap |
| 24 |
msgid "mlock" |
| 25 |
msgstr "" |
| 26 |
|
| 27 |
#. type: TH |
| 28 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 29 |
#: opensuse-tumbleweed |
| 30 |
#, no-wrap |
| 31 |
msgid "2026-02-11" |
| 32 |
msgstr "11 Febrero 2026" |
| 33 |
|
| 34 |
#. type: TH |
| 35 |
#: archlinux debian-unstable |
| 36 |
#, fuzzy, no-wrap |
| 37 |
#| msgid "Linux man-pages 6.17" |
| 38 |
msgid "Linux man-pages 6.18" |
| 39 |
msgstr "Páginas de Manual de Linux 6.17" |
| 40 |
|
| 41 |
#. type: SH |
| 42 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 43 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 44 |
#, no-wrap |
| 45 |
msgid "NAME" |
| 46 |
msgstr "NOMBRE" |
| 47 |
|
| 48 |
#. type: Plain text |
| 49 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 50 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 51 |
msgid "mlock, mlock2, munlock, mlockall, munlockall - lock and unlock memory" |
| 52 |
msgstr "" |
| 53 |
|
| 54 |
#. type: SH |
| 55 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 56 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 57 |
#, no-wrap |
| 58 |
msgid "LIBRARY" |
| 59 |
msgstr "BIBLIOTECA" |
| 60 |
|
| 61 |
#. type: Plain text |
| 62 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 63 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 64 |
msgid "Standard C library (I<libc>,\\ I<-lc>)" |
| 65 |
msgstr "Biblioteca Estándar C (I<libc>,\\ I<-lc>)" |
| 66 |
|
| 67 |
#. type: SH |
| 68 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 69 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 70 |
#, no-wrap |
| 71 |
msgid "SYNOPSIS" |
| 72 |
msgstr "SINOPSIS" |
| 73 |
|
| 74 |
#. type: Plain text |
| 75 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 76 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 77 |
#, no-wrap |
| 78 |
msgid "B<#include E<lt>sys/mman.hE<gt>>\n" |
| 79 |
msgstr "B<#include E<lt>sys/mman.hE<gt>>\n" |
| 80 |
|
| 81 |
#. type: Plain text |
| 82 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 83 |
#: opensuse-tumbleweed |
| 84 |
#, fuzzy, no-wrap |
| 85 |
#| msgid "" |
| 86 |
#| "B<int mlock(const void *>I<addr>B<, size_t >I<len>B<);>\n" |
| 87 |
#| "B<int mlock2(const void *>I<addr>B<, size_t >I<len>B<, int >I<flags>B<);>\n" |
| 88 |
#| "B<int munlock(const void *>I<addr>B<, size_t >I<len>B<);>\n" |
| 89 |
msgid "" |
| 90 |
"B<int mlock(>size_t size;\n" |
| 91 |
"B< const void >I<addr>B<[>I<size>B<], size_t >I<size>B<);>\n" |
| 92 |
"B<int mlock2(>size_t size;\n" |
| 93 |
"B< const void >I<addr>B<[>I<size>B<], size_t >I<size>B<, unsigned int >I<flags>B<);>\n" |
| 94 |
"B<int munlock(>size_t size;\n" |
| 95 |
"B< const void >I<addr>B<[>I<size>B<], size_t >I<size>B<);>\n" |
| 96 |
msgstr "" |
| 97 |
"B<int mlock(const void *>I<addr>B<, size_t >I<len>B<);>\n" |
| 98 |
"B<int mlock2(const void *>I<addr>B<, size_t >I<len>B<, int >I<flags>B<);>\n" |
| 99 |
"B<int munlock(const void *>I<addr>B<, size_t >I<len>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 |
#, no-wrap |
| 105 |
msgid "" |
| 106 |
"B<int mlockall(int >I<flags>B<);>\n" |
| 107 |
"B<int munlockall(void);>\n" |
| 108 |
msgstr "" |
| 109 |
"B<int mlockall(int >I<flags>B<);>\n" |
| 110 |
"B<int munlockall(void);>\n" |
| 111 |
|
| 112 |
#. type: SH |
| 113 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 114 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 115 |
#, no-wrap |
| 116 |
msgid "DESCRIPTION" |
| 117 |
msgstr "DESCRIPCIÓN" |
| 118 |
|
| 119 |
#. type: Plain text |
| 120 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 121 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 122 |
msgid "" |
| 123 |
"B<mlock>(), B<mlock2>(), and B<mlockall>() lock part or all of the calling " |
| 124 |
"process's virtual address space into RAM, preventing that memory from being " |
| 125 |
"paged to the swap area." |
| 126 |
msgstr "" |
| 127 |
|
| 128 |
#. type: Plain text |
| 129 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 130 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 131 |
msgid "" |
| 132 |
"B<munlock>() and B<munlockall>() perform the converse operation, unlocking " |
| 133 |
"part or all of the calling process's virtual address space, so that pages in " |
| 134 |
"the specified virtual address range can be swapped out again if required by " |
| 135 |
"the kernel memory manager." |
| 136 |
msgstr "" |
| 137 |
|
| 138 |
#. type: Plain text |
| 139 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 140 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 141 |
msgid "Memory locking and unlocking are performed in units of whole pages." |
| 142 |
msgstr "" |
| 143 |
|
| 144 |
#. type: SS |
| 145 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 146 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 147 |
#, no-wrap |
| 148 |
msgid "mlock(), mlock2(), and munlock()" |
| 149 |
msgstr "mlock(), mlock2() y munlock()" |
| 150 |
|
| 151 |
#. type: Plain text |
| 152 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 153 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 154 |
msgid "" |
| 155 |
"B<mlock>() locks pages in the address range starting at I<addr> and " |
| 156 |
"continuing for I<size> bytes. All pages that contain a part of the " |
| 157 |
"specified address range are guaranteed to be resident in RAM when the call " |
| 158 |
"returns successfully; the pages are guaranteed to stay in RAM until later " |
| 159 |
"unlocked." |
| 160 |
msgstr "" |
| 161 |
|
| 162 |
#. commit a8ca5d0ecbdde5cc3d7accacbd69968b0c98764e |
| 163 |
#. commit de60f5f10c58d4f34b68622442c0e04180367f3f |
| 164 |
#. commit b0f205c2a3082dd9081f9a94e50658c5fa906ff1 |
| 165 |
#. type: Plain text |
| 166 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 167 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 168 |
msgid "" |
| 169 |
"B<mlock2>() also locks pages in the specified range starting at I<addr> and " |
| 170 |
"continuing for I<size> bytes. However, the state of the pages contained in " |
| 171 |
"that range after the call returns successfully will depend on the value in " |
| 172 |
"the I<flags> argument." |
| 173 |
msgstr "" |
| 174 |
|
| 175 |
#. type: Plain text |
| 176 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 177 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 178 |
msgid "The I<flags> argument can be either 0 or the following constant:" |
| 179 |
msgstr "" |
| 180 |
|
| 181 |
#. type: TP |
| 182 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 183 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 184 |
#, no-wrap |
| 185 |
msgid "B<MLOCK_ONFAULT>" |
| 186 |
msgstr "B<MLOCK_ONFAULT>" |
| 187 |
|
| 188 |
#. type: Plain text |
| 189 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 190 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 191 |
msgid "" |
| 192 |
"Lock pages that are currently resident and mark the entire range so that the " |
| 193 |
"remaining nonresident pages are locked when they are populated by a page " |
| 194 |
"fault." |
| 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 "If I<flags> is 0, B<mlock2>() behaves exactly the same as B<mlock>()." |
| 201 |
msgstr "" |
| 202 |
|
| 203 |
#. type: Plain text |
| 204 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 205 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 206 |
msgid "" |
| 207 |
"B<munlock>() unlocks pages in the address range starting at I<addr> and " |
| 208 |
"continuing for I<size> bytes. After this call, all pages that contain a " |
| 209 |
"part of the specified memory range can be moved to external swap space again " |
| 210 |
"by the kernel." |
| 211 |
msgstr "" |
| 212 |
|
| 213 |
#. type: SS |
| 214 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 215 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 216 |
#, no-wrap |
| 217 |
msgid "mlockall() and munlockall()" |
| 218 |
msgstr "mlockall() y munlockall()" |
| 219 |
|
| 220 |
#. type: Plain text |
| 221 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 222 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 223 |
msgid "" |
| 224 |
"B<mlockall>() locks all pages mapped into the address space of the calling " |
| 225 |
"process. This includes the pages of the code, data, and stack segment, as " |
| 226 |
"well as shared libraries, user space kernel data, shared memory, and memory-" |
| 227 |
"mapped files. All mapped pages are guaranteed to be resident in RAM when " |
| 228 |
"the call returns successfully; the pages are guaranteed to stay in RAM until " |
| 229 |
"later unlocked." |
| 230 |
msgstr "" |
| 231 |
|
| 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 I<flags> argument is constructed as the bitwise OR of one or more of the " |
| 237 |
"following constants:" |
| 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<MCL_CURRENT>" |
| 245 |
msgstr "B<MCL_CURRENT>" |
| 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 |
"Lock all pages which are currently mapped into the address space of the " |
| 252 |
"process." |
| 253 |
msgstr "" |
| 254 |
|
| 255 |
#. type: TP |
| 256 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 257 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 258 |
#, no-wrap |
| 259 |
msgid "B<MCL_FUTURE>" |
| 260 |
msgstr "B<MCL_FUTURE>" |
| 261 |
|
| 262 |
#. type: Plain text |
| 263 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 264 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 265 |
msgid "" |
| 266 |
"Lock all pages which will become mapped into the address space of the " |
| 267 |
"process in the future. These could be, for instance, new pages required by " |
| 268 |
"a growing heap and stack as well as new memory-mapped files or shared memory " |
| 269 |
"regions." |
| 270 |
msgstr "" |
| 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<MCL_ONFAULT> (since Linux 4.4)" |
| 277 |
msgstr "B<MCL_ONFAULT> (desde Linux 4.4)" |
| 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 |
"Used together with B<MCL_CURRENT>, B<MCL_FUTURE>, or both. Mark all current " |
| 284 |
"(with B<MCL_CURRENT>) or future (with B<MCL_FUTURE>) mappings to lock " |
| 285 |
"pages when they are faulted in. When used with B<MCL_CURRENT>, all present " |
| 286 |
"pages are locked, but B<mlockall>() will not fault in non-present pages. " |
| 287 |
"When used with B<MCL_FUTURE>, all future mappings will be marked to lock " |
| 288 |
"pages when they are faulted in, but they will not be populated by the lock " |
| 289 |
"when the mapping is created. B<MCL_ONFAULT> must be used with either " |
| 290 |
"B<MCL_CURRENT> or B<MCL_FUTURE> or both." |
| 291 |
msgstr "" |
| 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 "" |
| 297 |
"If B<MCL_FUTURE> has been specified, then a later system call (e.g., " |
| 298 |
"B<mmap>(2), B<sbrk>(2), B<malloc>(3)), may fail if it would cause the number " |
| 299 |
"of locked bytes to exceed the permitted maximum (see below). In the same " |
| 300 |
"circumstances, stack growth may likewise fail: the kernel will deny stack " |
| 301 |
"expansion and deliver a B<SIGSEGV> signal to the process." |
| 302 |
msgstr "" |
| 303 |
|
| 304 |
#. type: Plain text |
| 305 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 306 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 307 |
msgid "" |
| 308 |
"B<munlockall>() unlocks all pages mapped into the address space of the " |
| 309 |
"calling process." |
| 310 |
msgstr "" |
| 311 |
|
| 312 |
#. type: SH |
| 313 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 314 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 315 |
#, no-wrap |
| 316 |
msgid "RETURN VALUE" |
| 317 |
msgstr "VALOR DEVUELTO" |
| 318 |
|
| 319 |
#. type: Plain text |
| 320 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 321 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 322 |
#, fuzzy |
| 323 |
#| msgid "" |
| 324 |
#| "On success, B<mlock> returns zero. On error, -1 is returned, I<errno> is " |
| 325 |
#| "set appropriately, and no changes are made to any locks in the address " |
| 326 |
#| "space of the process." |
| 327 |
msgid "" |
| 328 |
"On success, these system calls return 0. On error, -1 is returned, I<errno> " |
| 329 |
"is set to indicate the error, and no changes are made to any locks in the " |
| 330 |
"address space of the process." |
| 331 |
msgstr "" |
| 332 |
"En caso de éxito, B<mlock> devuelve cero. Si hay error, se devuelve -1, " |
| 333 |
"I<errno> se activa convenientemente y no se realiza ningún cambio en ningún " |
| 334 |
"bloqueo en el espacio de direcciones del proceso." |
| 335 |
|
| 336 |
#. type: SH |
| 337 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 338 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 339 |
#, no-wrap |
| 340 |
msgid "ERRORS" |
| 341 |
msgstr "ERRORES" |
| 342 |
|
| 343 |
#. type: TP |
| 344 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 345 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 346 |
#, no-wrap |
| 347 |
msgid "B<EAGAIN>" |
| 348 |
msgstr "B<EAGAIN>" |
| 349 |
|
| 350 |
#. type: Plain text |
| 351 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 352 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 353 |
msgid "" |
| 354 |
"(B<mlock>(), B<mlock2>(), and B<munlock>()) Some or all of the specified " |
| 355 |
"address range could not be locked." |
| 356 |
msgstr "" |
| 357 |
|
| 358 |
#. type: TP |
| 359 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 360 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 361 |
#, no-wrap |
| 362 |
msgid "B<EINVAL>" |
| 363 |
msgstr "B<EINVAL>" |
| 364 |
|
| 365 |
#. type: Plain text |
| 366 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 367 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 368 |
msgid "" |
| 369 |
"(B<mlock>(), B<mlock2>(), and B<munlock>()) The result of the addition " |
| 370 |
"I<addr>+I<size> was less than I<addr> (e.g., the addition may have resulted " |
| 371 |
"in an overflow)." |
| 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 |
#, fuzzy |
| 378 |
#| msgid "B<mlock2>() is Linux specific." |
| 379 |
msgid "(B<mlock2>()) Unknown I<flags> were specified." |
| 380 |
msgstr "B<mlock2>() es específica de Linux." |
| 381 |
|
| 382 |
#. type: Plain text |
| 383 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 384 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 385 |
msgid "" |
| 386 |
"(B<mlockall>()) Unknown I<flags> were specified or B<MCL_ONFAULT> was " |
| 387 |
"specified without either B<MCL_FUTURE> or B<MCL_CURRENT>." |
| 388 |
msgstr "" |
| 389 |
|
| 390 |
#. type: Plain text |
| 391 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 392 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 393 |
msgid "(Not on Linux) I<addr> was not a multiple of the page size." |
| 394 |
msgstr "" |
| 395 |
|
| 396 |
#. type: TP |
| 397 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 398 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 399 |
#, no-wrap |
| 400 |
msgid "B<ENOMEM>" |
| 401 |
msgstr "B<ENOMEM>" |
| 402 |
|
| 403 |
#. type: Plain text |
| 404 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 405 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 406 |
#, fuzzy |
| 407 |
#| msgid "" |
| 408 |
#| "Some of the specified address range does not correspond to mapped pages " |
| 409 |
#| "in the address space of the process or the process tried to exceed the " |
| 410 |
#| "maximum number of allowed locked pages." |
| 411 |
msgid "" |
| 412 |
"(B<mlock>(), B<mlock2>(), and B<munlock>()) Some of the specified address " |
| 413 |
"range does not correspond to mapped pages in the address space of the " |
| 414 |
"process." |
| 415 |
msgstr "" |
| 416 |
"Alguna parte del rango de direcciones no corresponde a páginas asociadas en " |
| 417 |
"el espacio de direcciones del proceso o el proceso intentó exceder el número " |
| 418 |
"máximo de páginas bloqueadas permitido." |
| 419 |
|
| 420 |
#. I.e., the number of VMAs would exceed the 64kB maximum |
| 421 |
#. type: Plain text |
| 422 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 423 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 424 |
msgid "" |
| 425 |
"(B<mlock>(), B<mlock2>(), and B<munlock>()) Locking or unlocking a region " |
| 426 |
"would result in the total number of mappings with distinct attributes (e.g., " |
| 427 |
"locked versus unlocked) exceeding the allowed maximum. (For example, " |
| 428 |
"unlocking a range in the middle of a currently locked mapping would result " |
| 429 |
"in three mappings: two locked mappings at each end and an unlocked mapping " |
| 430 |
"in the middle.)" |
| 431 |
msgstr "" |
| 432 |
|
| 433 |
#. type: Plain text |
| 434 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 435 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 436 |
msgid "" |
| 437 |
"(Linux 2.6.9 and later) the caller had a nonzero B<RLIMIT_MEMLOCK> soft " |
| 438 |
"resource limit, but tried to lock more memory than the limit permitted. " |
| 439 |
"This limit is not enforced if the process is privileged (B<CAP_IPC_LOCK>)." |
| 440 |
msgstr "" |
| 441 |
|
| 442 |
#. In the case of mlock(), this check is somewhat buggy: it doesn't |
| 443 |
#. take into account whether the to-be-locked range overlaps with |
| 444 |
#. already locked pages. Thus, suppose we allocate |
| 445 |
#. (num_physpages / 4 + 1) of memory, and lock those pages once using |
| 446 |
#. mlock(), and then lock the *same* page range a second time. |
| 447 |
#. In the case, the second mlock() call will fail, since the check |
| 448 |
#. calculates that the process is trying to lock (num_physpages / 2 + 2) |
| 449 |
#. pages, which of course is not true. (MTK, Nov 04, kernel 2.4.28) |
| 450 |
#. type: Plain text |
| 451 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 452 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 453 |
msgid "" |
| 454 |
"(Linux 2.4 and earlier) the calling process tried to lock more than half of " |
| 455 |
"RAM." |
| 456 |
msgstr "" |
| 457 |
|
| 458 |
#. type: TP |
| 459 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 460 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 461 |
#, no-wrap |
| 462 |
msgid "B<EPERM>" |
| 463 |
msgstr "B<EPERM>" |
| 464 |
|
| 465 |
#. type: Plain text |
| 466 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 467 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 468 |
msgid "" |
| 469 |
"The caller is not privileged, but needs privilege (B<CAP_IPC_LOCK>) to " |
| 470 |
"perform the requested operation." |
| 471 |
msgstr "" |
| 472 |
|
| 473 |
#. type: Plain text |
| 474 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 475 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 476 |
msgid "" |
| 477 |
"(B<munlockall>()) (Linux 2.6.8 and earlier) The caller was not privileged " |
| 478 |
"(B<CAP_IPC_LOCK>)." |
| 479 |
msgstr "" |
| 480 |
|
| 481 |
#. type: SH |
| 482 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 483 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 484 |
#, no-wrap |
| 485 |
msgid "VERSIONS" |
| 486 |
msgstr "VERSIONES" |
| 487 |
|
| 488 |
#. type: SS |
| 489 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 490 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 491 |
#, no-wrap |
| 492 |
msgid "Linux" |
| 493 |
msgstr "Linux" |
| 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 |
#, fuzzy |
| 499 |
#| msgid "" |
| 500 |
#| "With the Linux system call, I<addr> is automatically rounded down to the " |
| 501 |
#| "nearest page boundary. However, POSIX 1003.1-2001 allows an " |
| 502 |
#| "implementation to require that I<addr> is page aligned, so portable " |
| 503 |
#| "applications should ensure this." |
| 504 |
msgid "" |
| 505 |
"Under Linux, B<mlock>(), B<mlock2>(), and B<munlock>() automatically round " |
| 506 |
"I<addr> down to the nearest page boundary. However, the POSIX.1 " |
| 507 |
"specification of B<mlock>() and B<munlock>() allows an implementation to " |
| 508 |
"require that I<addr> is page aligned, so portable applications should ensure " |
| 509 |
"this." |
| 510 |
msgstr "" |
| 511 |
"Con la llamada al sistema de Linux, I<addr> se redondea hacia abajo " |
| 512 |
"automáticamente hacia el límite de página más cercano. Sin embargo, POSIX " |
| 513 |
"1003.1-2001 permite una implementación que requiere que I<addr> esté en " |
| 514 |
"situado un límite de página, por lo que las aplicaciones deberían asegurar " |
| 515 |
"este requisito." |
| 516 |
|
| 517 |
#. type: Plain text |
| 518 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 519 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 520 |
msgid "" |
| 521 |
"The I<VmLck> field of the Linux-specific I</proc/>pidI</status> file shows " |
| 522 |
"how many kilobytes of memory the process with ID I<PID> has locked using " |
| 523 |
"B<mlock>(), B<mlock2>(), B<mlockall>(), and B<mmap>(2) B<MAP_LOCKED>." |
| 524 |
msgstr "" |
| 525 |
|
| 526 |
#. type: SH |
| 527 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 528 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 529 |
#, no-wrap |
| 530 |
msgid "STANDARDS" |
| 531 |
msgstr "ESTÁNDARES" |
| 532 |
|
| 533 |
#. type: TP |
| 534 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 535 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 536 |
#, fuzzy, no-wrap |
| 537 |
#| msgid "For B<mlock2>():" |
| 538 |
msgid "B<mlock>()" |
| 539 |
msgstr "Para B<mlock2>():" |
| 540 |
|
| 541 |
#. type: TQ |
| 542 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 543 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 544 |
#, fuzzy, no-wrap |
| 545 |
#| msgid "For B<munlockall>():" |
| 546 |
msgid "B<munlock>()" |
| 547 |
msgstr "Para B<munlockall>():" |
| 548 |
|
| 549 |
#. type: TQ |
| 550 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 551 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 552 |
#, fuzzy, no-wrap |
| 553 |
#| msgid "For B<mlockall>():" |
| 554 |
msgid "B<mlockall>()" |
| 555 |
msgstr "Para B<mlockall>():" |
| 556 |
|
| 557 |
#. type: TQ |
| 558 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 559 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 560 |
#, fuzzy, no-wrap |
| 561 |
#| msgid "For B<munlockall>():" |
| 562 |
msgid "B<munlockall>()" |
| 563 |
msgstr "Para B<munlockall>():" |
| 564 |
|
| 565 |
#. type: Plain text |
| 566 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 567 |
#: opensuse-tumbleweed |
| 568 |
msgid "POSIX.1-2024." |
| 569 |
msgstr "POSIX.1-2024." |
| 570 |
|
| 571 |
#. type: TP |
| 572 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 573 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 574 |
#, fuzzy, no-wrap |
| 575 |
#| msgid "For B<mlock2>():" |
| 576 |
msgid "B<mlock2>()" |
| 577 |
msgstr "Para B<mlock2>():" |
| 578 |
|
| 579 |
#. type: Plain text |
| 580 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 581 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 582 |
msgid "Linux." |
| 583 |
msgstr "Linux." |
| 584 |
|
| 585 |
#. type: Plain text |
| 586 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 587 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 588 |
#, fuzzy |
| 589 |
#| msgid "" |
| 590 |
#| "On POSIX systems on which B<mlock> and B<munlock> are available, " |
| 591 |
#| "B<_POSIX_MEMLOCK_RANGE> is defined in E<lt>unistd.hE<gt> and the value " |
| 592 |
#| "B<PAGESIZE> from E<lt>limits.hE<gt> indicates the number of bytes per " |
| 593 |
#| "page." |
| 594 |
msgid "" |
| 595 |
"On POSIX systems on which B<mlock>() and B<munlock>() are available, " |
| 596 |
"B<_POSIX_MEMLOCK_RANGE> is defined in I<E<lt>unistd.hE<gt>> and the number " |
| 597 |
"of bytes in a page can be determined from the constant B<PAGESIZE> (if " |
| 598 |
"defined) in I<E<lt>limits.hE<gt>> or by calling I<sysconf(_SC_PAGESIZE)>." |
| 599 |
msgstr "" |
| 600 |
"En los sistemas POSIX con B<mlock> y B<munlock> disponibles, se define " |
| 601 |
"B<_POSIX_MEMLOCK_RANGE> en E<lt>unistd.hE<gt> y el valor de B<PAGESIZE> de " |
| 602 |
"E<lt>limits.hE<gt> indica el número de bytes por página." |
| 603 |
|
| 604 |
#. POSIX.1-2001: It shall be defined to -1 or 0 or 200112L. |
| 605 |
#. -1: unavailable, 0: ask using sysconf(). |
| 606 |
#. glibc defines it to 1. |
| 607 |
#. type: Plain text |
| 608 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 609 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 610 |
#, fuzzy |
| 611 |
#| msgid "" |
| 612 |
#| "On POSIX systems on which B<mlock> and B<munlock> are available, " |
| 613 |
#| "B<_POSIX_MEMLOCK_RANGE> is defined in E<lt>unistd.hE<gt> and the value " |
| 614 |
#| "B<PAGESIZE> from E<lt>limits.hE<gt> indicates the number of bytes per " |
| 615 |
#| "page." |
| 616 |
msgid "" |
| 617 |
"On POSIX systems on which B<mlockall>() and B<munlockall>() are available, " |
| 618 |
"B<_POSIX_MEMLOCK> is defined in I<E<lt>unistd.hE<gt>> to a value greater " |
| 619 |
"than 0. (See also B<sysconf>(3).)" |
| 620 |
msgstr "" |
| 621 |
"En los sistemas POSIX con B<mlock> y B<munlock> disponibles, se define " |
| 622 |
"B<_POSIX_MEMLOCK_RANGE> en E<lt>unistd.hE<gt> y el valor de B<PAGESIZE> de " |
| 623 |
"E<lt>limits.hE<gt> indica el número de bytes por página." |
| 624 |
|
| 625 |
#. type: SH |
| 626 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 627 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 628 |
#, no-wrap |
| 629 |
msgid "HISTORY" |
| 630 |
msgstr "HISTORIAL" |
| 631 |
|
| 632 |
#. type: Plain text |
| 633 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 634 |
#: opensuse-tumbleweed |
| 635 |
#, fuzzy |
| 636 |
#| msgid "4.3BSD, SVr4, POSIX.1-1988." |
| 637 |
msgid "SVr4, POSIX.1-1996." |
| 638 |
msgstr "4.3BSD, SVr4, POSIX.1-1988." |
| 639 |
|
| 640 |
#. type: Plain text |
| 641 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 642 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 643 |
#, fuzzy |
| 644 |
#| msgid "Since glibc 2.2.2:" |
| 645 |
msgid "Linux 4.4, glibc 2.27." |
| 646 |
msgstr "Desde glibc 2.2.2:" |
| 647 |
|
| 648 |
#. type: SH |
| 649 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 650 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 651 |
#, no-wrap |
| 652 |
msgid "NOTES" |
| 653 |
msgstr "NOTAS" |
| 654 |
|
| 655 |
#. type: Plain text |
| 656 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 657 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 658 |
#, fuzzy |
| 659 |
#| msgid "" |
| 660 |
#| "Memory locking has two main applications: real-time algorithms and high-" |
| 661 |
#| "security data processing. Real-time applications require deterministic " |
| 662 |
#| "timing, and, like scheduling, paging is one major cause of unexpected " |
| 663 |
#| "program execution delays. Real-time applications will usually also switch " |
| 664 |
#| "to a real-time scheduler with B<sched_setscheduler>. Cryptographic " |
| 665 |
#| "security software often handles critical bytes like passwords or secret " |
| 666 |
#| "keys as data structures. As a result of paging, these secrets could be " |
| 667 |
#| "transfered onto a persistent swap store medium, where they might be " |
| 668 |
#| "accessible to the enemy long after the security software has erased the " |
| 669 |
#| "secrets in RAM and terminated." |
| 670 |
msgid "" |
| 671 |
"Memory locking has two main applications: real-time algorithms and high-" |
| 672 |
"security data processing. Real-time applications require deterministic " |
| 673 |
"timing, and, like scheduling, paging is one major cause of unexpected " |
| 674 |
"program execution delays. Real-time applications will usually also switch " |
| 675 |
"to a real-time scheduler with B<sched_setscheduler>(2). Cryptographic " |
| 676 |
"security software often handles critical bytes like passwords or secret keys " |
| 677 |
"as data structures. As a result of paging, these secrets could be " |
| 678 |
"transferred onto a persistent swap store medium, where they might be " |
| 679 |
"accessible to the enemy long after the security software has erased the " |
| 680 |
"secrets in RAM and terminated. (But be aware that the suspend mode on " |
| 681 |
"laptops and some desktop computers will save a copy of the system's RAM to " |
| 682 |
"disk, regardless of memory locks.)" |
| 683 |
msgstr "" |
| 684 |
"El bloqueo de memoria tiene dos aplicaciones fundamentales: algoritmos en " |
| 685 |
"tiempo real y procesado de datos de alta seguridad. Las aplicaciones en " |
| 686 |
"tiempo real requieren una temporización determinista, y la paginación es una " |
| 687 |
"de las causas principales de retardos inesperados en la ejecución de " |
| 688 |
"programas, junto con la planificación (scheduling). Las aplicaciones en " |
| 689 |
"tiempo real suelen conmutar a un planificador en tiempo real con " |
| 690 |
"B<sched_setscheduler>. El software de seguridad criptográfico a menudo " |
| 691 |
"trabaja con bytes críticos tales como contraseñas o claves secretas. Como " |
| 692 |
"resultado de la paginación, estos secretos pueden ser transferidos a un " |
| 693 |
"medio de almacenamiento de intercambio persistente, donde podría ser leído " |
| 694 |
"por el enemigo mucho después de que el programa de seguridad haya borrado " |
| 695 |
"los secretos de la RAM y terminado." |
| 696 |
|
| 697 |
#. type: Plain text |
| 698 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 699 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 700 |
msgid "" |
| 701 |
"Real-time processes that are using B<mlockall>() to prevent delays on page " |
| 702 |
"faults should reserve enough locked stack pages before entering the time-" |
| 703 |
"critical section, so that no page fault can be caused by function calls. " |
| 704 |
"This can be achieved by calling a function that allocates a sufficiently " |
| 705 |
"large automatic variable (an array) and writes to the memory occupied by " |
| 706 |
"this array in order to touch these stack pages. This way, enough pages will " |
| 707 |
"be mapped for the stack and can be locked into RAM. The dummy writes ensure " |
| 708 |
"that not even copy-on-write page faults can occur in the critical section." |
| 709 |
msgstr "" |
| 710 |
|
| 711 |
#. type: Plain text |
| 712 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 713 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 714 |
msgid "" |
| 715 |
"Memory locks are not inherited by a child created via B<fork>(2) and are " |
| 716 |
"automatically removed (unlocked) during an B<execve>(2) or when the process " |
| 717 |
"terminates. The B<mlockall>() B<MCL_FUTURE> and B<MCL_FUTURE | " |
| 718 |
"MCL_ONFAULT> settings are not inherited by a child created via B<fork>(2) " |
| 719 |
"and are cleared during an B<execve>(2)." |
| 720 |
msgstr "" |
| 721 |
|
| 722 |
#. type: Plain text |
| 723 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 724 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 725 |
msgid "" |
| 726 |
"Note that B<fork>(2) will prepare the address space for a copy-on-write " |
| 727 |
"operation. The consequence is that any write access that follows will cause " |
| 728 |
"a page fault that in turn may cause high latencies for a real-time process. " |
| 729 |
"Therefore, it is crucial not to invoke B<fork>(2) after an B<mlockall>() " |
| 730 |
"or B<mlock>() operation\\[em]not even from a thread which runs at a low " |
| 731 |
"priority within a process which also has a thread running at elevated " |
| 732 |
"priority." |
| 733 |
msgstr "" |
| 734 |
|
| 735 |
#. type: Plain text |
| 736 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 737 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 738 |
msgid "" |
| 739 |
"The memory lock on an address range is automatically removed if the address " |
| 740 |
"range is unmapped via B<munmap>(2)." |
| 741 |
msgstr "" |
| 742 |
|
| 743 |
#. type: Plain text |
| 744 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 745 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 746 |
msgid "" |
| 747 |
"Memory locks do not stack, that is, pages which have been locked several " |
| 748 |
"times by calls to B<mlock>(), B<mlock2>(), or B<mlockall>() will be " |
| 749 |
"unlocked by a single call to B<munlock>() for the corresponding range or by " |
| 750 |
"B<munlockall>(). Pages which are mapped to several locations or by several " |
| 751 |
"processes stay locked into RAM as long as they are locked at least at one " |
| 752 |
"location or by at least one process." |
| 753 |
msgstr "" |
| 754 |
"Los bloqueos de memoria no son acumulativos, es decir, si una página ha sido " |
| 755 |
"bloqueda varias veces mediante llamadas a B<mlock>(), B<mlock2>() o " |
| 756 |
"B<mlockall>() será desbloqueada con una simple llamada a B<munlock>() para " |
| 757 |
"el rango correspondiente o con B<munlockall>(). Las páginas que son " |
| 758 |
"asociadas a varias zonas o a varios procesos permanecen bloqueadas en RAM " |
| 759 |
"mientras lo estén por alguna zona o proceso." |
| 760 |
|
| 761 |
#. type: Plain text |
| 762 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 763 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 764 |
msgid "" |
| 765 |
"If a call to B<mlockall>() which uses the B<MCL_FUTURE> flag is followed by " |
| 766 |
"another call that does not specify this flag, the changes made by the " |
| 767 |
"B<MCL_FUTURE> call will be lost." |
| 768 |
msgstr "" |
| 769 |
|
| 770 |
#. type: Plain text |
| 771 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 772 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 773 |
msgid "" |
| 774 |
"The B<mlock2>() B<MLOCK_ONFAULT> flag and the B<mlockall>() B<MCL_ONFAULT> " |
| 775 |
"flag allow efficient memory locking for applications that deal with large " |
| 776 |
"mappings where only a (small) portion of pages in the mapping are touched. " |
| 777 |
"In such cases, locking all of the pages in a mapping would incur a " |
| 778 |
"significant penalty for memory locking." |
| 779 |
msgstr "" |
| 780 |
|
| 781 |
#. type: SS |
| 782 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 783 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 784 |
#, no-wrap |
| 785 |
msgid "Limits and permissions" |
| 786 |
msgstr "" |
| 787 |
|
| 788 |
#. type: Plain text |
| 789 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 790 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 791 |
msgid "" |
| 792 |
"In Linux 2.6.8 and earlier, a process must be privileged (B<CAP_IPC_LOCK>) " |
| 793 |
"in order to lock memory and the B<RLIMIT_MEMLOCK> soft resource limit " |
| 794 |
"defines a limit on how much memory the process may lock." |
| 795 |
msgstr "" |
| 796 |
|
| 797 |
#. type: Plain text |
| 798 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 799 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 800 |
msgid "" |
| 801 |
"Since Linux 2.6.9, no limits are placed on the amount of memory that a " |
| 802 |
"privileged process can lock and the B<RLIMIT_MEMLOCK> soft resource limit " |
| 803 |
"instead defines a limit on how much memory an unprivileged process may lock." |
| 804 |
msgstr "" |
| 805 |
|
| 806 |
#. type: SH |
| 807 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 808 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 809 |
#, no-wrap |
| 810 |
msgid "BUGS" |
| 811 |
msgstr "ERRORES" |
| 812 |
|
| 813 |
#. commit 0cf2f6f6dc605e587d2c1120f295934c77e810e8 |
| 814 |
#. type: Plain text |
| 815 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 816 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 817 |
msgid "" |
| 818 |
"In Linux 4.8 and earlier, a bug in the kernel's accounting of locked memory " |
| 819 |
"for unprivileged processes (i.e., without B<CAP_IPC_LOCK>) meant that if " |
| 820 |
"the region specified by I<addr> and I<size> overlapped an existing lock, " |
| 821 |
"then the already locked bytes in the overlapping region were counted twice " |
| 822 |
"when checking against the limit. Such double accounting could incorrectly " |
| 823 |
"calculate a \"total locked memory\" value for the process that exceeded the " |
| 824 |
"B<RLIMIT_MEMLOCK> limit, with the result that B<mlock>() and B<mlock2>() " |
| 825 |
"would fail on requests that should have succeeded. This bug was fixed in " |
| 826 |
"Linux 4.9." |
| 827 |
msgstr "" |
| 828 |
|
| 829 |
#. type: Plain text |
| 830 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 831 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 832 |
msgid "" |
| 833 |
"In Linux 2.4 series of kernels up to and including Linux 2.4.17, a bug " |
| 834 |
"caused the B<mlockall>() B<MCL_FUTURE> flag to be inherited across a " |
| 835 |
"B<fork>(2). This was rectified in Linux 2.4.18." |
| 836 |
msgstr "" |
| 837 |
|
| 838 |
#. See the following LKML thread: |
| 839 |
#. http://marc.theaimsgroup.com/?l=linux-kernel&m=113801392825023&w=2 |
| 840 |
#. "Rationale for RLIMIT_MEMLOCK" |
| 841 |
#. 23 Jan 2006 |
| 842 |
#. type: Plain text |
| 843 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 844 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 845 |
msgid "" |
| 846 |
"Since Linux 2.6.9, if a privileged process calls I<mlockall(MCL_FUTURE)> and " |
| 847 |
"later drops privileges (loses the B<CAP_IPC_LOCK> capability by, for " |
| 848 |
"example, setting its effective UID to a nonzero value), then subsequent " |
| 849 |
"memory allocations (e.g., B<mmap>(2), B<brk>(2)) will fail if the " |
| 850 |
"B<RLIMIT_MEMLOCK> resource limit is encountered." |
| 851 |
msgstr "" |
| 852 |
|
| 853 |
#. type: SH |
| 854 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 855 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 856 |
#, no-wrap |
| 857 |
msgid "SEE ALSO" |
| 858 |
msgstr "VÉASE TAMBIÉN" |
| 859 |
|
| 860 |
#. type: Plain text |
| 861 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 862 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 863 |
msgid "" |
| 864 |
"B<mincore>(2), B<mmap>(2), B<setrlimit>(2), B<shmctl>(2), B<sysconf>(3), " |
| 865 |
"B<proc>(5), B<capabilities>(7)" |
| 866 |
msgstr "" |
| 867 |
"B<mincore>(2), B<mmap>(2), B<setrlimit>(2), B<shmctl>(2), B<sysconf>(3), " |
| 868 |
"B<proc>(5), B<capabilities>(7)" |
| 869 |
|
| 870 |
#. type: TH |
| 871 |
#: debian-trixie |
| 872 |
#, no-wrap |
| 873 |
msgid "2024-05-02" |
| 874 |
msgstr "2 Mayo 2024" |
| 875 |
|
| 876 |
#. type: TH |
| 877 |
#: debian-trixie |
| 878 |
#, no-wrap |
| 879 |
msgid "Linux man-pages 6.9.1" |
| 880 |
msgstr "Páginas de Manual de Linux 6.9.1" |
| 881 |
|
| 882 |
#. type: Plain text |
| 883 |
#: debian-trixie |
| 884 |
msgid "Standard C library (I<libc>, I<-lc>)" |
| 885 |
msgstr "Biblioteca Estándar C (I<libc>, I<-lc>)" |
| 886 |
|
| 887 |
#. type: Plain text |
| 888 |
#: debian-trixie |
| 889 |
#, fuzzy, no-wrap |
| 890 |
#| msgid "" |
| 891 |
#| "B<int mlock(const void *>I<addr>B<, size_t >I<len>B<);>\n" |
| 892 |
#| "B<int mlock2(const void *>I<addr>B<, size_t >I<len>B<, int >I<flags>B<);>\n" |
| 893 |
#| "B<int munlock(const void *>I<addr>B<, size_t >I<len>B<);>\n" |
| 894 |
msgid "" |
| 895 |
"B<int mlock(const void >I<addr>B<[.>I<len>B<], size_t >I<len>B<);>\n" |
| 896 |
"B<int mlock2(const void >I<addr>B<[.>I<len>B<], size_t >I<len>B<, unsigned int >I<flags>B<);>\n" |
| 897 |
"B<int munlock(const void >I<addr>B<[.>I<len>B<], size_t >I<len>B<);>\n" |
| 898 |
msgstr "" |
| 899 |
"B<int mlock(const void *>I<addr>B<, size_t >I<len>B<);>\n" |
| 900 |
"B<int mlock2(const void *>I<addr>B<, size_t >I<len>B<, int >I<flags>B<);>\n" |
| 901 |
"B<int munlock(const void *>I<addr>B<, size_t >I<len>B<);>\n" |
| 902 |
|
| 903 |
#. type: Plain text |
| 904 |
#: debian-trixie |
| 905 |
msgid "" |
| 906 |
"B<mlock>() locks pages in the address range starting at I<addr> and " |
| 907 |
"continuing for I<len> bytes. All pages that contain a part of the specified " |
| 908 |
"address range are guaranteed to be resident in RAM when the call returns " |
| 909 |
"successfully; the pages are guaranteed to stay in RAM until later unlocked." |
| 910 |
msgstr "" |
| 911 |
|
| 912 |
#. commit a8ca5d0ecbdde5cc3d7accacbd69968b0c98764e |
| 913 |
#. commit de60f5f10c58d4f34b68622442c0e04180367f3f |
| 914 |
#. commit b0f205c2a3082dd9081f9a94e50658c5fa906ff1 |
| 915 |
#. type: Plain text |
| 916 |
#: debian-trixie |
| 917 |
msgid "" |
| 918 |
"B<mlock2>() also locks pages in the specified range starting at I<addr> and " |
| 919 |
"continuing for I<len> bytes. However, the state of the pages contained in " |
| 920 |
"that range after the call returns successfully will depend on the value in " |
| 921 |
"the I<flags> argument." |
| 922 |
msgstr "" |
| 923 |
|
| 924 |
#. type: Plain text |
| 925 |
#: debian-trixie |
| 926 |
msgid "" |
| 927 |
"B<munlock>() unlocks pages in the address range starting at I<addr> and " |
| 928 |
"continuing for I<len> bytes. After this call, all pages that contain a part " |
| 929 |
"of the specified memory range can be moved to external swap space again by " |
| 930 |
"the kernel." |
| 931 |
msgstr "" |
| 932 |
|
| 933 |
#. type: Plain text |
| 934 |
#: debian-trixie |
| 935 |
msgid "" |
| 936 |
"(B<mlock>(), B<mlock2>(), and B<munlock>()) The result of the addition " |
| 937 |
"I<addr>+I<len> was less than I<addr> (e.g., the addition may have resulted " |
| 938 |
"in an overflow)." |
| 939 |
msgstr "" |
| 940 |
|
| 941 |
#. type: Plain text |
| 942 |
#: debian-trixie fedora-44 fedora-rawhide |
| 943 |
msgid "POSIX.1-2008." |
| 944 |
msgstr "POSIX.1-2008." |
| 945 |
|
| 946 |
#. type: Plain text |
| 947 |
#: debian-trixie fedora-44 fedora-rawhide |
| 948 |
msgid "POSIX.1-2001, POSIX.1-2008, SVr4." |
| 949 |
msgstr "POSIX.1-2001, POSIX.1-2008, SVr4." |
| 950 |
|
| 951 |
#. commit 0cf2f6f6dc605e587d2c1120f295934c77e810e8 |
| 952 |
#. type: Plain text |
| 953 |
#: debian-trixie |
| 954 |
msgid "" |
| 955 |
"In Linux 4.8 and earlier, a bug in the kernel's accounting of locked memory " |
| 956 |
"for unprivileged processes (i.e., without B<CAP_IPC_LOCK>) meant that if " |
| 957 |
"the region specified by I<addr> and I<len> overlapped an existing lock, then " |
| 958 |
"the already locked bytes in the overlapping region were counted twice when " |
| 959 |
"checking against the limit. Such double accounting could incorrectly " |
| 960 |
"calculate a \"total locked memory\" value for the process that exceeded the " |
| 961 |
"B<RLIMIT_MEMLOCK> limit, with the result that B<mlock>() and B<mlock2>() " |
| 962 |
"would fail on requests that should have succeeded. This bug was fixed in " |
| 963 |
"Linux 4.9." |
| 964 |
msgstr "" |
| 965 |
|
| 966 |
#. type: TH |
| 967 |
#: fedora-44 fedora-rawhide |
| 968 |
#, no-wrap |
| 969 |
msgid "2024-11-17" |
| 970 |
msgstr "17 Noviembre 2024" |
| 971 |
|
| 972 |
#. type: TH |
| 973 |
#: fedora-44 fedora-rawhide |
| 974 |
#, no-wrap |
| 975 |
msgid "Linux man-pages 6.13" |
| 976 |
msgstr "Páginas de Manual de Linux 6.13" |
| 977 |
|
| 978 |
#. type: Plain text |
| 979 |
#: fedora-44 fedora-rawhide |
| 980 |
#, fuzzy, no-wrap |
| 981 |
#| msgid "" |
| 982 |
#| "B<int mlock(const void *>I<addr>B<, size_t >I<len>B<);>\n" |
| 983 |
#| "B<int mlock2(const void *>I<addr>B<, size_t >I<len>B<, int >I<flags>B<);>\n" |
| 984 |
#| "B<int munlock(const void *>I<addr>B<, size_t >I<len>B<);>\n" |
| 985 |
msgid "" |
| 986 |
"B<int mlock(const void >I<addr>B<[.>I<size>B<], size_t >I<size>B<);>\n" |
| 987 |
"B<int mlock2(const void >I<addr>B<[.>I<size>B<], size_t >I<size>B<, unsigned int >I<flags>B<);>\n" |
| 988 |
"B<int munlock(const void >I<addr>B<[.>I<size>B<], size_t >I<size>B<);>\n" |
| 989 |
msgstr "" |
| 990 |
"B<int mlock(const void *>I<addr>B<, size_t >I<len>B<);>\n" |
| 991 |
"B<int mlock2(const void *>I<addr>B<, size_t >I<len>B<, int >I<flags>B<);>\n" |
| 992 |
"B<int munlock(const void *>I<addr>B<, size_t >I<len>B<);>\n" |
| 993 |
|
| 994 |
#. type: TH |
| 995 |
#: mageia-cauldron |
| 996 |
#, no-wrap |
| 997 |
msgid "Linux man-pages 6.17" |
| 998 |
msgstr "Páginas de Manual de Linux 6.17" |
| 999 |
|
| 1000 |
#. type: TH |
| 1001 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 1002 |
#, no-wrap |
| 1003 |
msgid "Linux man-pages (unreleased)" |
| 1004 |
msgstr "Páginas de Manual de Linux (no publicadas)" |