Re: BSD vs SYSV: setgroups()

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Hans Grobler
Fecha:  
A: ph10
Cc: exim-users
Asunto: Re: BSD vs SYSV: setgroups()
On Wed, 16 Apr 1997, Philip Hazel wrote:
> If people could try this out as root on various other OS, I'd be
> grateful. Please post the results to save too many people doing it.


Sum-more:

          -----------------------------------------------


      # uname -a
      Linux xxx 2.0.29 #5 Wed Feb 19 08:50:27 SAT 1997 i686


      # ./test
      count = 7
      0 1 2 3 4 6 10
      setgroups(0,NULL) succeeded
      count = 0


      gid = 8
      count = 0


          -----------------------------------------------


      # uname -a
    dgux xxx 5.4R2.01 generic AViiON mc88100


    # ./test
    count = 8
    0 0 0 0 0 0 0 0
    setgroups(0,NULL) succeeded
    count = 0


    gid = 8
    count = 0


          -----------------------------------------------


    # uname -a
    HP-UX xxx A.09.01 A 9000/720 2015509795 two-user license


    # ./test
    count = 1
    2020
    setgroups(0,NULL) succeeded
    count = 0


    gid = 8
    count = 0


      -----------------------------------------------


    # uname -a
    IRIX64 xxx 6.2 06101031 IP28


    # ./test
    count = 5
    0 1 2 3 4
    setgroups(0,NULL) succeeded
    count = 0


    gid = 8
    count = 0


          -----------------------------------------------


        # uname -a
    IRIX64 xxx 6.4 02121744 IP27


    # ./test
    count = 5
    0 1 2 3 4
    setgroups(0,NULL) succeeded
    count = 0


    gid = 8
    count = 0


          -----------------------------------------------


Regards,
Hans
--
Hans Grobler <grobh@???>
Department Electrical & Electronic Engineering
University of Stellenbosch, South Africa