Re: BSD vs SYSV: setgroups()

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Johan Danielsson
Dátum:  
Címzett: grobh
CC: ph10, exim-users
Tárgy: Re: BSD vs SYSV: setgroups()
Hans Grobler <grobh@???> writes:

> Sum-more:


NetBSD 1.2
----------
count = 7
0 2 3 4 5 20 31
setgroups(0,NULL) succeeded
count = 0

gid = 8
count = 0

BSD/OS 2.1
----------
count = 6
0 0 3 4 6 117
setgroups(0,NULL) failed: Invalid argument
setgroups(1,grouplist) succeeded
count = 1
0
gid = 8
count = 1
8

BSDi 1.1
--------
count = 6
0 0 3 4 6 117
setgroups(0,NULL) failed: Invalid argument
setgroups(1,grouplist) succeeded
count = 1
0
gid = 8
count = 1
8

UXP/V 4.1
---------
count = 13
1 0 2 3 4 5 6 7 8 9 10 12 13
setgroups(0,NULL) succeeded
count = 0

gid = 8
count = 0

UNICOS 9.0.2.3
--------------
count = 2
0 9
setgroups(0,NULL) succeeded
count = 0

gid = 8
count = 1
8

/Johan