| 1 |
# Russian translation of manpages |
| 2 |
# This file is distributed under the same license as the manpages-l10n package. |
| 3 |
# Copyright © of this file: |
| 4 |
# aereiae <[email protected]>, 2014. |
| 5 |
# Alexey <[email protected]>, 2015. |
| 6 |
# Azamat Hackimov <[email protected]>, 2013-2017. |
| 7 |
# Dmitriy S. Seregin <[email protected]>, 2013. |
| 8 |
# Dmitry Bolkhovskikh <[email protected]>, 2017. |
| 9 |
# ITriskTI <[email protected]>, 2013. |
| 10 |
# Max Is <[email protected]>, 2016. |
| 11 |
# Yuri Kozlov <[email protected]>, 2011-2019. |
| 12 |
# Иван Павлов <[email protected]>, 2017. |
| 13 |
# Малянов Евгений Викторович <[email protected]>, 2014. |
| 14 |
msgid "" |
| 15 |
msgstr "" |
| 16 |
"Project-Id-Version: manpages-l10n\n" |
| 17 |
"POT-Creation-Date: 2026-06-05 06:32+0200\n" |
| 18 |
"PO-Revision-Date: 2024-12-21 19:49+0300\n" |
| 19 |
"Last-Translator: Yuri Kozlov <[email protected]>\n" |
| 20 |
"Language-Team: Russian <[email protected]>\n" |
| 21 |
"Language: ru\n" |
| 22 |
"MIME-Version: 1.0\n" |
| 23 |
"Content-Type: text/plain; charset=UTF-8\n" |
| 24 |
"Content-Transfer-Encoding: 8bit\n" |
| 25 |
"Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && " |
| 26 |
"n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || " |
| 27 |
"(n%100>=11 && n%100<=14)? 2 : 3);\n" |
| 28 |
"X-Generator: Lokalize 2.0\n" |
| 29 |
|
| 30 |
#. type: TH |
| 31 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 32 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 33 |
#, no-wrap |
| 34 |
msgid "mremap" |
| 35 |
msgstr "mremap" |
| 36 |
|
| 37 |
#. type: TH |
| 38 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 39 |
#: opensuse-tumbleweed |
| 40 |
#, no-wrap |
| 41 |
msgid "2026-02-08" |
| 42 |
msgstr "8 февраля 2026 г." |
| 43 |
|
| 44 |
#. type: TH |
| 45 |
#: archlinux debian-unstable |
| 46 |
#, fuzzy, no-wrap |
| 47 |
#| msgid "Linux man-pages 6.17" |
| 48 |
msgid "Linux man-pages 6.18" |
| 49 |
msgstr "Справочные страницы Linux 6.17" |
| 50 |
|
| 51 |
#. type: SH |
| 52 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 53 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 54 |
#, no-wrap |
| 55 |
msgid "NAME" |
| 56 |
msgstr "НАИМЕНОВАНИЕ" |
| 57 |
|
| 58 |
#. type: Plain text |
| 59 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 60 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 61 |
msgid "mremap - remap a virtual memory address" |
| 62 |
msgstr "mremap - изменяет отображение адреса виртуальной памяти" |
| 63 |
|
| 64 |
#. type: SH |
| 65 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 66 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 67 |
#, no-wrap |
| 68 |
msgid "LIBRARY" |
| 69 |
msgstr "БИБЛИОТЕКА" |
| 70 |
|
| 71 |
#. type: Plain text |
| 72 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 73 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 74 |
msgid "Standard C library (I<libc>,\\ I<-lc>)" |
| 75 |
msgstr "Стандартная библиотека языка C (I<libc>,\\ I<-lc>)" |
| 76 |
|
| 77 |
#. type: SH |
| 78 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 79 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 80 |
#, no-wrap |
| 81 |
msgid "SYNOPSIS" |
| 82 |
msgstr "СИНТАКСИС" |
| 83 |
|
| 84 |
#. type: Plain text |
| 85 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 86 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 87 |
#, no-wrap |
| 88 |
msgid "" |
| 89 |
"B<#define _GNU_SOURCE> /* See feature_test_macros(7) */\n" |
| 90 |
"B<#include E<lt>sys/mman.hE<gt>>\n" |
| 91 |
msgstr "" |
| 92 |
"B<#define _GNU_SOURCE> /* Смотрите feature_test_macros(7) */\n" |
| 93 |
"B<#include E<lt>sys/mman.hE<gt>>\n" |
| 94 |
|
| 95 |
#. type: Plain text |
| 96 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 97 |
#: opensuse-tumbleweed |
| 98 |
#, fuzzy, no-wrap |
| 99 |
#| msgid "" |
| 100 |
#| "B<void *mremap(void *>I<old_address>B<, size_t >I<old_size>B<,>\n" |
| 101 |
#| "B< size_t >I<new_size>B<, int >I<flags>B<, ... /* void *>I<new_address>B< */);>\n" |
| 102 |
msgid "" |
| 103 |
"B<void *mremap(>size_t old_size;\n" |
| 104 |
"B< void >I<old_address>B<[>I<old_size>B<], size_t >I<old_size>B<,>\n" |
| 105 |
"B< size_t >I<new_size>B<, int >I<flags>B<, ... /* void *>I<new_address>B< */);>\n" |
| 106 |
msgstr "" |
| 107 |
"B<void *mremap(void *>I<old_address>B<, size_t >I<old_size>B<,>\n" |
| 108 |
"B< size_t >I<new_size>B<, int >I<flags>B<, ... /* void *>I<new_address>B< */);>\n" |
| 109 |
|
| 110 |
#. type: SH |
| 111 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 112 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 113 |
#, no-wrap |
| 114 |
msgid "DESCRIPTION" |
| 115 |
msgstr "ОПИСАНИЕ" |
| 116 |
|
| 117 |
#. type: Plain text |
| 118 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 119 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 120 |
msgid "" |
| 121 |
"B<mremap>() expands (or shrinks) an existing memory mapping, potentially " |
| 122 |
"moving it at the same time (controlled by the I<flags> argument and the " |
| 123 |
"available virtual address space)." |
| 124 |
msgstr "" |
| 125 |
"Вызов B<mremap>() увеличивает (или уменьшает) размер существующего " |
| 126 |
"отображения памяти, при необходимости, перемещая его (это контролируется " |
| 127 |
"аргументом I<flags> и доступным виртуальным адресным пространством)." |
| 128 |
|
| 129 |
#. type: Plain text |
| 130 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 131 |
#: opensuse-tumbleweed |
| 132 |
msgid "" |
| 133 |
"Mappings can also simply be moved (without any resizing) by specifying " |
| 134 |
"equal I<old_size> and I<new_size> and using the B<MREMAP_FIXED> flag (see " |
| 135 |
"below). Since Linux 6.17, while I<old_address> must be mapped, I<old_size> " |
| 136 |
"may span multiple mappings including unmapped areas between them when " |
| 137 |
"performing a simple move. The B<MREMAP_DONTUNMAP> flag may also be " |
| 138 |
"specified." |
| 139 |
msgstr "" |
| 140 |
|
| 141 |
#. type: Plain text |
| 142 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 143 |
#: opensuse-tumbleweed |
| 144 |
msgid "" |
| 145 |
"Similarly, if the operation performs a shrink, that is, if I<old_size> is " |
| 146 |
"greater than I<new_size>, then I<old_size> may also span multiple mappings, " |
| 147 |
"which do not have to be adjacent to one another. If this shrink is " |
| 148 |
"performed in-place, that is, neither B<MREMAP_FIXED>, nor " |
| 149 |
"B<MREMAP_DONTUNMAP> are specified, I<new_size> may also span multiple VMAs. " |
| 150 |
"However, if the range is moved, then I<new_size> must span only a single " |
| 151 |
"mapping." |
| 152 |
msgstr "" |
| 153 |
|
| 154 |
#. type: Plain text |
| 155 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 156 |
#: opensuse-tumbleweed |
| 157 |
msgid "" |
| 158 |
"If the operation is neither a B<MREMAP_FIXED> move nor a shrink, then " |
| 159 |
"I<old_size> must span only a single mapping." |
| 160 |
msgstr "" |
| 161 |
|
| 162 |
#. type: Plain text |
| 163 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 164 |
#: opensuse-tumbleweed |
| 165 |
#, fuzzy |
| 166 |
#| msgid "" |
| 167 |
#| "I<old_address> is the old address of the virtual memory block that you " |
| 168 |
#| "want to expand (or shrink). Note that I<old_address> has to be page " |
| 169 |
#| "aligned. I<old_size> is the old size of the virtual memory block. " |
| 170 |
#| "I<new_size> is the requested size of the virtual memory block after the " |
| 171 |
#| "resize. An optional fifth argument, I<new_address>, may be provided; see " |
| 172 |
#| "the description of B<MREMAP_FIXED> below." |
| 173 |
msgid "" |
| 174 |
"I<old_address> is the old address of the first virtual memory block that you " |
| 175 |
"want to expand, shrink, and/or move. Note that I<old_address> has to be " |
| 176 |
"page aligned. I<old_size> is the size of the range containing virtual " |
| 177 |
"memory blocks to be manipulated. I<new_size> is the requested size of the " |
| 178 |
"virtual memory blocks after the resize. An optional fifth argument, " |
| 179 |
"I<new_address>, may be provided; see the description of B<MREMAP_FIXED> " |
| 180 |
"below." |
| 181 |
msgstr "" |
| 182 |
"В I<old_address> указывается старый адрес блока виртуальной памяти, который " |
| 183 |
"вы хотите изменить. Заметим, что I<old_address> должен быть выровнен по " |
| 184 |
"границе страницы. В I<old_size> задаётся старый размер блока виртуальной " |
| 185 |
"памяти. В I<new_size> задаётся запрашиваемый размер блока виртуальной памяти " |
| 186 |
"после изменения. Описание необязательного пятого аргумента I<new_address> " |
| 187 |
"смотрите далее в параграфе о B<MREMAP_FIXED>." |
| 188 |
|
| 189 |
#. type: Plain text |
| 190 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 191 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 192 |
#, fuzzy |
| 193 |
#| msgid "" |
| 194 |
#| "If the value of I<old_size> is zero, and I<old_address> refers to a " |
| 195 |
#| "shareable mapping (see B<mmap>(2) B<MAP_SHARED>), then B<mremap>() will " |
| 196 |
#| "create a new mapping of the same pages. I<new_size> will be the size of " |
| 197 |
#| "the new mapping and the location of the new mapping may be specified with " |
| 198 |
#| "I<new_address>; see the description of B<MREMAP_FIXED> below. If a new " |
| 199 |
#| "mapping is requested via this method, then the B<MREMAP_MAYMOVE> flag " |
| 200 |
#| "must also be specified." |
| 201 |
msgid "" |
| 202 |
"If the value of I<old_size> is zero, and I<old_address> refers to a " |
| 203 |
"shareable mapping (see the description of B<MAP_SHARED> in B<mmap>(2)), then " |
| 204 |
"B<mremap>() will create a new mapping of the same pages. I<new_size> will " |
| 205 |
"be the size of the new mapping and the location of the new mapping may be " |
| 206 |
"specified with I<new_address>; see the description of B<MREMAP_FIXED> " |
| 207 |
"below. If a new mapping is requested via this method, then the " |
| 208 |
"B<MREMAP_MAYMOVE> flag must also be specified." |
| 209 |
msgstr "" |
| 210 |
"Если значение I<old_size> равно нулю и I<old_address> указывает на общее " |
| 211 |
"отображение (смотрите B<mmap>(2) B<MAP_SHARED>), то B<mremap>() создаст " |
| 212 |
"новое отображение тех же страниц.Размер нового отображения будет равен " |
| 213 |
"значению I<new_size>, а расположение можно указать в I<new_address>; " |
| 214 |
"смотрите описание B<MREMAP_FIXED> далее. Если новое отображение " |
| 215 |
"запрашивается через этот метод, то также должен быть указан флаг " |
| 216 |
"B<MREMAP_MAYMOVE>." |
| 217 |
|
| 218 |
#. type: Plain text |
| 219 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 220 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 221 |
msgid "" |
| 222 |
"The I<flags> bit-mask argument may be 0, or include the following flags:" |
| 223 |
msgstr "" |
| 224 |
"Аргумент битовой маски I<flags> может быть равен 0 или содержать следующие " |
| 225 |
"флаги:" |
| 226 |
|
| 227 |
#. type: TP |
| 228 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 229 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 230 |
#, no-wrap |
| 231 |
msgid "B<MREMAP_MAYMOVE>" |
| 232 |
msgstr "B<MREMAP_MAYMOVE>" |
| 233 |
|
| 234 |
#. type: Plain text |
| 235 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 236 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 237 |
msgid "" |
| 238 |
"By default, if there is not sufficient space to expand a mapping at its " |
| 239 |
"current location, then B<mremap>() fails. If this flag is specified, then " |
| 240 |
"the kernel is permitted to relocate the mapping to a new virtual address, if " |
| 241 |
"necessary. If the mapping is relocated, then absolute pointers into the old " |
| 242 |
"mapping location become invalid (offsets relative to the starting address of " |
| 243 |
"the mapping should be employed)." |
| 244 |
msgstr "" |
| 245 |
"По умолчанию, если для расширения отображения недостаточно пространства в " |
| 246 |
"текущем расположении, то вызов B<mremap>() завершается с ошибкой. Если " |
| 247 |
"указан флаг, то, если нужно, ядру разрешается переместить отображение на " |
| 248 |
"новый виртуальный адрес. Если отображение перемещено, то абсолютные " |
| 249 |
"указатели в старом расположении отображения становятся недействительными " |
| 250 |
"(должно быть выполнено смещение относительно начального адреса отображения)." |
| 251 |
|
| 252 |
#. type: TP |
| 253 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 254 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 255 |
#, no-wrap |
| 256 |
msgid "B<MREMAP_FIXED> (since Linux 2.3.31)" |
| 257 |
msgstr "B<MREMAP_FIXED> (начиная с Linux 2.3.31)" |
| 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 |
msgid "" |
| 263 |
"This flag serves a similar purpose to the B<MAP_FIXED> flag of B<mmap>(2). " |
| 264 |
"If this flag is specified, then B<mremap>() accepts a fifth argument, " |
| 265 |
"I<void\\ *new_address>, which specifies a page-aligned address to which the " |
| 266 |
"mapping must be moved. Any previous mapping at the address range specified " |
| 267 |
"by I<new_address> and I<new_size> is unmapped." |
| 268 |
msgstr "" |
| 269 |
"Этот флаг играет ту же роль, что и B<MAP_FIXED> для B<mmap>(2). Если указан " |
| 270 |
"этот флаг, то B<mremap>() учитывает пятый аргумент I<void\\ *new_address>, в " |
| 271 |
"котором задан выровненный на страницу адрес, куда должно быть перемещено " |
| 272 |
"отображение. Все предыдущие отображения в адресном диапазоне, задаваемом " |
| 273 |
"I<new_address> и I<new_size>, удаляются." |
| 274 |
|
| 275 |
#. type: Plain text |
| 276 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 277 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 278 |
#, fuzzy |
| 279 |
#| msgid "" |
| 280 |
#| "B<MREMAP_FIXED> was specified without also specifying B<MREMAP_MAYMOVE>;" |
| 281 |
msgid "" |
| 282 |
"If B<MREMAP_FIXED> is specified, then B<MREMAP_MAYMOVE> must also be " |
| 283 |
"specified." |
| 284 |
msgstr "задан B<MREMAP_FIXED> без B<MREMAP_MAYMOVE>;" |
| 285 |
|
| 286 |
#. type: Plain text |
| 287 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 288 |
#: opensuse-tumbleweed |
| 289 |
msgid "" |
| 290 |
"Since Linux 6.17, if I<old_size> is equal to I<new_size> and B<MREMAP_FIXED> " |
| 291 |
"is specified, then I<old_size> may span beyond the mapping in which " |
| 292 |
"I<old_address> resides. In this case, gaps between mappings in the original " |
| 293 |
"range are maintained in the new range. The whole operation is performed " |
| 294 |
"atomically unless an error arises, in which case the operation may be " |
| 295 |
"partially completed, that is, some mappings may be moved and others not." |
| 296 |
msgstr "" |
| 297 |
|
| 298 |
#. type: Plain text |
| 299 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 300 |
#: opensuse-tumbleweed |
| 301 |
msgid "" |
| 302 |
"Moving multiple mappings is not permitted if any of those mappings have " |
| 303 |
"either been registered with B<userfaultfd>(2), or map drivers that specify " |
| 304 |
"their own custom address mapping logic." |
| 305 |
msgstr "" |
| 306 |
|
| 307 |
#. type: TP |
| 308 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 309 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 310 |
#, no-wrap |
| 311 |
msgid "B<MREMAP_DONTUNMAP> (since Linux 5.7)" |
| 312 |
msgstr "B<MREMAP_DONTUNMAP> (начиная с Linux 5.7)" |
| 313 |
|
| 314 |
#. commit e346b3813067d4b17383f975f197a9aa28a3b077 |
| 315 |
#. type: Plain text |
| 316 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 317 |
#: opensuse-tumbleweed |
| 318 |
msgid "" |
| 319 |
"This flag, which must be used in conjunction with B<MREMAP_MAYMOVE>, remaps " |
| 320 |
"mappings to a new address but does not unmap them from their original " |
| 321 |
"address." |
| 322 |
msgstr "" |
| 323 |
|
| 324 |
#. type: Plain text |
| 325 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 326 |
#: opensuse-tumbleweed |
| 327 |
msgid "" |
| 328 |
"The B<MREMAP_DONTUNMAP> flag can be used only with mappings that are not " |
| 329 |
"B<VM_DONTEXPAND> or B<VM_PFNMAP>. Before Linux 5.13, the " |
| 330 |
"B<MREMAP_DONTUNMAP> flag could be used only with private anonymous mappings " |
| 331 |
"(see the description of B<MAP_PRIVATE> and B<MAP_ANONYMOUS> in B<mmap>(2))." |
| 332 |
msgstr "" |
| 333 |
|
| 334 |
#. type: Plain text |
| 335 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 336 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 337 |
msgid "" |
| 338 |
"After completion, any access to the range specified by I<old_address> and " |
| 339 |
"I<old_size> will result in a page fault. The page fault will be handled by " |
| 340 |
"a B<userfaultfd>(2) handler if the address is in a range previously " |
| 341 |
"registered with B<userfaultfd>(2). Otherwise, the kernel allocates a zero-" |
| 342 |
"filled page to handle the fault." |
| 343 |
msgstr "" |
| 344 |
|
| 345 |
#. type: Plain text |
| 346 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 347 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 348 |
msgid "" |
| 349 |
"The B<MREMAP_DONTUNMAP> flag may be used to atomically move a mapping while " |
| 350 |
"leaving the source mapped. See NOTES for some possible applications of " |
| 351 |
"B<MREMAP_DONTUNMAP>." |
| 352 |
msgstr "" |
| 353 |
|
| 354 |
#. type: Plain text |
| 355 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 356 |
#: opensuse-tumbleweed |
| 357 |
#, fuzzy |
| 358 |
#| msgid "" |
| 359 |
#| "If the memory segment specified by I<old_address> and I<old_size> is " |
| 360 |
#| "locked (using B<mlock>(2) or similar), then this lock is maintained when " |
| 361 |
#| "the segment is resized and/or relocated. As a consequence, the amount of " |
| 362 |
#| "memory locked by the process may change." |
| 363 |
msgid "" |
| 364 |
"If the memory segments specified by I<old_address> and I<old_size> are " |
| 365 |
"locked (using B<mlock>(2) or similar), then this lock is maintained when " |
| 366 |
"the segments are resized and/or relocated. As a consequence, the amount of " |
| 367 |
"memory locked by the process may change." |
| 368 |
msgstr "" |
| 369 |
"Если сегмент памяти, указанный I<old_address> и I<old_size>, заблокирован (с " |
| 370 |
"помощью B<mlock>(2) или подобного вызова), то эта блокировка останется при " |
| 371 |
"изменении/перемещении сегмента. Следовательно, количество заблокированной " |
| 372 |
"процессом памяти может измениться." |
| 373 |
|
| 374 |
#. type: SH |
| 375 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 376 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 377 |
#, no-wrap |
| 378 |
msgid "RETURN VALUE" |
| 379 |
msgstr "ВОЗВРАЩАЕМОЕ ЗНАЧЕНИЕ" |
| 380 |
|
| 381 |
#. type: Plain text |
| 382 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 383 |
#: opensuse-tumbleweed |
| 384 |
#, fuzzy |
| 385 |
#| msgid "" |
| 386 |
#| "On success B<mremap>() returns a pointer to the new virtual memory " |
| 387 |
#| "area. On error, the value B<MAP_FAILED> (that is, I<(void\\ *)\\ -1>) is " |
| 388 |
#| "returned, and I<errno> is set appropriately." |
| 389 |
msgid "" |
| 390 |
"On success B<mremap>() returns a pointer to the new virtual memory area. " |
| 391 |
"On error, the value B<MAP_FAILED> (that is, I<(void\\ *)\\ -1>) is " |
| 392 |
"returned, and I<errno> is set to indicate the error." |
| 393 |
msgstr "" |
| 394 |
"При успешном выполнении B<mremap>() возвращается указатель на новую " |
| 395 |
"виртуальную область памяти. При ошибке, возвращается значение B<MAP_FAILED> " |
| 396 |
"(то есть I<(void\\ *)\\ -1>), а I<errno> устанавливается в соответствующее " |
| 397 |
"значение." |
| 398 |
|
| 399 |
#. type: SH |
| 400 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 401 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 402 |
#, no-wrap |
| 403 |
msgid "ERRORS" |
| 404 |
msgstr "ОШИБКИ" |
| 405 |
|
| 406 |
#. type: TP |
| 407 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 408 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 409 |
#, no-wrap |
| 410 |
msgid "B<EAGAIN>" |
| 411 |
msgstr "B<EAGAIN>" |
| 412 |
|
| 413 |
#. type: Plain text |
| 414 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 415 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 416 |
msgid "" |
| 417 |
"The caller tried to expand a memory segment that is locked, but this was not " |
| 418 |
"possible without exceeding the B<RLIMIT_MEMLOCK> resource limit." |
| 419 |
msgstr "" |
| 420 |
"Вызывающий пытается расширить заблокированный сегмент памяти, но это " |
| 421 |
"невозможно без превышения предела ресурса B<RLIMIT_MEMLOCK>." |
| 422 |
|
| 423 |
#. type: TP |
| 424 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 425 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 426 |
#, no-wrap |
| 427 |
msgid "B<EFAULT>" |
| 428 |
msgstr "B<EFAULT>" |
| 429 |
|
| 430 |
#. type: Plain text |
| 431 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 432 |
#: opensuse-tumbleweed |
| 433 |
#, fuzzy |
| 434 |
#| msgid "" |
| 435 |
#| "Some address in the range I<old_address> to I<old_address>+I<old_size> is " |
| 436 |
#| "an invalid virtual memory address for this process. You can also get " |
| 437 |
#| "B<EFAULT> even if there exist mappings that cover the whole address space " |
| 438 |
#| "requested, but those mappings are of different types." |
| 439 |
msgid "" |
| 440 |
"Some address in the range I<old_address> to I<old_address>+I<old_size> is an " |
| 441 |
"invalid virtual memory address for this process. You can also get B<EFAULT> " |
| 442 |
"even if there exist mappings that cover the whole address space requested, " |
| 443 |
"but those mappings are of different types, and the B<mremap>() operation " |
| 444 |
"being performed does not support this." |
| 445 |
msgstr "" |
| 446 |
"Один из адресов в диапазоне от I<old_address> до I<old_address>+I<old_size> " |
| 447 |
"является некорректным адресом виртуальной памяти для этого процесса. Также " |
| 448 |
"вы можете получить B<EFAULT> даже если существующие отображения покрывают " |
| 449 |
"всё запрошенное адресное пространство, но имеют различные типы." |
| 450 |
|
| 451 |
#. type: TP |
| 452 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 453 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 454 |
#, no-wrap |
| 455 |
msgid "B<EINVAL>" |
| 456 |
msgstr "B<EINVAL>" |
| 457 |
|
| 458 |
#. type: Plain text |
| 459 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 460 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 461 |
msgid "An invalid argument was given. Possible causes are:" |
| 462 |
msgstr "Указан недопустимый аргумент. Возможные причины:" |
| 463 |
|
| 464 |
#. type: IP |
| 465 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 466 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 467 |
#, no-wrap |
| 468 |
msgid "\\[bu]" |
| 469 |
msgstr "\\[bu]" |
| 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 "I<old_address> was not page aligned;" |
| 475 |
msgstr "не выровнено значение адреса I<old_address>;" |
| 476 |
|
| 477 |
#. type: Plain text |
| 478 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 479 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 480 |
#, fuzzy |
| 481 |
#| msgid "" |
| 482 |
#| "a value other than B<MREMAP_MAYMOVE> or B<MREMAP_FIXED> was specified in " |
| 483 |
#| "I<flags>;" |
| 484 |
msgid "" |
| 485 |
"a value other than B<MREMAP_MAYMOVE> or B<MREMAP_FIXED> or " |
| 486 |
"B<MREMAP_DONTUNMAP> was specified in I<flags>;" |
| 487 |
msgstr "" |
| 488 |
"помимо B<MREMAP_MAYMOVE> или B<MREMAP_FIXED> в I<flags> указано что-то ещё;" |
| 489 |
|
| 490 |
#. type: Plain text |
| 491 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 492 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 493 |
msgid "I<new_size> was zero;" |
| 494 |
msgstr "значение I<new_size> равно нулю;" |
| 495 |
|
| 496 |
#. type: Plain text |
| 497 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 498 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 499 |
msgid "I<new_size> or I<new_address> was invalid;" |
| 500 |
msgstr "некорректное значение I<new_size> или I<new_address>;" |
| 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 "" |
| 506 |
"the new address range specified by I<new_address> and I<new_size> overlapped " |
| 507 |
"the old address range specified by I<old_address> and I<old_size>;" |
| 508 |
msgstr "" |
| 509 |
"новый диапазон адресов, указанный I<new_address> и I<new_size>, перекрывает " |
| 510 |
"старый диапазон адресов, указанный I<old_address> и I<old_size>;" |
| 511 |
|
| 512 |
#. type: Plain text |
| 513 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 514 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 515 |
#, fuzzy |
| 516 |
#| msgid "" |
| 517 |
#| "B<MREMAP_FIXED> was specified without also specifying B<MREMAP_MAYMOVE>;" |
| 518 |
msgid "" |
| 519 |
"B<MREMAP_FIXED> or B<MREMAP_DONTUNMAP> was specified without also specifying " |
| 520 |
"B<MREMAP_MAYMOVE>;" |
| 521 |
msgstr "задан B<MREMAP_FIXED> без B<MREMAP_MAYMOVE>;" |
| 522 |
|
| 523 |
#. type: Plain text |
| 524 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 525 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 526 |
msgid "" |
| 527 |
"B<MREMAP_DONTUNMAP> was specified, but one or more pages in the range " |
| 528 |
"specified by I<old_address> and I<old_size> were not private anonymous;" |
| 529 |
msgstr "" |
| 530 |
|
| 531 |
#. type: Plain text |
| 532 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 533 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 534 |
msgid "" |
| 535 |
"B<MREMAP_DONTUNMAP> was specified and I<old_size> was not equal to " |
| 536 |
"I<new_size>;" |
| 537 |
msgstr "" |
| 538 |
|
| 539 |
#. type: Plain text |
| 540 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 541 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 542 |
msgid "" |
| 543 |
"I<old_size> was zero and I<old_address> does not refer to a shareable " |
| 544 |
"mapping (but see BUGS);" |
| 545 |
msgstr "" |
| 546 |
"значение I<old_size> равно нулю и I<old_address> не указывает на общее " |
| 547 |
"отображение (но смотрите ДЕФЕКТЫ);" |
| 548 |
|
| 549 |
#. type: Plain text |
| 550 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 551 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 552 |
msgid "I<old_size> was zero and the B<MREMAP_MAYMOVE> flag was not specified." |
| 553 |
msgstr "значение I<old_size> равно нулю и не указан флаг B<MREMAP_MAYMOVE>." |
| 554 |
|
| 555 |
#. type: TP |
| 556 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 557 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 558 |
#, no-wrap |
| 559 |
msgid "B<ENOMEM>" |
| 560 |
msgstr "B<ENOMEM>" |
| 561 |
|
| 562 |
#. type: Plain text |
| 563 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 564 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 565 |
msgid "" |
| 566 |
"Not enough memory was available to complete the operation. Possible causes " |
| 567 |
"are:" |
| 568 |
msgstr "" |
| 569 |
|
| 570 |
#. type: Plain text |
| 571 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 572 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 573 |
msgid "" |
| 574 |
"The memory area cannot be expanded at the current virtual address, and the " |
| 575 |
"B<MREMAP_MAYMOVE> flag is not set in I<flags>. Or, there is not enough " |
| 576 |
"(virtual) memory available." |
| 577 |
msgstr "" |
| 578 |
"Область памяти не может быть расширена от текущего виртуального адреса и в " |
| 579 |
"I<flags> не указано значение B<MREMAP_MAYMOVE>. Или недостаточно свободной " |
| 580 |
"(виртуальной) памяти." |
| 581 |
|
| 582 |
#. type: Plain text |
| 583 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 584 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 585 |
msgid "" |
| 586 |
"B<MREMAP_DONTUNMAP> was used causing a new mapping to be created that would " |
| 587 |
"exceed the (virtual) memory available. Or, it would exceed the maximum " |
| 588 |
"number of allowed mappings." |
| 589 |
msgstr "" |
| 590 |
|
| 591 |
#. type: SH |
| 592 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 593 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 594 |
#, no-wrap |
| 595 |
msgid "STANDARDS" |
| 596 |
msgstr "СТАНДАРТЫ" |
| 597 |
|
| 598 |
#. type: Plain text |
| 599 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 600 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 601 |
msgid "Linux." |
| 602 |
msgstr "Linux." |
| 603 |
|
| 604 |
#. type: SH |
| 605 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 606 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 607 |
#, no-wrap |
| 608 |
msgid "HISTORY" |
| 609 |
msgstr "ИСТОРИЯ" |
| 610 |
|
| 611 |
#. 4.2BSD had a (never actually implemented) |
| 612 |
#. .BR mremap (2) |
| 613 |
#. call with completely different semantics. |
| 614 |
#. .P |
| 615 |
#. type: Plain text |
| 616 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 617 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 618 |
#, fuzzy |
| 619 |
#| msgid "" |
| 620 |
#| "Prior to version 2.4, glibc did not expose the definition of " |
| 621 |
#| "B<MREMAP_FIXED>, and the prototype for B<mremap>() did not allow for the " |
| 622 |
#| "I<new_address> argument." |
| 623 |
msgid "" |
| 624 |
"Prior to glibc 2.4, glibc did not expose the definition of B<MREMAP_FIXED>, " |
| 625 |
"and the prototype for B<mremap>() did not allow for the I<new_address> " |
| 626 |
"argument." |
| 627 |
msgstr "" |
| 628 |
"До версии 2.4, в glibc не был определён флаг B<MREMAP_FIXED>, а прототип " |
| 629 |
"B<mremap>() не позволял указывать аргумент I<new_address>." |
| 630 |
|
| 631 |
#. type: SH |
| 632 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 633 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 634 |
#, no-wrap |
| 635 |
msgid "NOTES" |
| 636 |
msgstr "ПРИМЕЧАНИЯ" |
| 637 |
|
| 638 |
#. type: Plain text |
| 639 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 640 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 641 |
msgid "" |
| 642 |
"B<mremap>() changes the mapping between virtual addresses and memory " |
| 643 |
"pages. This can be used to implement a very efficient B<realloc>(3)." |
| 644 |
msgstr "" |
| 645 |
"B<mremap>() изменяет отображение между виртуальными адресами и страницами " |
| 646 |
"памяти. Это можно использовать при реализации очень эффективной функции " |
| 647 |
"B<realloc>(3)." |
| 648 |
|
| 649 |
#. type: Plain text |
| 650 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 651 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 652 |
#, fuzzy |
| 653 |
#| msgid "" |
| 654 |
#| "In Linux the memory is divided into pages. A user process has (one or) " |
| 655 |
#| "several linear virtual memory segments. Each virtual memory segment has " |
| 656 |
#| "one or more mappings to real memory pages (in the page table). Each " |
| 657 |
#| "virtual memory segment has its own protection (access rights), which may " |
| 658 |
#| "cause a segmentation violation if the memory is accessed incorrectly " |
| 659 |
#| "(e.g., writing to a read-only segment). Accessing virtual memory outside " |
| 660 |
#| "of the segments will also cause a segmentation violation." |
| 661 |
msgid "" |
| 662 |
"In Linux, memory is divided into pages. A process has (one or) several " |
| 663 |
"linear virtual memory segments. Each virtual memory segment has one or more " |
| 664 |
"mappings to real memory pages (in the page table). Each virtual memory " |
| 665 |
"segment has its own protection (access rights), which may cause a " |
| 666 |
"segmentation violation (B<SIGSEGV>) if the memory is accessed incorrectly " |
| 667 |
"(e.g., writing to a read-only segment). Accessing virtual memory outside of " |
| 668 |
"the segments will also cause a segmentation violation." |
| 669 |
msgstr "" |
| 670 |
"В Linux память делится на страницы. Пользовательскому процессу выделяется " |
| 671 |
"один или несколько непрерывных сегментов виртуальной памяти. Каждый из этих " |
| 672 |
"сегментов имеет одно или несколько отображений в реальных страницах памяти " |
| 673 |
"(в таблице страниц). У каждого виртуального сегмента памяти есть своя защита " |
| 674 |
"(права доступа), которые можно нарушить, если произвести попытку " |
| 675 |
"некорректного доступа (например, записать информацию в сегмент, который " |
| 676 |
"доступен только для чтения). Доступ к виртуальной памяти за пределами " |
| 677 |
"сегментов также приводит к ошибке сегментации." |
| 678 |
|
| 679 |
#. type: Plain text |
| 680 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 681 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 682 |
msgid "" |
| 683 |
"If B<mremap>() is used to move or expand an area locked with B<mlock>(2) " |
| 684 |
"or equivalent, the B<mremap>() call will make a best effort to populate the " |
| 685 |
"new area but will not fail with B<ENOMEM> if the area cannot be populated." |
| 686 |
msgstr "" |
| 687 |
"Если B<mremap>() используется для перемещения или расширения области, " |
| 688 |
"заблокированной B<mlock>(2) или эквивалентом, то вызов B<mremap>() " |
| 689 |
"постарается заполнить новую область, но не завершится с ошибкой B<ENOMEM>, " |
| 690 |
"если область невозможно заполнить." |
| 691 |
|
| 692 |
#. type: SS |
| 693 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 694 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 695 |
#, no-wrap |
| 696 |
msgid "MREMAP_DONTUNMAP use cases" |
| 697 |
msgstr "" |
| 698 |
|
| 699 |
#. type: Plain text |
| 700 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 701 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 702 |
msgid "Possible applications for B<MREMAP_DONTUNMAP> include:" |
| 703 |
msgstr "" |
| 704 |
|
| 705 |
#. type: Plain text |
| 706 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 707 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 708 |
msgid "" |
| 709 |
"Non-cooperative B<userfaultfd>(2): an application can yank out a virtual " |
| 710 |
"address range using B<MREMAP_DONTUNMAP> and then employ a B<userfaultfd>(2) " |
| 711 |
"handler to handle the page faults that subsequently occur as other threads " |
| 712 |
"in the process touch pages in the yanked range." |
| 713 |
msgstr "" |
| 714 |
|
| 715 |
#. type: Plain text |
| 716 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 717 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 718 |
msgid "" |
| 719 |
"Garbage collection: B<MREMAP_DONTUNMAP> can be used in conjunction with " |
| 720 |
"B<userfaultfd>(2) to implement garbage collection algorithms (e.g., in a " |
| 721 |
"Java virtual machine). Such an implementation can be cheaper (and simpler) " |
| 722 |
"than conventional garbage collection techniques that involve marking pages " |
| 723 |
"with protection B<PROT_NONE> in conjunction with the use of a B<SIGSEGV> " |
| 724 |
"handler to catch accesses to those pages." |
| 725 |
msgstr "" |
| 726 |
|
| 727 |
#. type: SH |
| 728 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 729 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 730 |
#, no-wrap |
| 731 |
msgid "BUGS" |
| 732 |
msgstr "ПРОГРАММНЫЕ ОШИБКИ" |
| 733 |
|
| 734 |
#. commit dba58d3b8c5045ad89c1c95d33d01451e3964db7 |
| 735 |
#. type: Plain text |
| 736 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 737 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 738 |
#, fuzzy |
| 739 |
#| msgid "" |
| 740 |
#| "Before Linux 4.14, if I<old_size> was zero and the mapping referred to by " |
| 741 |
#| "I<old_address> was a private mapping (B<mmap>(2) B<MAP_PRIVATE>), " |
| 742 |
#| "B<mremap>() created a new private mapping unrelated to the original " |
| 743 |
#| "mapping. This behavior was unintended and probably unexpected in user-" |
| 744 |
#| "space applications (since the intention of B<mremap>() is to create a " |
| 745 |
#| "new mapping based on the original mapping). Since Linux 4.14, " |
| 746 |
#| "B<mremap>() fails with the error B<EINVAL> in this scenario." |
| 747 |
msgid "" |
| 748 |
"Before Linux 4.14, if I<old_size> was zero and the mapping referred to by " |
| 749 |
"I<old_address> was a private mapping (see the description of B<MAP_PRIVATE> " |
| 750 |
"in B<mmap>(2)), B<mremap>() created a new private mapping unrelated to the " |
| 751 |
"original mapping. This behavior was unintended and probably unexpected in " |
| 752 |
"user-space applications (since the intention of B<mremap>() is to create a " |
| 753 |
"new mapping based on the original mapping). Since Linux 4.14, B<mremap>() " |
| 754 |
"fails with the error B<EINVAL> in this scenario." |
| 755 |
msgstr "" |
| 756 |
"До Linux 4.14, если I<old_size> равно нулю и отображение, на которое " |
| 757 |
"указывает I<old_address> — частное отображение (B<mmap>(2) B<MAP_PRIVATE>), " |
| 758 |
"то вызов B<mremap>() создавал новое частное отображение, не относящееся к " |
| 759 |
"первоначальному отображению. Такое поведение не предусматривалось и, " |
| 760 |
"вероятно, не ожидается в приложениях пользовательского пространства (так " |
| 761 |
"предназначение B<mremap>() — создание нового отображения на основе " |
| 762 |
"первоначального). Начиная с Linux 4.14, в этом случае B<mremap>() " |
| 763 |
"завершается ошибкой B<EINVAL>." |
| 764 |
|
| 765 |
#. type: SH |
| 766 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 767 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 768 |
#, no-wrap |
| 769 |
msgid "SEE ALSO" |
| 770 |
msgstr "СМОТРИТЕ ТАКЖЕ" |
| 771 |
|
| 772 |
#. type: Plain text |
| 773 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 774 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 775 |
msgid "" |
| 776 |
"B<brk>(2), B<getpagesize>(2), B<getrlimit>(2), B<mlock>(2), B<mmap>(2), " |
| 777 |
"B<sbrk>(2), B<malloc>(3), B<realloc>(3)" |
| 778 |
msgstr "" |
| 779 |
"B<brk>(2), B<getpagesize>(2), B<getrlimit>(2), B<mlock>(2), B<mmap>(2), " |
| 780 |
"B<sbrk>(2), B<malloc>(3), B<realloc>(3)" |
| 781 |
|
| 782 |
#. type: Plain text |
| 783 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 784 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 785 |
msgid "" |
| 786 |
"Your favorite text book on operating systems for more information on paged " |
| 787 |
"memory (e.g., I<Modern Operating Systems> by Andrew S.\\& Tanenbaum, " |
| 788 |
"I<Inside Linux> by Randolph Bentson, I<The Design of the UNIX Operating " |
| 789 |
"System> by Maurice J.\\& Bach)" |
| 790 |
msgstr "" |
| 791 |
"Описание страничной памяти в вашей любимой книге по операционным системам " |
| 792 |
"(например, I<Современные операционные системы> Эндрю С.\\& Таненбаума, " |
| 793 |
"I<Внутри Linux> Рэндольфа Бентсона, I<Архитектура операционной системы UNIX " |
| 794 |
"> Мориса Дж.\\& Баха)" |
| 795 |
|
| 796 |
#. type: TH |
| 797 |
#: debian-trixie |
| 798 |
#, no-wrap |
| 799 |
msgid "2024-05-02" |
| 800 |
msgstr "2 мая 2024 г." |
| 801 |
|
| 802 |
#. type: TH |
| 803 |
#: debian-trixie |
| 804 |
#, no-wrap |
| 805 |
msgid "Linux man-pages 6.9.1" |
| 806 |
msgstr "Страницы руководства Linux 6.9.1" |
| 807 |
|
| 808 |
#. type: Plain text |
| 809 |
#: debian-trixie |
| 810 |
msgid "Standard C library (I<libc>, I<-lc>)" |
| 811 |
msgstr "Стандартная библиотека языка C (I<libc>, I<-lc>)" |
| 812 |
|
| 813 |
#. type: Plain text |
| 814 |
#: debian-trixie fedora-44 fedora-rawhide |
| 815 |
#, fuzzy, no-wrap |
| 816 |
#| msgid "" |
| 817 |
#| "B<void *mremap(void *>I<old_address>B<, size_t >I<old_size>B<,>\n" |
| 818 |
#| "B< size_t >I<new_size>B<, int >I<flags>B<, ... /* void *>I<new_address>B< */);>\n" |
| 819 |
msgid "" |
| 820 |
"B<void *mremap(void >I<old_address>B<[.>I<old_size>B<], size_t >I<old_size>B<,>\n" |
| 821 |
"B< size_t >I<new_size>B<, int >I<flags>B<, ... /* void *>I<new_address>B< */);>\n" |
| 822 |
msgstr "" |
| 823 |
"B<void *mremap(void *>I<old_address>B<, size_t >I<old_size>B<,>\n" |
| 824 |
"B< size_t >I<new_size>B<, int >I<flags>B<, ... /* void *>I<new_address>B< */);>\n" |
| 825 |
|
| 826 |
#. type: Plain text |
| 827 |
#: debian-trixie fedora-44 fedora-rawhide |
| 828 |
msgid "" |
| 829 |
"I<old_address> is the old address of the virtual memory block that you want " |
| 830 |
"to expand (or shrink). Note that I<old_address> has to be page aligned. " |
| 831 |
"I<old_size> is the old size of the virtual memory block. I<new_size> is the " |
| 832 |
"requested size of the virtual memory block after the resize. An optional " |
| 833 |
"fifth argument, I<new_address>, may be provided; see the description of " |
| 834 |
"B<MREMAP_FIXED> below." |
| 835 |
msgstr "" |
| 836 |
"В I<old_address> указывается старый адрес блока виртуальной памяти, который " |
| 837 |
"вы хотите изменить. Заметим, что I<old_address> должен быть выровнен по " |
| 838 |
"границе страницы. В I<old_size> задаётся старый размер блока виртуальной " |
| 839 |
"памяти. В I<new_size> задаётся запрашиваемый размер блока виртуальной памяти " |
| 840 |
"после изменения. Описание необязательного пятого аргумента I<new_address> " |
| 841 |
"смотрите далее в параграфе о B<MREMAP_FIXED>." |
| 842 |
|
| 843 |
#. commit e346b3813067d4b17383f975f197a9aa28a3b077 |
| 844 |
#. type: Plain text |
| 845 |
#: debian-trixie fedora-44 fedora-rawhide |
| 846 |
msgid "" |
| 847 |
"This flag, which must be used in conjunction with B<MREMAP_MAYMOVE>, remaps " |
| 848 |
"a mapping to a new address but does not unmap the mapping at I<old_address>." |
| 849 |
msgstr "" |
| 850 |
|
| 851 |
#. type: Plain text |
| 852 |
#: debian-trixie |
| 853 |
msgid "" |
| 854 |
"The B<MREMAP_DONTUNMAP> flag can be used only with private anonymous " |
| 855 |
"mappings (see the description of B<MAP_PRIVATE> and B<MAP_ANONYMOUS> in " |
| 856 |
"B<mmap>(2))." |
| 857 |
msgstr "" |
| 858 |
|
| 859 |
#. type: Plain text |
| 860 |
#: debian-trixie fedora-44 fedora-rawhide |
| 861 |
msgid "" |
| 862 |
"If the memory segment specified by I<old_address> and I<old_size> is locked " |
| 863 |
"(using B<mlock>(2) or similar), then this lock is maintained when the " |
| 864 |
"segment is resized and/or relocated. As a consequence, the amount of memory " |
| 865 |
"locked by the process may change." |
| 866 |
msgstr "" |
| 867 |
"Если сегмент памяти, указанный I<old_address> и I<old_size>, заблокирован (с " |
| 868 |
"помощью B<mlock>(2) или подобного вызова), то эта блокировка останется при " |
| 869 |
"изменении/перемещении сегмента. Следовательно, количество заблокированной " |
| 870 |
"процессом памяти может измениться." |
| 871 |
|
| 872 |
#. type: Plain text |
| 873 |
#: debian-trixie fedora-44 fedora-rawhide |
| 874 |
#, fuzzy |
| 875 |
#| msgid "" |
| 876 |
#| "On success B<mremap>() returns a pointer to the new virtual memory " |
| 877 |
#| "area. On error, the value B<MAP_FAILED> (that is, I<(void\\ *)\\ -1>) is " |
| 878 |
#| "returned, and I<errno> is set appropriately." |
| 879 |
msgid "" |
| 880 |
"On success B<mremap>() returns a pointer to the new virtual memory area. " |
| 881 |
"On error, the value B<MAP_FAILED> (that is, I<(void\\ *)\\ -1>) is returned, " |
| 882 |
"and I<errno> is set to indicate the error." |
| 883 |
msgstr "" |
| 884 |
"При успешном выполнении B<mremap>() возвращается указатель на новую " |
| 885 |
"виртуальную область памяти. При ошибке, возвращается значение B<MAP_FAILED> " |
| 886 |
"(то есть I<(void\\ *)\\ -1>), а I<errno> устанавливается в соответствующее " |
| 887 |
"значение." |
| 888 |
|
| 889 |
#. type: Plain text |
| 890 |
#: debian-trixie fedora-44 fedora-rawhide |
| 891 |
msgid "" |
| 892 |
"Some address in the range I<old_address> to I<old_address>+I<old_size> is an " |
| 893 |
"invalid virtual memory address for this process. You can also get B<EFAULT> " |
| 894 |
"even if there exist mappings that cover the whole address space requested, " |
| 895 |
"but those mappings are of different types." |
| 896 |
msgstr "" |
| 897 |
"Один из адресов в диапазоне от I<old_address> до I<old_address>+I<old_size> " |
| 898 |
"является некорректным адресом виртуальной памяти для этого процесса. Также " |
| 899 |
"вы можете получить B<EFAULT> даже если существующие отображения покрывают " |
| 900 |
"всё запрошенное адресное пространство, но имеют различные типы." |
| 901 |
|
| 902 |
#. type: TH |
| 903 |
#: fedora-44 fedora-rawhide |
| 904 |
#, no-wrap |
| 905 |
msgid "2024-11-13" |
| 906 |
msgstr "13 ноября 2024 г." |
| 907 |
|
| 908 |
#. type: TH |
| 909 |
#: fedora-44 fedora-rawhide |
| 910 |
#, no-wrap |
| 911 |
msgid "Linux man-pages 6.13" |
| 912 |
msgstr "Страницы руководства Linux 6.13" |
| 913 |
|
| 914 |
#. type: Plain text |
| 915 |
#: fedora-44 fedora-rawhide |
| 916 |
msgid "" |
| 917 |
"The B<MREMAP_DONTUNMAP> flag can be used only with mappings that are not " |
| 918 |
"B<VM_DONTEXPAND> or B<VM_MIXEDMAP>. Before Linux 5.13, the " |
| 919 |
"B<MREMAP_DONTUNMAP> flag could be used only with private anonymous mappings " |
| 920 |
"(see the description of B<MAP_PRIVATE> and B<MAP_ANONYMOUS> in B<mmap>(2))." |
| 921 |
msgstr "" |
| 922 |
|
| 923 |
#. type: TH |
| 924 |
#: mageia-cauldron |
| 925 |
#, no-wrap |
| 926 |
msgid "Linux man-pages 6.17" |
| 927 |
msgstr "Страницы руководства Linux 6.17" |
| 928 |
|
| 929 |
#. type: TH |
| 930 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 931 |
#, no-wrap |
| 932 |
msgid "Linux man-pages (unreleased)" |
| 933 |
msgstr "Страницы руководства Linux (не выпущены)" |