Debian Codegraph @

po/de/man2/getgroups.2.po

raw
1 # German translation of manpages
2 # This file is distributed under the same license as the manpages-l10n package.
3 # Copyright © of this file:
4 # Martin Schulze <[email protected]>
5 # René Tschirley <[email protected]>
6 # Chris Leick <[email protected]>, 2010-2011.
7 # Mario Blättermann <[email protected]>, 2014, 2016, 2021, 2022, 2023.
8 # Dr. Tobias Quathamer <[email protected]>, 2017.
9 msgid ""
10 msgstr ""
11 "Project-Id-Version: manpages-l10n 4.28.0\n"
12 "POT-Creation-Date: 2026-06-05 06:25+0200\n"
13 "PO-Revision-Date: 2025-11-01 14:24+0100\n"
14 "Last-Translator: Mario Blättermann <[email protected]>\n"
15 "Language-Team: German <[email protected]>\n"
16 "Language: de\n"
17 "MIME-Version: 1.0\n"
18 "Content-Type: text/plain; charset=UTF-8\n"
19 "Content-Transfer-Encoding: 8bit\n"
20 "X-Generator: Lokalize 22.12.3\n"
21 "Plural-Forms: nplurals=2; plural=(n != 1);\n"
22
23 #. type: TH
24 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
25 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
26 #, no-wrap
27 msgid "getgroups"
28 msgstr "getgroups"
29
30 #. type: TH
31 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
32 #: opensuse-tumbleweed
33 #, no-wrap
34 msgid "2026-02-08"
35 msgstr "8. Februar 2026"
36
37 #. type: TH
38 #: archlinux debian-unstable
39 #, no-wrap
40 msgid "Linux man-pages 6.18"
41 msgstr "Linux man-pages 6.18"
42
43 #. type: SH
44 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
45 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
46 #, no-wrap
47 msgid "NAME"
48 msgstr "BEZEICHNUNG"
49
50 #. type: Plain text
51 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
52 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
53 msgid "getgroups, setgroups - get/set list of supplementary group IDs"
54 msgstr ""
55 "getgroups, setgroups - abfragen/setzen von zusätzlichen Gruppenkennungen"
56
57 #. type: SH
58 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
59 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
60 #, no-wrap
61 msgid "LIBRARY"
62 msgstr "BIBLIOTHEK"
63
64 #. type: Plain text
65 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
66 #: opensuse-leap-16-1 opensuse-tumbleweed
67 msgid "Standard C library (I<libc>,\\ I<-lc>)"
68 msgstr "Standard-C-Bibliothek (I<libc>,\\ I<-lc>)"
69
70 #. type: SH
71 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
72 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
73 #, no-wrap
74 msgid "SYNOPSIS"
75 msgstr "ÜBERSICHT"
76
77 #. type: Plain text
78 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
79 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
80 #, no-wrap
81 msgid "B<#include E<lt>unistd.hE<gt>>\n"
82 msgstr "B<#include E<lt>unistd.hE<gt>>\n"
83
84 #. type: Plain text
85 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
86 #: opensuse-tumbleweed
87 #, no-wrap
88 msgid "B<int getgroups(int >I<size>B<, gid_t >I<list>B<[_Nullable >I<size>B<]);>\n"
89 msgstr "B<int getgroups(int >I<Größe>B<, gid_t >I<Liste>B<[_Nullable >I<Größe>B<]);>\n"
90
91 #. type: Plain text
92 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
93 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
94 #, no-wrap
95 msgid "B<#include E<lt>grp.hE<gt>>\n"
96 msgstr "B<#include E<lt>grp.hE<gt>>\n"
97
98 #. type: Plain text
99 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
100 #: opensuse-tumbleweed
101 #, no-wrap
102 msgid "B<int setgroups(size_t >I<size>B<, const gid_t >I<list>B<[>I<size>B<]);>\n"
103 msgstr "B<int setgroups(size_t >I<Größe>B<, const gid_t >I<Liste>B<[>I<Größe>B<]);>\n"
104
105 #. type: Plain text
106 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
107 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
108 msgid ""
109 "Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):"
110 msgstr ""
111 "Mit Glibc erforderliche Feature-Test-Makros (siehe "
112 "B<feature_test_macros>(7)):"
113
114 #. type: Plain text
115 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
116 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
117 msgid "B<setgroups>():"
118 msgstr "B<setgroups>():"
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 #, no-wrap
124 msgid ""
125 " Since glibc 2.19:\n"
126 " _DEFAULT_SOURCE\n"
127 " glibc 2.19 and earlier:\n"
128 " _BSD_SOURCE\n"
129 msgstr ""
130 " Seit Glibc 2.19:\n"
131 " _DEFAULT_SOURCE\n"
132 " Glibc 2.19 und älter:\n"
133 " _BSD_SOURCE\n"
134
135 #. type: SH
136 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
137 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
138 #, no-wrap
139 msgid "DESCRIPTION"
140 msgstr "BESCHREIBUNG"
141
142 #. type: Plain text
143 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
144 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
145 msgid ""
146 "B<getgroups>() returns the supplementary group IDs of the calling process "
147 "in I<list>. The argument I<size> should be set to the maximum number of "
148 "items that can be stored in the buffer pointed to by I<list>. If the "
149 "calling process is a member of more than I<size> supplementary groups, then "
150 "an error results."
151 msgstr ""
152 "B<getgroups>() gibt die zusätzlichen Gruppenkennungen des aufrufenden "
153 "Prozesses in I<Liste> zurück. Das Argument I<Größe> sollte auf die maximale "
154 "Anzahl der Elemente gesetzt werden, die in dem Puffer gespeichert werden "
155 "können, auf den I<Liste> zeigt. Falls der aufrufende Prozess Mitglied von "
156 "mehr als I<Größe> zusätzlichen Gruppen ist, führt dies zu einem Fehler."
157
158 #. type: Plain text
159 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
160 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
161 msgid ""
162 "It is unspecified whether the effective group ID of the calling process is "
163 "included in the returned list. (Thus, an application should also call "
164 "B<getegid>(2) and add or remove the resulting value.)"
165 msgstr ""
166 "Es ist nicht beschrieben, ob die effektive Gruppenkennungen des aufrufenden "
167 "Prozesses in der zurückgegebenen Liste enthalten ist. (Daher sollte eine "
168 "Anwendung auch B<getegid>(2) aufrufen und den resultierenden Wert hinzufügen "
169 "oder entfernen.)"
170
171 #. type: Plain text
172 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
173 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
174 msgid ""
175 "If I<size> is zero, I<list> is not modified, but the total number of "
176 "supplementary group IDs for the process is returned. This allows the caller "
177 "to determine the size of a dynamically allocated I<list> to be used in a "
178 "further call to B<getgroups>()."
179 msgstr ""
180 "Wenn I<Größe> Null ist, wird I<liste> nicht verändert, es wird aber die "
181 "Gesamtzahl der zusätzlichen Gruppenkennungen für den Prozess zurückgegeben. "
182 "Dies erlaubt es dem Aufrufenden, die Größe einer dynamisch reservierten "
183 "I<Liste> festzulegen, die in einem weiteren Aufruf von B<getgroups>() "
184 "benutzt wird."
185
186 #. type: Plain text
187 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
188 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
189 msgid ""
190 "B<setgroups>() sets the supplementary group IDs for the calling process. "
191 "Appropriate privileges are required (see the description of the B<EPERM> "
192 "error, below). The I<size> argument specifies the number of supplementary "
193 "group IDs in the buffer pointed to by I<list>. A process can drop all of "
194 "its supplementary groups with the call:"
195 msgstr ""
196 "B<setgroups>() setzt die zusätzlichen Gruppenkennungen für den aufrufenden "
197 "Prozess. Es werden geeignete Privilegien benötigt (siehe die Beschreibung "
198 "des Fehlers B<EPERM> unten). Das Argument I<Größe> gibt die Anzahl der "
199 "zusätzlichen Gruppenkennungen im Puffer an, auf den I<Liste> zeigt. Ein "
200 "Prozess kann sämtliche zusätzliche Gruppen mit folgendem Aufruf abgeben:"
201
202 #. type: Plain text
203 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
204 #: opensuse-tumbleweed
205 #, no-wrap
206 msgid "setgroups(0, (gid_t [0]){});\n"
207 msgstr "setgroups(0, (gid_t [0]){});\n"
208
209 #. type: SH
210 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
211 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
212 #, no-wrap
213 msgid "RETURN VALUE"
214 msgstr "RÜCKGABEWERT"
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 "On success, B<getgroups>() returns the number of supplementary group IDs. "
221 "On error, -1 is returned, and I<errno> is set to indicate the error."
222 msgstr ""
223 "Bei Erfolg gibt B<getgroups>() die Anzahl der zusätzlichen Gruppenkennungen "
224 "zurück. Bei aufgetretenem Fehler wird -1 geliefert und I<errno> wird "
225 "gesetzt, um den Fehler anzuzeigen."
226
227 #. type: Plain text
228 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
229 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
230 msgid ""
231 "On success, B<setgroups>() returns 0. On error, -1 is returned, and "
232 "I<errno> is set to indicate the error."
233 msgstr ""
234 "Bei Erfolg gibt B<setgroups>() 0 zurück. Bei aufgetretenem Fehler wird -1 "
235 "geliefert und I<errno> wird gesetzt, um den Fehler anzuzeigen."
236
237 #. type: SH
238 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
239 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
240 #, no-wrap
241 msgid "ERRORS"
242 msgstr "FEHLER"
243
244 #. type: TP
245 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
246 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
247 #, no-wrap
248 msgid "B<EFAULT>"
249 msgstr "B<EFAULT>"
250
251 #. type: Plain text
252 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
253 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
254 msgid "I<list> has an invalid address."
255 msgstr "I<liste> hat eine ungültige Adresse."
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 "B<getgroups>() can additionally fail with the following error:"
261 msgstr "B<getgroups>() kann außerdem mit dem folgenden Fehler fehlschlagen:"
262
263 #. type: TP
264 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
265 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
266 #, no-wrap
267 msgid "B<EINVAL>"
268 msgstr "B<EINVAL>"
269
270 #. type: Plain text
271 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
272 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
273 msgid ""
274 "I<size> is less than the number of supplementary group IDs, but is not zero."
275 msgstr ""
276 "I<Größe> ist kleiner als die Anzahl der zusätzlichen Gruppenkennungen, aber "
277 "nicht Null."
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 "B<setgroups>() can additionally fail with the following errors:"
283 msgstr "B<setgroups>() kann überdies mit den folgenden Fehlern fehlschlagen:"
284
285 #. type: Plain text
286 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
287 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
288 msgid ""
289 "I<size> is greater than B<NGROUPS_MAX> (32 before Linux 2.6.4; 65536 since "
290 "Linux 2.6.4)."
291 msgstr ""
292 "I<Größe> ist größer als B<NGROUPS_MAX> (32 vor Linux 2.6.4; 65536 seit Linux "
293 "2.6.4)."
294
295 #. type: TP
296 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
297 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
298 #, no-wrap
299 msgid "B<ENOMEM>"
300 msgstr "B<ENOMEM>"
301
302 #. type: Plain text
303 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
304 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
305 msgid "Out of memory."
306 msgstr "Speicher aufgebraucht."
307
308 #. type: TP
309 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
310 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
311 #, no-wrap
312 msgid "B<EPERM>"
313 msgstr "B<EPERM>"
314
315 #. type: Plain text
316 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
317 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
318 msgid ""
319 "The calling process has insufficient privilege (the caller does not have the "
320 "B<CAP_SETGID> capability in the user namespace in which it resides)."
321 msgstr ""
322 "Der aufrufende Prozess hat unzureichende Rechte (dem Aufrufenden fehlt die "
323 "B<CAP_SETGID>-Capability in dem Benutzernamensraum, in dem er sich befindet)."
324
325 #. type: TP
326 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
327 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
328 #, no-wrap
329 msgid "B<EPERM> (since Linux 3.19)"
330 msgstr "B<EPERM> (seit Linux 3.19)"
331
332 #. type: Plain text
333 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
334 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
335 msgid ""
336 "The use of B<setgroups>() is denied in this user namespace. See the "
337 "description of I</proc/>pidI</setgroups> in B<user_namespaces>(7)."
338 msgstr ""
339 "Die Verwendung von B<setgroups>() wird in diesem Benutzer-Namensraum "
340 "verweigert. Siehe die Beschreibung von I</proc/>pidI</setgroups> in "
341 "B<user_namespaces>(7)."
342
343 #. type: SH
344 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
345 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
346 #, no-wrap
347 msgid "VERSIONS"
348 msgstr "VERSIONEN"
349
350 #. type: SS
351 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
352 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
353 #, no-wrap
354 msgid "C library/kernel differences"
355 msgstr "Unterschiede C-Bibliothek/Kernel"
356
357 #. type: Plain text
358 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
359 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
360 msgid ""
361 "At the kernel level, user IDs and group IDs are a per-thread attribute. "
362 "However, POSIX requires that all threads in a process share the same "
363 "credentials. The NPTL threading implementation handles the POSIX "
364 "requirements by providing wrapper functions for the various system calls "
365 "that change process UIDs and GIDs. These wrapper functions (including the "
366 "one for B<setgroups>()) employ a signal-based technique to ensure that when "
367 "one thread changes credentials, all of the other threads in the process also "
368 "change their credentials. For details, see B<nptl>(7)."
369 msgstr ""
370 "Auf der Kernelebene sind Benutzer- und Gruppenkennungen Attribute pro "
371 "Thread. POSIX verlangt aber, dass sich alle Threads in einem Prozess die "
372 "gleichen Berechtigungsnachweise teilen. Die NPTL-Threading-Implementierung "
373 "behandelt die POSIX-Anforderungen durch Bereitstellung von Wrapper-"
374 "Funktionen für die verschiedenen Systemaufrufe, die die UIDs und GIDs der "
375 "Prozesse ändern. Diese Wrapper-Funktionen (darunter die für B<setgroups>()) "
376 "verwenden eine signalbasierte Technik, um sicherzustellen, dass bei der "
377 "Änderung der Berechtigungsnachweise eines Threads auch alle anderen Threads "
378 "des Prozesses ihre Berechtigungsnachweise ändern. Für Details siehe "
379 "B<nptl>(7)."
380
381 #. type: SH
382 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
383 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
384 #, no-wrap
385 msgid "STANDARDS"
386 msgstr "STANDARDS"
387
388 #. type: TP
389 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
390 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
391 #, no-wrap
392 msgid "B<getgroups>()"
393 msgstr "B<getgroups>()"
394
395 #. type: Plain text
396 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
397 #: opensuse-tumbleweed
398 msgid "POSIX.1-2024."
399 msgstr "POSIX.1-2024."
400
401 #. type: TP
402 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
403 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
404 #, no-wrap
405 msgid "B<setgroups>()"
406 msgstr "B<setgroups>()"
407
408 #. type: Plain text
409 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
410 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
411 msgid "None."
412 msgstr "Keine."
413
414 #. type: SH
415 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
416 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
417 #, no-wrap
418 msgid "HISTORY"
419 msgstr "GESCHICHTE"
420
421 #. type: Plain text
422 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
423 #: opensuse-tumbleweed
424 msgid "4.3BSD, SVr4, POSIX.1-1988."
425 msgstr "4.3BSD, SVr4, POSIX.1-1988."
426
427 #. type: Plain text
428 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
429 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
430 msgid ""
431 "SVr4, 4.3BSD. Since B<setgroups>() requires privilege, it is not covered "
432 "by POSIX.1."
433 msgstr ""
434 "SVr4, 4.3BSD. Da B<setgroups>() Privilegien benötigt, ist es nicht durch "
435 "POSIX.1 abgedeckt."
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 msgid ""
441 "The original Linux B<getgroups>() system call supported only 16-bit group "
442 "IDs. Subsequently, Linux 2.4 added B<getgroups32>(), supporting 32-bit "
443 "IDs. The glibc B<getgroups>() wrapper function transparently deals with "
444 "the variation across kernel versions."
445 msgstr ""
446 "Der Original-Linux-Systemaufruf B<getgroups>() unterstützte nur 16-Bit-"
447 "Gruppenkennungen. Nachfolgend fügte Linux 2.4 B<getgroups32>() hinzu, das 32-"
448 "Bit-Kennungen unterstützte. Die Glibc-Wrapper-Funktion B<getgroups>() stellt "
449 "die Änderungen transparent über Kernel-Versionen hinweg bereit."
450
451 #. type: SH
452 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
453 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
454 #, no-wrap
455 msgid "NOTES"
456 msgstr "ANMERKUNGEN"
457
458 #. type: Plain text
459 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
460 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
461 msgid ""
462 "A process can have up to B<NGROUPS_MAX> supplementary group IDs in addition "
463 "to the effective group ID. The constant B<NGROUPS_MAX> is defined in "
464 "I<E<lt>limits.hE<gt>>. The set of supplementary group IDs is inherited from "
465 "the parent process, and preserved across an B<execve>(2)."
466 msgstr ""
467 "Ein Prozess kann bis zu B<NGROUPS_MAX> zusätzliche Gruppenkennungen "
468 "ergänzend zur effektiven Gruppenkennung haben. Die Konstante B<NGROUPS_MAX> "
469 "ist in I<E<lt>limits.hE<gt>> definiert. Die Zusammenstellung zusätzlicher "
470 "Gruppenkennungen wird vom Elternprozess geerbt und über ein B<execve>(2) "
471 "aufbewahrt."
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 "The maximum number of supplementary group IDs can be found at run time using "
478 "B<sysconf>(3):"
479 msgstr ""
480 "Die maximale Anzahl von zusätzlichen Gruppenkennungen kann zur Laufzeit "
481 "durch Benutzung von B<sysconf>(3) bestimmt werden:"
482
483 #. type: Plain text
484 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
485 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
486 #, no-wrap
487 msgid ""
488 "long ngroups_max;\n"
489 "ngroups_max = sysconf(_SC_NGROUPS_MAX);\n"
490 msgstr ""
491 "long ngroups_max;\n"
492 "ngroups_max = sysconf(_SC_NGROUPS_MAX);\n"
493
494 #. type: Plain text
495 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
496 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
497 msgid ""
498 "The maximum return value of B<getgroups>() cannot be larger than one more "
499 "than this value. Since Linux 2.6.4, the maximum number of supplementary "
500 "group IDs is also exposed via the Linux-specific read-only file, I</proc/sys/"
501 "kernel/ngroups_max>."
502 msgstr ""
503 "Der maximale Rückgabewert von B<getgroups>() kann nicht um mehr als eins "
504 "größer als dieser Wert sein. Seit Linux 2.6.4 wird die maximale Anzahl "
505 "zusätzlicher Gruppenkennungen außerdem über die nur lesbare Linux-"
506 "spezifische Datei I</proc/sys/kernel/ngroups_max> offengelegt."
507
508 #. type: SH
509 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
510 #: opensuse-leap-16-1 opensuse-tumbleweed
511 #, no-wrap
512 msgid "EXAMPLES"
513 msgstr "BEISPIELE"
514
515 #. type: Plain text
516 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
517 #: opensuse-leap-16-1 opensuse-tumbleweed
518 #, no-wrap
519 msgid ""
520 "#include E<lt>err.hE<gt>\n"
521 "#include E<lt>stddef.hE<gt>\n"
522 "#include E<lt>stdint.hE<gt>\n"
523 "#include E<lt>stdio.hE<gt>\n"
524 "#include E<lt>stdlib.hE<gt>\n"
525 "#include E<lt>sys/types.hE<gt>\n"
526 "#include E<lt>unistd.hE<gt>\n"
527 "\\&\n"
528 "#define MALLOC(n, T) ((T *) reallocarray(NULL, n, sizeof(T)))\n"
529 "\\&\n"
530 "static gid_t *agetgroups(size_t *ngids);\n"
531 "\\&\n"
532 "int\n"
533 "main(void)\n"
534 "{\n"
535 " gid_t *gids;\n"
536 " size_t n;\n"
537 "\\&\n"
538 " gids = agetgroups(&n);\n"
539 " if (gids == NULL)\n"
540 " err(EXIT_FAILURE, \"agetgroups\");\n"
541 "\\&\n"
542 " if (n != 0) {\n"
543 " printf(\"%jd\", (intmax_t) gids[0]);\n"
544 " for (size_t i = 1; i E<lt> n; i++)\n"
545 " printf(\" %jd\", (intmax_t) gids[i]);\n"
546 " }\n"
547 " puts(\"\");\n"
548 "\\&\n"
549 " free(gids);\n"
550 " exit(EXIT_SUCCESS);\n"
551 "}\n"
552 "\\&\n"
553 "static gid_t *\n"
554 "agetgroups(size_t *ngids)\n"
555 "{\n"
556 " int n;\n"
557 " gid_t *gids;\n"
558 "\\&\n"
559 " n = getgroups(0, NULL);\n"
560 " if (n == -1)\n"
561 " return NULL;\n"
562 "\\&\n"
563 " gids = MALLOC(n, gid_t);\n"
564 " if (gids == NULL)\n"
565 " return NULL;\n"
566 "\\&\n"
567 " n = getgroups(n, gids);\n"
568 " if (n == -1) {\n"
569 " free(gids);\n"
570 " return NULL;\n"
571 " }\n"
572 "\\&\n"
573 " *ngids = n;\n"
574 " return gids;\n"
575 "}\n"
576 msgstr ""
577 "#include E<lt>err.hE<gt>\n"
578 "#include E<lt>stddef.hE<gt>\n"
579 "#include E<lt>stdint.hE<gt>\n"
580 "#include E<lt>stdio.hE<gt>\n"
581 "#include E<lt>stdlib.hE<gt>\n"
582 "#include E<lt>sys/types.hE<gt>\n"
583 "#include E<lt>unistd.hE<gt>\n"
584 "\\&\n"
585 "#define MALLOC(n, T) ((T *) reallocarray(NULL, n, sizeof(T)))\n"
586 "\\&\n"
587 "static gid_t *agetgroups(size_t *ngids);\n"
588 "\\&\n"
589 "int\n"
590 "main(void)\n"
591 "{\n"
592 " gid_t *gids;\n"
593 " size_t n;\n"
594 "\\&\n"
595 " gids = agetgroups(&n);\n"
596 " if (gids == NULL)\n"
597 " err(EXIT_FAILURE, \"agetgroups\");\n"
598 "\\&\n"
599 " if (n != 0) {\n"
600 " printf(\"%jd\", (intmax_t) gids[0]);\n"
601 " for (size_t i = 1; i E<lt> n; i++)\n"
602 " printf(\" %jd\", (intmax_t) gids[i]);\n"
603 " }\n"
604 " puts(\"\");\n"
605 "\\&\n"
606 " free(gids);\n"
607 " exit(EXIT_SUCCESS);\n"
608 "}\n"
609 "\\&\n"
610 "static gid_t *\n"
611 "agetgroups(size_t *ngids)\n"
612 "{\n"
613 " int n;\n"
614 " gid_t *gids;\n"
615 "\\&\n"
616 " n = getgroups(0, NULL);\n"
617 " if (n == -1)\n"
618 " return NULL;\n"
619 "\\&\n"
620 " gids = MALLOC(n, gid_t);\n"
621 " if (gids == NULL)\n"
622 " return NULL;\n"
623 "\\&\n"
624 " n = getgroups(n, gids);\n"
625 " if (n == -1) {\n"
626 " free(gids);\n"
627 " return NULL;\n"
628 " }\n"
629 "\\&\n"
630 " *ngids = n;\n"
631 " return gids;\n"
632 "}\n"
633
634 #. #-#-#-#-# archlinux: getgroups.2.pot (PACKAGE VERSION) #-#-#-#-#
635 #. SRC END
636 #. type: SH
637 #. #-#-#-#-# debian-trixie: getgroups.2.pot (PACKAGE VERSION) #-#-#-#-#
638 #. type: SH
639 #. #-#-#-#-# debian-unstable: getgroups.2.pot (PACKAGE VERSION) #-#-#-#-#
640 #. SRC END
641 #. type: SH
642 #. #-#-#-#-# fedora-44: getgroups.2.pot (PACKAGE VERSION) #-#-#-#-#
643 #. SRC END
644 #. type: SH
645 #. #-#-#-#-# fedora-rawhide: getgroups.2.pot (PACKAGE VERSION) #-#-#-#-#
646 #. SRC END
647 #. type: SH
648 #. #-#-#-#-# mageia-cauldron: getgroups.2.pot (PACKAGE VERSION) #-#-#-#-#
649 #. SRC END
650 #. type: SH
651 #. #-#-#-#-# opensuse-leap-16-1: getgroups.2.pot (PACKAGE VERSION) #-#-#-#-#
652 #. SRC END
653 #. type: SH
654 #. #-#-#-#-# opensuse-tumbleweed: getgroups.2.pot (PACKAGE VERSION) #-#-#-#-#
655 #. SRC END
656 #. type: SH
657 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
658 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
659 #, no-wrap
660 msgid "SEE ALSO"
661 msgstr "SIEHE AUCH"
662
663 #. type: Plain text
664 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
665 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
666 msgid ""
667 "B<getgid>(2), B<setgid>(2), B<getgrouplist>(3), B<group_member>(3), "
668 "B<initgroups>(3), B<capabilities>(7), B<credentials>(7)"
669 msgstr ""
670 "B<getgid>(2), B<setgid>(2), B<getgrouplist>(3), B<group_member>(3), "
671 "B<initgroups>(3), B<capabilities>(7), B<credentials>(7)"
672
673 #. type: TH
674 #: debian-trixie
675 #, no-wrap
676 msgid "2024-05-02"
677 msgstr "2. Mai 2024"
678
679 #. type: TH
680 #: debian-trixie
681 #, no-wrap
682 msgid "Linux man-pages 6.9.1"
683 msgstr "Linux man-pages 6.9.1"
684
685 #. type: Plain text
686 #: debian-trixie
687 msgid "Standard C library (I<libc>, I<-lc>)"
688 msgstr "Standard-C-Bibliothek (I<libc>, I<-lc>)"
689
690 #. type: Plain text
691 #: debian-trixie
692 #, no-wrap
693 msgid "B<int getgroups(int >I<size>B<, gid_t >I<list>B<[]);>\n"
694 msgstr "B<int getgroups(int >I<Größe>B<, gid_t >I<Liste>B<[]);>\n"
695
696 #. type: Plain text
697 #: debian-trixie
698 #, no-wrap
699 msgid "B<int setgroups(size_t >I<size>B<, const gid_t *_Nullable >I<list>B<);>\n"
700 msgstr "B<int setgroups(size_t >I<Größe>B<, const gid_t *_Nullable >I<Liste>B<);>\n"
701
702 #. type: Plain text
703 #: debian-trixie fedora-44 fedora-rawhide
704 #, no-wrap
705 msgid "setgroups(0, NULL);\n"
706 msgstr "setgroups(0, NULL);\n"
707
708 #. type: Plain text
709 #: debian-trixie fedora-44 fedora-rawhide
710 msgid "POSIX.1-2008."
711 msgstr "POSIX.1-2008."
712
713 #. type: Plain text
714 #: debian-trixie fedora-44 fedora-rawhide
715 msgid "SVr4, 4.3BSD, POSIX.1-2001."
716 msgstr "SVr4, 4.3BSD, POSIX.1-2001."
717
718 #. type: TH
719 #: fedora-44 fedora-rawhide
720 #, no-wrap
721 msgid "2024-12-14"
722 msgstr "14. Dezember 2024"
723
724 #. type: TH
725 #: fedora-44 fedora-rawhide
726 #, no-wrap
727 msgid "Linux man-pages 6.13"
728 msgstr "Linux man-pages 6.13"
729
730 #. type: Plain text
731 #: fedora-44 fedora-rawhide
732 #, no-wrap
733 msgid "B<int getgroups(int >I<size>B<, gid_t >I<list>B<[_Nullable .>I<size>B<]);>\n"
734 msgstr "B<int getgroups(int >I<Größe>B<, gid_t >I<Liste>B<[_Nullable .>I<Größe>B<]);>\n"
735
736 #. type: Plain text
737 #: fedora-44 fedora-rawhide
738 #, no-wrap
739 msgid "B<int setgroups(size_t >I<size>B<, const gid_t >I<list>B<[_Nullable .>I<size>B<]);>\n"
740 msgstr "B<int setgroups(size_t >I<Größe>B<, const gid_t >I<Liste>B<[_Nullable .>I<Größe>B<]);>\n"
741
742 #. type: TH
743 #: mageia-cauldron
744 #, no-wrap
745 msgid "Linux man-pages 6.17"
746 msgstr "Linux man-pages 6.17"
747
748 #. type: TH
749 #: opensuse-leap-16-1 opensuse-tumbleweed
750 #, no-wrap
751 msgid "Linux man-pages (unreleased)"
752 msgstr "Linux man-pages (unveröffentlicht)"