author: Kees Cook <keescook@chromium.org> 2017-07-18 15:25:23 -0700
committer: Kees Cook <keescook@chromium.org> 2017-08-01 12:02:48 -0700
commit: ddb4a1442def2a78b91a85b4251fb712ef23662b
parent: 520eccdfe187591a51ea9ab4c1a024ae4d0f68d9
Commit Summary:
Diffstat:
1 file changed, 1 insertion, 1 deletion
diff --git a/fs/binfmt_flat.c b/fs/binfmt_flat.c
index a1e6860b6f46..604a176df0c2 100644
--- a/fs/binfmt_flat.c
+++ b/fs/binfmt_flat.c
@@ -890,7 +890,7 @@ static int load_flat_shared_library(int id, struct lib_info *libs)
* as we're past the point of no return and are dealing with shared
* libraries.
*/
- bprm.cred_prepared = 1;
+ bprm.called_set_creds = 1;
res = prepare_binprm(&bprm);