Debian Codegraph @

po/ru/man2/subpage_prot.2.po

raw
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 # Alexander Golubev <[email protected]>, 2018.
5 # Azamat Hackimov <[email protected]>, 2011, 2014-2016.
6 # Hotellook, 2014.
7 # Nikita <[email protected]>, 2014.
8 # Spiros Georgaras <[email protected]>, 2016.
9 # Vladislav <[email protected]>, 2015.
10 # Yuri Kozlov <[email protected]>, 2011-2019.
11 # Иван Павлов <[email protected]>, 2017.
12 msgid ""
13 msgstr ""
14 "Project-Id-Version: manpages-l10n\n"
15 "POT-Creation-Date: 2026-06-05 06:45+0200\n"
16 "PO-Revision-Date: 2024-12-21 19:49+0300\n"
17 "Last-Translator: Yuri Kozlov <[email protected]>\n"
18 "Language-Team: Russian <[email protected]>\n"
19 "Language: ru\n"
20 "MIME-Version: 1.0\n"
21 "Content-Type: text/plain; charset=UTF-8\n"
22 "Content-Transfer-Encoding: 8bit\n"
23 "Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
24 "n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || "
25 "(n%100>=11 && n%100<=14)? 2 : 3);\n"
26 "X-Generator: Lokalize 2.0\n"
27
28 #. type: TH
29 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
30 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
31 #, no-wrap
32 msgid "subpage_prot"
33 msgstr "subpage_prot"
34
35 #. type: TH
36 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
37 #: opensuse-tumbleweed
38 #, no-wrap
39 msgid "2026-02-08"
40 msgstr "8 февраля 2026 г."
41
42 #. type: TH
43 #: archlinux debian-unstable
44 #, fuzzy, no-wrap
45 #| msgid "Linux man-pages 6.17"
46 msgid "Linux man-pages 6.18"
47 msgstr "Справочные страницы Linux 6.17"
48
49 #. type: SH
50 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
51 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
52 #, no-wrap
53 msgid "NAME"
54 msgstr "НАИМЕНОВАНИЕ"
55
56 #. type: Plain text
57 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
58 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
59 msgid "subpage_prot - define a subpage protection for an address range"
60 msgstr "subpage_prot - определяет подстраничную защиту адресного диапазона"
61
62 #. type: SH
63 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
64 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
65 #, no-wrap
66 msgid "LIBRARY"
67 msgstr "БИБЛИОТЕКА"
68
69 #. type: Plain text
70 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
71 #: opensuse-leap-16-1 opensuse-tumbleweed
72 msgid "Standard C library (I<libc>,\\ I<-lc>)"
73 msgstr "Стандартная библиотека языка C (I<libc>,\\ I<-lc>)"
74
75 #. type: SH
76 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
77 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
78 #, no-wrap
79 msgid "SYNOPSIS"
80 msgstr "СИНТАКСИС"
81
82 #. type: Plain text
83 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
84 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
85 #, no-wrap
86 msgid ""
87 "B<#include E<lt>sys/syscall.hE<gt>> /* Definition of B<SYS_*> constants */\n"
88 "B<#include E<lt>unistd.hE<gt>>\n"
89 msgstr ""
90 "B<#include E<lt>sys/syscall.hE<gt>> /* определения констант B<SYS_*> */\n"
91 "B<#include E<lt>unistd.hE<gt>>\n"
92
93 #. type: Plain text
94 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
95 #: opensuse-leap-16-1 opensuse-tumbleweed
96 #, fuzzy, no-wrap
97 #| msgid ""
98 #| "B<long subpage_prot(unsigned long >I<addr>B<, unsigned long >I<len>B<,>\n"
99 #| "B< uint32_t *>I<map>B<);>\n"
100 msgid ""
101 "B<int syscall(SYS_subpage_prot, unsigned long >I<addr>B<, unsigned long >I<size>B<,>\n"
102 "B< uint32_t *>I<map>B<);>\n"
103 msgstr ""
104 "B<long subpage_prot(unsigned long >I<addr>B<, unsigned long >I<len>B<,>\n"
105 "B< uint32_t *>I<map>B<);>\n"
106
107 #. type: Plain text
108 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
109 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
110 msgid ""
111 "I<Note>: glibc provides no wrapper for B<subpage_prot>(), necessitating the "
112 "use of B<syscall>(2)."
113 msgstr ""
114
115 #. type: SH
116 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
117 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
118 #, no-wrap
119 msgid "DESCRIPTION"
120 msgstr "ОПИСАНИЕ"
121
122 #. type: Plain text
123 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
124 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
125 msgid ""
126 "The PowerPC-specific B<subpage_prot>() system call provides the facility to "
127 "control the access permissions on individual 4\\ kB subpages on systems "
128 "configured with a page size of 64\\ kB."
129 msgstr ""
130 "Системный вызов (есть только для PowerPC) B<subpage_prot>() предоставляет "
131 "возможность контроля доступа к отдельным 4\\ КБ подстраницам в системах, где "
132 "размер страницы равен 64\\ КБ."
133
134 #. type: Plain text
135 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
136 #: opensuse-leap-16-1 opensuse-tumbleweed
137 #, fuzzy
138 #| msgid ""
139 #| "The protection map is applied to the memory pages in the region starting "
140 #| "at I<addr> and continuing for I<len> bytes. Both of these arguments must "
141 #| "be aligned to a 64-kB boundary."
142 msgid ""
143 "The protection map is applied to the memory pages in the region starting at "
144 "I<addr> and continuing for I<size> bytes. Both of these arguments must be "
145 "aligned to a 64-kB boundary."
146 msgstr ""
147 "Карта защиты налагается на страницы памяти для области, начинающейся с "
148 "I<addr> и имеющей размер I<len> байт. Значения обоих аргументов должны быть "
149 "выровнены на 64-КБ границу."
150
151 #. type: Plain text
152 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
153 #: opensuse-leap-16-1 opensuse-tumbleweed
154 #, fuzzy
155 #| msgid ""
156 #| "The protection map is specified in the buffer pointed to by I<map>. The "
157 #| "map has 2 bits per 4\\ kB subpage; thus each 32-bit word specifies the "
158 #| "protections of 16 4\\ kB subpages inside a 64\\ kB page (so, the number "
159 #| "of 32-bit words pointed to by I<map> should equate to the number of 64-kB "
160 #| "pages specified by I<len>). Each 2-bit field in the protection map is "
161 #| "either 0 to allow any access, 1 to prevent writes, or 2 or 3 to prevent "
162 #| "all accesses."
163 msgid ""
164 "The protection map is specified in the buffer pointed to by I<map>. The map "
165 "has 2 bits per 4\\ kB subpage; thus each 32-bit word specifies the "
166 "protections of 16 4\\ kB subpages inside a 64\\ kB page (so, the number of "
167 "32-bit words pointed to by I<map> should equate to the number of 64-kB pages "
168 "specified by I<size>). Each 2-bit field in the protection map is either 0 "
169 "to allow any access, 1 to prevent writes, or 2 or 3 to prevent all accesses."
170 msgstr ""
171 "Карта защиты задаётся в буфере, на который указывает I<map>. В карте на "
172 "каждую 4-килобайтную подстраницу выделяется 2 бита; таким образом, в каждом "
173 "32-битном слове задаётся защита для 16 4-килобайтных подстраниц внутри 64-"
174 "килобайтной страницы (поэтому количество 32-битных слов, на которые "
175 "указывает I<map>, должно быть равно количеству 64-килобайтных страниц, "
176 "указанному в I<len>). Каждое 2-битное поле в карте защиты может быть: 0 — "
177 "полный доступ, 1 — защита от записи, 2 или 3 — запрет на любой доступ."
178
179 #. type: SH
180 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
181 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
182 #, no-wrap
183 msgid "RETURN VALUE"
184 msgstr "ВОЗВРАЩАЕМОЕ ЗНАЧЕНИЕ"
185
186 #. type: Plain text
187 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
188 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
189 msgid ""
190 "On success, B<subpage_prot>() returns 0. Otherwise, one of the error codes "
191 "specified below is returned."
192 msgstr ""
193 "При успешном выполнении B<subpage_prot>() возвращается 0. В противном случае "
194 "возвращается один из кодов ошибок, описанных далее."
195
196 #. type: SH
197 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
198 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
199 #, no-wrap
200 msgid "ERRORS"
201 msgstr "ОШИБКИ"
202
203 #. type: TP
204 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
205 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
206 #, no-wrap
207 msgid "B<EFAULT>"
208 msgstr "B<EFAULT>"
209
210 #. type: Plain text
211 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
212 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
213 msgid "The buffer referred to by I<map> is not accessible."
214 msgstr "Буфер, на который ссылается I<map>, недоступен."
215
216 #. type: TP
217 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
218 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
219 #, no-wrap
220 msgid "B<EINVAL>"
221 msgstr "B<EINVAL>"
222
223 #. type: Plain text
224 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
225 #: opensuse-leap-16-1 opensuse-tumbleweed
226 #, fuzzy
227 #| msgid ""
228 #| "The I<addr> or I<len> arguments are incorrect. Both of these arguments "
229 #| "must be aligned to a multiple of the system page size, and they must not "
230 #| "refer to a region outside of the address space of the process or to a "
231 #| "region that consists of huge pages."
232 msgid ""
233 "The I<addr> or I<size> arguments are incorrect. Both of these arguments "
234 "must be aligned to a multiple of the system page size, and they must not "
235 "refer to a region outside of the address space of the process or to a region "
236 "that consists of huge pages."
237 msgstr ""
238 "Некорректное значение аргумента I<addr> или I<len>. Оба значения должны быть "
239 "кратны размеру системной страницы, и они не должны указывать на область вне "
240 "адресного пространства процесса, или на область, которая состоит из огромных "
241 "страниц."
242
243 #. type: TP
244 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
245 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
246 #, no-wrap
247 msgid "B<ENOMEM>"
248 msgstr "B<ENOMEM>"
249
250 #. type: Plain text
251 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
252 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
253 msgid "Out of memory."
254 msgstr "Не хватает памяти."
255
256 #. type: SH
257 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
258 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
259 #, no-wrap
260 msgid "STANDARDS"
261 msgstr "СТАНДАРТЫ"
262
263 #. type: Plain text
264 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
265 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
266 msgid "Linux."
267 msgstr "Linux."
268
269 #. type: SH
270 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
271 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
272 #, no-wrap
273 msgid "HISTORY"
274 msgstr "ИСТОРИЯ"
275
276 #. type: Plain text
277 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
278 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
279 msgid "Linux 2.6.25 (PowerPC)."
280 msgstr ""
281
282 #. type: Plain text
283 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
284 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
285 #, fuzzy
286 #| msgid ""
287 #| "This operation is available only if the kernel is configured with "
288 #| "B<CONFIG_SECCOMP> enabled."
289 msgid ""
290 "The system call is provided only if the kernel is configured with "
291 "B<CONFIG_PPC_64K_PAGES>."
292 msgstr ""
293 "Эта операция доступна только, если в ядре включён параметр B<CONFIG_SECCOMP>."
294
295 #. type: SH
296 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
297 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
298 #, no-wrap
299 msgid "NOTES"
300 msgstr "ПРИМЕЧАНИЯ"
301
302 #. type: Plain text
303 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
304 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
305 msgid ""
306 "Normal page protections (at the 64-kB page level) also apply; the subpage "
307 "protection mechanism is an additional constraint, so putting 0 in a 2-bit "
308 "field won't allow writes to a page that is otherwise write-protected."
309 msgstr ""
310 "Обычная страничная защита также работает (на уровне 64-килобайтных страниц); "
311 "механизм подстраничной защиты является дополнительным ограничением, поэтому "
312 "указание 0 в 2-битном поле не разрешит запись в страницу, которая защищена "
313 "от записи другим способом."
314
315 #. type: SS
316 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
317 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
318 #, no-wrap
319 msgid "Rationale"
320 msgstr "Обоснование"
321
322 #. In the initial implementation, it was the case that:
323 #. In fact the whole process is switched to use 4 kB hardware pages when the
324 #. subpage_prot system call is used, but this could be improved in future
325 #. to switch only the affected segments.
326 #. But Paul Mackerass says (Oct 2010): I'm pretty sure we now only switch
327 #. the affected segment, not the whole process.
328 #. type: Plain text
329 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
330 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
331 msgid ""
332 "This system call is provided to assist writing emulators that operate using "
333 "64-kB pages on PowerPC systems. When emulating systems such as x86, which "
334 "uses a smaller page size, the emulator can no longer use the memory-"
335 "management unit (MMU) and normal system calls for controlling page "
336 "protections. (The emulator could emulate the MMU by checking and possibly "
337 "remapping the address for each memory access in software, but that is "
338 "slow.) The idea is that the emulator supplies an array of protection masks "
339 "to apply to a specified range of virtual addresses. These masks are applied "
340 "at the level where hardware page-table entries (PTEs) are inserted into the "
341 "hardware page table based on the Linux PTEs, so the Linux PTEs are not "
342 "affected. Implicit in this is that the regions of the address space that "
343 "are protected are switched to use 4-kB hardware pages rather than 64-kB "
344 "hardware pages (on machines with hardware 64-kB page support)."
345 msgstr ""
346 "Данный системный вызов предоставляется для облегчения написания эмуляторов, "
347 "которые работают с 64-КБ страницами в системах PowerPC. При эмуляции систем, "
348 "в которых используется меньший размер страницы (таких как x86), эмулятор не "
349 "может использовать блок управления памятью (MMU) и обычные системные вызовы "
350 "управления защитой страниц (эмулятор может эмулировать MMU с помощью ПО "
351 "проверяя и, возможно, перераспределяя адрес при каждом обращении к памяти, "
352 "но это медленно). Идея в том, что эмулятор задаёт массив защитных масок для "
353 "указанного диапазона виртуальных адресов. Эти маски накладываются в месте, "
354 "где аппаратные табличные записи страниц (PTE) вставляются в аппаратную "
355 "таблицу страниц на основе Linux PTE, при этом Linux PTE не затрагиваются. В "
356 "этом случае для защищённых областей адресного пространства начинают неявно "
357 "использоваться 4-килобайтные аппаратные страницы, а не 64-килобайтные "
358 "аппаратные страницы (на машинах с аппаратной поддержкой 64-килобайтных "
359 "страниц)."
360
361 #. type: SH
362 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
363 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
364 #, no-wrap
365 msgid "SEE ALSO"
366 msgstr "СМОТРИТЕ ТАКЖЕ"
367
368 #. type: Plain text
369 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
370 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
371 msgid "B<mprotect>(2), B<syscall>(2)"
372 msgstr "B<mprotect>(2), B<syscall>(2)"
373
374 #. type: Plain text
375 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
376 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
377 msgid ""
378 "I<Documentation/admin-guide/mm/hugetlbpage.rst> in the Linux kernel source "
379 "tree"
380 msgstr ""
381 "I<Documentation/admin-guide/mm/hugetlbpage.rst> в дереве исходного кода ядра "
382 "Linux"
383
384 #. type: TH
385 #: debian-trixie
386 #, no-wrap
387 msgid "2024-05-02"
388 msgstr "2 мая 2024 г."
389
390 #. type: TH
391 #: debian-trixie
392 #, no-wrap
393 msgid "Linux man-pages 6.9.1"
394 msgstr "Страницы руководства Linux 6.9.1"
395
396 #. type: Plain text
397 #: debian-trixie
398 msgid "Standard C library (I<libc>, I<-lc>)"
399 msgstr "Стандартная библиотека языка C (I<libc>, I<-lc>)"
400
401 #. type: Plain text
402 #: debian-trixie
403 #, fuzzy, no-wrap
404 #| msgid ""
405 #| "B<long subpage_prot(unsigned long >I<addr>B<, unsigned long >I<len>B<,>\n"
406 #| "B< uint32_t *>I<map>B<);>\n"
407 msgid ""
408 "B<int syscall(SYS_subpage_prot, unsigned long >I<addr>B<, unsigned long >I<len>B<,>\n"
409 "B< uint32_t *>I<map>B<);>\n"
410 msgstr ""
411 "B<long subpage_prot(unsigned long >I<addr>B<, unsigned long >I<len>B<,>\n"
412 "B< uint32_t *>I<map>B<);>\n"
413
414 #. type: Plain text
415 #: debian-trixie
416 msgid ""
417 "The protection map is applied to the memory pages in the region starting at "
418 "I<addr> and continuing for I<len> bytes. Both of these arguments must be "
419 "aligned to a 64-kB boundary."
420 msgstr ""
421 "Карта защиты налагается на страницы памяти для области, начинающейся с "
422 "I<addr> и имеющей размер I<len> байт. Значения обоих аргументов должны быть "
423 "выровнены на 64-КБ границу."
424
425 #. type: Plain text
426 #: debian-trixie
427 msgid ""
428 "The protection map is specified in the buffer pointed to by I<map>. The map "
429 "has 2 bits per 4\\ kB subpage; thus each 32-bit word specifies the "
430 "protections of 16 4\\ kB subpages inside a 64\\ kB page (so, the number of "
431 "32-bit words pointed to by I<map> should equate to the number of 64-kB pages "
432 "specified by I<len>). Each 2-bit field in the protection map is either 0 to "
433 "allow any access, 1 to prevent writes, or 2 or 3 to prevent all accesses."
434 msgstr ""
435 "Карта защиты задаётся в буфере, на который указывает I<map>. В карте на "
436 "каждую 4-килобайтную подстраницу выделяется 2 бита; таким образом, в каждом "
437 "32-битном слове задаётся защита для 16 4-килобайтных подстраниц внутри 64-"
438 "килобайтной страницы (поэтому количество 32-битных слов, на которые "
439 "указывает I<map>, должно быть равно количеству 64-килобайтных страниц, "
440 "указанному в I<len>). Каждое 2-битное поле в карте защиты может быть: 0 — "
441 "полный доступ, 1 — защита от записи, 2 или 3 — запрет на любой доступ."
442
443 #. type: Plain text
444 #: debian-trixie
445 msgid ""
446 "The I<addr> or I<len> arguments are incorrect. Both of these arguments must "
447 "be aligned to a multiple of the system page size, and they must not refer to "
448 "a region outside of the address space of the process or to a region that "
449 "consists of huge pages."
450 msgstr ""
451 "Некорректное значение аргумента I<addr> или I<len>. Оба значения должны быть "
452 "кратны размеру системной страницы, и они не должны указывать на область вне "
453 "адресного пространства процесса, или на область, которая состоит из огромных "
454 "страниц."
455
456 #. type: TH
457 #: fedora-44 fedora-rawhide
458 #, no-wrap
459 msgid "2024-11-17"
460 msgstr "17 ноября 2024 г."
461
462 #. type: TH
463 #: fedora-44 fedora-rawhide
464 #, no-wrap
465 msgid "Linux man-pages 6.13"
466 msgstr "Страницы руководства Linux 6.13"
467
468 #. type: TH
469 #: mageia-cauldron
470 #, no-wrap
471 msgid "Linux man-pages 6.17"
472 msgstr "Страницы руководства Linux 6.17"
473
474 #. type: TH
475 #: opensuse-leap-16-1 opensuse-tumbleweed
476 #, no-wrap
477 msgid "Linux man-pages (unreleased)"
478 msgstr "Страницы руководства Linux (не выпущены)"