diff options
author | 2020-04-07 17:39:10 +0200 | |
---|---|---|
committer | 2020-04-07 17:39:10 +0200 | |
commit | 31330febe33bd66eca4d2ab5fb6f56da5170d2f1 (patch) | |
tree | 74544e335fe83aa1bc0d4b91ff5c3376c3a7a31b /app-emulation/vmware-modules/files/308-5.03-00-force_sig.patch | |
parent | app-emulation/vmware-modules: fixes for kernel 5.1 (diff) | |
download | vmware-31330febe33bd66eca4d2ab5fb6f56da5170d2f1.tar.gz vmware-31330febe33bd66eca4d2ab5fb6f56da5170d2f1.tar.bz2 vmware-31330febe33bd66eca4d2ab5fb6f56da5170d2f1.zip |
app-emulation/vmware-modules: fixes for kernel 5.3
Added patch to face the following upstream commit:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=3cf5d076fb4d
This closes also issue #49 on github, thanks to hlandgarten
Signed-off-by: Fabio Rossi <rossi.f@inwind.it>
Diffstat (limited to 'app-emulation/vmware-modules/files/308-5.03-00-force_sig.patch')
-rw-r--r-- | app-emulation/vmware-modules/files/308-5.03-00-force_sig.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/app-emulation/vmware-modules/files/308-5.03-00-force_sig.patch b/app-emulation/vmware-modules/files/308-5.03-00-force_sig.patch new file mode 100644 index 0000000..ad19156 --- /dev/null +++ b/app-emulation/vmware-modules/files/308-5.03-00-force_sig.patch @@ -0,0 +1,14 @@ +--- ./vmmon-only/linux/hostif.c 2019-08-09 11:03:35.984541672 +0200 ++++ ./vmmon-only/linux/hostif.c.new 2019-08-09 11:37:39.484542449 +0200 +@@ -3583,7 +3583,11 @@ + } + } else { + if (linuxState.fastClockThread) { ++#if LINUX_VERSION_CODE > KERNEL_VERSION(5, 2, 99) ++ send_sig(SIGKILL, linuxState.fastClockThread, 1); ++#else + force_sig(SIGKILL, linuxState.fastClockThread); ++#endif + kthread_stop(linuxState.fastClockThread); + close_rtc(linuxState.fastClockFile, current->files); + |