diff for duplicates of <87zi248nte.fsf_-_@xmission.com> diff --git a/a/content_digest b/N1/content_digest index b6df46f..ace0946 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -21,7 +21,7 @@ ppc-dev <linuxppc-dev@lists.ozlabs.org> linux-arm-kernel <linux-arm-kernel@lists.infradead.org> Russell King - ARM Linux <linux@armlinux.org.uk> - " linux-arch@vger.kernel.org\0" + " <linux-arch@vger.kernel.org>\0" "\00:1\0" "b\0" "\n" @@ -1579,4 +1579,4 @@ "-- \n" 2.14.1 -20f69c6b2a545a4d3f046a5bf20a8e07d2aad2f783fea06a9b074395cf580ab6 +17635ce990d060e62c264a17fe171639283e67cdfb415c4f40891d8d388d6ec4
diff --git a/a/1.txt b/N2/1.txt index 5a521b9..bd5bbed 100644 --- a/a/1.txt +++ b/N2/1.txt @@ -140,8 +140,8 @@ index f43bd05dede2..91636765dd6d 100644 int signo, code; + clear_siginfo(&info); - if ((regs->ps & ~IPL_MAX) == 0) { - if (type == 1) { + if ((regs->ps & ~IPL_MAX) = 0) { + if (type = 1) { const unsigned int *data @@ -430,6 +432,7 @@ do_entDbg(struct pt_regs *regs) @@ -208,7 +208,7 @@ index 3bda08bee674..dfcb456afadd 100644 + clear_siginfo(&info); down_read(¤t->mm->mmap_sem); - if (find_vma(current->mm, addr) == NULL) + if (find_vma(current->mm, addr) = NULL) info.si_code = SEGV_MAPERR; diff --git a/arch/arm/kernel/traps.c b/arch/arm/kernel/traps.c index 5e3633c24e63..2584f9066da3 100644 @@ -221,7 +221,7 @@ index 5e3633c24e63..2584f9066da3 100644 + clear_siginfo(&info); pc = (void __user *)instruction_pointer(regs); - if (processor_mode(regs) == SVC_MODE) { + if (processor_mode(regs) = SVC_MODE) { @@ -537,6 +538,7 @@ static int bad_syscall(int n, struct pt_regs *regs) { siginfo_t info; @@ -270,8 +270,8 @@ index b75eada23d0a..6e4e43dbdfa6 100644 + clear_siginfo(&si); + #ifdef CONFIG_DEBUG_USER - if (((user_debug & UDBG_SEGV) && (sig == SIGSEGV)) || - ((user_debug & UDBG_BUS) && (sig == SIGBUS))) { + if (((user_debug & UDBG_SEGV) && (sig = SIGSEGV)) || + ((user_debug & UDBG_BUS) && (sig = SIGBUS))) { @@ -550,6 +552,7 @@ do_DataAbort(unsigned long addr, unsigned int fsr, struct pt_regs *regs) const struct fsr_info *inf = fsr_info + fsr_fs(fsr); struct siginfo info; @@ -476,7 +476,7 @@ index 54547c7cf8a2..d1234a5ba4c5 100644 struct siginfo si; + clear_siginfo(&si); - if (sig == SIGSEGV) { + if (sig = SIGSEGV) { /* * Acquiring siglock around the sa_handler-update is almost diff --git a/arch/ia64/kernel/traps.c b/arch/ia64/kernel/traps.c @@ -498,7 +498,7 @@ index 6d4e76a4267f..972873ed1ae5 100644 - struct siginfo siginfo; fault_ip = regs->cr_iip; - if (!fp_fault && (ia64_psr(regs)->ri == 0)) + if (!fp_fault && (ia64_psr(regs)->ri = 0)) @@ -344,10 +344,13 @@ handle_fpu_swa (int fp_fault, struct pt_regs *regs, unsigned long isr) printk(KERN_ERR "handle_fpu_swa: fp_emulate() returned -1\n"); return -1; @@ -547,7 +547,7 @@ index 6d4e76a4267f..972873ed1ae5 100644 + struct siginfo siginfo; void __user *addr; - if (((isr >> 4) & 0xf) == 2) { + if (((isr >> 4) & 0xf) = 2) { @@ -499,6 +505,7 @@ ia64_fault (unsigned long vector, unsigned long isr, unsigned long ifa, addr = (void __user *) (regs.cr_iip + ia64_psr(®s)->ri); @@ -585,7 +585,7 @@ index 6d4e76a4267f..972873ed1ae5 100644 case 32: /* fp fault */ case 33: /* fp trap */ - result = handle_fpu_swa((vector == 32) ? 1 : 0, ®s, isr); + result = handle_fpu_swa((vector = 32) ? 1 : 0, ®s, isr); if ((result < 0) || (current->thread.flags & IA64_THREAD_FPEMU_SIGFPE)) { + struct siginfo siginfo; + @@ -647,7 +647,7 @@ index c1cc4e99aa94..0a00b476236d 100644 + clear_siginfo(&info); if (fp->ptregs.sr & PS_S) { - if (vector == VEC_TRACE) { + if (vector = VEC_TRACE) { /* traced a trapping instruction on a 68020/30, @@ -1163,6 +1164,7 @@ asmlinkage void fpemu_signal(int signal, int code, void *addr) { @@ -850,7 +850,7 @@ index c919e6c0a687..cce2a63bd8f7 100644 struct siginfo si; + clear_siginfo(&si); - if (code == 1) + if (code = 1) pdc_console_restart(); /* switch back to pdc if HPMC */ else diff --git a/arch/parisc/kernel/unaligned.c b/arch/parisc/kernel/unaligned.c @@ -989,7 +989,7 @@ index a5297a22bc1e..3ba649d8aa5a 100644 int is_uprobe_insn = 0; @@ -178,6 +179,8 @@ void illegal_op(struct pt_regs *regs) return; - if (*((__u16 *) opcode) == S390_BREAKPOINT_U16) { + if (*((__u16 *) opcode) = S390_BREAKPOINT_U16) { if (current->ptrace) { + siginfo_t info; + clear_siginfo(&info); @@ -1431,8 +1431,7 @@ index 03f3d7695dac..a535dd64de63 100644 --- a/arch/x86/kernel/traps.c +++ b/arch/x86/kernel/traps.c @@ -299,6 +299,7 @@ static void do_error_trap(struct pt_regs *regs, long error_code, char *str, - if (notify_die(DIE_TRAP, str, regs, error_code, trapnr, signr) != - NOTIFY_STOP) { + if (notify_die(DIE_TRAP, str, regs, error_code, trapnr, signr) ! NOTIFY_STOP) { cond_local_irq_enable(regs); + clear_siginfo(&info); do_trap(trapnr, signr, str, regs, error_code, diff --git a/a/content_digest b/N2/content_digest index b6df46f..5599439 100644 --- a/a/content_digest +++ b/N2/content_digest @@ -12,7 +12,7 @@ "ref\087604sa2fu.fsf_-_@xmission.com\0" "From\0ebiederm@xmission.com (Eric W. Biederman)\0" "Subject\0[RFC PATCH 1/3] signal: Ensure every siginfo we send has all bits initialized\0" - "Date\0Sun, 15 Apr 2018 10:57:33 -0500\0" + "Date\0Sun, 15 Apr 2018 15:57:33 +0000\0" "To\0Linus Torvalds <torvalds@linux-foundation.org>\0" "Cc\0Dave Martin <Dave.Martin@arm.com>" Linux Kernel Mailing List <linux-kernel@vger.kernel.org> @@ -166,8 +166,8 @@ " \tint signo, code;\n" " \n" "+\tclear_siginfo(&info);\n" - " \tif ((regs->ps & ~IPL_MAX) == 0) {\n" - " \t\tif (type == 1) {\n" + " \tif ((regs->ps & ~IPL_MAX) = 0) {\n" + " \t\tif (type = 1) {\n" " \t\t\tconst unsigned int *data\n" "@@ -430,6 +432,7 @@ do_entDbg(struct pt_regs *regs)\n" " \n" @@ -234,7 +234,7 @@ " \n" "+\tclear_siginfo(&info);\n" " \tdown_read(¤t->mm->mmap_sem);\n" - " \tif (find_vma(current->mm, addr) == NULL)\n" + " \tif (find_vma(current->mm, addr) = NULL)\n" " \t\tinfo.si_code = SEGV_MAPERR;\n" "diff --git a/arch/arm/kernel/traps.c b/arch/arm/kernel/traps.c\n" "index 5e3633c24e63..2584f9066da3 100644\n" @@ -247,7 +247,7 @@ "+\tclear_siginfo(&info);\n" " \tpc = (void __user *)instruction_pointer(regs);\n" " \n" - " \tif (processor_mode(regs) == SVC_MODE) {\n" + " \tif (processor_mode(regs) = SVC_MODE) {\n" "@@ -537,6 +538,7 @@ static int bad_syscall(int n, struct pt_regs *regs)\n" " {\n" " \tsiginfo_t info;\n" @@ -296,8 +296,8 @@ "+\tclear_siginfo(&si);\n" "+\n" " #ifdef CONFIG_DEBUG_USER\n" - " \tif (((user_debug & UDBG_SEGV) && (sig == SIGSEGV)) ||\n" - " \t ((user_debug & UDBG_BUS) && (sig == SIGBUS))) {\n" + " \tif (((user_debug & UDBG_SEGV) && (sig = SIGSEGV)) ||\n" + " \t ((user_debug & UDBG_BUS) && (sig = SIGBUS))) {\n" "@@ -550,6 +552,7 @@ do_DataAbort(unsigned long addr, unsigned int fsr, struct pt_regs *regs)\n" " \tconst struct fsr_info *inf = fsr_info + fsr_fs(fsr);\n" " \tstruct siginfo info;\n" @@ -502,7 +502,7 @@ " \tstruct siginfo si;\n" " \n" "+\tclear_siginfo(&si);\n" - " \tif (sig == SIGSEGV) {\n" + " \tif (sig = SIGSEGV) {\n" " \t\t/*\n" " \t\t * Acquiring siglock around the sa_handler-update is almost\n" "diff --git a/arch/ia64/kernel/traps.c b/arch/ia64/kernel/traps.c\n" @@ -524,7 +524,7 @@ "-\tstruct siginfo siginfo;\n" " \n" " \tfault_ip = regs->cr_iip;\n" - " \tif (!fp_fault && (ia64_psr(regs)->ri == 0))\n" + " \tif (!fp_fault && (ia64_psr(regs)->ri = 0))\n" "@@ -344,10 +344,13 @@ handle_fpu_swa (int fp_fault, struct pt_regs *regs, unsigned long isr)\n" " \t\t\tprintk(KERN_ERR \"handle_fpu_swa: fp_emulate() returned -1\\n\");\n" " \t\t\treturn -1;\n" @@ -573,7 +573,7 @@ "+\t\t\tstruct siginfo siginfo;\n" " \t\t\tvoid __user *addr;\n" " \n" - " \t\t\tif (((isr >> 4) & 0xf) == 2) {\n" + " \t\t\tif (((isr >> 4) & 0xf) = 2) {\n" "@@ -499,6 +505,7 @@ ia64_fault (unsigned long vector, unsigned long isr, unsigned long ifa,\n" " \t\t\t\taddr = (void __user *) (regs.cr_iip\n" " \t\t\t\t\t\t\t+ ia64_psr(®s)->ri);\n" @@ -611,7 +611,7 @@ " \n" " \t case 32: /* fp fault */\n" " \t case 33: /* fp trap */\n" - " \t\tresult = handle_fpu_swa((vector == 32) ? 1 : 0, ®s, isr);\n" + " \t\tresult = handle_fpu_swa((vector = 32) ? 1 : 0, ®s, isr);\n" " \t\tif ((result < 0) || (current->thread.flags & IA64_THREAD_FPEMU_SIGFPE)) {\n" "+\t\t\tstruct siginfo siginfo;\n" "+\n" @@ -673,7 +673,7 @@ " \n" "+\tclear_siginfo(&info);\n" " \tif (fp->ptregs.sr & PS_S) {\n" - " \t\tif (vector == VEC_TRACE) {\n" + " \t\tif (vector = VEC_TRACE) {\n" " \t\t\t/* traced a trapping instruction on a 68020/30,\n" "@@ -1163,6 +1164,7 @@ asmlinkage void fpemu_signal(int signal, int code, void *addr)\n" " {\n" @@ -876,7 +876,7 @@ " \tstruct siginfo si;\n" " \n" "+\tclear_siginfo(&si);\n" - " \tif (code == 1)\n" + " \tif (code = 1)\n" " \t pdc_console_restart(); /* switch back to pdc if HPMC */\n" " \telse\n" "diff --git a/arch/parisc/kernel/unaligned.c b/arch/parisc/kernel/unaligned.c\n" @@ -1015,7 +1015,7 @@ " \tint is_uprobe_insn = 0;\n" "@@ -178,6 +179,8 @@ void illegal_op(struct pt_regs *regs)\n" " \t\t\treturn;\n" - " \t\tif (*((__u16 *) opcode) == S390_BREAKPOINT_U16) {\n" + " \t\tif (*((__u16 *) opcode) = S390_BREAKPOINT_U16) {\n" " \t\t\tif (current->ptrace) {\n" "+\t\t\t\tsiginfo_t info;\n" "+\t\t\t\tclear_siginfo(&info);\n" @@ -1457,8 +1457,7 @@ "--- a/arch/x86/kernel/traps.c\n" "+++ b/arch/x86/kernel/traps.c\n" "@@ -299,6 +299,7 @@ static void do_error_trap(struct pt_regs *regs, long error_code, char *str,\n" - " \tif (notify_die(DIE_TRAP, str, regs, error_code, trapnr, signr) !=\n" - " \t\t\tNOTIFY_STOP) {\n" + " \tif (notify_die(DIE_TRAP, str, regs, error_code, trapnr, signr) ! \t\t\tNOTIFY_STOP) {\n" " \t\tcond_local_irq_enable(regs);\n" "+\t\tclear_siginfo(&info);\n" " \t\tdo_trap(trapnr, signr, str, regs, error_code,\n" @@ -1579,4 +1578,4 @@ "-- \n" 2.14.1 -20f69c6b2a545a4d3f046a5bf20a8e07d2aad2f783fea06a9b074395cf580ab6 +afcc78715d532648fa37023a39791b7122efe506737646f0d9b2800c49c67329
diff --git a/a/content_digest b/N3/content_digest index b6df46f..6956cfd 100644 --- a/a/content_digest +++ b/N3/content_digest @@ -13,15 +13,7 @@ "From\0ebiederm@xmission.com (Eric W. Biederman)\0" "Subject\0[RFC PATCH 1/3] signal: Ensure every siginfo we send has all bits initialized\0" "Date\0Sun, 15 Apr 2018 10:57:33 -0500\0" - "To\0Linus Torvalds <torvalds@linux-foundation.org>\0" - "Cc\0Dave Martin <Dave.Martin@arm.com>" - Linux Kernel Mailing List <linux-kernel@vger.kernel.org> - Dmitry V. Levin <ldv@altlinux.org> - sparclinux <sparclinux@vger.kernel.org> - ppc-dev <linuxppc-dev@lists.ozlabs.org> - linux-arm-kernel <linux-arm-kernel@lists.infradead.org> - Russell King - ARM Linux <linux@armlinux.org.uk> - " linux-arch@vger.kernel.org\0" + "To\0linux-arm-kernel@lists.infradead.org\0" "\00:1\0" "b\0" "\n" @@ -1579,4 +1571,4 @@ "-- \n" 2.14.1 -20f69c6b2a545a4d3f046a5bf20a8e07d2aad2f783fea06a9b074395cf580ab6 +f86478ca7b006c03df2248e469025559c916551b0421fe58c9928f6346bf6c5d
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.