cvs commit: src/libexec/tftpd tftpd.c
Christian S.J. Peron
csjp at freebsd.org
Wed Jun 30 12:00:52 PDT 2004
On 30 Jun 2004 Christian S.J. Peron wrote:
> 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
Whoops, forgot:
Approved by: bmilekic (mentor)
More information about the cvs-src
mailing list