| 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 |
# Azamat Hackimov <[email protected]>, 2013-2014, 2017. |
| 5 |
# Dmitry Bolkhovskikh <[email protected]>, 2017. |
| 6 |
# Vladislav <[email protected]>, 2015. |
| 7 |
# Yuri Kozlov <[email protected]>, 2011-2019. |
| 8 |
# Иван Павлов <[email protected]>, 2017, 2019. |
| 9 |
msgid "" |
| 10 |
msgstr "" |
| 11 |
"Project-Id-Version: manpages-l10n\n" |
| 12 |
"POT-Creation-Date: 2026-06-05 06:25+0200\n" |
| 13 |
"PO-Revision-Date: 2024-12-21 19:49+0300\n" |
| 14 |
"Last-Translator: Yuri Kozlov <[email protected]>\n" |
| 15 |
"Language-Team: Russian <[email protected]>\n" |
| 16 |
"Language: ru\n" |
| 17 |
"MIME-Version: 1.0\n" |
| 18 |
"Content-Type: text/plain; charset=UTF-8\n" |
| 19 |
"Content-Transfer-Encoding: 8bit\n" |
| 20 |
"Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && " |
| 21 |
"n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || " |
| 22 |
"(n%100>=11 && n%100<=14)? 2 : 3);\n" |
| 23 |
"X-Generator: Lokalize 2.0\n" |
| 24 |
|
| 25 |
#. type: TH |
| 26 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 27 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 28 |
#, no-wrap |
| 29 |
msgid "getgroups" |
| 30 |
msgstr "getgroups" |
| 31 |
|
| 32 |
#. type: TH |
| 33 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 34 |
#: opensuse-tumbleweed |
| 35 |
#, no-wrap |
| 36 |
msgid "2026-02-08" |
| 37 |
msgstr "8 февраля 2026 г." |
| 38 |
|
| 39 |
#. type: TH |
| 40 |
#: archlinux debian-unstable |
| 41 |
#, fuzzy, no-wrap |
| 42 |
#| msgid "Linux man-pages 6.17" |
| 43 |
msgid "Linux man-pages 6.18" |
| 44 |
msgstr "Справочные страницы Linux 6.17" |
| 45 |
|
| 46 |
#. type: SH |
| 47 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 48 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 49 |
#, no-wrap |
| 50 |
msgid "NAME" |
| 51 |
msgstr "НАИМЕНОВАНИЕ" |
| 52 |
|
| 53 |
#. type: Plain text |
| 54 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 55 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 56 |
msgid "getgroups, setgroups - get/set list of supplementary group IDs" |
| 57 |
msgstr "" |
| 58 |
"getgroups, setgroups - получить/установить список дополнительных " |
| 59 |
"идентификаторов групп" |
| 60 |
|
| 61 |
#. type: SH |
| 62 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 63 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 64 |
#, no-wrap |
| 65 |
msgid "LIBRARY" |
| 66 |
msgstr "БИБЛИОТЕКА" |
| 67 |
|
| 68 |
#. type: Plain text |
| 69 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 70 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 71 |
msgid "Standard C library (I<libc>,\\ I<-lc>)" |
| 72 |
msgstr "Стандартная библиотека языка C (I<libc>,\\ I<-lc>)" |
| 73 |
|
| 74 |
#. type: SH |
| 75 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 76 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 77 |
#, no-wrap |
| 78 |
msgid "SYNOPSIS" |
| 79 |
msgstr "СИНТАКСИС" |
| 80 |
|
| 81 |
#. type: Plain text |
| 82 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 83 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 84 |
#, no-wrap |
| 85 |
msgid "B<#include E<lt>unistd.hE<gt>>\n" |
| 86 |
msgstr "B<#include E<lt>unistd.hE<gt>>\n" |
| 87 |
|
| 88 |
#. type: Plain text |
| 89 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 90 |
#: opensuse-tumbleweed |
| 91 |
#, fuzzy, no-wrap |
| 92 |
#| msgid "B<int getgroups(int >I<size>B<, gid_t >I<list>B<[]);>\n" |
| 93 |
msgid "B<int getgroups(int >I<size>B<, gid_t >I<list>B<[_Nullable >I<size>B<]);>\n" |
| 94 |
msgstr "B<int getgroups(int >I<size>B<, gid_t >I<list>B<[]);>\n" |
| 95 |
|
| 96 |
#. type: Plain text |
| 97 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 98 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 99 |
#, no-wrap |
| 100 |
msgid "B<#include E<lt>grp.hE<gt>>\n" |
| 101 |
msgstr "B<#include E<lt>grp.hE<gt>>\n" |
| 102 |
|
| 103 |
#. type: Plain text |
| 104 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 105 |
#: opensuse-tumbleweed |
| 106 |
#, fuzzy, no-wrap |
| 107 |
#| msgid "B<int setgroups(size_t >I<size>B<, const gid_t *>I<list>B<);>\n" |
| 108 |
msgid "B<int setgroups(size_t >I<size>B<, const gid_t >I<list>B<[>I<size>B<]);>\n" |
| 109 |
msgstr "B<int setgroups(size_t >I<size>B<, const gid_t *>I<list>B<);>\n" |
| 110 |
|
| 111 |
#. type: Plain text |
| 112 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 113 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 114 |
msgid "" |
| 115 |
"Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):" |
| 116 |
msgstr "" |
| 117 |
"Требования макроса тестирования свойств для glibc (см. " |
| 118 |
"B<feature_test_macros>(7)):" |
| 119 |
|
| 120 |
#. type: Plain text |
| 121 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 122 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 123 |
msgid "B<setgroups>():" |
| 124 |
msgstr "B<setgroups>():" |
| 125 |
|
| 126 |
#. type: Plain text |
| 127 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 128 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 129 |
#, no-wrap |
| 130 |
msgid "" |
| 131 |
" Since glibc 2.19:\n" |
| 132 |
" _DEFAULT_SOURCE\n" |
| 133 |
" glibc 2.19 and earlier:\n" |
| 134 |
" _BSD_SOURCE\n" |
| 135 |
msgstr "" |
| 136 |
" Начиная с glibc 2.19:\n" |
| 137 |
" _DEFAULT_SOURCE\n" |
| 138 |
" В версии glibc 2.19 и более ранних:\n" |
| 139 |
" _BSD_SOURCE\n" |
| 140 |
|
| 141 |
#. type: SH |
| 142 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 143 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 144 |
#, no-wrap |
| 145 |
msgid "DESCRIPTION" |
| 146 |
msgstr "ОПИСАНИЕ" |
| 147 |
|
| 148 |
#. type: Plain text |
| 149 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 150 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 151 |
msgid "" |
| 152 |
"B<getgroups>() returns the supplementary group IDs of the calling process " |
| 153 |
"in I<list>. The argument I<size> should be set to the maximum number of " |
| 154 |
"items that can be stored in the buffer pointed to by I<list>. If the " |
| 155 |
"calling process is a member of more than I<size> supplementary groups, then " |
| 156 |
"an error results." |
| 157 |
msgstr "" |
| 158 |
"Вызов B<getgroups>() возвращает идентификаторы дополнительных групп " |
| 159 |
"вызывающего процесса в списке I<list>. В аргументе I<size> должно быть " |
| 160 |
"указано максимальное количество элементов, которые можно сохранить в буфер, " |
| 161 |
"указанный в I<list>. Если вызывающий процесс является членом в более чем " |
| 162 |
"I<size> дополнительных групп, то возвращается ошибка." |
| 163 |
|
| 164 |
#. type: Plain text |
| 165 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 166 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 167 |
msgid "" |
| 168 |
"It is unspecified whether the effective group ID of the calling process is " |
| 169 |
"included in the returned list. (Thus, an application should also call " |
| 170 |
"B<getegid>(2) and add or remove the resulting value.)" |
| 171 |
msgstr "" |
| 172 |
"Не определено, будет ли в этот список включён эффективный идентификатор " |
| 173 |
"группы вызывающего процесса (то есть приложение также должно вызвать " |
| 174 |
"B<getegid>(2) и добавить или удалить полученное значение)." |
| 175 |
|
| 176 |
#. type: Plain text |
| 177 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 178 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 179 |
msgid "" |
| 180 |
"If I<size> is zero, I<list> is not modified, but the total number of " |
| 181 |
"supplementary group IDs for the process is returned. This allows the caller " |
| 182 |
"to determine the size of a dynamically allocated I<list> to be used in a " |
| 183 |
"further call to B<getgroups>()." |
| 184 |
msgstr "" |
| 185 |
"Если размер I<size> равен нулю, то список I<list> не изменяется, а просто " |
| 186 |
"возвращается общее количество идентификаторов дополнительных групп процесса. " |
| 187 |
"Это позволяет вызывающему определить размер динамически выделяемого списка " |
| 188 |
"I<list>, который будет использоваться при повторном вызове B<getgroups>()." |
| 189 |
|
| 190 |
#. type: Plain text |
| 191 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 192 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 193 |
msgid "" |
| 194 |
"B<setgroups>() sets the supplementary group IDs for the calling process. " |
| 195 |
"Appropriate privileges are required (see the description of the B<EPERM> " |
| 196 |
"error, below). The I<size> argument specifies the number of supplementary " |
| 197 |
"group IDs in the buffer pointed to by I<list>. A process can drop all of " |
| 198 |
"its supplementary groups with the call:" |
| 199 |
msgstr "" |
| 200 |
"Вызов B<setgroups>() устанавливает идентификаторы дополнительных групп для " |
| 201 |
"вызывающего процесса. Для работы требуются права (смотрите описание ошибки " |
| 202 |
"B<EPERM> ниже). В аргументе I<size> задаётся количество дополнительных " |
| 203 |
"идентификаторов групп в буфере, указанном I<list>. Процесс может выйти из " |
| 204 |
"всех дополнительных группы вызвав:" |
| 205 |
|
| 206 |
#. type: Plain text |
| 207 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 208 |
#: opensuse-tumbleweed |
| 209 |
#, fuzzy, no-wrap |
| 210 |
#| msgid "setgroups(0, NULL);\n" |
| 211 |
msgid "setgroups(0, (gid_t [0]){});\n" |
| 212 |
msgstr "setgroups(0, NULL);\n" |
| 213 |
|
| 214 |
#. type: SH |
| 215 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 216 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 217 |
#, no-wrap |
| 218 |
msgid "RETURN VALUE" |
| 219 |
msgstr "ВОЗВРАЩАЕМОЕ ЗНАЧЕНИЕ" |
| 220 |
|
| 221 |
#. type: Plain text |
| 222 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 223 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 224 |
#, fuzzy |
| 225 |
#| msgid "" |
| 226 |
#| "On success, B<getgroups>() returns the number of supplementary group " |
| 227 |
#| "IDs. On error, -1 is returned, and I<errno> is set appropriately." |
| 228 |
msgid "" |
| 229 |
"On success, B<getgroups>() returns the number of supplementary group IDs. " |
| 230 |
"On error, -1 is returned, and I<errno> is set to indicate the error." |
| 231 |
msgstr "" |
| 232 |
"При успешном выполнении B<getgroups>() возвращается количество " |
| 233 |
"дополнительных идентификаторов. В случае ошибки возвращается -1, а I<errno> " |
| 234 |
"устанавливается в соответствующее значение." |
| 235 |
|
| 236 |
#. type: Plain text |
| 237 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 238 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 239 |
msgid "" |
| 240 |
"On success, B<setgroups>() returns 0. On error, -1 is returned, and " |
| 241 |
"I<errno> is set to indicate the error." |
| 242 |
msgstr "" |
| 243 |
"При успешном выполнении B<setgroups>() возвращает 0; при ошибке — -1, а в " |
| 244 |
"I<errno> задаётся код ошибки." |
| 245 |
|
| 246 |
#. type: SH |
| 247 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 248 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 249 |
#, no-wrap |
| 250 |
msgid "ERRORS" |
| 251 |
msgstr "ОШИБКИ" |
| 252 |
|
| 253 |
#. type: TP |
| 254 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 255 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 256 |
#, no-wrap |
| 257 |
msgid "B<EFAULT>" |
| 258 |
msgstr "B<EFAULT>" |
| 259 |
|
| 260 |
#. type: Plain text |
| 261 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 262 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 263 |
msgid "I<list> has an invalid address." |
| 264 |
msgstr "Значение I<list> является неправильным адресом." |
| 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 "B<getgroups>() can additionally fail with the following error:" |
| 270 |
msgstr "Вызов B<getgroups>() также может завершиться со следующей ошибкой:" |
| 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 "B<EINVAL>" |
| 277 |
msgstr "B<EINVAL>" |
| 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 |
msgid "" |
| 283 |
"I<size> is less than the number of supplementary group IDs, but is not zero." |
| 284 |
msgstr "" |
| 285 |
"Значение I<size> меньше чем количество дополнительных идентификаторов групп, " |
| 286 |
"но не ноль." |
| 287 |
|
| 288 |
#. type: Plain text |
| 289 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 290 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 291 |
msgid "B<setgroups>() can additionally fail with the following errors:" |
| 292 |
msgstr "Вызов B<setgroups>() также может завершиться со следующими ошибками:" |
| 293 |
|
| 294 |
#. type: Plain text |
| 295 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 296 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 297 |
msgid "" |
| 298 |
"I<size> is greater than B<NGROUPS_MAX> (32 before Linux 2.6.4; 65536 since " |
| 299 |
"Linux 2.6.4)." |
| 300 |
msgstr "" |
| 301 |
"Значение I<size> больше чем B<NGROUPS_MAX> (32, до Linux 2.6.4; 65536, " |
| 302 |
"начиная с Linux 2.6.4)." |
| 303 |
|
| 304 |
#. type: TP |
| 305 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 306 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 307 |
#, no-wrap |
| 308 |
msgid "B<ENOMEM>" |
| 309 |
msgstr "B<ENOMEM>" |
| 310 |
|
| 311 |
#. type: Plain text |
| 312 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 313 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 314 |
msgid "Out of memory." |
| 315 |
msgstr "Не хватает памяти." |
| 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 "B<EPERM>" |
| 322 |
msgstr "B<EPERM>" |
| 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 |
"The calling process has insufficient privilege (the caller does not have the " |
| 329 |
"B<CAP_SETGID> capability in the user namespace in which it resides)." |
| 330 |
msgstr "" |
| 331 |
"Вызывающий процесс не имеет достаточно прав (вызывающий не имеет мандата " |
| 332 |
"B<CAP_SETGID> в пользовательском пространстве имён, в котором он находится)." |
| 333 |
|
| 334 |
#. type: TP |
| 335 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 336 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 337 |
#, no-wrap |
| 338 |
msgid "B<EPERM> (since Linux 3.19)" |
| 339 |
msgstr "B<EPERM> (начиная с Linux 3.19)" |
| 340 |
|
| 341 |
#. type: Plain text |
| 342 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 343 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 344 |
msgid "" |
| 345 |
"The use of B<setgroups>() is denied in this user namespace. See the " |
| 346 |
"description of I</proc/>pidI</setgroups> in B<user_namespaces>(7)." |
| 347 |
msgstr "" |
| 348 |
"Использование B<setgroups>() запрещено в этом пространстве имён user. " |
| 349 |
"Смотрите описание I</proc/>pidI</setgroups> в B<user_namespaces>(7)." |
| 350 |
|
| 351 |
#. type: SH |
| 352 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 353 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 354 |
#, no-wrap |
| 355 |
msgid "VERSIONS" |
| 356 |
msgstr "ВЕРСИИ" |
| 357 |
|
| 358 |
#. type: SS |
| 359 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 360 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 361 |
#, no-wrap |
| 362 |
msgid "C library/kernel differences" |
| 363 |
msgstr "Отличия между библиотекой C и ядром" |
| 364 |
|
| 365 |
#. type: Plain text |
| 366 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 367 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 368 |
msgid "" |
| 369 |
"At the kernel level, user IDs and group IDs are a per-thread attribute. " |
| 370 |
"However, POSIX requires that all threads in a process share the same " |
| 371 |
"credentials. The NPTL threading implementation handles the POSIX " |
| 372 |
"requirements by providing wrapper functions for the various system calls " |
| 373 |
"that change process UIDs and GIDs. These wrapper functions (including the " |
| 374 |
"one for B<setgroups>()) employ a signal-based technique to ensure that when " |
| 375 |
"one thread changes credentials, all of the other threads in the process also " |
| 376 |
"change their credentials. For details, see B<nptl>(7)." |
| 377 |
msgstr "" |
| 378 |
"На уровне ядра ID пользователя и группы являются атрибутами нити. Однако в " |
| 379 |
"POSIX требуется, чтобы все нити в процессе имели одинаковые права. В " |
| 380 |
"реализации нитей NPTL требования POSIX реализованы через обёрточные функции " |
| 381 |
"для различных системных вызовов, которые изменяют UID и GID процесса. В этих " |
| 382 |
"функциях (включая и для B<setgroups>()) используется алгоритмы на основе " |
| 383 |
"сигналов, которые следят за тем, что когда у одной нити изменяются права, " |
| 384 |
"эти изменения выполняются и для остальных нитей процесса. Подробное описание " |
| 385 |
"смотрите в B<nptl>(7)." |
| 386 |
|
| 387 |
#. type: SH |
| 388 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 389 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 390 |
#, no-wrap |
| 391 |
msgid "STANDARDS" |
| 392 |
msgstr "СТАНДАРТЫ" |
| 393 |
|
| 394 |
#. type: TP |
| 395 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 396 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 397 |
#, fuzzy, no-wrap |
| 398 |
#| msgid "B<getgroups>(2)" |
| 399 |
msgid "B<getgroups>()" |
| 400 |
msgstr "B<getgroups>(2)" |
| 401 |
|
| 402 |
#. type: Plain text |
| 403 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 404 |
#: opensuse-tumbleweed |
| 405 |
msgid "POSIX.1-2024." |
| 406 |
msgstr "POSIX.1-2024." |
| 407 |
|
| 408 |
#. type: TP |
| 409 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 410 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 411 |
#, fuzzy, no-wrap |
| 412 |
#| msgid "B<setgroups>():" |
| 413 |
msgid "B<setgroups>()" |
| 414 |
msgstr "B<setgroups>():" |
| 415 |
|
| 416 |
#. type: Plain text |
| 417 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 418 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 419 |
msgid "None." |
| 420 |
msgstr "Отсутствуют." |
| 421 |
|
| 422 |
#. type: SH |
| 423 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 424 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 425 |
#, no-wrap |
| 426 |
msgid "HISTORY" |
| 427 |
msgstr "ИСТОРИЯ" |
| 428 |
|
| 429 |
#. type: Plain text |
| 430 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 431 |
#: opensuse-tumbleweed |
| 432 |
#, fuzzy |
| 433 |
#| msgid "4.4BSD, SVr4, POSIX.1-2001." |
| 434 |
msgid "4.3BSD, SVr4, POSIX.1-1988." |
| 435 |
msgstr "4.4BSD, SVr4, POSIX.1-2001." |
| 436 |
|
| 437 |
#. type: Plain text |
| 438 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 439 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 440 |
#, fuzzy |
| 441 |
#| msgid "" |
| 442 |
#| "B<setgroups>(): SVr4, 4.3BSD. Since B<setgroups>() requires privilege, " |
| 443 |
#| "it is not covered by POSIX.1." |
| 444 |
msgid "" |
| 445 |
"SVr4, 4.3BSD. Since B<setgroups>() requires privilege, it is not covered " |
| 446 |
"by POSIX.1." |
| 447 |
msgstr "" |
| 448 |
"B<setgroups>(): SVr4, 4.3BSD. Так как для B<setgroups>() требуются права, " |
| 449 |
"она не описана в POSIX.1." |
| 450 |
|
| 451 |
#. type: Plain text |
| 452 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 453 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 454 |
msgid "" |
| 455 |
"The original Linux B<getgroups>() system call supported only 16-bit group " |
| 456 |
"IDs. Subsequently, Linux 2.4 added B<getgroups32>(), supporting 32-bit " |
| 457 |
"IDs. The glibc B<getgroups>() wrapper function transparently deals with " |
| 458 |
"the variation across kernel versions." |
| 459 |
msgstr "" |
| 460 |
"Первоначальная версия системного вызова B<getgroups>() в Linux поддерживала " |
| 461 |
"только 16-битные идентификаторы групп. Позднее в Linux 2.4 был добавлен " |
| 462 |
"вызов B<getgroups32>(), поддерживающий 32-битные идентификаторы. В glibc " |
| 463 |
"обёрточная функция B<getgroups>() работает одинаково вне зависимости от " |
| 464 |
"версий ядра." |
| 465 |
|
| 466 |
#. type: SH |
| 467 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 468 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 469 |
#, no-wrap |
| 470 |
msgid "NOTES" |
| 471 |
msgstr "ПРИМЕЧАНИЯ" |
| 472 |
|
| 473 |
#. type: Plain text |
| 474 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 475 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 476 |
msgid "" |
| 477 |
"A process can have up to B<NGROUPS_MAX> supplementary group IDs in addition " |
| 478 |
"to the effective group ID. The constant B<NGROUPS_MAX> is defined in " |
| 479 |
"I<E<lt>limits.hE<gt>>. The set of supplementary group IDs is inherited from " |
| 480 |
"the parent process, and preserved across an B<execve>(2)." |
| 481 |
msgstr "" |
| 482 |
"Процесс может иметь, как минимум, B<NGROUPS_MAX> дополнительных " |
| 483 |
"идентификаторов групп в дополнении к эффективному идентификатору группы. " |
| 484 |
"Константа B<NGROUPS_MAX> определена в I<E<lt>limits.hE<gt>>. Список " |
| 485 |
"дополнительных идентификаторов групп наследуется из родительского процесса и " |
| 486 |
"сохраняется при вызове B<execve>(2)." |
| 487 |
|
| 488 |
#. type: Plain text |
| 489 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 490 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 491 |
msgid "" |
| 492 |
"The maximum number of supplementary group IDs can be found at run time using " |
| 493 |
"B<sysconf>(3):" |
| 494 |
msgstr "" |
| 495 |
"Максимальное количество дополнительных идентификаторов групп можно выяснить " |
| 496 |
"с помощью B<sysconf>(3):" |
| 497 |
|
| 498 |
#. type: Plain text |
| 499 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 500 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 501 |
#, no-wrap |
| 502 |
msgid "" |
| 503 |
"long ngroups_max;\n" |
| 504 |
"ngroups_max = sysconf(_SC_NGROUPS_MAX);\n" |
| 505 |
msgstr "" |
| 506 |
"long ngroups_max;\n" |
| 507 |
"ngroups_max = sysconf(_SC_NGROUPS_MAX);\n" |
| 508 |
|
| 509 |
#. type: Plain text |
| 510 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 511 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 512 |
msgid "" |
| 513 |
"The maximum return value of B<getgroups>() cannot be larger than one more " |
| 514 |
"than this value. Since Linux 2.6.4, the maximum number of supplementary " |
| 515 |
"group IDs is also exposed via the Linux-specific read-only file, I</proc/sys/" |
| 516 |
"kernel/ngroups_max>." |
| 517 |
msgstr "" |
| 518 |
"Максимальное значение, возвращаемое B<getgroups>(), не может быть больше чем " |
| 519 |
"на единицу значения, полученного данным способом. Начиная с Linux 2.6.4, " |
| 520 |
"максимальное количество идентификаторов дополнительных групп также видимо " |
| 521 |
"через специальный файл Linux, доступный только для чтения — I</proc/sys/" |
| 522 |
"kernel/ngroups_max>." |
| 523 |
|
| 524 |
#. type: SH |
| 525 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 526 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 527 |
#, no-wrap |
| 528 |
msgid "EXAMPLES" |
| 529 |
msgstr "ПРИМЕРЫ" |
| 530 |
|
| 531 |
#. type: Plain text |
| 532 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 533 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 534 |
#, no-wrap |
| 535 |
msgid "" |
| 536 |
"#include E<lt>err.hE<gt>\n" |
| 537 |
"#include E<lt>stddef.hE<gt>\n" |
| 538 |
"#include E<lt>stdint.hE<gt>\n" |
| 539 |
"#include E<lt>stdio.hE<gt>\n" |
| 540 |
"#include E<lt>stdlib.hE<gt>\n" |
| 541 |
"#include E<lt>sys/types.hE<gt>\n" |
| 542 |
"#include E<lt>unistd.hE<gt>\n" |
| 543 |
"\\&\n" |
| 544 |
"#define MALLOC(n, T) ((T *) reallocarray(NULL, n, sizeof(T)))\n" |
| 545 |
"\\&\n" |
| 546 |
"static gid_t *agetgroups(size_t *ngids);\n" |
| 547 |
"\\&\n" |
| 548 |
"int\n" |
| 549 |
"main(void)\n" |
| 550 |
"{\n" |
| 551 |
" gid_t *gids;\n" |
| 552 |
" size_t n;\n" |
| 553 |
"\\&\n" |
| 554 |
" gids = agetgroups(&n);\n" |
| 555 |
" if (gids == NULL)\n" |
| 556 |
" err(EXIT_FAILURE, \"agetgroups\");\n" |
| 557 |
"\\&\n" |
| 558 |
" if (n != 0) {\n" |
| 559 |
" printf(\"%jd\", (intmax_t) gids[0]);\n" |
| 560 |
" for (size_t i = 1; i E<lt> n; i++)\n" |
| 561 |
" printf(\" %jd\", (intmax_t) gids[i]);\n" |
| 562 |
" }\n" |
| 563 |
" puts(\"\");\n" |
| 564 |
"\\&\n" |
| 565 |
" free(gids);\n" |
| 566 |
" exit(EXIT_SUCCESS);\n" |
| 567 |
"}\n" |
| 568 |
"\\&\n" |
| 569 |
"static gid_t *\n" |
| 570 |
"agetgroups(size_t *ngids)\n" |
| 571 |
"{\n" |
| 572 |
" int n;\n" |
| 573 |
" gid_t *gids;\n" |
| 574 |
"\\&\n" |
| 575 |
" n = getgroups(0, NULL);\n" |
| 576 |
" if (n == -1)\n" |
| 577 |
" return NULL;\n" |
| 578 |
"\\&\n" |
| 579 |
" gids = MALLOC(n, gid_t);\n" |
| 580 |
" if (gids == NULL)\n" |
| 581 |
" return NULL;\n" |
| 582 |
"\\&\n" |
| 583 |
" n = getgroups(n, gids);\n" |
| 584 |
" if (n == -1) {\n" |
| 585 |
" free(gids);\n" |
| 586 |
" return NULL;\n" |
| 587 |
" }\n" |
| 588 |
"\\&\n" |
| 589 |
" *ngids = n;\n" |
| 590 |
" return gids;\n" |
| 591 |
"}\n" |
| 592 |
msgstr "" |
| 593 |
|
| 594 |
#. #-#-#-#-# archlinux: getgroups.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 595 |
#. SRC END |
| 596 |
#. type: SH |
| 597 |
#. #-#-#-#-# debian-trixie: getgroups.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 598 |
#. type: SH |
| 599 |
#. #-#-#-#-# debian-unstable: getgroups.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 600 |
#. SRC END |
| 601 |
#. type: SH |
| 602 |
#. #-#-#-#-# fedora-44: getgroups.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 603 |
#. SRC END |
| 604 |
#. type: SH |
| 605 |
#. #-#-#-#-# fedora-rawhide: getgroups.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 606 |
#. SRC END |
| 607 |
#. type: SH |
| 608 |
#. #-#-#-#-# mageia-cauldron: getgroups.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 609 |
#. SRC END |
| 610 |
#. type: SH |
| 611 |
#. #-#-#-#-# opensuse-leap-16-1: getgroups.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 612 |
#. SRC END |
| 613 |
#. type: SH |
| 614 |
#. #-#-#-#-# opensuse-tumbleweed: getgroups.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 615 |
#. SRC END |
| 616 |
#. type: SH |
| 617 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 618 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 619 |
#, no-wrap |
| 620 |
msgid "SEE ALSO" |
| 621 |
msgstr "СМОТРИТЕ ТАКЖЕ" |
| 622 |
|
| 623 |
#. type: Plain text |
| 624 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 625 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 626 |
msgid "" |
| 627 |
"B<getgid>(2), B<setgid>(2), B<getgrouplist>(3), B<group_member>(3), " |
| 628 |
"B<initgroups>(3), B<capabilities>(7), B<credentials>(7)" |
| 629 |
msgstr "" |
| 630 |
"B<getgid>(2), B<setgid>(2), B<getgrouplist>(3), B<group_member>(3), " |
| 631 |
"B<initgroups>(3), B<capabilities>(7), B<credentials>(7)" |
| 632 |
|
| 633 |
#. type: TH |
| 634 |
#: debian-trixie |
| 635 |
#, no-wrap |
| 636 |
msgid "2024-05-02" |
| 637 |
msgstr "2 мая 2024 г." |
| 638 |
|
| 639 |
#. type: TH |
| 640 |
#: debian-trixie |
| 641 |
#, no-wrap |
| 642 |
msgid "Linux man-pages 6.9.1" |
| 643 |
msgstr "Страницы руководства Linux 6.9.1" |
| 644 |
|
| 645 |
#. type: Plain text |
| 646 |
#: debian-trixie |
| 647 |
msgid "Standard C library (I<libc>, I<-lc>)" |
| 648 |
msgstr "Стандартная библиотека языка C (I<libc>, I<-lc>)" |
| 649 |
|
| 650 |
#. type: Plain text |
| 651 |
#: debian-trixie |
| 652 |
#, no-wrap |
| 653 |
msgid "B<int getgroups(int >I<size>B<, gid_t >I<list>B<[]);>\n" |
| 654 |
msgstr "B<int getgroups(int >I<size>B<, gid_t >I<list>B<[]);>\n" |
| 655 |
|
| 656 |
#. type: Plain text |
| 657 |
#: debian-trixie |
| 658 |
#, fuzzy, no-wrap |
| 659 |
#| msgid "B<int setgroups(size_t >I<size>B<, const gid_t *>I<list>B<);>\n" |
| 660 |
msgid "B<int setgroups(size_t >I<size>B<, const gid_t *_Nullable >I<list>B<);>\n" |
| 661 |
msgstr "B<int setgroups(size_t >I<size>B<, const gid_t *>I<list>B<);>\n" |
| 662 |
|
| 663 |
#. type: Plain text |
| 664 |
#: debian-trixie fedora-44 fedora-rawhide |
| 665 |
#, no-wrap |
| 666 |
msgid "setgroups(0, NULL);\n" |
| 667 |
msgstr "setgroups(0, NULL);\n" |
| 668 |
|
| 669 |
#. type: Plain text |
| 670 |
#: debian-trixie fedora-44 fedora-rawhide |
| 671 |
msgid "POSIX.1-2008." |
| 672 |
msgstr "POSIX.1-2008." |
| 673 |
|
| 674 |
#. type: Plain text |
| 675 |
#: debian-trixie fedora-44 fedora-rawhide |
| 676 |
msgid "SVr4, 4.3BSD, POSIX.1-2001." |
| 677 |
msgstr "SVr4, 4.3BSD, POSIX.1-2001." |
| 678 |
|
| 679 |
#. type: TH |
| 680 |
#: fedora-44 fedora-rawhide |
| 681 |
#, no-wrap |
| 682 |
msgid "2024-12-14" |
| 683 |
msgstr "14 декабря 2024 г." |
| 684 |
|
| 685 |
#. type: TH |
| 686 |
#: fedora-44 fedora-rawhide |
| 687 |
#, no-wrap |
| 688 |
msgid "Linux man-pages 6.13" |
| 689 |
msgstr "Страницы руководства Linux 6.13" |
| 690 |
|
| 691 |
#. type: Plain text |
| 692 |
#: fedora-44 fedora-rawhide |
| 693 |
#, fuzzy, no-wrap |
| 694 |
#| msgid "B<int getgroups(int >I<size>B<, gid_t >I<list>B<[]);>\n" |
| 695 |
msgid "B<int getgroups(int >I<size>B<, gid_t >I<list>B<[_Nullable .>I<size>B<]);>\n" |
| 696 |
msgstr "B<int getgroups(int >I<size>B<, gid_t >I<list>B<[]);>\n" |
| 697 |
|
| 698 |
#. type: Plain text |
| 699 |
#: fedora-44 fedora-rawhide |
| 700 |
#, fuzzy, no-wrap |
| 701 |
#| msgid "B<int setgroups(size_t >I<size>B<, const gid_t *>I<list>B<);>\n" |
| 702 |
msgid "B<int setgroups(size_t >I<size>B<, const gid_t >I<list>B<[_Nullable .>I<size>B<]);>\n" |
| 703 |
msgstr "B<int setgroups(size_t >I<size>B<, const gid_t *>I<list>B<);>\n" |
| 704 |
|
| 705 |
#. type: TH |
| 706 |
#: mageia-cauldron |
| 707 |
#, no-wrap |
| 708 |
msgid "Linux man-pages 6.17" |
| 709 |
msgstr "Страницы руководства Linux 6.17" |
| 710 |
|
| 711 |
#. type: TH |
| 712 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 713 |
#, no-wrap |
| 714 |
msgid "Linux man-pages (unreleased)" |
| 715 |
msgstr "Страницы руководства Linux (не выпущены)" |