Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Jun 2004 18:58:19 +0000 (UTC)
From:      "Christian S.J. Peron" <csjp@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/libexec/tftpd tftpd.c
Message-ID:  <200406301858.i5UIwJkB047720@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
csjp        2004-06-30 18:58:19 UTC

  FreeBSD src repository

  Modified files:
    libexec/tftpd        tftpd.c 
  Log:
  The call to setuid(2) subsequently causes setgroups(2) to fail. setgroups(2)
  requires super-user access in order to complete successfully.
  Move setgroups(2) to execute before setuid(2) so that it is successful.
  
  Revision  Changes    Path
  1.33      +2 -2      src/libexec/tftpd/tftpd.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200406301858.i5UIwJkB047720>