Subject: Re: compat linux setfsuid retval fix and getfsuid/setfsgid exchange
To: Nicolas Joly <njoly@pasteur.fr>
From: David Laight <david@l8s.co.uk>
List: tech-kern
Date: 12/21/2007 20:51:45
On Fri, Dec 21, 2007 at 08:59:32PM +0100, Nicolas Joly wrote:
>
> Hi,
>
> While making some regression tests under compat linux/linux32, i
> noticed the following:
>
> - setfsuid syscall is expected to return an uid, but our
> implementation always returns 0 on success.
>
> - getfsuid ... AFAIK, this syscall never existed in Linux (seems to
> come from PR/9335). It should be replaced by setfsgid instead ...
>
> I'd like to commit the attached patch which fix both.
> Any objections ?
Go for it ...
David
--
David Laight: david@l8s.co.uk