Debian Codegraph @

po/ru/man2/sigreturn.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 "sigreturn"
33 msgstr "sigreturn"
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 ""
60 "sigreturn, rt_sigreturn - return from signal handler and cleanup stack frame"
61 msgstr ""
62 "sigreturn, rt_sigreturn - выполняет возврат из обработчика сигнала и очищает "
63 "кадр стека"
64
65 #. type: SH
66 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
67 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
68 #, no-wrap
69 msgid "LIBRARY"
70 msgstr "БИБЛИОТЕКА"
71
72 #. type: Plain text
73 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
74 #: opensuse-leap-16-1 opensuse-tumbleweed
75 msgid "Standard C library (I<libc>,\\ I<-lc>)"
76 msgstr "Стандартная библиотека языка C (I<libc>,\\ I<-lc>)"
77
78 #. type: SH
79 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
80 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
81 #, no-wrap
82 msgid "SYNOPSIS"
83 msgstr "СИНТАКСИС"
84
85 #. type: Plain text
86 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
87 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
88 #, no-wrap
89 msgid "B<int sigreturn(...);>\n"
90 msgstr "B<int sigreturn(...);>\n"
91
92 #. type: SH
93 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
94 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
95 #, no-wrap
96 msgid "DESCRIPTION"
97 msgstr "ОПИСАНИЕ"
98
99 #. See arch/x86/kernel/signal.c::__setup_frame() [in Linux 3.17 source code]
100 #. type: Plain text
101 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
102 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
103 msgid ""
104 "If the Linux kernel determines that an unblocked signal is pending for a "
105 "process, then, at the next transition back to user mode in that process "
106 "(e.g., upon return from a system call or when the process is rescheduled "
107 "onto the CPU), it creates a new frame on the user-space stack where it saves "
108 "various pieces of process context (processor status word, registers, signal "
109 "mask, and signal stack settings)."
110 msgstr ""
111 "Если ядро Linux обнаруживает, что неблокированный сигнал ожидает обработки "
112 "процессом, то при следующем переключении в пользовательский режим в этом "
113 "процессе (например, при возврате из системного вызова или когда процесс "
114 "перепланируется на ЦП), оно создаёт новый кадр в стеке пользовательского "
115 "пространства, где сохраняет различные части контекста процесса (состояние "
116 "слова процессора, регистры, маску сигналов и настройки стека сигналов)."
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 kernel also arranges that, during the transition back to user mode, the "
123 "signal handler is called, and that, upon return from the handler, control "
124 "passes to a piece of user-space code commonly called the \"signal "
125 "trampoline\". The signal trampoline code in turn calls B<sigreturn>()."
126 msgstr ""
127 "Также ядро делает так, что при переходе в пользовательский режим вызывается "
128 "обработчик сигналов и при возврате из обработчика управление передаётся "
129 "части кода пользовательского пространства, называемого «сигнальным "
130 "батутом»(signal trampoline). Код сигнального батута, в свою очередь, "
131 "вызывает B<sigreturn>()."
132
133 #. type: Plain text
134 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
135 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
136 #, fuzzy
137 #| msgid ""
138 #| "This B<sigreturn>() call undoes everything that was done\\(emchanging "
139 #| "the process's signal mask, switching signal stacks (see B<sigaltstack>(2))"
140 #| "\\(emin order to invoke the signal handler. Using the information that "
141 #| "was earlier saved on the user-space stack B<sigreturn>() restores the "
142 #| "process's signal mask, switches stacks, and restores the process's "
143 #| "context (processor flags and registers, including the stack pointer and "
144 #| "instruction pointer), so that the process resumes execution at the point "
145 #| "where it was interrupted by the signal."
146 msgid ""
147 "This B<sigreturn>() call undoes everything that was done\\[em]changing the "
148 "process's signal mask, switching signal stacks (see B<sigaltstack>(2))\\"
149 "[em]in order to invoke the signal handler. Using the information that was "
150 "earlier saved on the user-space stack B<sigreturn>() restores the process's "
151 "signal mask, switches stacks, and restores the process's context (processor "
152 "flags and registers, including the stack pointer and instruction pointer), "
153 "so that the process resumes execution at the point where it was interrupted "
154 "by the signal."
155 msgstr ""
156 "Вызов B<sigreturn>() очищает всё что накопилось — изменяет маску сигнала "
157 "процесса, переключает стеки сигналов (см. B<sigaltstack>(2)) — чтобы вызвать "
158 "обработчик сигнала. Используя информацию, которая была ранее сохранена в "
159 "стеке пользовательского пространства, B<sigreturn>() восстанавливает маску "
160 "сигналов процесса, переключает стеки и восстанавливает контекст процесса "
161 "(регистры и флаги процессора, включая указатель стека и инструкций), так что "
162 "процесс непосредственно возобновляет исполнение с точки где был прерван "
163 "сигналом."
164
165 #. type: SH
166 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
167 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
168 #, no-wrap
169 msgid "RETURN VALUE"
170 msgstr "ВОЗВРАЩАЕМОЕ ЗНАЧЕНИЕ"
171
172 #. type: Plain text
173 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
174 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
175 msgid "B<sigreturn>() never returns."
176 msgstr "Вызов B<sigreturn>() не возвращает значений."
177
178 #. type: SH
179 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
180 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
181 #, no-wrap
182 msgid "VERSIONS"
183 msgstr "ВЕРСИИ"
184
185 #. type: Plain text
186 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
187 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
188 msgid ""
189 "Many UNIX-type systems have a B<sigreturn>() system call or near "
190 "equivalent. However, this call is not specified in POSIX, and details of "
191 "its behavior vary across systems."
192 msgstr ""
193 "Во многих системах UNIX есть системный вызов B<sigreturn>() или его "
194 "эквивалент. Однако этот вызов отсутствует в POSIX, и в разных системах он "
195 "работает по-разному."
196
197 #. type: SH
198 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
199 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
200 #, no-wrap
201 msgid "STANDARDS"
202 msgstr "СТАНДАРТЫ"
203
204 #. type: Plain text
205 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
206 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
207 msgid "None."
208 msgstr "Отсутствуют."
209
210 #. type: SH
211 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
212 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
213 #, no-wrap
214 msgid "NOTES"
215 msgstr "ПРИМЕЧАНИЯ"
216
217 #. See sysdeps/unix/sysv/linux/sigreturn.c and
218 #. signal/sigreturn.c in the glibc source
219 #. type: Plain text
220 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
221 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
222 msgid ""
223 "B<sigreturn>() exists only to allow the implementation of signal handlers. "
224 "It should B<never> be called directly. (Indeed, a simple B<sigreturn>() "
225 "wrapper in the GNU C library simply returns -1, with I<errno> set to "
226 "B<ENOSYS>.) Details of the arguments (if any) passed to B<sigreturn>() "
227 "vary depending on the architecture. (On some architectures, such as x86-64, "
228 "B<sigreturn>() takes no arguments, since all of the information that it "
229 "requires is available in the stack frame that was previously created by the "
230 "kernel on the user-space stack.)"
231 msgstr ""
232 "Вызов B<sigreturn>() существует только для реализации обработчиков сигналов. "
233 "B<Никогда> не вызывайте его напрямую (на самом деле, простая обёртка "
234 "B<sigreturn>() в библиотеке GNU C просто вернёт -1 и присвоит I<errno> "
235 "значение B<ENOSYS>). Содержимое аргументов (если есть), передаваемое "
236 "B<sigreturn>(), для каждой архитектуры своё (на некоторых архитектурах, "
237 "например x86-64, у B<sigreturn>() нет аргументов, так как вся требуемая "
238 "информация доступна из кадра стека, который был создан ядром ранее в стеке "
239 "пользовательского пространства)."
240
241 #. See, for example, sysdeps/unix/sysv/linux/i386/sigaction.c and
242 #. sysdeps/unix/sysv/linux/x86_64/sigaction.c in the glibc (2.20) source.
243 #. type: Plain text
244 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
245 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
246 msgid ""
247 "Once upon a time, UNIX systems placed the signal trampoline code onto the "
248 "user stack. Nowadays, pages of the user stack are protected so as to "
249 "disallow code execution. Thus, on contemporary Linux systems, depending on "
250 "the architecture, the signal trampoline code lives either in the B<vdso>(7) "
251 "or in the C library. In the latter case, the C library's B<sigaction>(2) "
252 "wrapper function informs the kernel of the location of the trampoline code "
253 "by placing its address in the I<sa_restorer> field of the I<sigaction> "
254 "structure, and sets the B<SA_RESTORER> flag in the I<sa_flags> field."
255 msgstr ""
256 "Когда-то системы UNIX помещали код сигнального перехода в пользовательский "
257 "стек. В настоящее время страницы пользовательского стека защищены и в них "
258 "невозможно выполнить код. Поэтому в современных системах Linux, в "
259 "зависимости от архитектуры, код хранится в B<vdso>(7) или в библиотеке C. В "
260 "последнем случае обёрточная функция B<sigaction>(2) библиотеки C информирует "
261 "ядро о расположении кода помещая его адрес в поле I<sa_restorer> структуры "
262 "I<sigaction> и устанавливает флаг B<SA_RESTORER> в поле I<sa_flags>."
263
264 #. type: Plain text
265 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
266 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
267 msgid ""
268 "The saved process context information is placed in a I<ucontext_t> structure "
269 "(see I<E<lt>sys/ucontext.hE<gt>>). That structure is visible within the "
270 "signal handler as the third argument of a handler established via "
271 "B<sigaction>(2) with the B<SA_SIGINFO> flag."
272 msgstr ""
273 "Сохранённая информация контекста процесса помещается в структуру "
274 "I<ucontext_t> (смотрите I<E<lt>sys/ucontext.hE<gt>>). Эта структура видима "
275 "внутри обработчика сигнала как третий аргумент обработчика, установленного "
276 "B<sigaction>(2) с флагом B<SA_SIGINFO>."
277
278 #. type: Plain text
279 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
280 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
281 msgid ""
282 "On some other UNIX systems, the operation of the signal trampoline differs a "
283 "little. In particular, on some systems, upon transitioning back to user "
284 "mode, the kernel passes control to the trampoline (rather than the signal "
285 "handler), and the trampoline code calls the signal handler (and then calls "
286 "B<sigreturn>() once the handler returns)."
287 msgstr ""
288 "В некоторых других системах UNIX работа сигнального батута несколько "
289 "отличается. В частности, в некоторых системах при переходе в "
290 "пользовательский режим ядро передаёт управление батуту (а не обработчику "
291 "сигнала) и код батута вызывает обработчик сигнала (и затем вызывает "
292 "B<sigreturn>() после завершения работы обработчика)."
293
294 #. type: SS
295 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
296 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
297 #, no-wrap
298 msgid "C library/kernel differences"
299 msgstr "Отличия между библиотекой C и ядром"
300
301 #. type: Plain text
302 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
303 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
304 msgid ""
305 "The original Linux system call was named B<sigreturn>(). However, with the "
306 "addition of real-time signals in Linux 2.2, a new system call, "
307 "B<rt_sigreturn>() was added to support an enlarged I<sigset_t> type. The "
308 "GNU C library hides these details from us, transparently employing "
309 "B<rt_sigreturn>() when the kernel provides it."
310 msgstr ""
311 "Первоначальное название системного вызова в Linux было B<sigreturn>(). "
312 "Однако с добавлением сигналов реального времени в Linux 2.2 для поддержки "
313 "увеличенного типа I<sigset_t> был добавлен новый системный вызов "
314 "B<rt_sigreturn>(). Библиотека GNU C скрывает это от нас, прозрачно используя "
315 "B<rt_sigreturn>(), если он есть в ядре."
316
317 #. type: SH
318 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
319 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
320 #, no-wrap
321 msgid "SEE ALSO"
322 msgstr "СМОТРИТЕ ТАКЖЕ"
323
324 #. type: Plain text
325 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
326 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
327 msgid ""
328 "B<kill>(2), B<restart_syscall>(2), B<sigaltstack>(2), B<signal>(2), "
329 "B<getcontext>(3), B<signal>(7), B<vdso>(7)"
330 msgstr ""
331 "B<kill>(2), B<restart_syscall>(2), B<sigaltstack>(2), B<signal>(2), "
332 "B<getcontext>(3), B<signal>(7), B<vdso>(7)"
333
334 #. type: TH
335 #: debian-trixie
336 #, no-wrap
337 msgid "2024-05-02"
338 msgstr "2 мая 2024 г."
339
340 #. type: TH
341 #: debian-trixie
342 #, no-wrap
343 msgid "Linux man-pages 6.9.1"
344 msgstr "Страницы руководства Linux 6.9.1"
345
346 #. type: Plain text
347 #: debian-trixie
348 msgid "Standard C library (I<libc>, I<-lc>)"
349 msgstr "Стандартная библиотека языка C (I<libc>, I<-lc>)"
350
351 #. type: TH
352 #: fedora-44 fedora-rawhide
353 #, no-wrap
354 msgid "2024-07-23"
355 msgstr "23 июля 2024 г."
356
357 #. type: TH
358 #: fedora-44 fedora-rawhide
359 #, no-wrap
360 msgid "Linux man-pages 6.13"
361 msgstr "Страницы руководства Linux 6.13"
362
363 #. type: TH
364 #: mageia-cauldron
365 #, no-wrap
366 msgid "Linux man-pages 6.17"
367 msgstr "Страницы руководства Linux 6.17"
368
369 #. type: TH
370 #: opensuse-leap-16-1 opensuse-tumbleweed
371 #, no-wrap
372 msgid "Linux man-pages (unreleased)"
373 msgstr "Страницы руководства Linux (не выпущены)"