# git rev-parse -q --verify 5ad18b2e60b75c7297a998dea702451d33a052ed^{commit} 5ad18b2e60b75c7297a998dea702451d33a052ed already have revision, skipping fetch # git checkout -q -f -B kisskb 5ad18b2e60b75c7297a998dea702451d33a052ed # git clean -qxdf # < git log -1 # commit 5ad18b2e60b75c7297a998dea702451d33a052ed # Merge: 92c1d6522135 318759b4737c # Author: Linus Torvalds # Date: Mon Jul 8 21:48:15 2019 -0700 # # Merge branch 'siginfo-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace # # Pull force_sig() argument change from Eric Biederman: # "A source of error over the years has been that force_sig has taken a # task parameter when it is only safe to use force_sig with the current # task. # # The force_sig function is built for delivering synchronous signals # such as SIGSEGV where the userspace application caused a synchronous # fault (such as a page fault) and the kernel responded with a signal. # # Because the name force_sig does not make this clear, and because the # force_sig takes a task parameter the function force_sig has been # abused for sending other kinds of signals over the years. Slowly those # have been fixed when the oopses have been tracked down. # # This set of changes fixes the remaining abusers of force_sig and # carefully rips out the task parameter from force_sig and friends # making this kind of error almost impossible in the future" # # * 'siginfo-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace: (27 commits) # signal/x86: Move tsk inside of CONFIG_MEMORY_FAILURE in do_sigbus # signal: Remove the signal number and task parameters from force_sig_info # signal: Factor force_sig_info_to_task out of force_sig_info # signal: Generate the siginfo in force_sig # signal: Move the computation of force into send_signal and correct it. # signal: Properly set TRACE_SIGNAL_LOSE_INFO in __send_signal # signal: Remove the task parameter from force_sig_fault # signal: Use force_sig_fault_to_task for the two calls that don't deliver to current # signal: Explicitly call force_sig_fault on current # signal/unicore32: Remove tsk parameter from __do_user_fault # signal/arm: Remove tsk parameter from __do_user_fault # signal/arm: Remove tsk parameter from ptrace_break # signal/nds32: Remove tsk parameter from send_sigtrap # signal/riscv: Remove tsk parameter from do_trap # signal/sh: Remove tsk parameter from force_sig_info_fault # signal/um: Remove task parameter from send_sigtrap # signal/x86: Remove task parameter from send_sigtrap # signal: Remove task parameter from force_sig_mceerr # signal: Remove task parameter from force_sig # signal: Remove task parameter from force_sigsegv # ... # < /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/s390-linux/bin/s390-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/s390-linux/bin/s390-linux-ld --version # < git log --format=%s --max-count=1 5ad18b2e60b75c7297a998dea702451d33a052ed # < make -s -j 10 ARCH=s390 O=/kisskb/build/linus_s390-allyesconfig_s390x-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/s390-linux/bin/s390-linux- allyesconfig # Added to kconfig CONFIG_BUILD_DOCSRC=n # Added to kconfig CONFIG_MODULE_SIG=n # yes \n | make -s -j 10 ARCH=s390 O=/kisskb/build/linus_s390-allyesconfig_s390x-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/s390-linux/bin/s390-linux- oldconfig yes: standard output: Broken pipe # make -s -j 10 ARCH=s390 O=/kisskb/build/linus_s390-allyesconfig_s390x-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/s390-linux/bin/s390-linux- /kisskb/src/lib/test_kasan.c: In function 'kasan_alloca_oob_left': /kisskb/src/lib/test_kasan.c:487:1: warning: 'kasan_alloca_oob_left' uses dynamic stack allocation } ^ /kisskb/src/lib/test_kasan.c: In function 'kasan_alloca_oob_right': /kisskb/src/lib/test_kasan.c:497:1: warning: 'kasan_alloca_oob_right' uses dynamic stack allocation } ^ /kisskb/src/drivers/hwtracing/intel_th/msu.c: In function 'msc_buffer_win_alloc': /kisskb/src/drivers/hwtracing/intel_th/msu.c:783:21: warning: unused variable 'i' [-Wunused-variable] int ret = -ENOMEM, i; ^ /kisskb/src/drivers/hwtracing/intel_th/msu.c: In function 'msc_buffer_win_free': /kisskb/src/drivers/hwtracing/intel_th/msu.c:863:6: warning: unused variable 'i' [-Wunused-variable] int i; ^ /kisskb/src/drivers/input/joystick/analog.c:160:2: warning: #warning Precise timer not defined for this architecture. [-Wcpp] #warning Precise timer not defined for this architecture. ^~~~~~~ In file included from /kisskb/src/drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:40: /kisskb/src/drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c: In function 'mvpp2_setup_bm_pool': /kisskb/src/drivers/net/ethernet/marvell/mvpp2/mvpp2.h:614:2: warning: overflow in conversion from 'long unsigned int' to 'int' changes value from '18446744073709551584' to '-32' [-Woverflow] ((total_size) - NET_SKB_PAD - MVPP2_SKB_SHINFO_SIZE) ^ /kisskb/src/drivers/net/ethernet/marvell/mvpp2/mvpp2.h:677:33: note: in expansion of macro 'MVPP2_RX_MAX_PKT_SIZE' #define MVPP2_BM_SHORT_PKT_SIZE MVPP2_RX_MAX_PKT_SIZE(MVPP2_BM_SHORT_FRAME_SIZE) ^~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:551:41: note: in expansion of macro 'MVPP2_BM_SHORT_PKT_SIZE' mvpp2_pools[MVPP2_BM_SHORT].pkt_size = MVPP2_BM_SHORT_PKT_SIZE; ^~~~~~~~~~~~~~~~~~~~~~~ Completed OK # rm -rf /kisskb/build/linus_s390-allyesconfig_s390x-gcc8 # Build took: 0:20:11.413412