]> git.baikalelectronics.ru Git - kernel.git/commit
exec: clarify reasoning for euid/egid reset
authorKees Cook <keescook@chromium.org>
Tue, 17 May 2016 19:14:39 +0000 (12:14 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 17 May 2016 20:56:53 +0000 (13:56 -0700)
commit6ac47bf4363cd08ed03ffb173e20854cee8b662c
tree766b14f48de74fcc5bac718599070fd3aab7fcee
parentc852f5ea7ccf028c95076414799c7dab9e7d2f56
exec: clarify reasoning for euid/egid reset

This section of code initially looks redundant, but is required. This
improves the comment to explain more clearly why the reset is needed.

Signed-off-by: Kees Cook <keescook@chromium.org>
Acked-by: Serge E. Hallyn <serge.hallyn@ubuntu.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/exec.c