cvs commit: src/libexec/tftpd tftpd.c

Christian S.J. Peron csjp at FreeBSD.org
Wed Jun 30 11:58:34 PDT 2004


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


More information about the cvs-src mailing list