aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/signal_32.c
AgeCommit message (Expand)AuthorFilesLines
2023-06-09powerpc/signal32: Force inlining of __unsafe_save_user_regs() and save_tm_use...Christophe Leroy1-6/+9
2022-09-28powerpc: Include all arch-specific syscall prototypesRohan McLure1-1/+1
2022-05-19powerpc/signal: Report minimum signal frame size to userspace via AT_MINSIGSTKSZNicholas Piggin1-0/+6
2021-12-02powerpc/signal32: Use struct_group() to zero spe regsKees Cook1-5/+9
2021-11-19signal: Replace force_fatal_sig with force_exit_sig when in doubtEric W. Biederman1-1/+1
2021-11-10Merge branch 'exit-cleanups-for-v5.16' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-2/+4
2021-10-29signal: Replace force_sigsegv(SIGSEGV) with force_fatal_sig(SIGSEGV)Eric W. Biederman1-1/+1
2021-10-25signal/powerpc: On swapcontext failure force SIGSEGVEric W. Biederman1-2/+4
2021-10-18gup: Turn fault_in_pages_{readable,writeable} into fault_in_{readable,writeable}Andreas Gruenbacher1-2/+2
2021-06-25powerpc/64s: avoid reloading (H)SRR registers if they are still validNicholas Piggin1-20/+20
2021-06-17powerpc/signal32: Remove impossible #ifdef combinationsChristophe Leroy1-55/+0
2021-06-16powerpc/signal: Use PPC_RAW_xx() macrosChristophe Leroy1-7/+4
2021-04-30Merge tag 'powerpc-5.13-1' of git://git.kernel.org/pub/scm/linux/kernel/git/p...Linus Torvalds1-111/+143
2021-04-28powerpc/signal32: Fix erroneous SIGSEGV on RT signal returnChristophe Leroy1-2/+2
2021-04-14powerpc: remove partial register save logicNicholas Piggin1-3/+0
2021-04-12powerpc/signal32: Fix build failure with CONFIG_SPEChristophe Leroy1-1/+1
2021-04-03powerpc/signal32: Simplify logging in sigreturn()Christophe Leroy1-6/+7
2021-04-03powerpc/signal32: Convert do_setcontext[_tm]() to user access blockChristophe Leroy1-18/+24
2021-04-03powerpc/signal32: Convert restore_[tm]_user_regs() to user access blockChristophe Leroy1-70/+71
2021-04-03powerpc/signal32: Reorder user reads in restore_tm_user_regs()Christophe Leroy1-12/+37
2021-04-03powerpc/signal32: Perform access_ok() inside restore_user_regs()Christophe Leroy1-5/+3
2021-04-03powerpc/signal32: Remove ifdefery in middle of if/else in sigreturn()Christophe Leroy1-8/+12
2021-04-03powerpc/signal32: Rename save_user_regs_unsafe() and save_general_regs_unsafe()Christophe Leroy1-8/+8
2021-04-02powerpc/signal32: Fix Oops on sigreturn with unmapped VDSOChristophe Leroy1-12/+8
2021-03-29powerpc/signal: Use __get_user() to copy sigset_tChristopher M. Riedl1-1/+1
2021-02-11powerpc: use kernel endianness in MSR in 32-bit signal handlerJoseph J Allen1-1/+2
2020-12-04powerpc/vdso: Retrieve sigtramp offsets at buildtimeChristophe Leroy1-4/+4
2020-12-04powerpc/vdso: Replace vdso_base by vdsoChristophe Leroy1-4/+4
2020-12-04powerpc/signal32: Transform save_user_regs() and save_tm_user_regs() in 'unsa...Christophe Leroy1-113/+111
2020-12-04powerpc/signal32: Isolate non-copy actions in save_user_regs() and save_tm_us...Christophe Leroy1-13/+41
2020-12-04powerpc/signal32: Switch swap_context() to user_access_begin() logicChristophe Leroy1-14/+10
2020-12-04powerpc/signal32: Add and use unsafe_put_sigset_t()Christophe Leroy1-2/+11
2020-12-04powerpc/signal32: Remove ifdefery in middle of if/elseChristophe Leroy1-14/+8
2020-12-04powerpc/signal32: Switch handle_rt_signal32() to user_access_begin() logicChristophe Leroy1-21/+34
2020-12-04powerpc/signal32: Switch handle_signal32() to user_access_begin() logicChristophe Leroy1-13/+16
2020-12-04powerpc/signal32: Move signal trampoline setup to handle_[rt_]signal32Christophe Leroy1-39/+22
2020-12-04powerpc/signal32: Misc changes to make handle_[rt_]_signal32() more similarChristophe Leroy1-10/+14
2020-12-04powerpc/signal32: Rename local pointers in handle_rt_signal32()Christophe Leroy1-26/+25
2020-12-04powerpc/signal32: Move handle_signal32() close to handle_rt_signal32()Christophe Leroy1-85/+85
2020-12-04powerpc/signal32: Simplify logging in handle_rt_signal32()Christophe Leroy1-5/+1
2020-12-04powerpc/signal: Refactor bad frame loggingChristophe Leroy1-30/+5
2020-12-04powerpc/signal: Call get_tm_stackpointer() from get_sigframe()Christophe Leroy1-2/+2
2020-12-04powerpc/signal: Move access_ok() out of get_sigframe()Christophe Leroy1-2/+2
2020-12-04powerpc/signal: Remove BUG_ON() in handler_signal functionsChristophe Leroy1-4/+0
2020-12-04powerpc/signal: Don't manage floating point regs when no FPUChristophe Leroy1-0/+4
2020-07-15powerpc/signal_32: Simplify loop in PPC64 save_general_regs()Christophe Leroy1-10/+8
2020-07-15powerpc/signal_32: Remove !FULL_REGS() special handling in PPC64 save_general...Christophe Leroy1-2/+0
2020-06-09mm: don't include asm/pgtable.h if linux/mm.h is already includedMike Rapoport1-1/+0
2020-05-15powerpc: Use trap metadata to prevent double restart rather than zeroing trapNicholas Piggin1-1/+1
2020-04-03powerpc: move common register copy functions from signal_32.c to signal.cMichal Suchanek1-140/+0
2020-02-18powerpc/tm: Fix clearing MSR[TS] in current when reclaiming on signal deliveryGustavo Luiz Duarte1-14/+14
2019-07-22powerpc/tm: Fix oops on sigreturn on systems without TMMichael Neuling1-0/+3
2019-07-08Merge branch 'siginfo-linus' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-3/+3
2019-05-30treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152Thomas Gleixner1-5/+1
2019-05-27signal: Remove task parameter from force_sigEric W. Biederman1-3/+3
2019-01-03Remove 'type' argument from access_ok() functionLinus Torvalds1-6/+6
2018-12-21powerpc/tm: Unset MSR[TS] if not recheckpointingBreno Leitao1-5/+13
2018-12-21powerpc/tm: Set MSR[TS] just prior to recheckpointBreno Leitao1-1/+19
2018-12-19powerpc/signal: Use code patching instead of hardcodingChristophe Leroy1-6/+6
2018-06-25powerpc: Remove -Wattribute-alias pragmasPaul Burton1-8/+0
2018-06-04powerpc/signal32: Use fault_in_pages_readable() to prefault user contextChristophe Leroy1-8/+5
2018-06-03powerpc: Fix build by disabling attribute-alias warning for SYSCALL_DEFINExChristophe Leroy1-0/+8
2018-05-10powerpc/syscalls: signal_{32, 64} - switch to SYSCALL_DEFINEAl Viro1-16/+24
2018-03-13powerpc/32: Mark both tmp variables as unusedMathieu Malaterre1-2/+2
2018-02-02Merge tag 'powerpc-4.16-1' of git://git.kernel.org/pub/scm/linux/kernel/git/p...Linus Torvalds1-0/+8
2018-01-19powerpc: Hard wire PT_SOFTE value to 1 in ptrace & signalsMadhavan Srinivasan1-0/+8
2018-01-15signal: Unify and correct copy_siginfo_to_user32Eric W. Biederman1-57/+0
2018-01-15signal: Unify and correct copy_siginfo_from_user32Eric W. Biederman1-9/+0
2017-11-17Merge branch 'misc.compat' of git://git.kernel.org/pub/scm/linux/kernel/git/v...Linus Torvalds1-29/+2
2017-11-06powerpc: Always save/restore checkpointed regs during treclaim/trecheckpointCyril Bur1-1/+1
2017-10-21powerpc/tm: P9 disable transactionally suspended sigcontextsMichael Neuling1-0/+4
2017-09-19ppc: switch to {get,put}_compat_sigset()Al Viro1-29/+2
2017-07-24signal: Remove kernel interal si_code magicEric W. Biederman1-11/+9
2016-12-24Replace <asm/uaccess.h> with <linux/uaccess.h> globallyLinus Torvalds1-1/+1
2016-10-04powerpc: tm: Rename transct_(*) to ck(\1)_stateCyril Bur1-30/+30
2016-10-04powerpc: tm: Always use fp_state and vr_state to store live registersCyril Bur1-27/+23
2016-10-04powerpc: signals: Stop using current in signal codeCyril Bur1-12/+19
2016-09-13powerpc: Set used_(vsr|vr|spe) in sigreturn path when MSR bits are activeSimon Guo1-0/+6
2016-09-13powerpc/sparse: Add more assembler prototypesDaniel Axtens1-0/+1
2016-08-29powerpc: signals: Discard transaction state from signal framesCyril Bur1-0/+14
2015-12-14Merge tag 'powerpc-4.4-3' into nextMichael Ellerman1-5/+9
2015-12-01powerpc: Move part of giveup_vsx into cAnton Blanchard1-2/+2
2015-12-01powerpc: Remove UP only lazy floating point and vector optimisationsAnton Blanchard1-18/+0
2015-11-23powerpc/tm: Block signal return setting invalid MSR stateMichael Neuling1-5/+9
2015-09-03Merge tag 'powerpc-4.3-1' of git://git.kernel.org/pub/scm/linux/kernel/git/po...Linus Torvalds1-0/+5
2015-08-07signal: fix information leak in copy_siginfo_from_user32Amanieu d'Antras1-2/+0
2015-07-29powerpc/kernel: Add SIG_SYS support for compat tasksMichael Ellerman1-0/+5
2015-02-12all arches, signal: move restart_block to struct task_structAndy Lutomirski1-2/+2
2014-08-06powerpc: Use sigsp()Richard Weinberger1-2/+2
2014-08-06powerpc: Use get_signal() signal_setup_done()Richard Weinberger1-20/+16
2014-06-24powerpc: Remove ancient DEBUG_SIG codeMichael Ellerman1-9/+0
2014-04-07powerpc/tm: Disable IRQ in tm_recheckpointMichael Neuling1-0/+2
2014-01-29powerpc: Fix 32-bit frames for signals delivered when transactionalPaul Mackerras1-12/+7
2014-01-15powerpc: Don't corrupt transactional state when using FP/VMX in kernelPaul Mackerras1-14/+7
2013-11-25powerpc/signals: Improved mark VSX not saved with small contexts fixMichael Neuling1-9/+7
2013-11-21powerpc/signals: Mark VSX not saved with small contextsMichael Neuling1-1/+9
2013-11-13Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-1/+1
2013-11-09constify copy_siginfo_to_user{,32}()Al Viro1-1/+1
2013-10-18powerpc: move debug registers in a structureBharat Bhushan1-3/+3
2013-10-11Merge branch 'for-kvm' into nextBenjamin Herrenschmidt1-35/+37
2013-10-11powerpc: Put FP/VSX and VR state into structuresPaul Mackerras1-35/+37
2013-10-11powerpc: Reset MSR_LE on signal entryAnton Blanchard1-1/+2
2013-08-14powerpc: Fix VRSAVE handlingPaul Mackerras1-0/+9
2013-06-20powerpc/tm: Fix return of 32bit rt signals to active transactionsMichael Neuling1-1/+1
2013-06-20powerpc/tm: Fix restoration of MSR on 32bit signal returnMichael Neuling1-3/+6
2013-06-20powerpc/tm: Fix 32 bit non-rt signalsMichael Neuling1-5/+25
2013-06-20powerpc/tm: Fix writing top half of MSR on 32 bit signalsMichael Neuling1-8/+21
2013-06-01powerpc/tm: Fix userspace stack corruption on signal delivery for active tran...Michael Neuling1-8/+2
2013-04-10powerpc: fix compiling CONFIG_PPC_TRANSACTIONAL_MEM when CONFIG_ALTIVEC=nMichael Neuling1-0/+2
2013-02-23Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-245/+8
2013-02-15powerpc: Add new transactional memory state to the signal contextMichael Neuling1-13/+487
2013-02-03powerpc: switch to generic old sigaction()Al Viro1-65/+0
2013-02-03powerpc: switch to generic compat rt_sigaction()Al Viro1-30/+0
2013-02-03powerpc: switch to generic old sigsuspendAl Viro1-11/+0
2013-02-03powerpc: switch to generic compat rt_sigqueueinfo()Al Viro1-24/+0
2013-02-03powerpc: switch to generic compat rt_sigpending()Al Viro1-18/+0
2013-02-03powerpc: switch to generic compat rt_sigprocmask()Al Viro1-35/+0
2013-02-03powerpc: switch to generic sigaltstackAl Viro1-61/+8
2013-02-03take sys_rt_sigsuspend() prototype to linux/syscalls.hAl Viro1-1/+0
2012-10-01Uninclude linux/freezer.hRichard Weinberger1-1/+0
2012-06-01powerpc: get rid of restore_sigmask()Al Viro1-2/+2
2012-05-21powerpc: missing checks of __get_user()/__put_user() return valuesAl Viro1-3/+3
2012-05-21new helper: sigsuspend()Al Viro1-10/+1
2012-03-28Disintegrate asm/system.h for PowerPCDavid Howells1-0/+1
2012-03-07powerpc: Use set_current_blocked() and block_sigmask()Matt Fleming1-5/+6
2011-11-17powerpc/signal32: Fix sigset_t conversion when copying to userWill Deacon1-1/+1
2011-06-29arch/powerpc: use printk_ratelimited instead of printk_ratelimitChristian Dietrich1-26/+31
2010-09-22powerpc: fix double syscall restartsAl Viro1-2/+1
2010-02-17powerpc/booke: Add support for advanced debug registersDave Kleikamp1-2/+6
2010-02-17powerpc/booke: Introduce new CONFIG options for advanced debug registersDave Kleikamp1-4/+4
2009-03-27powerpc: Sanitize stack pointer in signal handling codeJosh Boyer1-2/+2
2008-11-11powerpc: Fix msr check in compat_sys_swapcontextAndreas Schwab1-3/+15
2008-10-31powerpc: Fix swapcontext system for VSX + old ucontext sizeMichael Neuling1-21/+15
2008-07-15powerpc: fix giveup_vsx to save registers correctlyMichael Neuling1-1/+1
2008-07-09powerpc: fix swapcontext backwards compat. with VSX ucontext changesMichael Neuling1-1/+38
2008-07-03powerpc: Clean up copy_to/from_user for vsx and fprMichael Neuling1-34/+75
2008-07-01powerpc: Add VSX context save/restore, ptrace and signal supportMichael Neuling1-0/+33
2008-07-01powerpc: Introduce VSX thread_struct and CONFIG_VSXMichael Neuling1-14/+45
2008-07-01powerpc: Fix MSR setting in 32 bit signal codeMichael Neuling1-4/+6
2008-05-14[POWERPC] Define and use TLF_RESTORE_SIGMASKRoland McGrath1-1/+1
2008-04-20[POWERPC] Define copy_siginfo_from_user32Roland McGrath1-3/+16
2007-12-20[POWERPC] arch/powerpc: Remove duplicate includesLucas Woods1-2/+1
2007-10-12[POWERPC] Implement logging of unhandled signalsOlof Johansson1-0/+38
2007-06-14[POWERPC] Merge creation of signal frameBenjamin Herrenschmidt1-28/+24
2007-06-14[POWERPC] Consolidate do_signalChristoph Hellwig1-86/+2
2007-06-14[POWERPC] Consolidate restore_sigmaskChristoph Hellwig1-19/+0
2007-06-14[POWERPC] Consolidate sys_sigaltstackChristoph Hellwig1-8/+0
2007-06-14[POWERPC] Make syscall restart code more commonBenjamin Herrenschmidt1-24/+4
2007-05-08header cleaning: don't include smp_lock.h when not usedRandy Dunlap1-1/+0
2006-12-20[POWERPC] Fix register save area alignment for swapcontext syscallPaul Mackerras1-3/+13
2006-12-07[PATCH] Add include/linux/freezer.h and move definitions from sched.hNigel Cunningham1-1/+1
2006-06-30Remove obsolete #include <linux/config.h>Jörn Engel1-1/+0
2006-06-12Merge branch 'merge'Paul Mackerras1-1/+10
2006-06-09[PATCH] powerpc: Implement support for setting little-endian mode via prctlPaul Mackerras1-4/+11
2006-06-09[PATCH] powerpc vdso updatesBenjamin Herrenschmidt1-4/+4
2006-06-09powerpc: Fix machine check problem on 32-bit kernelsPaul Mackerras1-1/+10
2006-03-27[PATCH] powerpc: declare arch syscalls in <asm/syscalls.h>Arnd Bergmann1-0/+1
2006-03-08powerpc: Fix various syscall/signal/swapcontext bugsPaul Mackerras1-15/+4
2006-02-08[PATCH] powerpc signal __user annotationsAl Viro1-11/+7
2006-02-01[PATCH] powerpc: Fix sigmask handling in sys_sigsuspend.Heiko Carstens1-3/+1
2006-01-18[PATCH] TIF_RESTORE_SIGMASK support for arch/powerpcDavid Woodhouse1-5/+15
2006-01-18[PATCH] Generic sys_rt_sigsuspend()David Woodhouse1-51/+5
2006-01-12[PATCH] powerpc: Avoid potential FP corruption with preempt and UPPaul Mackerras1-12/+9
2006-01-09[PATCH] Save NVGPRS in 32-bit signal frameDavid Woodhouse1-0/+9
2006-01-09[PATCH] syscall entry/exit revampDavid Woodhouse1-36/+23
2005-11-15powerpc: Fix clearing of the FPSCR when invoking a signal handlerPaul Mackerras1-2/+5
2005-11-11[PATCH] powerpc: Merge vdso's and add vdso support to 32 bits kernelBenjamin Herrenschmidt1-9/+3
2005-11-10[PATCH] powerpc: Merge signal.hDavid Gibson1-0/+1
2005-11-07[PATCH] powerpc: Kill ppcdebugDavid Gibson1-1/+0
2005-11-03powerpc: move include/asm-ppc64/ppc32.h to arch/powerpc/kernelStephen Rothwell1-1/+1
2005-10-27[PATCH] powerpc: Fix handling of fpscr on 64-bitDavid Gibson1-1/+1
2005-10-22ppc64: Fix delivery of RT signals to 32-bit processes.Paul Mackerras1-2/+1
2005-10-19powerpc: Eliminate a compile warning in signal_32.cPaul Mackerras1-2/+3
2005-10-18powerpc: change sys32_ to compat_sys_Stephen Rothwell1-14/+14
2005-10-18powerpc: merge ppc signal.c and ppc64 signal32.cStephen Rothwell1-0/+1269