[PATCH 0/2] kernel/sys.c: for setfsgid(), return the current gidwhen error occurs

From: Chen Gang
Date: Tue Aug 06 2013 - 04:01:53 EST


They are 2 related patches for setfsgid().

Patch 1 for bug fix: return the current gid when error occurs.
Patch 2 for cleaning code: remove useless variable 'old_fsgid'.

Signed-off-by: Chen Gang <gang.chen@xxxxxxxxxxx>
--
kernel/sys.c | 15 +++++----------
1 files changed, 5 insertions(+), 10 deletions(-)
--
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/