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

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


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(-)

--
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/