Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Jun 2004 22:07:28 +0000
From:      "Christian S.J. Peron" <csjp@freebsd.org>
To:        src-committers@freebsd.org, cvs-src@freebsd.org, cvs-all@freebsd.org
Subject:   Re: cvs commit: src/libexec/tftpd tftpd.c
Message-ID:  <20040630220728.GA95092@freefall.freebsd.org>
In-Reply-To: <200406301858.i5UIwJkB047720@repoman.freebsd.org>
References:  <200406301858.i5UIwJkB047720@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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

grrr also 
Pointed out by:	John Fleming (john_fleming at compusa dot com)



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