diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2020-04-02 18:17:50 -0500 |
---|---|---|
committer | Eric W. Biederman <ebiederm@xmission.com> | 2020-05-07 16:55:47 -0500 |
commit | 1507b7a30ad284a2a136ee79c214c0e86c62da64 (patch) | |
tree | 497978df3e8e7bfc0ac1220fa13bd846bbbb7c05 /include/linux | |
parent | 89826cce37542f7950e8f4b9258284805e98430c (diff) | |
download | linux-stable-1507b7a30ad284a2a136ee79c214c0e86c62da64.tar.gz linux-stable-1507b7a30ad284a2a136ee79c214c0e86c62da64.tar.bz2 linux-stable-1507b7a30ad284a2a136ee79c214c0e86c62da64.zip |
exec: Rename the flag called_exec_mmap point_of_no_return
Update the comments and make the code easier to understand by
renaming this flag.
Reviewed-by: Kees Cook <keescook@chromium.org>
Reviewed-by: Greg Ungerer <gerg@linux-m68k.org>
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/binfmts.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/binfmts.h b/include/linux/binfmts.h index 6f564b9ad882..8f479dad7931 100644 --- a/include/linux/binfmts.h +++ b/include/linux/binfmts.h @@ -46,10 +46,10 @@ struct linux_binprm { */ secureexec:1, /* - * Set by flush_old_exec, when exec_mmap has been called. - * This is past the point of no return. + * Set when errors can no longer be returned to the + * original userspace. */ - called_exec_mmap:1; + point_of_no_return:1; #ifdef __alpha__ unsigned int taso:1; #endif |