Re: kernel/sys.c: for setfsuid(), return the current uid when erroroccurs

From: Chen Gang
Date: Tue Aug 06 2013 - 04:15:16 EST



Please skip it, sorry for bothering you with waste information.

On 08/06/2013 04:13 PM, Chen Gang wrote:
> They are 2 related patches for setfsuid().
>
> Patch 1 for bug fix: return the current uid when error occurs.
> Patch 2 for cleaning code: remove useless variable 'old_fsuid'.
>
> Signed-off-by: Chen Gang <gang.chen@xxxxxxxxxxx>
> --
> kernel/sys.c | 14 ++++++--------
> 1 files changed, 6 insertions(+), 8 deletions(-)
>


--
Chen Gang
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/