Debian Codegraph @

po/ru/man2/shmctl.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:43+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 "shmctl"
33 msgstr "shmctl"
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 "shmctl - System V shared memory control"
60 msgstr "shmctl - управление общей памятью System V"
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 "B<#include E<lt>sys/shm.hE<gt>>\n"
87 msgstr "B<#include E<lt>sys/shm.hE<gt>>\n"
88
89 #. type: Plain text
90 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
91 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
92 #, fuzzy, no-wrap
93 #| msgid "B<int shmctl(int >I<shmid>B<, int >I<cmd>B<, struct shmid_ds *>I<buf>B<);>"
94 msgid "B<int shmctl(int >I<shmid>B<, int >I<op>B<, struct shmid_ds *>I<buf>B<);>\n"
95 msgstr "B<int shmctl(int >I<shmid>B<, int >I<cmd>B<, struct shmid_ds *>I<buf>B<);>"
96
97 #. type: SH
98 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
99 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
100 #, no-wrap
101 msgid "DESCRIPTION"
102 msgstr "ОПИСАНИЕ"
103
104 #. type: Plain text
105 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
106 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
107 #, fuzzy
108 #| msgid ""
109 #| "B<shmctl>() performs the control operation specified by I<cmd> on the "
110 #| "System\\ V shared memory segment whose identifier is given in I<shmid>."
111 msgid ""
112 "B<shmctl>() performs the control operation specified by I<op> on the "
113 "System\\ V shared memory segment whose identifier is given in I<shmid>."
114 msgstr ""
115 "Вызов B<shmctl>() выполняет управляющую операцию, указанную в I<cmd>, над "
116 "общим сегментом памяти System\\ V, чей идентификатор задан в I<shmid>."
117
118 #. type: Plain text
119 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
120 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
121 msgid ""
122 "The I<buf> argument is a pointer to a I<shmid_ds> structure, defined in "
123 "I<E<lt>sys/shm.hE<gt>> as follows:"
124 msgstr ""
125 "В аргументе I<buf> содержится указатель на структуру I<shmid_ds>, "
126 "определённую в I<E<lt>sys/shm.hE<gt>> следующим образом:"
127
128 #. type: Plain text
129 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
130 #: opensuse-tumbleweed
131 #, fuzzy, no-wrap
132 #| msgid ""
133 #| "struct shmid_ds {\n"
134 #| " struct ipc_perm shm_perm; /* Ownership and permissions */\n"
135 #| " size_t shm_segsz; /* Size of segment (bytes) */\n"
136 #| " time_t shm_atime; /* Last attach time */\n"
137 #| " time_t shm_dtime; /* Last detach time */\n"
138 #| " time_t shm_ctime; /* Last change time */\n"
139 #| " pid_t shm_cpid; /* PID of creator */\n"
140 #| " pid_t shm_lpid; /* PID of last shmat(2)/shmdt(2) */\n"
141 #| " shmatt_t shm_nattch; /* No. of current attaches */\n"
142 #| " ...\n"
143 #| "};\n"
144 msgid ""
145 "struct shmid_ds {\n"
146 " struct ipc_perm shm_perm; /* Ownership and permissions */\n"
147 " size_t shm_segsz; /* Size of segment (bytes) */\n"
148 " time_t shm_atime; /* Last attach time */\n"
149 " time_t shm_dtime; /* Last detach time */\n"
150 " time_t shm_ctime; /* Creation time/time of last\n"
151 " modification via shmctl() */\n"
152 " pid_t shm_cpid; /* PID of creator */\n"
153 " pid_t shm_lpid; /* PID of last shmat(2)/shmdt(2) */\n"
154 " shmatt_t shm_nattch; /* # of current attaches */\n"
155 " ...\n"
156 "};\n"
157 msgstr ""
158 "struct shmid_ds {\n"
159 " struct ipc_perm shm_perm; /* владелец и права */\n"
160 " size_t shm_segsz; /* размер сегмента (байты) */\n"
161 " time_t shm_atime; /* время последнего подключения */\n"
162 " time_t shm_dtime; /* время последнего отключения */\n"
163 " time_t shm_ctime; /* время последнего изменения */\n"
164 " pid_t shm_cpid; /* PID создателя */\n"
165 " pid_t shm_lpid; /* PID последнего выполнявшего \n"
166 " shmat(2)/shmdt(2) */\n"
167 " shmatt_t shm_nattch; /* текущее количество подключений */\n"
168 " ...\n"
169 "};\n"
170
171 #. type: Plain text
172 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
173 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
174 #, fuzzy
175 #| msgid "The fields of this structure are as follows:"
176 msgid "The fields of the I<shmid_ds> structure are as follows:"
177 msgstr "Поля этой структуры имеют следующее назначение:"
178
179 #. type: TP
180 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
181 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
182 #, no-wrap
183 msgid "I<shm_perm>"
184 msgstr "I<shm_perm>"
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 #, fuzzy
190 #| msgid ""
191 #| "I<ipc_perm> structure that specifies the access permissions on the shared "
192 #| "memory segment."
193 msgid ""
194 "This is an I<ipc_perm> structure (see below) that specifies the access "
195 "permissions on the shared memory segment."
196 msgstr ""
197 "Структура I<ipc_perm>, описывающая права доступа к сегменту общей памяти."
198
199 #. type: TP
200 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
201 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
202 #, no-wrap
203 msgid "I<shm_segsz>"
204 msgstr "I<shm_segsz>"
205
206 #. type: Plain text
207 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
208 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
209 msgid "Size in bytes of the shared memory segment."
210 msgstr "Размер в байтах сегмента общей памяти."
211
212 #. type: TP
213 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
214 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
215 #, no-wrap
216 msgid "I<shm_atime>"
217 msgstr "I<shm_atime>"
218
219 #. type: Plain text
220 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
221 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
222 #, fuzzy
223 #| msgid "Time of the last B<shmctl>(2) system call that changed I<shmid_ds>."
224 msgid "Time of the last B<shmat>(2) system call that attached this segment."
225 msgstr ""
226 "Время последнего системного вызова B<shmctl>(2), изменившего I<shmid_ds>."
227
228 #. type: TP
229 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
230 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
231 #, no-wrap
232 msgid "I<shm_dtime>"
233 msgstr "I<shm_dtime>"
234
235 #. type: Plain text
236 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
237 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
238 #, fuzzy
239 #| msgid "Time of the last B<shmctl>(2) system call that changed I<shmid_ds>."
240 msgid "Time of the last B<shmdt>(2) system call that detached tgis segment."
241 msgstr ""
242 "Время последнего системного вызова B<shmctl>(2), изменившего I<shmid_ds>."
243
244 #. type: TP
245 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
246 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
247 #, no-wrap
248 msgid "I<shm_ctime>"
249 msgstr "I<shm_ctime>"
250
251 #. type: Plain text
252 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
253 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
254 msgid ""
255 "Time of creation of segment or time of the last B<shmctl>() B<IPC_SET> "
256 "operation."
257 msgstr ""
258
259 #. type: TP
260 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
261 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
262 #, no-wrap
263 msgid "I<shm_cpid>"
264 msgstr "I<shm_cpid>"
265
266 #. type: Plain text
267 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
268 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
269 msgid "ID of the process that created the shared memory segment."
270 msgstr "ID процесса, создавшего сегмент общей памяти."
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 "I<shm_lpid>"
277 msgstr "I<shm_lpid>"
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 #, fuzzy
283 #| msgid ""
284 #| "ID of the last process that executed a B<shmat>(2) or B<shmdt>(2) "
285 #| "system call."
286 msgid ""
287 "ID of the last process that executed a B<shmat>(2) or B<shmdt>(2) system "
288 "call on this segment."
289 msgstr ""
290 "ID последнего процесса, выполнившего системный вызов B<shmat>(2) или "
291 "B<shmdt>(2)."
292
293 #. type: TP
294 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
295 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
296 #, no-wrap
297 msgid "I<shm_nattch>"
298 msgstr "I<shm_nattch>"
299
300 #. type: Plain text
301 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
302 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
303 msgid "Number of processes that have this segment attached."
304 msgstr ""
305
306 #. type: Plain text
307 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
308 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
309 msgid ""
310 "The I<ipc_perm> structure is defined as follows (the highlighted fields are "
311 "settable using B<IPC_SET>):"
312 msgstr ""
313 "Структура I<ipc_perm> определена следующим образом (значения полей "
314 "устанавливаются с помощью B<IPC_SET>):"
315
316 #. type: Plain text
317 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
318 #: opensuse-tumbleweed
319 #, fuzzy, no-wrap
320 #| msgid ""
321 #| "struct ipc_perm {\n"
322 #| " key_t __key; /* Key supplied to shmget(2) */\n"
323 #| " uid_t B<uid>; /* Effective UID of owner */\n"
324 #| " gid_t B<gid>; /* Effective GID of owner */\n"
325 #| " uid_t cuid; /* Effective UID of creator */\n"
326 #| " gid_t cgid; /* Effective GID of creator */\n"
327 #| " unsigned short B<mode>; /* B<Permissions> + SHM_DEST and\n"
328 #| " SHM_LOCKED flags */\n"
329 #| " unsigned short __seq; /* Sequence number */\n"
330 #| "};\n"
331 msgid ""
332 "struct ipc_perm {\n"
333 " key_t __key; /* Key supplied to shmget(2) */\n"
334 " uid_t \\f[B]uid\\fR; /* Effective UID of owner */\n"
335 " gid_t \\f[B]gid\\fR; /* Effective GID of owner */\n"
336 " uid_t cuid; /* Effective UID of creator */\n"
337 " gid_t cgid; /* Effective GID of creator */\n"
338 " unsigned short \\f[B]mode\\fR; /* \\f[B]Permissions\\fR + SHM_DEST and\n"
339 " SHM_LOCKED flags */\n"
340 " unsigned short __seq; /* Sequence number */\n"
341 "};\n"
342 msgstr ""
343 "struct ipc_perm {\n"
344 " key_t __key; /* ключ, передаваемый в shmget(2) */\n"
345 " uid_t B<uid>; /* эффективный UID владельца */\n"
346 " gid_t B<gid>; /* эффективный GID владельца */\n"
347 " uid_t cuid; /* эффективный UID создателя */\n"
348 " gid_t cgid; /* эффективный GID создателя */\n"
349 " unsigned short B<mode>; /* B<права> + флаги SHM_DEST и\n"
350 " SHM_LOCKED */\n"
351 " unsigned short __seq; /* порядковый номер */\n"
352 "};\n"
353
354 #. type: Plain text
355 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
356 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
357 msgid ""
358 "The least significant 9 bits of the I<mode> field of the I<ipc_perm> "
359 "structure define the access permissions for the shared memory segment. The "
360 "permission bits are as follows:"
361 msgstr ""
362 "9 младших бит поля I<mode> структуры I<ipc_perm> определяют права доступа к "
363 "сегменту разделяемой памяти. Биты разрешения следующие:"
364
365 #. type: tbl table
366 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
367 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
368 #, no-wrap
369 msgid "0400"
370 msgstr "0400"
371
372 #. type: tbl table
373 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
374 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
375 #, no-wrap
376 msgid "Read by user"
377 msgstr ""
378
379 #. type: tbl table
380 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
381 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
382 #, no-wrap
383 msgid "0200"
384 msgstr "0200"
385
386 #. type: tbl table
387 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
388 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
389 #, no-wrap
390 msgid "Write by user"
391 msgstr ""
392
393 #. type: tbl table
394 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
395 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
396 #, no-wrap
397 msgid "0040"
398 msgstr "0040"
399
400 #. type: tbl table
401 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
402 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
403 #, no-wrap
404 msgid "Read by group"
405 msgstr ""
406
407 #. type: tbl table
408 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
409 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
410 #, no-wrap
411 msgid "0020"
412 msgstr "0020"
413
414 #. type: tbl table
415 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
416 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
417 #, no-wrap
418 msgid "Write by group"
419 msgstr ""
420
421 #. type: tbl table
422 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
423 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
424 #, no-wrap
425 msgid "0004"
426 msgstr "0004"
427
428 #. type: tbl table
429 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
430 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
431 #, no-wrap
432 msgid "Read by others"
433 msgstr ""
434
435 #. type: tbl table
436 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
437 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
438 #, no-wrap
439 msgid "0002"
440 msgstr "0002"
441
442 #. type: tbl table
443 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
444 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
445 #, no-wrap
446 msgid "Write by others"
447 msgstr "Написано другими"
448
449 #. type: Plain text
450 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
451 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
452 #, fuzzy
453 #| msgid ""
454 #| "Bits 0100, 0010, and 0001 (the execute bits) are unused by the system. "
455 #| "Furthermore, \"write\" effectively means \"alter\" for a semaphore set."
456 msgid ""
457 "Bits 0100, 0010, and 0001 (the execute bits) are unused by the system. (It "
458 "is not necessary to have execute permission on a segment in order to perform "
459 "a B<shmat>(2) call with the B<SHM_EXEC> flag.)"
460 msgstr ""
461 "Биты 0100, 0010 и 0001 (биты запуска) системой не используется. Кроме того, "
462 "«запись» для набора семафоров на самом деле означает «изменение»."
463
464 #. type: Plain text
465 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
466 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
467 msgid "Valid values for I<op> are:"
468 msgstr "Допустимые значения для I<op>:"
469
470 #. type: TP
471 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
472 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
473 #, no-wrap
474 msgid "B<IPC_STAT>"
475 msgstr "B<IPC_STAT>"
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 msgid ""
481 "Copy information from the kernel data structure associated with I<shmid> "
482 "into the I<shmid_ds> structure pointed to by I<buf>. The caller must have "
483 "read permission on the shared memory segment."
484 msgstr ""
485 "Копирует информацию из структуры данных ядра, связанной с I<shmid>, в "
486 "структуру I<shsid_ds>, расположенную по адресу I<buf>. Вызывающий должен "
487 "иметь права на чтение общего сегмента памяти."
488
489 #. type: TP
490 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
491 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
492 #, no-wrap
493 msgid "B<IPC_SET>"
494 msgstr "B<IPC_SET>"
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 ""
500 "Write the values of some members of the I<shmid_ds> structure pointed to by "
501 "I<buf> to the kernel data structure associated with this shared memory "
502 "segment, updating also its I<shm_ctime> member."
503 msgstr ""
504
505 #. type: Plain text
506 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
507 #: opensuse-tumbleweed
508 #, fuzzy
509 #| msgid ""
510 #| "The least significant 9 bits of I<shm_perm.mode> are set to the least "
511 #| "significant 9 bit of I<shmflg>."
512 msgid ""
513 "The following fields are updated: I<shm_perm.uid>, I<shm_perm.gid>, and (the "
514 "least significant 9 bits of) I<shm_perm.mode>."
515 msgstr ""
516 "Младшим 9 битам I<shm_perm.mode> присваивается значение младших 9 бит "
517 "I<shmflg>."
518
519 #. type: Plain text
520 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
521 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
522 msgid ""
523 "The effective UID of the calling process must match the owner "
524 "(I<shm_perm.uid>) or creator (I<shm_perm.cuid>) of the shared memory "
525 "segment, or the caller must be privileged."
526 msgstr ""
527
528 #. type: TP
529 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
530 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
531 #, no-wrap
532 msgid "B<IPC_RMID>"
533 msgstr "B<IPC_RMID>"
534
535 #. type: Plain text
536 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
537 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
538 msgid ""
539 "Mark the segment to be destroyed. The segment will actually be destroyed "
540 "only after the last process detaches it (i.e., when the I<shm_nattch> member "
541 "of the associated structure I<shmid_ds> is zero). The caller must be the "
542 "owner or creator of the segment, or be privileged. The I<buf> argument is "
543 "ignored."
544 msgstr ""
545 "Помечает сегмент как удалённый. Сегмент будет удалён только после того как "
546 "от него отключится последний процесс (т.е. когда поле I<shm_nattch> из "
547 "связанной структуры I<shmid_ds> станет равно нулю). Вызывающий должен быть "
548 "владельцем, создателем или иметь соответствующие привилегии. Аргумент I<buf> "
549 "игнорируется."
550
551 #. type: Plain text
552 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
553 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
554 msgid ""
555 "If a segment has been marked for destruction, then the (nonstandard) "
556 "B<SHM_DEST> flag of the I<shm_perm.mode> field in the associated data "
557 "structure retrieved by B<IPC_STAT> will be set."
558 msgstr ""
559 "Если сегмент помечен на удаление, то в поле I<shm_perm.mode> устанавливается "
560 "(нестандартный) флаг B<SHM_DEST> в связанной структуре данных, которая "
561 "возвращается при операции B<IPC_STAT>."
562
563 #. type: Plain text
564 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
565 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
566 msgid ""
567 "The caller I<must> ensure that a segment is eventually destroyed; otherwise "
568 "its pages that were faulted in will remain in memory or swap."
569 msgstr ""
570 "Вызывающий I<должен> удостовериться, что сегмент в конечном итоге удалён; "
571 "иначе ошибочные страницы останутся в памяти или в пространстве подкачки."
572
573 #. type: Plain text
574 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
575 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
576 msgid ""
577 "See also the description of I</proc/sys/kernel/shm_rmid_forced> in "
578 "B<proc>(5)."
579 msgstr ""
580 "Смотрите также описание I</proc/sys/kernel/shm_rmid_forced> в B<proc>(5)."
581
582 #. type: TP
583 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
584 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
585 #, no-wrap
586 msgid "B<IPC_INFO> (Linux-specific)"
587 msgstr "B<IPC_INFO> (есть только в Linux)"
588
589 #. type: Plain text
590 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
591 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
592 msgid ""
593 "Return information about system-wide shared memory limits and parameters in "
594 "the structure pointed to by I<buf>. This structure is of type I<shminfo> "
595 "(thus, a cast is required), defined in I<E<lt>sys/shm.hE<gt>> if the "
596 "B<_GNU_SOURCE> feature test macro is defined:"
597 msgstr ""
598 "Возвращает параметры и информацию о системных максимальных значениях общей "
599 "памяти в структуре, указанной в I<buf>. Данная структура имеет тип "
600 "I<shminfo> (то есть, требуется приведение типов) и определена в I<E<lt>sys/"
601 "shm.hE<gt>>, если определён макрос тестирования свойств B<_GNU_SOURCE>:"
602
603 #. type: Plain text
604 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
605 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
606 #, no-wrap
607 msgid ""
608 "struct shminfo {\n"
609 " unsigned long shmmax; /* Maximum segment size */\n"
610 " unsigned long shmmin; /* Minimum segment size;\n"
611 " always 1 */\n"
612 " unsigned long shmmni; /* Maximum number of segments */\n"
613 " unsigned long shmseg; /* Maximum number of segments\n"
614 " that a process can attach;\n"
615 " unused within kernel */\n"
616 " unsigned long shmall; /* Maximum number of pages of\n"
617 " shared memory, system-wide */\n"
618 "};\n"
619 msgstr ""
620 "struct shminfo {\n"
621 " unsigned long shmmax; /* максимальный размер\n"
622 " сегмента */\n"
623 " unsigned long shmmin; /* минимальный размер сегмента;\n"
624 " всегда 1 */\n"
625 " unsigned long shmmni; /* максимальное количество\n"
626 " сегментов */\n"
627 " unsigned long shmseg; /* максимальное количество\n"
628 " сегментов, к которому может\n"
629 " подключиться; процесс\n"
630 " не используется в ядре */\n"
631 " unsigned long shmall; /* макс. количество страниц\n"
632 " общей памяти в системе */\n"
633 "};\n"
634
635 #. type: Plain text
636 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
637 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
638 msgid ""
639 "The I<shmmni>, I<shmmax>, and I<shmall> settings can be changed via I</proc> "
640 "files of the same name; see B<proc>(5) for details."
641 msgstr ""
642 "Значения I<shmmni>, I<shmmax> и I<shmall> можно изменить с помощью файлов в "
643 "I</proc> с теми же именами; подробней см. B<proc>(5)."
644
645 #. type: TP
646 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
647 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
648 #, no-wrap
649 msgid "B<SHM_INFO> (Linux-specific)"
650 msgstr "B<SHM_INFO> (есть только в Linux)"
651
652 #. type: Plain text
653 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
654 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
655 msgid ""
656 "Return a I<shm_info> structure whose fields contain information about system "
657 "resources consumed by shared memory. This structure is defined in "
658 "I<E<lt>sys/shm.hE<gt>> if the B<_GNU_SOURCE> feature test macro is defined:"
659 msgstr ""
660 "Возвращает структуру I<shm_info>, чьи поля содержат информацию о системных "
661 "ресурсах, использованных общей памятью. Эта структура определена в "
662 "I<E<lt>sys/shm.hE<gt>>, если определён макрос тестирования свойств "
663 "B<_GNU_SOURCE>:"
664
665 #. type: Plain text
666 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
667 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
668 #, no-wrap
669 msgid ""
670 "struct shm_info {\n"
671 " int used_ids; /* # of currently existing\n"
672 " segments */\n"
673 " unsigned long shm_tot; /* Total number of shared\n"
674 " memory pages */\n"
675 " unsigned long shm_rss; /* # of resident shared\n"
676 " memory pages */\n"
677 " unsigned long shm_swp; /* # of swapped shared\n"
678 " memory pages */\n"
679 " unsigned long swap_attempts;\n"
680 " /* Unused since Linux 2.4 */\n"
681 " unsigned long swap_successes;\n"
682 " /* Unused since Linux 2.4 */\n"
683 "};\n"
684 msgstr ""
685 "struct shm_info {\n"
686 " int used_ids; /* количество используемых в\n"
687 " данный момент сегментов */\n"
688 " unsigned long shm_tot; /* общее количество общих\n"
689 " страниц памяти */\n"
690 " unsigned long shm_rss; /* количество общих страниц, \n"
691 " находящихся в памяти */\n"
692 " unsigned long shm_swp; /* количество страниц памяти в \n"
693 " пространстве подкачки */\n"
694 " unsigned long swap_attempts; /* не используется,\n"
695 " начиная с Linux 2.4 */\n"
696 " unsigned long swap_successes; /* не используется,\n"
697 " начиная с Linux 2.4 */\n"
698 "};\n"
699
700 #. type: TP
701 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
702 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
703 #, no-wrap
704 msgid "B<SHM_STAT> (Linux-specific)"
705 msgstr "B<SHM_STAT> (есть только в Linux)"
706
707 #. type: Plain text
708 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
709 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
710 msgid ""
711 "Return a I<shmid_ds> structure as for B<IPC_STAT>. However, the I<shmid> "
712 "argument is not a segment identifier, but instead an index into the kernel's "
713 "internal array that maintains information about all shared memory segments "
714 "on the system."
715 msgstr ""
716 "Возвращает структуру I<shmid_ds> как в операции B<IPC_STAT>. Однако аргумент "
717 "I<shmid> является не идентификатором сегмента, а индексом во внутреннем "
718 "массиве ядра, в котором содержится информации о всех общих сегментов памяти "
719 "в системе."
720
721 #. type: TP
722 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
723 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
724 #, no-wrap
725 msgid "B<SHM_STAT_ANY> (Linux-specific, since Linux 4.17)"
726 msgstr "B<SHM_STAT_ANY> (есть только в Linux, начиная с Linux 4.17)"
727
728 #. type: Plain text
729 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
730 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
731 msgid ""
732 "Return a I<shmid_ds> structure as for B<SHM_STAT>. However, "
733 "I<shm_perm.mode> is not checked for read access for I<shmid>, meaning that "
734 "any user can employ this operation (just as any user may read I</proc/"
735 "sysvipc/shm> to obtain the same information)."
736 msgstr ""
737 "Возвращает структуру I<shmid_ds> как для B<SHM_STAT>. Однако "
738 "I<shm_perm.mode> не проверяется на доступность чтения для I<shmid>, что "
739 "означает, что эту операцию может выполнять пользователь (как и любой "
740 "пользователь, который может прочитать эту же информацию из I</proc/sysvipc/"
741 "shm>)."
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 #, fuzzy
747 #| msgid ""
748 #| "The caller can prevent or allow swapping of a shared memory segment with "
749 #| "the following I<cmd> values:"
750 msgid ""
751 "The caller can prevent or allow swapping of a shared memory segment with the "
752 "following I<op> values:"
753 msgstr ""
754 "Вызывающий может запретить или разрешить размещение общего сегмента памяти в "
755 "пространство подкачки с помощью следующих значений I<cmd>:"
756
757 #. type: TP
758 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
759 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
760 #, no-wrap
761 msgid "B<SHM_LOCK> (Linux-specific)"
762 msgstr "B<SHM_LOCK> (есть только в Linux)"
763
764 #. type: Plain text
765 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
766 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
767 msgid ""
768 "Prevent swapping of the shared memory segment. The caller must fault in any "
769 "pages that are required to be present after locking is enabled. If a "
770 "segment has been locked, then the (nonstandard) B<SHM_LOCKED> flag of the "
771 "I<shm_perm.mode> field in the associated data structure retrieved by "
772 "B<IPC_STAT> will be set."
773 msgstr ""
774 "Запрещает подкачку общего сегмента памяти. После включения блокировки "
775 "вызывающий должен считать сбойными все страницы, наличие которых требуется. "
776 "Если сегмент заблокирован, то в поле I<shm_perm.mode> устанавливается "
777 "(нестандартный) флаг B<SHM_LOCKED> в связанной структуре, которая "
778 "возвращается при операции B<IPC_STAT>."
779
780 #. type: TP
781 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
782 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
783 #, no-wrap
784 msgid "B<SHM_UNLOCK> (Linux-specific)"
785 msgstr "B<SHM_UNLOCK> (есть только в Linux)"
786
787 #. type: Plain text
788 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
789 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
790 msgid "Unlock the segment, allowing it to be swapped out."
791 msgstr "Разблокирует сегмент, разрешая выполнение подкачки."
792
793 #. There was some weirdness in Linux 2.6.9: SHM_LOCK and SHM_UNLOCK could
794 #. be applied to a segment, regardless of ownership of the segment.
795 #. This was a botch-up in the move to RLIMIT_MEMLOCK, and was fixed
796 #. in Linux 2.6.10. MTK, May 2005
797 #. type: Plain text
798 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
799 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
800 #, fuzzy
801 #| msgid ""
802 #| "In kernels before 2.6.10, only a privileged process could employ "
803 #| "B<SHM_LOCK> and B<SHM_UNLOCK>. Since kernel 2.6.10, an unprivileged "
804 #| "process can employ these operations if its effective UID matches the "
805 #| "owner or creator UID of the segment, and (for B<SHM_LOCK>) the amount of "
806 #| "memory to be locked falls within the B<RLIMIT_MEMLOCK> resource limit "
807 #| "(see B<setrlimit>(2))."
808 msgid ""
809 "Before Linux 2.6.10, only a privileged process could employ B<SHM_LOCK> and "
810 "B<SHM_UNLOCK>. Since Linux 2.6.10, an unprivileged process can employ these "
811 "operations if its effective UID matches the owner or creator UID of the "
812 "segment, and (for B<SHM_LOCK>) the amount of memory to be locked falls "
813 "within the B<RLIMIT_MEMLOCK> resource limit (see B<setrlimit>(2))."
814 msgstr ""
815 "В ядрах до версии 2.6.10 только привилегированный процесс мог использовать "
816 "B<SHM_LOCK> и B<SHM_UNLOCK>. Начиная с ядра версии 2.6.10 "
817 "непривилегированный процесс может использовать эти операции, если его "
818 "эффективный UID совпадает с UID владельца или создателя сегмента и (для "
819 "B<SHM_LOCK>) количество блокируемой памяти находится в пределах ресурса "
820 "B<RLIMIT_MEMLOCK> (см. B<setrlimit>(2))."
821
822 #. type: SH
823 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
824 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
825 #, no-wrap
826 msgid "RETURN VALUE"
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 "A successful B<IPC_INFO> or B<SHM_INFO> operation returns the index of the "
834 "highest used entry in the kernel's internal array recording information "
835 "about all shared memory segments. (This information can be used with "
836 "repeated B<SHM_STAT> or B<SHM_STAT_ANY> operations to obtain information "
837 "about all shared memory segments on the system.) A successful B<SHM_STAT> "
838 "operation returns the identifier of the shared memory segment whose index "
839 "was given in I<shmid>. Other operations return 0 on success."
840 msgstr ""
841 "При успешном выполнении операции B<IPC_INFO> или B<SHM_INFO> возвращается "
842 "индекс самого последнего использованного элемента внутреннего массива ядра, "
843 "в котором записывается информация о всех общих сегментах памяти (эта "
844 "информация может быть использована в повторяющихся операциях B<SHM_STAT> или "
845 "B<SHM_STAT_ANY> для получения информации о всех общих сегментах памяти "
846 "системы). При успешном выполнении операции B<SHM_STAT> возвращается "
847 "идентификатор общего сегмента памяти, чей индекс был указан в I<shmid>. При "
848 "успешном выполнении других операций возвращается 0."
849
850 #. type: Plain text
851 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
852 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
853 msgid "On error, -1 is returned, and I<errno> is set to indicate the error."
854 msgstr ""
855 "В случае ошибки возвращается -1, а I<errno> устанавливается в значение "
856 "ошибки."
857
858 #. type: SH
859 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
860 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
861 #, no-wrap
862 msgid "ERRORS"
863 msgstr "ОШИБКИ"
864
865 #. type: TP
866 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
867 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
868 #, no-wrap
869 msgid "B<EACCES>"
870 msgstr "B<EACCES>"
871
872 #. type: Plain text
873 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
874 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
875 msgid ""
876 "B<IPC_STAT> or B<SHM_STAT> is requested and I<shm_perm.mode> does not allow "
877 "read access for I<shmid>, and the calling process does not have the "
878 "B<CAP_IPC_OWNER> capability in the user namespace that governs its IPC "
879 "namespace."
880 msgstr ""
881 "Указана операция B<IPC_STAT> или B<SHM_STAT>, но в I<shm_perm.mode> не "
882 "установлено право на чтение I<shmid>, и вызывающий процесс не имеет мандата "
883 "B<CAP_IPC_OWNER> в пространстве имён пользователя, который управляет его "
884 "пространством имён IPC."
885
886 #. type: TP
887 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
888 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
889 #, no-wrap
890 msgid "B<EFAULT>"
891 msgstr "B<EFAULT>"
892
893 #. type: Plain text
894 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
895 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
896 #, fuzzy
897 #| msgid ""
898 #| "The argument I<cmd> has value B<IPC_SET> or B<IPC_STAT> but the address "
899 #| "pointed to by I<buf> isn't accessible."
900 msgid ""
901 "The argument I<op> has value B<IPC_SET> or B<IPC_STAT> but the address "
902 "pointed to by I<buf> isn't accessible."
903 msgstr ""
904 "Значение аргумента I<cmd> равно B<IPC_SET> или B<IPC_STAT>, но адрес, "
905 "указанный в I<buf>, недоступен."
906
907 #. type: TP
908 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
909 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
910 #, no-wrap
911 msgid "B<EIDRM>"
912 msgstr "B<EIDRM>"
913
914 #. type: Plain text
915 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
916 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
917 msgid "I<shmid> points to a removed identifier."
918 msgstr "Значение I<shmid> указывает на удалённый идентификатор."
919
920 #. type: TP
921 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
922 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
923 #, no-wrap
924 msgid "B<EINVAL>"
925 msgstr "B<EINVAL>"
926
927 #. type: Plain text
928 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
929 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
930 #, fuzzy
931 #| msgid ""
932 #| "I<shmid> is not a valid identifier, or I<cmd> is not a valid command. "
933 #| "Or: for a B<SHM_STAT> or B<SHM_STAT_ANY> operation, the index value "
934 #| "specified in I<shmid> referred to an array slot that is currently unused."
935 msgid ""
936 "I<shmid> is not a valid identifier, or I<op> is not a valid operation. Or: "
937 "for a B<SHM_STAT> or B<SHM_STAT_ANY> operation, the index value specified in "
938 "I<shmid> referred to an array slot that is currently unused."
939 msgstr ""
940 "Значение I<shmid> содержит недопустимый идентификатор, или I<cmd> содержит "
941 "недопустимую команду. Или (для B<SHM_STAT> или B<SHM_STAT_ANY>) индекс "
942 "I<shmid> ссылается на элемент массива, который в данный момент не "
943 "используется."
944
945 #. type: TP
946 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
947 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
948 #, no-wrap
949 msgid "B<ENOMEM>"
950 msgstr "B<ENOMEM>"
951
952 #. type: Plain text
953 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
954 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
955 #, fuzzy
956 #| msgid ""
957 #| "(In kernels since 2.6.9), B<SHM_LOCK> was specified and the size of the "
958 #| "to-be-locked segment would mean that the total bytes in locked shared "
959 #| "memory segments would exceed the limit for the real user ID of the "
960 #| "calling process. This limit is defined by the B<RLIMIT_MEMLOCK> soft "
961 #| "resource limit (see B<setrlimit>(2))."
962 msgid ""
963 "(Since Linux 2.6.9), B<SHM_LOCK> was specified and the size of the to-be-"
964 "locked segment would mean that the total bytes in locked shared memory "
965 "segments would exceed the limit for the real user ID of the calling "
966 "process. This limit is defined by the B<RLIMIT_MEMLOCK> soft resource limit "
967 "(see B<setrlimit>(2))."
968 msgstr ""
969 "(в ядрах, начиная с 2.6.9) Указана операция B<SHM_LOCK> и размер "
970 "блокируемого сегмента таков, что общее количество байт, блокируемое общими "
971 "сегментами памяти, превысило бы ограничение, установленное для "
972 "действительного идентификатора пользователя вызывающего процесса. Этот лимит "
973 "определён мягким ограничителем ресурса B<RLIMIT_MEMLOCK> (см. "
974 "B<setrlimit>(2))."
975
976 #. type: TP
977 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
978 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
979 #, no-wrap
980 msgid "B<EOVERFLOW>"
981 msgstr "B<EOVERFLOW>"
982
983 #. type: Plain text
984 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
985 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
986 msgid ""
987 "B<IPC_STAT> is attempted, and the GID or UID value is too large to be stored "
988 "in the structure pointed to by I<buf>."
989 msgstr ""
990 "Попытка выполнить B<IPC_STAT>, но значения GID или UID слишком велики для "
991 "помещения в структуру, на которую указывает I<buf>."
992
993 #. type: TP
994 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
995 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
996 #, no-wrap
997 msgid "B<EPERM>"
998 msgstr "B<EPERM>"
999
1000 #. type: Plain text
1001 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1002 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1003 msgid ""
1004 "B<IPC_SET> or B<IPC_RMID> is attempted, and the effective user ID of the "
1005 "calling process is not that of the creator (found in I<shm_perm.cuid>), or "
1006 "the owner (found in I<shm_perm.uid>), and the process was not privileged "
1007 "(Linux: did not have the B<CAP_SYS_ADMIN> capability)."
1008 msgstr ""
1009 "Попытка выполнить B<IPC_SET> или B<IPC_RMID>, но эффективный "
1010 "пользовательский идентификатор вызывающего процесса не равен идентификатору "
1011 "создателя (I<shm_perm.cuid>) или владельца (I<shm_perm.uid>) и процесс не "
1012 "привилегированный (Linux: не имеет мандата B<CAP_SYS_ADMIN>)."
1013
1014 #. type: Plain text
1015 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1016 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1017 #, fuzzy
1018 #| msgid ""
1019 #| "Or (in kernels before 2.6.9), B<SHM_LOCK> or B<SHM_UNLOCK> was specified, "
1020 #| "but the process was not privileged (Linux: did not have the "
1021 #| "B<CAP_IPC_LOCK> capability). (Since Linux 2.6.9, this error can also "
1022 #| "occur if the B<RLIMIT_MEMLOCK> is 0 and the caller is not privileged.)"
1023 msgid ""
1024 "Or (before Linux 2.6.9), B<SHM_LOCK> or B<SHM_UNLOCK> was specified, but the "
1025 "process was not privileged (Linux: did not have the B<CAP_IPC_LOCK> "
1026 "capability). (Since Linux 2.6.9, this error can also occur if the "
1027 "B<RLIMIT_MEMLOCK> is 0 and the caller is not privileged.)"
1028 msgstr ""
1029 "Или (в ядрах до 2.6.9) процесс не имеет привилегий (Linux: не имеет мандата "
1030 "B<CAP_IPC_LOCK>) для выполнения B<SHM_LOCK> или B<SHM_UNLOCK>. Начиная с "
1031 "Linux 2.6.9 эта ошибка также возникает, если значение B<RLIMIT_MEMLOCK> "
1032 "равно 0 и вызывающий не имеет привилегий."
1033
1034 #. type: SH
1035 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1036 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1037 #, no-wrap
1038 msgid "VERSIONS"
1039 msgstr "ВЕРСИИ"
1040
1041 #. type: Plain text
1042 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1043 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1044 msgid ""
1045 "Linux permits a process to attach (B<shmat>(2)) a shared memory segment "
1046 "that has already been marked for deletion using I<shmctl(IPC_RMID)>. This "
1047 "feature is not available on other UNIX implementations; portable "
1048 "applications should avoid relying on it."
1049 msgstr ""
1050 "Linux разрешает процессу подключаться (B<shmat>(2)) к общему сегменту "
1051 "память, который уже помечен как удалённый с помощью I<shmctl(IPC_RMID)>. Это "
1052 "свойство недоступно в других реализациях UNIX; в переносимых приложениях "
1053 "лучше не использовать это свойство."
1054
1055 #. type: SH
1056 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1057 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1058 #, no-wrap
1059 msgid "STANDARDS"
1060 msgstr "СТАНДАРТЫ"
1061
1062 #. type: Plain text
1063 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1064 #: opensuse-tumbleweed
1065 msgid "POSIX.1-2024."
1066 msgstr "POSIX.1-2024."
1067
1068 #. type: SH
1069 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1070 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1071 #, no-wrap
1072 msgid "HISTORY"
1073 msgstr "ИСТОРИЯ"
1074
1075 #. SVr4 documents additional error conditions EINVAL,
1076 #. ENOENT, ENOSPC, ENOMEM, EEXIST. Neither SVr4 nor SVID documents
1077 #. an EIDRM error condition.
1078 #. type: Plain text
1079 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1080 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1081 msgid "POSIX.1-2001, SVr4."
1082 msgstr "POSIX.1-2001, SVr4."
1083
1084 #. type: Plain text
1085 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1086 #: opensuse-tumbleweed
1087 #, fuzzy
1088 #| msgid ""
1089 #| "Various fields in a I<struct shmid_ds> were typed as I<short> under Linux "
1090 #| "2.2 and have become I<long> under Linux 2.4. To take advantage of this, "
1091 #| "a recompilation under glibc-2.1.91 or later should suffice. (The kernel "
1092 #| "distinguishes old and new calls by an B<IPC_64> flag in I<cmd>.)"
1093 msgid ""
1094 "Various fields in a I<struct\\ shmid_ds> were typed as I<short> under Linux "
1095 "2.2 and have become I<long> under Linux 2.4. To take advantage of this, a "
1096 "recompilation under glibc-2.1.91 or later should suffice. (The kernel "
1097 "distinguishes old and new calls by an B<IPC_64> flag in I<op>.)"
1098 msgstr ""
1099 "В Linux 2.2 различные поля I<struct shmid_ds> имели тип I<short>. В Linux "
1100 "2.4 тип был изменён на I<long>. Для задействования преимуществ этого "
1101 "изменения необходима перекомпиляция программы с glibc-2.1.91 или более "
1102 "поздней версией (ядро различает старые и новые вызовы по флагу B<IPC_64> в "
1103 "аргументе I<cmd>)."
1104
1105 #. type: SH
1106 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1107 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1108 #, no-wrap
1109 msgid "NOTES"
1110 msgstr "ПРИМЕЧАНИЯ"
1111
1112 #. type: Plain text
1113 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1114 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1115 #, fuzzy
1116 #| msgid ""
1117 #| "The B<IPC_INFO>, B<SHM_STAT> and B<SHM_INFO> operations are used by the "
1118 #| "B<ipcs>(1) program to provide information on allocated resources. In "
1119 #| "the future, these may modified or moved to a I</proc> filesystem "
1120 #| "interface."
1121 msgid ""
1122 "The B<IPC_INFO>, B<SHM_STAT>, and B<SHM_INFO> operations are used by the "
1123 "B<ipcs>(1) program to provide information on allocated resources. In the "
1124 "future, these may modified or moved to a I</proc> filesystem interface."
1125 msgstr ""
1126 "Операции B<IPC_INFO>, B<SHM_STAT> и B<SHM_INFO> используются программой "
1127 "B<ipcs>(1) для получения информации о выделенных ресурсах. В будущем для "
1128 "этого может быть задействован интерфейс файловой системы I</proc>."
1129
1130 #. type: SH
1131 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1132 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1133 #, no-wrap
1134 msgid "SEE ALSO"
1135 msgstr "СМОТРИТЕ ТАКЖЕ"
1136
1137 #. type: Plain text
1138 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1139 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1140 msgid ""
1141 "B<mlock>(2), B<setrlimit>(2), B<shmget>(2), B<shmop>(2), B<capabilities>(7), "
1142 "B<sysvipc>(7)"
1143 msgstr ""
1144 "B<mlock>(2), B<setrlimit>(2), B<shmget>(2), B<shmop>(2), B<capabilities>(7), "
1145 "B<sysvipc>(7)"
1146
1147 #. type: TH
1148 #: debian-trixie
1149 #, no-wrap
1150 msgid "2024-05-02"
1151 msgstr "2 мая 2024 г."
1152
1153 #. type: TH
1154 #: debian-trixie
1155 #, no-wrap
1156 msgid "Linux man-pages 6.9.1"
1157 msgstr "Страницы руководства Linux 6.9.1"
1158
1159 #. type: Plain text
1160 #: debian-trixie
1161 msgid "Standard C library (I<libc>, I<-lc>)"
1162 msgstr "Стандартная библиотека языка C (I<libc>, I<-lc>)"
1163
1164 #. type: Plain text
1165 #: debian-trixie fedora-44 fedora-rawhide
1166 #, fuzzy, no-wrap
1167 #| msgid ""
1168 #| "struct shmid_ds {\n"
1169 #| " struct ipc_perm shm_perm; /* Ownership and permissions */\n"
1170 #| " size_t shm_segsz; /* Size of segment (bytes) */\n"
1171 #| " time_t shm_atime; /* Last attach time */\n"
1172 #| " time_t shm_dtime; /* Last detach time */\n"
1173 #| " time_t shm_ctime; /* Last change time */\n"
1174 #| " pid_t shm_cpid; /* PID of creator */\n"
1175 #| " pid_t shm_lpid; /* PID of last shmat(2)/shmdt(2) */\n"
1176 #| " shmatt_t shm_nattch; /* No. of current attaches */\n"
1177 #| " ...\n"
1178 #| "};\n"
1179 msgid ""
1180 "struct shmid_ds {\n"
1181 " struct ipc_perm shm_perm; /* Ownership and permissions */\n"
1182 " size_t shm_segsz; /* Size of segment (bytes) */\n"
1183 " time_t shm_atime; /* Last attach time */\n"
1184 " time_t shm_dtime; /* Last detach time */\n"
1185 " time_t shm_ctime; /* Creation time/time of last\n"
1186 " modification via shmctl() */\n"
1187 " pid_t shm_cpid; /* PID of creator */\n"
1188 " pid_t shm_lpid; /* PID of last shmat(2)/shmdt(2) */\n"
1189 " shmatt_t shm_nattch; /* No. of current attaches */\n"
1190 " ...\n"
1191 "};\n"
1192 msgstr ""
1193 "struct shmid_ds {\n"
1194 " struct ipc_perm shm_perm; /* владелец и права */\n"
1195 " size_t shm_segsz; /* размер сегмента (байты) */\n"
1196 " time_t shm_atime; /* время последнего подключения */\n"
1197 " time_t shm_dtime; /* время последнего отключения */\n"
1198 " time_t shm_ctime; /* время последнего изменения */\n"
1199 " pid_t shm_cpid; /* PID создателя */\n"
1200 " pid_t shm_lpid; /* PID последнего выполнявшего \n"
1201 " shmat(2)/shmdt(2) */\n"
1202 " shmatt_t shm_nattch; /* текущее количество подключений */\n"
1203 " ...\n"
1204 "};\n"
1205
1206 #. type: Plain text
1207 #: debian-trixie fedora-44 fedora-rawhide
1208 #, no-wrap
1209 msgid ""
1210 "struct ipc_perm {\n"
1211 " key_t __key; /* Key supplied to shmget(2) */\n"
1212 " uid_t B<uid>; /* Effective UID of owner */\n"
1213 " gid_t B<gid>; /* Effective GID of owner */\n"
1214 " uid_t cuid; /* Effective UID of creator */\n"
1215 " gid_t cgid; /* Effective GID of creator */\n"
1216 " unsigned short B<mode>; /* B<Permissions> + SHM_DEST and\n"
1217 " SHM_LOCKED flags */\n"
1218 " unsigned short __seq; /* Sequence number */\n"
1219 "};\n"
1220 msgstr ""
1221 "struct ipc_perm {\n"
1222 " key_t __key; /* ключ, передаваемый в shmget(2) */\n"
1223 " uid_t B<uid>; /* эффективный UID владельца */\n"
1224 " gid_t B<gid>; /* эффективный GID владельца */\n"
1225 " uid_t cuid; /* эффективный UID создателя */\n"
1226 " gid_t cgid; /* эффективный GID создателя */\n"
1227 " unsigned short B<mode>; /* B<права> + флаги SHM_DEST и\n"
1228 " SHM_LOCKED */\n"
1229 " unsigned short __seq; /* порядковый номер */\n"
1230 "};\n"
1231
1232 #. type: Plain text
1233 #: debian-trixie fedora-44 fedora-rawhide
1234 #, fuzzy
1235 #| msgid ""
1236 #| "The least significant 9 bits of I<shm_perm.mode> are set to the least "
1237 #| "significant 9 bit of I<shmflg>."
1238 msgid ""
1239 "The following fields are updated: I<shm_perm.uid>, I<shm_perm.gid>, and (the "
1240 "least significant 9 bits of) I<shm_perm.mode>."
1241 msgstr ""
1242 "Младшим 9 битам I<shm_perm.mode> присваивается значение младших 9 бит "
1243 "I<shmflg>."
1244
1245 #. type: Plain text
1246 #: debian-trixie fedora-44 fedora-rawhide
1247 msgid "POSIX.1-2008."
1248 msgstr "POSIX.1-2008."
1249
1250 #. type: Plain text
1251 #: debian-trixie fedora-44 fedora-rawhide
1252 #, fuzzy
1253 #| msgid ""
1254 #| "Various fields in a I<struct shmid_ds> were typed as I<short> under Linux "
1255 #| "2.2 and have become I<long> under Linux 2.4. To take advantage of this, "
1256 #| "a recompilation under glibc-2.1.91 or later should suffice. (The kernel "
1257 #| "distinguishes old and new calls by an B<IPC_64> flag in I<cmd>.)"
1258 msgid ""
1259 "Various fields in a I<struct shmid_ds> were typed as I<short> under Linux "
1260 "2.2 and have become I<long> under Linux 2.4. To take advantage of this, a "
1261 "recompilation under glibc-2.1.91 or later should suffice. (The kernel "
1262 "distinguishes old and new calls by an B<IPC_64> flag in I<op>.)"
1263 msgstr ""
1264 "В Linux 2.2 различные поля I<struct shmid_ds> имели тип I<short>. В Linux "
1265 "2.4 тип был изменён на I<long>. Для задействования преимуществ этого "
1266 "изменения необходима перекомпиляция программы с glibc-2.1.91 или более "
1267 "поздней версией (ядро различает старые и новые вызовы по флагу B<IPC_64> в "
1268 "аргументе I<cmd>)."
1269
1270 #. type: TH
1271 #: fedora-44 fedora-rawhide
1272 #, no-wrap
1273 msgid "2024-07-23"
1274 msgstr "23 июля 2024 г."
1275
1276 #. type: TH
1277 #: fedora-44 fedora-rawhide
1278 #, no-wrap
1279 msgid "Linux man-pages 6.13"
1280 msgstr "Страницы руководства Linux 6.13"
1281
1282 #. type: TH
1283 #: mageia-cauldron
1284 #, no-wrap
1285 msgid "Linux man-pages 6.17"
1286 msgstr "Страницы руководства Linux 6.17"
1287
1288 #. type: TH
1289 #: opensuse-leap-16-1 opensuse-tumbleweed
1290 #, no-wrap
1291 msgid "Linux man-pages (unreleased)"
1292 msgstr "Страницы руководства Linux (не выпущены)"