WSL2-Linux-Kernel/security/tomoyo
Herton Ronaldo Krzesinski b1338d199d tomoyo: add missing call to cap_bprm_set_creds
cap_bprm_set_creds() has to be called from security_bprm_set_creds().
TOMOYO forgot to call cap_bprm_set_creds() from tomoyo_bprm_set_creds()
and suid executables were not being working.

Make sure we call cap_bprm_set_creds() with TOMOYO, to set credentials
properly inside tomoyo_bprm_set_creds().

Signed-off-by: Herton Ronaldo Krzesinski <herton@mandriva.com.br>
Acked-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Signed-off-by: James Morris <jmorris@namei.org>
2009-05-27 09:46:48 +10:00
..
Kconfig Kconfig and Makefile 2009-02-12 15:19:00 +11:00
Makefile Kconfig and Makefile 2009-02-12 15:19:00 +11:00
common.c Reduce path_lookup() abuses 2009-05-09 10:49:42 -04:00
common.h tomoyo: version bump to 2.2.0. 2009-04-14 09:15:02 +10:00
domain.c tomoyo: version bump to 2.2.0. 2009-04-14 09:15:02 +10:00
file.c tomoyo: version bump to 2.2.0. 2009-04-14 09:15:02 +10:00
realpath.c Reduce path_lookup() abuses 2009-05-09 10:49:42 -04:00
realpath.h tomoyo: version bump to 2.2.0. 2009-04-14 09:15:02 +10:00
tomoyo.c tomoyo: add missing call to cap_bprm_set_creds 2009-05-27 09:46:48 +10:00
tomoyo.h tomoyo: version bump to 2.2.0. 2009-04-14 09:15:02 +10:00