diff options
Diffstat (limited to 'uksm-patch-for-5.4.33+.patch')
-rw-r--r-- | uksm-patch-for-5.4.33+.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/uksm-patch-for-5.4.33+.patch b/uksm-patch-for-5.4.33+.patch new file mode 100644 index 000000000000..54b4101cfc30 --- /dev/null +++ b/uksm-patch-for-5.4.33+.patch @@ -0,0 +1,11 @@ +--- uksm-5.4.patch 2020-01-02 19:55:25.000000000 +0800 ++++ uksm-5.4.33.patch 2020-04-29 17:04:58.000000000 +0800 +@@ -80,7 +80,7 @@ + @@ -1384,6 +1385,7 @@ void setup_new_exec(struct linux_binprm * bprm) + /* An exec changes our domain. We are no longer part of the thread + group */ +- current->self_exec_id++; ++ WRITE_ONCE(current->self_exec_id, current->self_exec_id + 1); + + + flush_signal_handlers(current, 0); + } |