From: Eric W. Biederman Date: Thu, 28 May 2020 03:37:33 +0000 (-0500) Subject: Merge commit a4ae32c71fe9 ("exec: Always set cap_ambient in cap_bprm_set_creds") X-Git-Tag: v5.8-rc1~144^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e32f8879019535b899bc3d51f371e17526f208d1;p=thirdparty%2Flinux.git Merge commit a4ae32c71fe9 ("exec: Always set cap_ambient in cap_bprm_set_creds") This is a bug fix and one of two places where I have found that the result of calling security_bprm_repopulate_creds more than once on different bprm->files depends on all of the bprm->files not just the file bprm->file. I intend to fix both of those cases and then modify the code to only call security_bprm_repopulate_creds on the final bprm file. So merge this change in so I hopefully reduce conflicts for others and I make it possible to build on top of this change. Signed-off-by: "Eric W. Biederman" --- e32f8879019535b899bc3d51f371e17526f208d1