| 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 "sigaltstack" |
| 33 |
msgstr "sigaltstack" |
| 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 "sigaltstack - set and/or get signal stack context" |
| 60 |
msgstr "sigaltstack - считывает или устанавливает расположение стека сигналов" |
| 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>signal.hE<gt>>\n" |
| 87 |
msgstr "B<#include E<lt>signal.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 sigaltstack(const stack_t *restrict >I<ss>B<, stack_t *restrict >I<old_ss>B<);>\n" |
| 94 |
msgid "" |
| 95 |
"B<int sigaltstack(const stack_t *_Nullable restrict >I<ss>B<,>\n" |
| 96 |
"B< stack_t *_Nullable restrict >I<old_ss>B<);>\n" |
| 97 |
msgstr "B<int sigaltstack(const stack_t *restrict >I<ss>B<, stack_t *restrict >I<old_ss>B<);>\n" |
| 98 |
|
| 99 |
#. type: Plain text |
| 100 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 101 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 102 |
msgid "" |
| 103 |
"Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):" |
| 104 |
msgstr "" |
| 105 |
"Требования макроса тестирования свойств для glibc (см. " |
| 106 |
"B<feature_test_macros>(7)):" |
| 107 |
|
| 108 |
#. type: Plain text |
| 109 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 110 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 111 |
msgid "B<sigaltstack>():" |
| 112 |
msgstr "B<sigaltstack>():" |
| 113 |
|
| 114 |
#. || _XOPEN_SOURCE && _XOPEN_SOURCE_EXTENDED |
| 115 |
#. type: Plain text |
| 116 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 117 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 118 |
#, no-wrap |
| 119 |
msgid "" |
| 120 |
" _XOPEN_SOURCE E<gt>= 500\n" |
| 121 |
" || /* Since glibc 2.12: */ _POSIX_C_SOURCE E<gt>= 200809L\n" |
| 122 |
" || /* glibc E<lt>= 2.19: */ _BSD_SOURCE\n" |
| 123 |
msgstr "" |
| 124 |
" _XOPEN_SOURCE E<gt>= 500\n" |
| 125 |
" || /* начиная с glibc 2.12: */ _POSIX_C_SOURCE E<gt>= 200809L\n" |
| 126 |
" || /* glibc E<lt>= 2.19: */ _BSD_SOURCE\n" |
| 127 |
|
| 128 |
#. type: SH |
| 129 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 130 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 131 |
#, no-wrap |
| 132 |
msgid "DESCRIPTION" |
| 133 |
msgstr "ОПИСАНИЕ" |
| 134 |
|
| 135 |
#. type: Plain text |
| 136 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 137 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 138 |
#, fuzzy |
| 139 |
#| msgid "" |
| 140 |
#| "B<sigaltstack>() allows a process to define a new alternate signal stack " |
| 141 |
#| "and/or retrieve the state of an existing alternate signal stack. An " |
| 142 |
#| "alternate signal stack is used during the execution of a signal handler " |
| 143 |
#| "if the establishment of that handler (see B<sigaction>(2)) requested it." |
| 144 |
msgid "" |
| 145 |
"B<sigaltstack>() allows a thread to define a new alternate signal stack and/" |
| 146 |
"or retrieve the state of an existing alternate signal stack. An alternate " |
| 147 |
"signal stack is used during the execution of a signal handler if the " |
| 148 |
"establishment of that handler (see B<sigaction>(2)) requested it." |
| 149 |
msgstr "" |
| 150 |
"Вызов B<sigaltstack>() позволяет процессу определить новый альтернативный " |
| 151 |
"стек сигналов и/или получить состояние уже имеющегося альтернативного стека " |
| 152 |
"сигналов. Альтернативный стек сигналов используется при выполнении " |
| 153 |
"обработчика сигналов, если он был запрошен при установлении обработчика (см. " |
| 154 |
"B<sigaction>(2))." |
| 155 |
|
| 156 |
#. type: Plain text |
| 157 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 158 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 159 |
msgid "" |
| 160 |
"The normal sequence of events for using an alternate signal stack is the " |
| 161 |
"following:" |
| 162 |
msgstr "" |
| 163 |
"Обычный порядок действий для использования альтернативного стека сигналов:" |
| 164 |
|
| 165 |
#. type: TP |
| 166 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 167 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 168 |
#, no-wrap |
| 169 |
msgid "1." |
| 170 |
msgstr "1." |
| 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 "Allocate an area of memory to be used for the alternate signal stack." |
| 176 |
msgstr "" |
| 177 |
"Выделить область памяти, которая будет использована под альтернативный стек " |
| 178 |
"сигналов." |
| 179 |
|
| 180 |
#. type: TP |
| 181 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 182 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 183 |
#, no-wrap |
| 184 |
msgid "2." |
| 185 |
msgstr "2." |
| 186 |
|
| 187 |
#. type: Plain text |
| 188 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 189 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 190 |
msgid "" |
| 191 |
"Use B<sigaltstack>() to inform the system of the existence and location of " |
| 192 |
"the alternate signal stack." |
| 193 |
msgstr "" |
| 194 |
"Вызвать B<sigaltstack>() для информирования системы о существовании и " |
| 195 |
"расположении альтернативного стека сигналов." |
| 196 |
|
| 197 |
#. type: TP |
| 198 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 199 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 200 |
#, no-wrap |
| 201 |
msgid "3." |
| 202 |
msgstr "3." |
| 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 "" |
| 208 |
"When establishing a signal handler using B<sigaction>(2), inform the system " |
| 209 |
"that the signal handler should be executed on the alternate signal stack by " |
| 210 |
"specifying the B<SA_ONSTACK> flag." |
| 211 |
msgstr "" |
| 212 |
"При установке обработчика сигналов с помощью B<sigaction>(2) (флагом " |
| 213 |
"B<SA_ONSTACK>) сообщить системе, что обработчик сигналов должен выполняться " |
| 214 |
"с альтернативным стеком сигналов." |
| 215 |
|
| 216 |
#. type: Plain text |
| 217 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 218 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 219 |
msgid "" |
| 220 |
"The I<ss> argument is used to specify a new alternate signal stack, while " |
| 221 |
"the I<old_ss> argument is used to retrieve information about the currently " |
| 222 |
"established signal stack. If we are interested in performing just one of " |
| 223 |
"these tasks, then the other argument can be specified as NULL." |
| 224 |
msgstr "" |
| 225 |
"Аргумент I<ss> используется для указания нового альтернативного стека " |
| 226 |
"сигналов, а аргумент I<old_ss> используется для получения информации об " |
| 227 |
"установленном в данный момент стеке сигналов. Если интересует какая-то одна " |
| 228 |
"из этих задач, то другой аргумент указывается как NULL." |
| 229 |
|
| 230 |
#. type: Plain text |
| 231 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 232 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 233 |
msgid "" |
| 234 |
"The I<stack_t> type used to type the arguments of this function is defined " |
| 235 |
"as follows:" |
| 236 |
msgstr "" |
| 237 |
"Тип I<stack_t>, используемый для аргументов этой функции, определён " |
| 238 |
"следующим образом:" |
| 239 |
|
| 240 |
#. type: Plain text |
| 241 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 242 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 243 |
#, no-wrap |
| 244 |
msgid "" |
| 245 |
"typedef struct {\n" |
| 246 |
" void *ss_sp; /* Base address of stack */\n" |
| 247 |
" int ss_flags; /* Flags */\n" |
| 248 |
" size_t ss_size; /* Number of bytes in stack */\n" |
| 249 |
"} stack_t;\n" |
| 250 |
msgstr "" |
| 251 |
"typedef struct {\n" |
| 252 |
" void *ss_sp; /* базовый адрес стека */\n" |
| 253 |
" int ss_flags; /* флаги */\n" |
| 254 |
" size_t ss_size; /* количество байт в стеке */\n" |
| 255 |
"} stack_t;\n" |
| 256 |
|
| 257 |
#. type: Plain text |
| 258 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 259 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 260 |
msgid "" |
| 261 |
"To establish a new alternate signal stack, the fields of this structure are " |
| 262 |
"set as follows:" |
| 263 |
msgstr "" |
| 264 |
"Для организации нового альтернативного стека сигналов поля этой структуры " |
| 265 |
"должны быть заполнены следующим образом:" |
| 266 |
|
| 267 |
#. type: TP |
| 268 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 269 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 270 |
#, no-wrap |
| 271 |
msgid "I<ss.ss_flags>" |
| 272 |
msgstr "I<ss.ss_flags>" |
| 273 |
|
| 274 |
#. type: Plain text |
| 275 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 276 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 277 |
msgid "This field contains either 0, or the following flag:" |
| 278 |
msgstr "В этом поле содержится 0 или следующий флаг:" |
| 279 |
|
| 280 |
#. type: TP |
| 281 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 282 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 283 |
#, no-wrap |
| 284 |
msgid "B<SS_AUTODISARM> (since Linux 4.7)" |
| 285 |
msgstr "B<SS_AUTODISARM> (начиная с Linux 4.7)" |
| 286 |
|
| 287 |
#. commit 2a74213838104a41588d86fd5e8d344972891ace |
| 288 |
#. See tools/testing/selftests/sigaltstack/sas.c in kernel sources |
| 289 |
#. type: Plain text |
| 290 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 291 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 292 |
msgid "" |
| 293 |
"Clear the alternate signal stack settings on entry to the signal handler. " |
| 294 |
"When the signal handler returns, the previous alternate signal stack " |
| 295 |
"settings are restored." |
| 296 |
msgstr "" |
| 297 |
"Очистить настройки альтернативного стека сигналов в записи обработчика " |
| 298 |
"сигналов. Когда происходит возврат из обработчика сигналов, " |
| 299 |
"восстанавливаются предыдущие настройки альтернативного стека сигналов." |
| 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 |
"This flag was added in order to make it safe to switch away from the signal " |
| 306 |
"handler with B<swapcontext>(3). Without this flag, a subsequently handled " |
| 307 |
"signal will corrupt the state of the switched-away signal handler. On " |
| 308 |
"kernels where this flag is not supported, B<sigaltstack>() fails with the " |
| 309 |
"error B<EINVAL> when this flag is supplied." |
| 310 |
msgstr "" |
| 311 |
"Этот флаг был добавлен для безопасного переключения из обработчика сигналов " |
| 312 |
"с помощью B<swapcontext>(3). Без этого флага следующий обрабатываемый сигнал " |
| 313 |
"повредит состояние обработчика сигналов, в который выполняется переключение " |
| 314 |
"(switched-away). В ядрах без поддержки этого флага вызов B<sigaltstack>() " |
| 315 |
"завершается ошибкой B<EINVAL>, если этот флаг указан." |
| 316 |
|
| 317 |
#. type: TP |
| 318 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 319 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 320 |
#, no-wrap |
| 321 |
msgid "I<ss.ss_sp>" |
| 322 |
msgstr "I<ss.ss_sp>" |
| 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 |
"This field specifies the starting address of the stack. When a signal " |
| 329 |
"handler is invoked on the alternate stack, the kernel automatically aligns " |
| 330 |
"the address given in I<ss.ss_sp> to a suitable address boundary for the " |
| 331 |
"underlying hardware architecture." |
| 332 |
msgstr "" |
| 333 |
"Это поле задаёт начальный адрес стека. При вызове обработчика сигнала с " |
| 334 |
"альтернативным стеком ядро автоматически выравнивает адрес, указанный в " |
| 335 |
"I<ss.ss_sp>, по границе адреса, подходящей для используемой аппаратной " |
| 336 |
"платформы." |
| 337 |
|
| 338 |
#. type: TP |
| 339 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 340 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 341 |
#, no-wrap |
| 342 |
msgid "I<ss.ss_size>" |
| 343 |
msgstr "I<ss.ss_size>" |
| 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 |
"This field specifies the size of the stack. The constant B<SIGSTKSZ> is " |
| 350 |
"defined to be large enough to cover the usual size requirements for an " |
| 351 |
"alternate signal stack, and the constant B<MINSIGSTKSZ> defines the minimum " |
| 352 |
"size required to execute a signal handler." |
| 353 |
msgstr "" |
| 354 |
"В этом поле задаётся размер стека. Для определения альтернативного стека " |
| 355 |
"сигналов достаточного размера можно использовать константу B<SIGSTKSZ>, а " |
| 356 |
"для выделения стека минимального размера можно указать константу " |
| 357 |
"B<MINSIGSTKSZ>." |
| 358 |
|
| 359 |
#. type: Plain text |
| 360 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 361 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 362 |
msgid "" |
| 363 |
"To disable an existing stack, specify I<ss.ss_flags> as B<SS_DISABLE>. In " |
| 364 |
"this case, the kernel ignores any other flags in I<ss.ss_flags> and the " |
| 365 |
"remaining fields in I<ss>." |
| 366 |
msgstr "" |
| 367 |
"Для отключения существующего стека, укажите в I<ss.ss_flags> значение " |
| 368 |
"B<SS_DISABLE>. В этом случае ядро игнорирует все флаги в I<ss.ss_flags> и " |
| 369 |
"остальные поля в I<ss>." |
| 370 |
|
| 371 |
#. type: Plain text |
| 372 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 373 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 374 |
msgid "" |
| 375 |
"If I<old_ss> is not NULL, then it is used to return information about the " |
| 376 |
"alternate signal stack which was in effect prior to the call to " |
| 377 |
"B<sigaltstack>(). The I<old_ss.ss_sp> and I<old_ss.ss_size> fields return " |
| 378 |
"the starting address and size of that stack. The I<old_ss.ss_flags> may " |
| 379 |
"return either of the following values:" |
| 380 |
msgstr "" |
| 381 |
"Если I<old_ss> не равно NULL, то в нём возвращается информация об " |
| 382 |
"альтернативном стеке сигналов, который использовался до этого вызова " |
| 383 |
"B<sigaltstack>(). В полях I<old_ss.ss_sp> и I<old_ss.ss_size> возвращаются " |
| 384 |
"начальный адрес и размер стека. В I<old_ss.ss_flags> может быть возвращено " |
| 385 |
"одно из следующих значений:" |
| 386 |
|
| 387 |
#. type: TP |
| 388 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 389 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 390 |
#, no-wrap |
| 391 |
msgid "B<SS_ONSTACK>" |
| 392 |
msgstr "B<SS_ONSTACK>" |
| 393 |
|
| 394 |
#. type: Plain text |
| 395 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 396 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 397 |
#, fuzzy |
| 398 |
#| msgid "" |
| 399 |
#| "The process is currently executing on the alternate signal stack. (Note " |
| 400 |
#| "that it is not possible to change the alternate signal stack if the " |
| 401 |
#| "process is currently executing on it.)" |
| 402 |
msgid "" |
| 403 |
"The thread is currently executing on the alternate signal stack. (Note that " |
| 404 |
"it is not possible to change the alternate signal stack if the thread is " |
| 405 |
"currently executing on it.)" |
| 406 |
msgstr "" |
| 407 |
"В данный момент альтернативный стек сигналов используется процессом " |
| 408 |
"(заметим, что в этот момент невозможно изменить альтернативный стек " |
| 409 |
"сигналов)." |
| 410 |
|
| 411 |
#. type: TP |
| 412 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 413 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 414 |
#, no-wrap |
| 415 |
msgid "B<SS_DISABLE>" |
| 416 |
msgstr "B<SS_DISABLE>" |
| 417 |
|
| 418 |
#. type: Plain text |
| 419 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 420 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 421 |
msgid "The alternate signal stack is currently disabled." |
| 422 |
msgstr "В данный момент альтернативный стек сигналов выключен." |
| 423 |
|
| 424 |
#. #-#-#-#-# archlinux: sigaltstack.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 425 |
#. FIXME Was it intended that one can set up a different alternative |
| 426 |
#. signal stack in this scenario? (In passing, if one does this, the |
| 427 |
#. sigaltstack(NULL, &old_ss) now returns old_ss.ss_flags==SS_AUTODISARM |
| 428 |
#. rather than old_ss.ss_flags==SS_DISABLE. The API design here seems |
| 429 |
#. confusing... |
| 430 |
#. type: Plain text |
| 431 |
#. #-#-#-#-# debian-trixie: sigaltstack.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 432 |
#. FIXME Was it intended that one can set up a different alternative |
| 433 |
#. signal stack in this scenario? (In passing, if one does this, the |
| 434 |
#. sigaltstack(NULL, &old_ss) now returns old_ss.ss_flags==SS_AUTODISARM |
| 435 |
#. rather than old_ss.ss_flags==SS_DISABLE. The API design here seems |
| 436 |
#. confusing... |
| 437 |
#. type: Plain text |
| 438 |
#. #-#-#-#-# debian-unstable: sigaltstack.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 439 |
#. FIXME Was it intended that one can set up a different alternative |
| 440 |
#. signal stack in this scenario? (In passing, if one does this, the |
| 441 |
#. sigaltstack(NULL, &old_ss) now returns old_ss.ss_flags==SS_AUTODISARM |
| 442 |
#. rather than old_ss.ss_flags==SS_DISABLE. The API design here seems |
| 443 |
#. confusing... |
| 444 |
#. type: Plain text |
| 445 |
#. #-#-#-#-# fedora-44: sigaltstack.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 446 |
#. FIXME Was it intended that one can set up a different alternative |
| 447 |
#. signal stack in this scenario? (In passing, if one does this, the |
| 448 |
#. sigaltstack(NULL, &old_ss) now returns old_ss.ss_flags==SS_AUTODISARM |
| 449 |
#. rather than old_ss.ss_flags==SS_DISABLE. The API design here seems |
| 450 |
#. confusing... |
| 451 |
#. type: Plain text |
| 452 |
#. #-#-#-#-# fedora-rawhide: sigaltstack.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 453 |
#. FIXME Was it intended that one can set up a different alternative |
| 454 |
#. signal stack in this scenario? (In passing, if one does this, the |
| 455 |
#. sigaltstack(NULL, &old_ss) now returns old_ss.ss_flags==SS_AUTODISARM |
| 456 |
#. rather than old_ss.ss_flags==SS_DISABLE. The API design here seems |
| 457 |
#. confusing... |
| 458 |
#. type: Plain text |
| 459 |
#. #-#-#-#-# mageia-cauldron: sigaltstack.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 460 |
#. FIXME Was it intended that one can set up a different alternative |
| 461 |
#. signal stack in this scenario? (In passing, if one does this, the |
| 462 |
#. sigaltstack(NULL, &old_ss) now returns old_ss.ss_flags==SS_AUTODISARM |
| 463 |
#. rather than old_ss.ss_flags==SS_DISABLE. The API design here seems |
| 464 |
#. confusing... |
| 465 |
#. type: Plain text |
| 466 |
#. #-#-#-#-# opensuse-leap-16-1: sigaltstack.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 467 |
#. FIXME Was it intended that one can set up a different alternative |
| 468 |
#. signal stack in this scenario? (In passing, if one does this, the |
| 469 |
#. sigaltstack(NULL, &old_ss) now returns old_ss.ss_flags==SS_AUTODISARM |
| 470 |
#. rather than old_ss.ss_flags==SS_DISABLE. The API design here seems |
| 471 |
#. confusing... |
| 472 |
#. type: Plain text |
| 473 |
#. #-#-#-#-# opensuse-tumbleweed: sigaltstack.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 474 |
#. FIXME Was it intended that one can set up a different alternative |
| 475 |
#. signal stack in this scenario? (In passing, if one does this, the |
| 476 |
#. sigaltstack(NULL, &old_ss) now returns old_ss.ss_flags==SS_AUTODISARM |
| 477 |
#. rather than old_ss.ss_flags==SS_DISABLE. The API design here seems |
| 478 |
#. confusing... |
| 479 |
#. type: Plain text |
| 480 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 481 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 482 |
#, fuzzy |
| 483 |
#| msgid "" |
| 484 |
#| "Alternatively, this value is returned if the process is currently " |
| 485 |
#| "executing on an alternate signal stack that was established using the " |
| 486 |
#| "B<SS_AUTODISARM> flag. In this case, it is safe to switch away from the " |
| 487 |
#| "signal handler with B<swapcontext>(3). It is also possible to set up a " |
| 488 |
#| "different alternative signal stack using a further call to " |
| 489 |
#| "B<sigaltstack>()." |
| 490 |
msgid "" |
| 491 |
"Alternatively, this value is returned if the thread is currently executing " |
| 492 |
"on an alternate signal stack that was established using the B<SS_AUTODISARM> " |
| 493 |
"flag. In this case, it is safe to switch away from the signal handler with " |
| 494 |
"B<swapcontext>(3). It is also possible to set up a different alternative " |
| 495 |
"signal stack using a further call to B<sigaltstack>()." |
| 496 |
msgstr "" |
| 497 |
"Также это значение возвращается, если процесс уже выполняется с " |
| 498 |
"альтернативным стеком сигналов, установленным с помощью флага " |
| 499 |
"B<SS_AUTODISARM>. В этом случае с помощью B<swapcontext>(3) можно безопасно " |
| 500 |
"переключаться в другой обработчик сигналов. Также возможно установить другой " |
| 501 |
"альтернативный стек сигналов с помощью последующего вызова B<sigaltstack>()." |
| 502 |
|
| 503 |
#. type: TP |
| 504 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 505 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 506 |
#, no-wrap |
| 507 |
msgid "B<SS_AUTODISARM>" |
| 508 |
msgstr "B<SS_AUTODISARM>" |
| 509 |
|
| 510 |
#. type: Plain text |
| 511 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 512 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 513 |
msgid "" |
| 514 |
"The alternate signal stack has been marked to be autodisarmed as described " |
| 515 |
"above." |
| 516 |
msgstr "" |
| 517 |
"Альтернативный стек сигналов был помечен к автоматической очистке " |
| 518 |
"(autodisarmed), как описывалось ранее." |
| 519 |
|
| 520 |
#. type: Plain text |
| 521 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 522 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 523 |
msgid "" |
| 524 |
"By specifying I<ss> as NULL, and I<old_ss> as a non-NULL value, one can " |
| 525 |
"obtain the current settings for the alternate signal stack without changing " |
| 526 |
"them." |
| 527 |
msgstr "" |
| 528 |
"Если присвоить I<ss> значение NULL,а I<old_ss> — не NULL, то можно получить " |
| 529 |
"текущие настройки альтернативного стека сигналов без его изменения." |
| 530 |
|
| 531 |
#. type: SH |
| 532 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 533 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 534 |
#, no-wrap |
| 535 |
msgid "RETURN VALUE" |
| 536 |
msgstr "ВОЗВРАЩАЕМОЕ ЗНАЧЕНИЕ" |
| 537 |
|
| 538 |
#. type: Plain text |
| 539 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 540 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 541 |
msgid "" |
| 542 |
"B<sigaltstack>() returns 0 on success, or -1 on failure with I<errno> set " |
| 543 |
"to indicate the error." |
| 544 |
msgstr "" |
| 545 |
"При успешном выполнении B<sigaltstack>() возвращается 0. В случае ошибки " |
| 546 |
"возвращается -1, а I<errno> устанавливается в соответствующее значение." |
| 547 |
|
| 548 |
#. type: SH |
| 549 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 550 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 551 |
#, no-wrap |
| 552 |
msgid "ERRORS" |
| 553 |
msgstr "ОШИБКИ" |
| 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<EFAULT>" |
| 560 |
msgstr "B<EFAULT>" |
| 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 |
"Either I<ss> or I<old_ss> is not NULL and points to an area outside of the " |
| 567 |
"process's address space." |
| 568 |
msgstr "" |
| 569 |
"Значение I<ss> или I<old_ss> не равно NULL и указывает за пределы адресного " |
| 570 |
"пространства процесса." |
| 571 |
|
| 572 |
#. type: TP |
| 573 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 574 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 575 |
#, no-wrap |
| 576 |
msgid "B<EINVAL>" |
| 577 |
msgstr "B<EINVAL>" |
| 578 |
|
| 579 |
#. type: Plain text |
| 580 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 581 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 582 |
msgid "I<ss> is not NULL and the I<ss_flags> field contains an invalid flag." |
| 583 |
msgstr "" |
| 584 |
"Значение I<ss> не равно NULL и в поле I<ss_flags> содержится некорректный " |
| 585 |
"флаг." |
| 586 |
|
| 587 |
#. type: TP |
| 588 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 589 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 590 |
#, no-wrap |
| 591 |
msgid "B<ENOMEM>" |
| 592 |
msgstr "B<ENOMEM>" |
| 593 |
|
| 594 |
#. type: Plain text |
| 595 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 596 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 597 |
msgid "" |
| 598 |
"The specified size of the new alternate signal stack I<ss.ss_size> was less " |
| 599 |
"than B<MINSIGSTKSZ>." |
| 600 |
msgstr "" |
| 601 |
"Указанный размер нового альтернативного стека сигналов I<ss.ss_size> меньше " |
| 602 |
"B<MINSIGSTKSZ>." |
| 603 |
|
| 604 |
#. type: TP |
| 605 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 606 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 607 |
#, no-wrap |
| 608 |
msgid "B<EPERM>" |
| 609 |
msgstr "B<EPERM>" |
| 610 |
|
| 611 |
#. type: Plain text |
| 612 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 613 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 614 |
#, fuzzy |
| 615 |
#| msgid "" |
| 616 |
#| "An attempt was made to change the alternate signal stack while it was " |
| 617 |
#| "active (i.e., the process was already executing on the current alternate " |
| 618 |
#| "signal stack)." |
| 619 |
msgid "" |
| 620 |
"An attempt was made to change the alternate signal stack while it was active " |
| 621 |
"(i.e., the thread was already executing on the current alternate signal " |
| 622 |
"stack)." |
| 623 |
msgstr "" |
| 624 |
"Была попытка изменить альтернативный стек сигналов при его активности (т. е. " |
| 625 |
"текущий альтернативный стек сигналов уже задействован при выполнении " |
| 626 |
"процесса)." |
| 627 |
|
| 628 |
#. type: SH |
| 629 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 630 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 631 |
#, no-wrap |
| 632 |
msgid "ATTRIBUTES" |
| 633 |
msgstr "АТРИБУТЫ" |
| 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 |
"For an explanation of the terms used in this section, see B<attributes>(7)." |
| 640 |
msgstr "Описание терминов данного раздела смотрите в B<attributes>(7)." |
| 641 |
|
| 642 |
#. type: tbl table |
| 643 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 644 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 645 |
#, no-wrap |
| 646 |
msgid "Interface" |
| 647 |
msgstr "Интерфейс" |
| 648 |
|
| 649 |
#. type: tbl table |
| 650 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 651 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 652 |
#, no-wrap |
| 653 |
msgid "Attribute" |
| 654 |
msgstr "Атрибут" |
| 655 |
|
| 656 |
#. type: tbl table |
| 657 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 658 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 659 |
#, no-wrap |
| 660 |
msgid "Value" |
| 661 |
msgstr "Значение" |
| 662 |
|
| 663 |
#. type: tbl table |
| 664 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 665 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 666 |
#, no-wrap |
| 667 |
msgid ".na\n" |
| 668 |
msgstr ".na\n" |
| 669 |
|
| 670 |
#. type: tbl table |
| 671 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 672 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 673 |
#, no-wrap |
| 674 |
msgid ".nh\n" |
| 675 |
msgstr ".nh\n" |
| 676 |
|
| 677 |
#. type: tbl table |
| 678 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 679 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 680 |
#, no-wrap |
| 681 |
msgid "B<sigaltstack>()" |
| 682 |
msgstr "B<sigaltstack>()" |
| 683 |
|
| 684 |
#. type: tbl table |
| 685 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 686 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 687 |
#, no-wrap |
| 688 |
msgid "Thread safety" |
| 689 |
msgstr "Безвредность в нитях" |
| 690 |
|
| 691 |
#. type: tbl table |
| 692 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 693 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 694 |
#, no-wrap |
| 695 |
msgid "MT-Safe" |
| 696 |
msgstr "MT-Safe" |
| 697 |
|
| 698 |
#. type: SH |
| 699 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 700 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 701 |
#, no-wrap |
| 702 |
msgid "STANDARDS" |
| 703 |
msgstr "СТАНДАРТЫ" |
| 704 |
|
| 705 |
#. type: Plain text |
| 706 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 707 |
#: opensuse-tumbleweed |
| 708 |
msgid "POSIX.1-2024." |
| 709 |
msgstr "POSIX.1-2024." |
| 710 |
|
| 711 |
#. type: Plain text |
| 712 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 713 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 714 |
#, fuzzy |
| 715 |
#| msgid "The B<SS_AUTODISARM> flag is a Linux extension." |
| 716 |
msgid "B<SS_AUTODISARM> is a Linux extension." |
| 717 |
msgstr "Флаг B<SS_AUTODISARM> является расширением Linux." |
| 718 |
|
| 719 |
#. type: SH |
| 720 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 721 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 722 |
#, no-wrap |
| 723 |
msgid "HISTORY" |
| 724 |
msgstr "ИСТОРИЯ" |
| 725 |
|
| 726 |
#. type: Plain text |
| 727 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 728 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 729 |
#, fuzzy |
| 730 |
#| msgid "POSIX.1-2001, POSIX.1-2008, SUSv2, SVr4." |
| 731 |
msgid "POSIX.1-2001, SUSv2, SVr4." |
| 732 |
msgstr "POSIX.1-2001, POSIX.1-2008, SUSv2, SVr4." |
| 733 |
|
| 734 |
#. type: SH |
| 735 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 736 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 737 |
#, no-wrap |
| 738 |
msgid "NOTES" |
| 739 |
msgstr "ПРИМЕЧАНИЯ" |
| 740 |
|
| 741 |
#. type: Plain text |
| 742 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 743 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 744 |
#, fuzzy |
| 745 |
#| msgid "" |
| 746 |
#| "The most common usage of an alternate signal stack is to handle the " |
| 747 |
#| "B<SIGSEGV> signal that is generated if the space available for the normal " |
| 748 |
#| "process stack is exhausted: in this case, a signal handler for B<SIGSEGV> " |
| 749 |
#| "cannot be invoked on the process stack; if we wish to handle it, we must " |
| 750 |
#| "use an alternate signal stack." |
| 751 |
msgid "" |
| 752 |
"The most common usage of an alternate signal stack is to handle the " |
| 753 |
"B<SIGSEGV> signal that is generated if the space available for the standard " |
| 754 |
"stack is exhausted: in this case, a signal handler for B<SIGSEGV> cannot be " |
| 755 |
"invoked on the standard stack; if we wish to handle it, we must use an " |
| 756 |
"alternate signal stack." |
| 757 |
msgstr "" |
| 758 |
"В основном, альтернативный стек сигналов используется при обработке сигнала " |
| 759 |
"B<SIGSEGV>, который возникает при нехватке свободного места в обычном стеке " |
| 760 |
"процесса: в этом случае обработчик сигнала B<SIGSEGV> не может использовать " |
| 761 |
"стек процесса; если требуется обработка данного сигнала, нужно использовать " |
| 762 |
"альтернативный стек сигналов." |
| 763 |
|
| 764 |
#. type: Plain text |
| 765 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 766 |
#: opensuse-tumbleweed |
| 767 |
#, fuzzy |
| 768 |
#| msgid "" |
| 769 |
#| "Establishing an alternate signal stack is useful if a process expects " |
| 770 |
#| "that it may exhaust its standard stack. This may occur, for example, " |
| 771 |
#| "because the stack grows so large that it encounters the upwardly growing " |
| 772 |
#| "heap, or it reaches a limit established by a call to " |
| 773 |
#| "B<setrlimit(RLIMIT_STACK, &rlim)>. If the standard stack is exhausted, " |
| 774 |
#| "the kernel sends the process a B<SIGSEGV> signal. In these circumstances " |
| 775 |
#| "the only way to catch this signal is on an alternate signal stack." |
| 776 |
msgid "" |
| 777 |
"Establishing an alternate signal stack is useful if a thread expects that it " |
| 778 |
"may exhaust its standard stack. This may occur, for example, because the " |
| 779 |
"stack grows so large that it encounters the upwardly growing heap, or it " |
| 780 |
"reaches a limit established by a call to I<\\%setrlimit(RLIMIT_STACK,\\ " |
| 781 |
"&rlim)>. If the standard stack is exhausted, the kernel sends the thread a " |
| 782 |
"B<SIGSEGV> signal. In these circumstances the only way to catch this signal " |
| 783 |
"is on an alternate signal stack." |
| 784 |
msgstr "" |
| 785 |
"Назначение альтернативного стека сигналов полезно, если ожидается, что " |
| 786 |
"процесс может задействовать весь свой обычный стек. Это может случиться, " |
| 787 |
"например, когда стек становится настолько большим, что он встречается с " |
| 788 |
"растущей в вверх «кучей», или достигает ограничения, заданного вызовом " |
| 789 |
"B<setrlimit(RLIMIT_STACK, &rlim)>. Если стандартный стек закончился, то ядро " |
| 790 |
"посылает процессу сигнал B<SIGSEGV>. В этих условиях единственным способом " |
| 791 |
"поймать сигнал будет задействование альтернативного стека сигналов." |
| 792 |
|
| 793 |
#. type: Plain text |
| 794 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 795 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 796 |
msgid "" |
| 797 |
"On most hardware architectures supported by Linux, stacks grow downward. " |
| 798 |
"B<sigaltstack>() automatically takes account of the direction of stack " |
| 799 |
"growth." |
| 800 |
msgstr "" |
| 801 |
"На большинстве аппаратных архитектур, поддерживаемых Linux, стеки растут " |
| 802 |
"сверху вниз. Вызов B<sigaltstack>() автоматически учтёт направление роста " |
| 803 |
"стека." |
| 804 |
|
| 805 |
#. type: Plain text |
| 806 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 807 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 808 |
#, fuzzy |
| 809 |
#| msgid "" |
| 810 |
#| "Functions called from a signal handler executing on an alternate signal " |
| 811 |
#| "stack will also use the alternate signal stack. (This also applies to " |
| 812 |
#| "any handlers invoked for other signals while the process is executing on " |
| 813 |
#| "the alternate signal stack.) Unlike the standard stack, the system does " |
| 814 |
#| "not automatically extend the alternate signal stack. Exceeding the " |
| 815 |
#| "allocated size of the alternate signal stack will lead to unpredictable " |
| 816 |
#| "results." |
| 817 |
msgid "" |
| 818 |
"Functions called from a signal handler executing on an alternate signal " |
| 819 |
"stack will also use the alternate signal stack. (This also applies to any " |
| 820 |
"handlers invoked for other signals while the thread is executing on the " |
| 821 |
"alternate signal stack.) Unlike the standard stack, the system does not " |
| 822 |
"automatically extend the alternate signal stack. Exceeding the allocated " |
| 823 |
"size of the alternate signal stack will lead to unpredictable results." |
| 824 |
msgstr "" |
| 825 |
"Функции, вызываемые из обработчика сигналов исполняемого с использованием " |
| 826 |
"альтернативного стека сигналов, также будут использовать альтернативный стек " |
| 827 |
"сигналов (это также применимо к любым обработчикам, вызванным по другим " |
| 828 |
"сигналам в то время как процесс выполняется с альтернативным стеком " |
| 829 |
"сигналов). В отличие от стандартного стека система автоматически не " |
| 830 |
"расширяет альтернативный стек сигналов. Превышение выделенного размера " |
| 831 |
"альтернативного стека сигналов приведёт к непредсказуемым результатам." |
| 832 |
|
| 833 |
#. type: Plain text |
| 834 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 835 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 836 |
msgid "" |
| 837 |
"A successful call to B<execve>(2) removes any existing alternate signal " |
| 838 |
"stack. A child process created via B<fork>(2) inherits a copy of its " |
| 839 |
"parent's alternate signal stack settings. The same is also true for a child " |
| 840 |
"process created using B<clone>(2), unless the clone flags include " |
| 841 |
"B<CLONE_VM> and do not include B<CLONE_VFORK>, in which case any alternate " |
| 842 |
"signal stack that was established in the parent is disabled in the child " |
| 843 |
"process." |
| 844 |
msgstr "" |
| 845 |
|
| 846 |
#. type: Plain text |
| 847 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 848 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 849 |
msgid "" |
| 850 |
"B<sigaltstack>() supersedes the older B<sigstack>() call. For backward " |
| 851 |
"compatibility, glibc also provides B<sigstack>(). All new applications " |
| 852 |
"should be written using B<sigaltstack>()." |
| 853 |
msgstr "" |
| 854 |
"Вызов B<sigaltstack>() заменяет устаревший вызов B<sigstack>(). Для обратной " |
| 855 |
"совместимости в glibc также есть функция B<sigstack>(). Во всех новых " |
| 856 |
"приложениях нужно использовать B<sigaltstack>()." |
| 857 |
|
| 858 |
#. type: SS |
| 859 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 860 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 861 |
#, no-wrap |
| 862 |
msgid "History" |
| 863 |
msgstr "История" |
| 864 |
|
| 865 |
#. type: Plain text |
| 866 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 867 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 868 |
msgid "" |
| 869 |
"4.2BSD had a B<sigstack>() system call. It used a slightly different " |
| 870 |
"struct, and had the major disadvantage that the caller had to know the " |
| 871 |
"direction of stack growth." |
| 872 |
msgstr "" |
| 873 |
"Системный вызов B<sigstack>() появился в 4.2BSD. В нём использовалась слегка " |
| 874 |
"другая структура, и его главным недостатком было то, что вызывающий должен " |
| 875 |
"был учитывать направления роста стека." |
| 876 |
|
| 877 |
#. type: SH |
| 878 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 879 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 880 |
#, no-wrap |
| 881 |
msgid "BUGS" |
| 882 |
msgstr "ПРОГРАММНЫЕ ОШИБКИ" |
| 883 |
|
| 884 |
#. Linux 2.3.40 |
| 885 |
#. After quite a bit of web and mail archive searching, |
| 886 |
#. I could not find the patch on any mailing list, and I |
| 887 |
#. could find no place where the rationale for this change |
| 888 |
#. explained -- mtk |
| 889 |
#. See the source code of Illumos and FreeBSD, for example. |
| 890 |
#. type: Plain text |
| 891 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 892 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 893 |
msgid "" |
| 894 |
"In Linux 2.2 and earlier, the only flag that could be specified in " |
| 895 |
"I<ss.sa_flags> was B<SS_DISABLE>. In the lead up to the release of the " |
| 896 |
"Linux 2.4 kernel, a change was made to allow B<sigaltstack>() to allow " |
| 897 |
"I<ss.ss_flags==SS_ONSTACK> with the same meaning as I<ss.ss_flags==0> (i.e., " |
| 898 |
"the inclusion of B<SS_ONSTACK> in I<ss.ss_flags> is a no-op). On other " |
| 899 |
"implementations, and according to POSIX.1, B<SS_ONSTACK> appears only as a " |
| 900 |
"reported flag in I<old_ss.ss_flags>. On Linux, there is no need ever to " |
| 901 |
"specify B<SS_ONSTACK> in I<ss.ss_flags>, and indeed doing so should be " |
| 902 |
"avoided on portability grounds: various other systems give an error if " |
| 903 |
"B<SS_ONSTACK> is specified in I<ss.ss_flags>." |
| 904 |
msgstr "" |
| 905 |
"В Linux 2.2 и старее в I<ss.sa_flags> можно указывать только флаг " |
| 906 |
"B<SS_DISABLE>. В версиях до ядра Linux 2.4 разрешалось B<sigaltstack>() " |
| 907 |
"допускать I<ss.ss_flags==SS_ONSTACK> с тем же смыслом как I<ss.ss_flags==0> " |
| 908 |
"(т. е., при включении B<SS_ONSTACK> в I<ss.ss_flags> ни к чему не " |
| 909 |
"приводило). В других реализациях и согласно POSIX.1 флаг B<SS_ONSTACK> " |
| 910 |
"появляется в I<old_ss.ss_flags> только как флаг результата. В Linux его не " |
| 911 |
"нужно даже указывать в I<ss.ss_flags>, иначе это снизит переносимость, так " |
| 912 |
"как некоторые системы выдают ошибку, если в I<ss.ss_flags> указан " |
| 913 |
"B<SS_ONSTACK>." |
| 914 |
|
| 915 |
#. type: SH |
| 916 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 917 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 918 |
#, no-wrap |
| 919 |
msgid "EXAMPLES" |
| 920 |
msgstr "ПРИМЕРЫ" |
| 921 |
|
| 922 |
#. type: Plain text |
| 923 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 924 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 925 |
msgid "" |
| 926 |
"The following code segment demonstrates the use of B<sigaltstack>() (and " |
| 927 |
"B<sigaction>(2)) to install an alternate signal stack that is employed by a " |
| 928 |
"handler for the B<SIGSEGV> signal:" |
| 929 |
msgstr "" |
| 930 |
"В следующем сегменте кода показано использование B<sigaltstack>() (и " |
| 931 |
"B<sigaction>(2)) для установки альтернативного стека сигналов, который " |
| 932 |
"используется обработчиком для сигнала B<SIGSEGV>:" |
| 933 |
|
| 934 |
#. type: Plain text |
| 935 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 936 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 937 |
#, fuzzy, no-wrap |
| 938 |
#| msgid "" |
| 939 |
#| "sa.sa_flags = SA_ONSTACK;\n" |
| 940 |
#| "sa.sa_handler = handler(); /* Address of a signal handler */\n" |
| 941 |
#| "sigemptyset(&sa.sa_mask);\n" |
| 942 |
#| "if (sigaction(SIGSEGV, &sa, NULL) == -1) {\n" |
| 943 |
#| " perror(\"sigaction\");\n" |
| 944 |
#| " exit(EXIT_FAILURE);\n" |
| 945 |
#| "}\n" |
| 946 |
msgid "" |
| 947 |
"stack_t ss;\n" |
| 948 |
"\\&\n" |
| 949 |
"ss.ss_sp = malloc(SIGSTKSZ);\n" |
| 950 |
"if (ss.ss_sp == NULL) {\n" |
| 951 |
" perror(\"malloc\");\n" |
| 952 |
" exit(EXIT_FAILURE);\n" |
| 953 |
"}\n" |
| 954 |
"\\&\n" |
| 955 |
"ss.ss_size = SIGSTKSZ;\n" |
| 956 |
"ss.ss_flags = 0;\n" |
| 957 |
"if (sigaltstack(&ss, NULL) == -1) {\n" |
| 958 |
" perror(\"sigaltstack\");\n" |
| 959 |
" exit(EXIT_FAILURE);\n" |
| 960 |
"}\n" |
| 961 |
"\\&\n" |
| 962 |
"sa.sa_flags = SA_ONSTACK;\n" |
| 963 |
"sa.sa_handler = handler(); /* Address of a signal handler */\n" |
| 964 |
"sigemptyset(&sa.sa_mask);\n" |
| 965 |
"if (sigaction(SIGSEGV, &sa, NULL) == -1) {\n" |
| 966 |
" perror(\"sigaction\");\n" |
| 967 |
" exit(EXIT_FAILURE);\n" |
| 968 |
"}\n" |
| 969 |
msgstr "" |
| 970 |
"sa.sa_flags = SA_ONSTACK;\n" |
| 971 |
"sa.sa_handler = handler(); /* адрес обработчика сигналов */\n" |
| 972 |
"sigemptyset(&sa.sa_mask);\n" |
| 973 |
"if (sigaction(SIGSEGV, &sa, NULL) == -1) {\n" |
| 974 |
" perror(\"sigaction\");\n" |
| 975 |
" exit(EXIT_FAILURE);\n" |
| 976 |
"}\n" |
| 977 |
|
| 978 |
#. type: SH |
| 979 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 980 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 981 |
#, no-wrap |
| 982 |
msgid "SEE ALSO" |
| 983 |
msgstr "СМОТРИТЕ ТАКЖЕ" |
| 984 |
|
| 985 |
#. type: Plain text |
| 986 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 987 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 988 |
msgid "" |
| 989 |
"B<execve>(2), B<setrlimit>(2), B<sigaction>(2), B<siglongjmp>(3), " |
| 990 |
"B<sigsetjmp>(3), B<signal>(7)" |
| 991 |
msgstr "" |
| 992 |
"B<execve>(2), B<setrlimit>(2), B<sigaction>(2), B<siglongjmp>(3), " |
| 993 |
"B<sigsetjmp>(3), B<signal>(7)" |
| 994 |
|
| 995 |
#. type: TH |
| 996 |
#: debian-trixie |
| 997 |
#, no-wrap |
| 998 |
msgid "2024-05-02" |
| 999 |
msgstr "2 мая 2024 г." |
| 1000 |
|
| 1001 |
#. type: TH |
| 1002 |
#: debian-trixie |
| 1003 |
#, no-wrap |
| 1004 |
msgid "Linux man-pages 6.9.1" |
| 1005 |
msgstr "Страницы руководства Linux 6.9.1" |
| 1006 |
|
| 1007 |
#. type: Plain text |
| 1008 |
#: debian-trixie |
| 1009 |
msgid "Standard C library (I<libc>, I<-lc>)" |
| 1010 |
msgstr "Стандартная библиотека языка C (I<libc>, I<-lc>)" |
| 1011 |
|
| 1012 |
#. type: Plain text |
| 1013 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1014 |
msgid "POSIX.1-2008." |
| 1015 |
msgstr "POSIX.1-2008." |
| 1016 |
|
| 1017 |
#. type: Plain text |
| 1018 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1019 |
#, fuzzy |
| 1020 |
#| msgid "" |
| 1021 |
#| "Establishing an alternate signal stack is useful if a process expects " |
| 1022 |
#| "that it may exhaust its standard stack. This may occur, for example, " |
| 1023 |
#| "because the stack grows so large that it encounters the upwardly growing " |
| 1024 |
#| "heap, or it reaches a limit established by a call to " |
| 1025 |
#| "B<setrlimit(RLIMIT_STACK, &rlim)>. If the standard stack is exhausted, " |
| 1026 |
#| "the kernel sends the process a B<SIGSEGV> signal. In these circumstances " |
| 1027 |
#| "the only way to catch this signal is on an alternate signal stack." |
| 1028 |
msgid "" |
| 1029 |
"Establishing an alternate signal stack is useful if a thread expects that it " |
| 1030 |
"may exhaust its standard stack. This may occur, for example, because the " |
| 1031 |
"stack grows so large that it encounters the upwardly growing heap, or it " |
| 1032 |
"reaches a limit established by a call to B<\\%setrlimit(RLIMIT_STACK, " |
| 1033 |
"&rlim)>. If the standard stack is exhausted, the kernel sends the thread a " |
| 1034 |
"B<SIGSEGV> signal. In these circumstances the only way to catch this signal " |
| 1035 |
"is on an alternate signal stack." |
| 1036 |
msgstr "" |
| 1037 |
"Назначение альтернативного стека сигналов полезно, если ожидается, что " |
| 1038 |
"процесс может задействовать весь свой обычный стек. Это может случиться, " |
| 1039 |
"например, когда стек становится настолько большим, что он встречается с " |
| 1040 |
"растущей в вверх «кучей», или достигает ограничения, заданного вызовом " |
| 1041 |
"B<setrlimit(RLIMIT_STACK, &rlim)>. Если стандартный стек закончился, то ядро " |
| 1042 |
"посылает процессу сигнал B<SIGSEGV>. В этих условиях единственным способом " |
| 1043 |
"поймать сигнал будет задействование альтернативного стека сигналов." |
| 1044 |
|
| 1045 |
#. type: TH |
| 1046 |
#: fedora-44 fedora-rawhide |
| 1047 |
#, no-wrap |
| 1048 |
msgid "2024-07-23" |
| 1049 |
msgstr "23 июля 2024 г." |
| 1050 |
|
| 1051 |
#. type: TH |
| 1052 |
#: fedora-44 fedora-rawhide |
| 1053 |
#, no-wrap |
| 1054 |
msgid "Linux man-pages 6.13" |
| 1055 |
msgstr "Страницы руководства Linux 6.13" |
| 1056 |
|
| 1057 |
#. type: TH |
| 1058 |
#: mageia-cauldron |
| 1059 |
#, no-wrap |
| 1060 |
msgid "Linux man-pages 6.17" |
| 1061 |
msgstr "Страницы руководства Linux 6.17" |
| 1062 |
|
| 1063 |
#. type: TH |
| 1064 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 1065 |
#, no-wrap |
| 1066 |
msgid "Linux man-pages (unreleased)" |
| 1067 |
msgstr "Страницы руководства Linux (не выпущены)" |