[PATCH 4.10 27/69] x86/vdso: Plug race between mapping and ELF header setup

2017-04-19 Thread Greg Kroah-Hartman
4.10-stable review patch. If anyone has any objections, please let me know. -- From: Thomas Gleixner commit 6fdc6dd90272ce7e75d744f71535cfbd8d77da81 upstream. The vsyscall32 sysctl can racy against a concurrent fork when it switches from disabled to

[PATCH 4.10 27/69] x86/vdso: Plug race between mapping and ELF header setup

2017-04-19 Thread Greg Kroah-Hartman
4.10-stable review patch. If anyone has any objections, please let me know. -- From: Thomas Gleixner commit 6fdc6dd90272ce7e75d744f71535cfbd8d77da81 upstream. The vsyscall32 sysctl can racy against a concurrent fork when it switches from disabled to enabled: