# Russian translation of manpages # This file is distributed under the same license as the manpages-l10n package. # Copyright © of this file: # Alexey, 2016. # Azamat Hackimov , 2014-2017. # kogamatranslator49 , 2015. # Darima Kogan , 2014. # Max Is , 2016. # Yuri Kozlov , 2011-2019. # Иван Павлов , 2017. msgid "" msgstr "" "Project-Id-Version: manpages-l10n\n" "POT-Creation-Date: 2026-06-05 06:34+0200\n" "PO-Revision-Date: 2024-12-21 19:49+0300\n" "Last-Translator: Yuri Kozlov \n" "Language-Team: Russian \n" "Language: ru\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && " "n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || " "(n%100>=11 && n%100<=14)? 2 : 3);\n" "X-Generator: Lokalize 2.0\n" #. type: TH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "pidfd_send_signal" msgstr "pidfd_send_signal" #. type: TH #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "2026-02-08" msgstr "8 февраля 2026 г." #. type: TH #: archlinux debian-unstable #, fuzzy, no-wrap #| msgid "Linux man-pages 6.17" msgid "Linux man-pages 6.18" msgstr "Справочные страницы Linux 6.17" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "NAME" msgstr "НАИМЕНОВАНИЕ" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "pidfd_send_signal - send a signal to a process specified by a file descriptor" msgstr "" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "LIBRARY" msgstr "БИБЛИОТЕКА" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "Standard C library (I,\\ I<-lc>)" msgstr "Стандартная библиотека языка C (I,\\ I<-lc>)" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "SYNOPSIS" msgstr "СИНТАКСИС" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "B<#include Elinux/signal.hE> /* Definition of B constants */\n" "B<#include Esignal.hE> /* Definition of B constants */\n" "B<#include Esys/syscall.hE> /* Definition of B constants */\n" "B<#include Eunistd.hE>\n" msgstr "" "B<#include Elinux/signal.hE> /* определения констант B */\n" "B<#include Esignal.hE> /* определения констант B */\n" "B<#include Esys/syscall.hE> /* определения констант B */\n" "B<#include Eunistd.hE>\n" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, fuzzy, no-wrap #| msgid "" #| "BIB<, int >IB<, siginfo_t *>IB<,>\n" #| "B< unsigned int >IB<);>\n" msgid "" "BIB<, int >IB<,>\n" "B< siginfo_t *_Nullable >IB<, unsigned int >IB<);>\n" msgstr "" "BIB<, int >IB<, siginfo_t *>IB<,>\n" "B< unsigned int >IB<);>\n" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "I: glibc provides no wrapper for B(), necessitating " "the use of B(2)." msgstr "" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "DESCRIPTION" msgstr "ОПИСАНИЕ" #. See the very detailed commit message for kernel commit #. 3eb39f47934f9d5a3027fe00d906a45fe3a15fad #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The B() system call sends the signal I to the " "target process referred to by I, a PID file descriptor that refers to " "a process." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "If the I argument points to a I buffer, that buffer should " "be populated as described in B(2)." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "If the I argument is a null pointer, this is equivalent to specifying " "a pointer to a I buffer whose fields match the values that are " "implicitly supplied when a signal is sent using B(2):" msgstr "" #. type: IP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "\\[bu]" msgstr "\\[bu]" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "I is set to the signal number;" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "I is set to 0;" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "I is set to B;" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "I is set to the caller's PID; and" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "I is set to the caller's real user ID." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The calling process must either be in the same PID namespace as the process " "referred to by I, or be in an ancestor of that namespace." msgstr "" #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "The I argument allows to modify the scope of the signal. By default, " "the scope of the signal will be inferred from the I argument. For " "example, if I refers to a specific thread \\[em]i.e., the I " "was created through B(2) using the B flag or " "through B(2) using the B flag together with the " "B flag\\[em] then passing I to B(2) " "and leaving the I argument as B<0> will cause the signal to be sent " "to the specific thread referenced by the I." msgstr "" #. type: TP #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, fuzzy, no-wrap #| msgid "B (since Linux 6.9)" msgid "B (since Linux 6.9)" msgstr "B (начиная с Linux 6.9)" #. commit e1fb1dc08e73466830612bcf2f9f72180965c9ba #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "Ensure that the signal is sent to the specific thread referenced by I." msgstr "" #. type: TP #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, fuzzy, no-wrap #| msgid "B (since Linux 6.9)" msgid "B (since Linux 6.9)" msgstr "B (начиная с Linux 6.9)" #. commit e1fb1dc08e73466830612bcf2f9f72180965c9ba #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "If I refers to a thread-group leader, ensure that the signal is sent " "to the thread-group, even if I was created to refer to a specific " "thread." msgstr "" #. type: TP #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, fuzzy, no-wrap #| msgid "B (since Linux 6.9)" msgid "B (since Linux 6.9)" msgstr "B (начиная с Linux 6.9)" #. commit e1fb1dc08e73466830612bcf2f9f72180965c9ba #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "If I refers to a process-group leader, ensure that the signal is sent " "to the process-group, even if I was created to refer to a specific " "thread or to a thread-group leader." msgstr "" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "RETURN VALUE" msgstr "ВОЗВРАЩАЕМОЕ ЗНАЧЕНИЕ" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, fuzzy #| msgid "" #| "On success, B() returns 0. On failure, a nonzero value is " #| "returned and I is set to indicate the error." msgid "" "On success, B() returns 0. On error, -1 is returned and " "I is set to indicate the error." msgstr "" "При успешном выполнении B() возвращает 0. При ошибке возвращается " "ненулевое значение и в I записывается номер ошибки." #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "ERRORS" msgstr "ОШИБКИ" #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "I is not a valid PID file descriptor." msgstr "Значение I не является правильным дескриптором файла PID." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, fuzzy #| msgid "I is not a valid semaphore." msgid "I is not a valid signal." msgstr "Значение I не является корректным для семафора." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The calling process is not in a PID namespace from which it can send a " "signal to the target process." msgstr "" #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, fuzzy #| msgid "I is invalid." msgid "I is not valid." msgstr "Значение I неверно." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, fuzzy #| msgid "" #| "The caller does not have permission to access the address space of the " #| "process I." msgid "" "The calling process does not have permission to send the signal to the " "target process." msgstr "" "Вызывающий не имеет прав на доступ к адресному пространству процесса I." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "I doesn't refer to the calling process, and I is " "invalid (see B(2))." msgstr "" #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The target process does not exist (i.e., it has terminated and been waited " "on)." msgstr "" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "STANDARDS" msgstr "СТАНДАРТЫ" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "Linux." msgstr "Linux." #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "HISTORY" msgstr "ИСТОРИЯ" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, fuzzy #| msgid "Linux" msgid "Linux 5.1." msgstr "Linux" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "NOTES" msgstr "ПРИМЕЧАНИЯ" #. type: SS #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, fuzzy, no-wrap #| msgid "open file descriptors" msgid "PID file descriptors" msgstr "Открытые файловые дескрипторы" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The I argument is a PID file descriptor, a file descriptor that " "refers to process. Such a file descriptor can be obtained in any of the " "following ways:" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, fuzzy #| msgid "I subdirectories" msgid "by opening a Ipid directory;" msgstr "Подкаталоги I" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "using B(2); or" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "via the PID file descriptor that is returned by a call to B(2) or " "B(2) that specifies the B flag." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The B() system call allows the avoidance of race " "conditions that occur when using traditional interfaces (such as " "B(2)) to signal a process. The problem is that the traditional " "interfaces specify the target process via a process ID (PID), with the " "result that the sender may accidentally send a signal to the wrong process " "if the originally intended target process has terminated and its PID has " "been recycled for another process. By contrast, a PID file descriptor is a " "stable reference to a specific process; if that process terminates, " "B() fails with the error B." msgstr "" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "EXAMPLES" msgstr "ПРИМЕРЫ" #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "" "#define _GNU_SOURCE\n" "#include Efcntl.hE\n" "#include Elimits.hE\n" "#include Esignal.hE\n" "#include Estdio.hE\n" "#include Estdlib.hE\n" "#include Estring.hE\n" "#include Esys/syscall.hE\n" "#include Eunistd.hE\n" "\\&\n" "static int\n" "pidfd_send_signal(int pidfd, int sig, siginfo_t *info,\n" " unsigned int flags)\n" "{\n" " return syscall(SYS_pidfd_send_signal, pidfd, sig, info, flags);\n" "}\n" "\\&\n" "int\n" "main(int argc, char *argv[])\n" "{\n" " int pidfd, sig;\n" " char path[PATH_MAX];\n" " siginfo_t info;\n" "\\&\n" " if (argc != 3) {\n" " fprintf(stderr, \"Usage: %s EpidE EsignalE\\[rs]n\", argv[0]);\n" " exit(EXIT_FAILURE);\n" " }\n" "\\&\n" " sig = atoi(argv[2]);\n" "\\&\n" " /* Obtain a PID file descriptor by opening the /proc/PID directory\n" " of the target process. */\n" "\\&\n" " snprintf(path, sizeof(path), \"/proc/%s\", argv[1]);\n" "\\&\n" " pidfd = open(path, O_RDONLY);\n" " if (pidfd == -1) {\n" " perror(\"open\");\n" " exit(EXIT_FAILURE);\n" " }\n" "\\&\n" " /* Populate a \\[aq]siginfo_t\\[aq] structure for use with\n" " pidfd_send_signal(). */\n" "\\&\n" " memset(&info, 0, sizeof(info));\n" " info.si_code = SI_QUEUE;\n" " info.si_signo = sig;\n" " info.si_errno = 0;\n" " info.si_uid = getuid();\n" " info.si_pid = getpid();\n" " info.si_value.sival_int = 1234;\n" "\\&\n" " /* Send the signal. */\n" "\\&\n" " if (pidfd_send_signal(pidfd, sig, &info, 0) == -1) {\n" " perror(\"pidfd_send_signal\");\n" " exit(EXIT_FAILURE);\n" " }\n" "\\&\n" " exit(EXIT_SUCCESS);\n" "}\n" msgstr "" #. SRC END #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "SEE ALSO" msgstr "СМОТРИТЕ ТАКЖЕ" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "B(2), B(2), B(2), B(2), " "B(2), B(7), B(7)" msgstr "" "B(2), B(2), B(2), B(2), " "B(2), B(7), B(7)" #. type: TH #: debian-trixie #, no-wrap msgid "2024-06-15" msgstr "15 июня 2024 г." #. type: TH #: debian-trixie #, no-wrap msgid "Linux man-pages 6.9.1" msgstr "Страницы руководства Linux 6.9.1" #. type: Plain text #: debian-trixie msgid "Standard C library (I, I<-lc>)" msgstr "Стандартная библиотека языка C (I, I<-lc>)" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "The I argument is reserved for future use; currently, this argument " "must be specified as 0." msgstr "" "Аргумент I зарезервирован для будущего использования; в настоящее " "время этот аргумент должен быть указан как 0." #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "I is not 0." msgstr "Значение I не равно 0." #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "" "#define _GNU_SOURCE\n" "#include Efcntl.hE\n" "#include Elimits.hE\n" "#include Esignal.hE\n" "#include Estdio.hE\n" "#include Estdlib.hE\n" "#include Estring.hE\n" "#include Esys/syscall.hE\n" "#include Eunistd.hE\n" "\\&\n" "static int\n" "pidfd_send_signal(int pidfd, int sig, siginfo_t *info,\n" " unsigned int flags)\n" "{\n" " return syscall(SYS_pidfd_send_signal, pidfd, sig, info, flags);\n" "}\n" "\\&\n" "int\n" "main(int argc, char *argv[])\n" "{\n" " int pidfd, sig;\n" " char path[PATH_MAX];\n" " siginfo_t info;\n" "\\&\n" " if (argc != 3) {\n" " fprintf(stderr, \"Usage: %s EpidE EsignalE\\[rs]n\", argv[0]);\n" " exit(EXIT_FAILURE);\n" " }\n" "\\&\n" " sig = atoi(argv[2]);\n" "\\&\n" " /* Obtain a PID file descriptor by opening the /proc/PID directory\n" " of the target process. */\n" "\\&\n" " snprintf(path, sizeof(path), \"/proc/%s\", argv[1]);\n" "\\&\n" " pidfd = open(path, O_RDONLY);\n" " if (pidfd == -1) {\n" " perror(\"open\");\n" " exit(EXIT_FAILURE);\n" " }\n" "\\&\n" " /* Populate a \\[aq]siginfo_t\\[aq] structure for use with\n" " pidfd_send_signal(). */\n" "\\&\n" " memset(&info, 0, sizeof(info));\n" " info.si_code = SI_QUEUE;\n" " info.si_signo = sig;\n" " info.si_errno = 0;\n" " info.si_uid = getuid();\n" " info.si_pid = getpid();\n" " info.si_value.sival_int = 1234;\n" "\\&\n" " /* Send the signal. */\n" "\\&\n" " if (pidfd_send_signal(pidfd, sig, &info, 0) == -1) {\n" " perror(\"pidfd_send_signal\");\n" " exit(EXIT_FAILURE);\n" " }\n" "\\&\n" " exit(EXIT_SUCCESS);\n" "}\n" msgstr "" #. type: TH #: fedora-44 fedora-rawhide #, no-wrap msgid "2024-07-23" msgstr "23 июля 2024 г." #. type: TH #: fedora-44 fedora-rawhide #, no-wrap msgid "Linux man-pages 6.13" msgstr "Страницы руководства Linux 6.13" #. type: TH #: mageia-cauldron #, no-wrap msgid "Linux man-pages 6.17" msgstr "Страницы руководства Linux 6.17" #. type: TH #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Linux man-pages (unreleased)" msgstr "Страницы руководства Linux (не выпущены)"