kernel/sys.c: for setfsuid(), return the current uid when error occurs
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest0 of 2 patches 0 repliesNew
Patches in v1 No applies recorded yet
None of the 2 patches the cover letter announces are in this archive.
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] kernel/sys.c: for setfsuid(), return the current uid when error occurs
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 <[email protected]>
--
kernel/sys.c | 14 ++++++-------- 1 files changed, 6 insertions(+), 8 deletions(-)