aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/ptrace.c
AgeCommit message (Expand)AuthorFilesLines
2024-02-22ptrace_attach: shift send(SIGSTOP) into ptrace_set_stopped()Oleg Nesterov1-8/+5
2024-01-09Merge tag 'mm-nonmm-stable-2024-01-09-10-33' of git://git.kernel.org/pub/scm/...Linus Torvalds1-12/+1
2023-12-10__ptrace_unlink: kill the obsolete "FIXME" codeOleg Nesterov1-12/+1
2023-11-29ptrace: Convert ptrace_attach() to use lock guardsPeter Zijlstra1-67/+61
2023-10-18mm: make __access_remote_vm() staticLorenzo Stoakes1-1/+1
2023-04-16ptrace: Provide set/get interface for syscall user dispatchGregory Price1-0/+9
2022-12-27rseq: Introduce extensible rseq ABIMathieu Desnoyers1-1/+1
2022-09-07freezer,sched: Rewrite core freezer logicPeter Zijlstra1-1/+1
2022-07-09ptrace: fix clearing of JOBCTL_TRACED in ptrace_unfreeze_traced()Sven Schnelle1-1/+1
2022-06-03Merge tag 'ptrace_stop-cleanup-for-v5.19' of git://git.kernel.org/pub/scm/lin...Linus Torvalds1-59/+28
2022-05-11sched,signal,ptrace: Rework TASK_TRACED, TASK_STOPPED statePeter Zijlstra1-3/+13
2022-05-11ptrace: Always take siglock in ptrace_resumeEric W. Biederman1-11/+2
2022-05-11ptrace: Don't change __stateEric W. Biederman1-13/+8
2022-05-11ptrace: Document that wait_task_inactive can't failEric W. Biederman1-11/+3
2022-05-11ptrace: Reimplement PTRACE_KILL by always sending SIGKILLEric W. Biederman1-3/+2
2022-05-11ptrace: Remove arch_ptrace_attachEric W. Biederman1-18/+0
2022-04-29ptrace: remove redudant check of #ifdef PTRACE_SINGLESTEPTiezhu Yang1-6/+0
2022-03-22ptrace: Check PTRACE_O_SUSPEND_SECCOMP permission on PTRACE_SEIZEJann Horn1-15/+32
2022-01-08ptrace: Remove second setting of PT_SEIZED in ptrace_attachEric W. Biederman1-2/+0
2021-06-18sched: Change task_struct::statePeter Zijlstra1-6/+6
2021-05-12ptrace: make ptrace() fail if the tracee changed its pid unexpectedlyOleg Nesterov1-1/+17
2021-04-20Merge tag 'v5.12-rc8' into sched/core, to pick up fixesIngo Molnar1-1/+1
2021-03-27Revert "kernel: treat PF_IO_WORKER like PF_KTHREAD for ptrace/signals"Jens Axboe1-1/+1
2021-03-17rseq, ptrace: Add PTRACE_GET_RSEQ_CONFIGURATION requestPiotr Figiel1-0/+25
2021-02-21kernel: treat PF_IO_WORKER like PF_KTHREAD for ptrace/signalsJens Axboe1-1/+1
2020-12-15Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-1/+1
2020-12-15mm: cleanup: remove unused tsk arg from __access_remote_vmJohn Hubbard1-1/+1
2020-12-14Merge tag 'core-entry-2020-12-14' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-8/+8
2020-11-17ptrace: Set PF_SUPERPRIV when checking capabilityMickaël Salaün1-11/+5
2020-11-16ptrace: Migrate TIF_SYSCALL_EMU to use SYSCALL_WORK flagGabriel Krisman Bertazi1-5/+5
2020-11-16ptrace: Migrate to use SYSCALL_TRACE flagGabriel Krisman Bertazi1-3/+3
2020-01-18ptrace: reintroduce usage of subjective credentials in ptrace_has_cap()Christian Brauner1-5/+10
2019-07-16ptrace: add PTRACE_GET_SYSCALL_INFO requestElvira Khabirova1-1/+100
2019-07-08Merge tag 'arm64-upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/a...Linus Torvalds1-0/+3
2019-07-05ptrace: Fix ->ptracer_cred handling for PTRACE_TRACEMEJann Horn1-3/+1
2019-06-11Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebi...Linus Torvalds1-2/+18
2019-06-11ptrace: restore smp_rmb() in __ptrace_may_access()Jann Horn1-0/+10
2019-06-05ptrace: move clearing of TIF_SYSCALL_EMU flag to coreSudeep Holla1-0/+3
2019-05-30signal/ptrace: Don't leak unitialized kernel memory with PTRACE_PEEK_SIGINFOEric W. Biederman1-2/+8
2019-05-21treewide: Add SPDX license identifier for missed filesThomas Gleixner1-0/+1
2019-03-29ptrace: take into account saved_sigmask in PTRACE{GET,SET}SIGMASKAndrei Vagin1-2/+13
2019-01-03Remove 'type' argument from access_ok() functionLinus Torvalds1-2/+2
2018-11-28ptrace: Remove unused ptrace_may_access_sched() and MODE_IBRSThomas Gleixner1-10/+0
2018-10-24Merge branch 'siginfo-linus' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-14/+12
2018-10-03signal: Distinguish between kernel_siginfo and siginfoEric W. Biederman1-5/+5
2018-10-03signal: Introduce copy_siginfo_from_user and use it's return valueEric W. Biederman1-7/+5
2018-09-26x86/speculation: Apply IBPB more strictly to avoid cross-process data leakJiri Kosina1-0/+10
2018-09-11signal: Use SEND_SIG_PRIV not SEND_SIG_FORCED with SIGKILL and SIGSTOPEric W. Biederman1-2/+2
2018-02-06pids: introduce find_get_task_by_vpid() helperMike Rapoport1-21/+6
2018-01-31Merge branch 'next-seccomp' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-0/+4
2018-01-16ptrace: Use copy_siginfo in setsiginfo and getsiginfoEric W. Biederman1-2/+2
2018-01-15signal: Remove the code to clear siginfo before calling copy_siginfo_from_user32Eric W. Biederman1-1/+0
2017-11-28ptrace, seccomp: add support for retrieving seccomp metadataTycho Andersen1-0/+4
2017-07-24signal: Remove kernel interal si_code magicEric W. Biederman1-4/+2
2017-05-23ptrace: Properly initialize ptracer_cred on forkEric W. Biederman1-7/+13
2017-04-08ptrace: fix PTRACE_LISTEN race corrupting task->statebsegall@google.com1-4/+10
2017-03-02sched/headers: Prepare for new header dependencies before moving code to <lin...Ingo Molnar1-0/+1
2017-03-02sched/headers: Prepare for new header dependencies before moving code to <lin...Ingo Molnar1-0/+1
2017-03-02sched/headers: Prepare for new header dependencies before moving code to <lin...Ingo Molnar1-0/+1
2016-11-22ptrace: Don't allow accessing an undumpable mmEric W. Biederman1-6/+36
2016-11-22ptrace: Capture the ptracer's creds not PT_PTRACE_CAPEric W. Biederman1-5/+7
2016-11-22mm: Add a user_ns owner to mm_struct and fix ptrace permission checksEric W. Biederman1-15/+11
2016-10-19mm: replace access_process_vm() write parameter with gup_flagsLorenzo Stoakes1-6/+10
2016-10-11ptrace: clear TIF_SYSCALL_TRACE on ptrace detachAles Novak1-1/+2
2016-08-04tree-wide: replace config_enabled() with IS_ENABLED()Masahiro Yamada1-2/+2
2016-03-22ptrace: change __ptrace_unlink() to clear ->ptrace under ->siglockOleg Nesterov1-2/+1
2016-03-22ptrace: in PEEK_SIGINFO, check syscall bitness, not task bitnessAndy Lutomirski1-1/+1
2016-01-20ptrace: use fsuid, fsgid, effective creds for fs access checksJann Horn1-8/+31
2016-01-20ptrace: make wait_on_bit(JOBCTL_TRAPPING_BIT) in ptrace_attach() killableOleg Nesterov1-2/+8
2015-10-27seccomp, ptrace: add support for dumping seccomp filtersTycho Andersen1-0/+5
2015-07-15seccomp: add ptrace options for suspend/resumeTycho Andersen1-0/+13
2015-04-17ptrace: ptrace_detach() can no longer race with SIGKILLOleg Nesterov1-10/+9
2015-04-17ptrace: fix race between ptrace_resume() and wait_task_stopped()Oleg Nesterov1-0/+20
2015-02-17ptrace: remove linux/compat.h inclusion under CONFIG_COMPATFabian Frederick1-1/+0
2014-12-10exit: ptrace: shift "reap dead" code from exit_ptrace() to forget_original_pa...Oleg Nesterov1-20/+3
2014-07-16sched: Remove proliferation of wait_on_bit() action functionsNeilBrown1-7/+1
2014-03-06kernel/compat: convert to COMPAT_SYSCALL_DEFINEHeiko Carstens1-2/+2
2013-11-13exec/ptrace: fix get_dumpable() incorrect testsKees Cook1-1/+2
2013-09-11__ptrace_may_access() should not deny sub-threadsMark Grondona1-1/+1
2013-08-06Revert "ptrace: PTRACE_DETACH should do flush_ptrace_hw_breakpoint(child)"Oleg Nesterov1-1/+0
2013-07-09ptrace: PTRACE_DETACH should do flush_ptrace_hw_breakpoint(child)Oleg Nesterov1-0/+1
2013-07-09ptrace: revert "Prepare to fix racy accesses on task breakpoints"Oleg Nesterov1-16/+0
2013-07-03ptrace: add ability to get/set signal-blocked maskAndrey Vagin1-2/+42
2013-06-29Fix: kernel/ptrace.c: ptrace_peek_siginfo() missing __put_user() validationMathieu Desnoyers1-9/+11
2013-05-07aio: don't include aio.h in sched.hKent Overstreet1-0/+1
2013-04-30ptrace: add ability to retrieve signals without removing from a queue (v4)Andrey Vagin1-0/+80
2013-02-08uprobes: Add exports for module useJosh Stone1-0/+6
2013-01-22ptrace: ensure arch_ptrace/ptrace_request can never race with SIGKILLOleg Nesterov1-10/+54
2013-01-22ptrace: introduce signal_wake_up_state() and ptrace_signal_wake_up()Oleg Nesterov1-4/+4
2013-01-20ia64: kill thread_matches(), unexport ptrace_check_attach()Oleg Nesterov1-1/+1
2012-12-17Merge branch 'akpm' (Andrew's patch-bomb)Linus Torvalds1-0/+3
2012-12-17ptrace: introduce PTRACE_O_EXITKILLOleg Nesterov1-0/+3
2012-11-20userns: Kill task_user_nsEric W. Biederman1-2/+8
2012-08-03ptrace: mark __ptrace_may_access() staticTetsuo Handa1-1/+2
2012-05-03userns: Convert ptrace, kill, set_priority permission checks to work with kui...Eric W. Biederman1-7/+6
2012-04-07userns: Use cred->user_ns instead of cred->user->user_nsEric W. Biederman1-2/+2
2012-03-23ptrace: remove PTRACE_SEIZE_DEVEL bitDenys Vlasenko1-15/+0
2012-03-23ptrace: make PTRACE_SEIZE set ptrace options specified in 'data' parameterDenys Vlasenko1-10/+21
2012-03-23ptrace: simplify PTRACE_foo constants and PTRACE_SETOPTIONS codeDenys Vlasenko1-23/+8
2012-03-23ptrace: don't modify flags on PTRACE_SETOPTIONS failureDenys Vlasenko1-1/+4
2012-01-14Merge branch 'for-linus' of git://selinuxproject.org/~jmorris/linux-securityLinus Torvalds1-3/+11
2012-01-05ptrace: do not audit capability check when outputing /proc/pid/statEric Paris1-2/+10
2012-01-05capabilities: remove task_ns_* functionsEric Paris1-2/+2
2012-01-04ptrace: ensure JOBCTL_STOP_SIGMASK is not zero after detachOleg Nesterov1-1/+12
2011-10-31kernel: Map most files to use export.h instead of module.hPaul Gortmaker1-1/+1
2011-09-25ptrace: PTRACE_LISTEN forgets to unlock ->siglockOleg Nesterov1-13/+10
2011-07-18connector: add an event for monitoring process tracersVladimir Zapolskiy1-1/+6
2011-06-27do not change dead_task->exit_signalOleg Nesterov1-1/+0
2011-06-27__ptrace_detach: avoid task_detached(), check do_notify_parent()Oleg Nesterov1-15/+18
2011-06-16ptrace: implement PTRACE_LISTENTejun Heo1-3/+39
2011-06-16ptrace: implement PTRACE_INTERRUPTTejun Heo1-2/+27
2011-06-16ptrace: implement PTRACE_SEIZETejun Heo1-6/+29
2011-06-16job control: introduce JOBCTL_TRAP_STOP and use it for group stop trapTejun Heo1-3/+9
2011-06-04ptrace: use bit_waitqueue for TRAPPING instead of wait_chldexitTejun Heo1-2/+8
2011-06-04job control: introduce task_set_jobctl_pending()Tejun Heo1-3/+3
2011-06-04ptrace: ptrace_check_attach(): rename @kill to @ignore_state and add commentsTejun Heo1-5/+19
2011-06-04job control: rename signal->group_stop and flags to jobctl and update themTejun Heo1-6/+6
2011-06-04ptrace: remove silly wait_trap variable from ptrace_attach()Tejun Heo1-3/+1
2011-05-25ptrace: ptrace_resume() shouldn't wake up !TASK_TRACED threadOleg Nesterov1-1/+1
2011-05-20Merge branch 'ptrace' of git://git.kernel.org/pub/scm/linux/kernel/git/oleg/miscLinus Torvalds1-37/+81
2011-04-25ptrace: Prepare to fix racy accesses on task breakpointsFrederic Weisbecker1-0/+17
2011-04-07Merge branch 'ptrace' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/mis...Oleg Nesterov1-37/+81
2011-04-04ptrace: ptrace_check_attach() should not do s/STOPPED/TRACED/Oleg Nesterov1-5/+3
2011-03-23userns: allow ptrace from non-init user namespacesSerge E. Hallyn1-12/+15
2011-03-23ptrace: Always put ptracee into appropriate execution stateTejun Heo1-20/+39
2011-03-23ptrace: Collapse ptrace_untrace() into __ptrace_unlink()Tejun Heo1-25/+15
2011-03-23ptrace: Clean transitions between TASK_STOPPED and TRACEDTejun Heo1-5/+44
2011-03-23ptrace: Remove the extra wake_up_state() from ptrace_detach()Tejun Heo1-2/+0
2011-03-04Mark ptrace_{traceme,attach,detach} staticLinus Torvalds1-3/+3
2011-02-11ptrace: use safer wake up on ptrace_detach()Tejun Heo1-1/+1
2010-10-27signals: move cred_guard_mutex from task_struct to signal_structKOSAKI Motohiro1-2/+2
2010-10-27ptrace: cleanup ptrace_request()Namhyung Kim1-7/+7
2010-10-27ptrace: change signature of sys_ptrace() and friendsNamhyung Kim1-6/+10
2010-10-27ptrace: annotate lock context change on exit_ptrace()Namhyung Kim1-0/+2
2010-08-11ptrace: optimize exit_ptrace() for the likely caseOleg Nesterov1-3/+9
2010-05-27ptrace: PTRACE_GETFDPIC: fix the unsafe usage of child->mmOleg Nesterov1-2/+8
2010-05-27ptrace: unify FDPIC implementationsMike Frysinger1-0/+20
2010-05-18Merge branch 'perf-core-for-linus' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds1-1/+0
2010-04-26ptrace: Cleanup useless headerAlessio Igor Bogani1-1/+0
2010-04-10ptrace: kill BKL in ptrace syscallArnd Bergmann1-10/+0
2010-03-26x86, perf, bts, mm: Delete the never used BTS-ptrace codePeter Zijlstra1-1/+0
2010-02-23ptrace: Fix ptrace_regset() comments and diagnose errors specificallySuresh Siddha1-1/+1
2010-02-11ptrace: Add support for generic PTRACE_GETREGSET/PTRACE_SETREGSETSuresh Siddha1-0/+88
2009-09-24ptrace: __ptrace_detach: do __wake_up_parent() if we reap the traceeOleg Nesterov1-4/+7
2009-07-14Merge branch 'master' into nextJames Morris1-2/+2
2009-07-06cred_guard_mutex: do not return -EINTR to user-spaceOleg Nesterov1-2/+2
2009-06-25security: rename ptrace_may_access => ptrace_access_checkIngo Molnar1-1/+1
2009-06-18ptrace: don't take tasklist to get/set ->last_siginfoOleg Nesterov1-10/+6
2009-06-18ptrace_get_task_struct: s/tasklist/rcu/, make it staticOleg Nesterov1-13/+3
2009-06-18ptrace: do not use task_lock() for attachOleg Nesterov1-46/+13
2009-06-18ptrace: cleanup check/set of PT_PTRACED during attachOleg Nesterov1-50/+51
2009-06-18ptrace: ptrace_attach: check PF_KTHREAD + exit_state instead of ->mmOleg Nesterov1-9/+10
2009-06-11Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jmo...Linus Torvalds1-4/+5
2009-06-10Merge branch 'tracing-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-10/+0
2009-06-09Merge branch 'master' into nextJames Morris1-0/+2
2009-06-04ptrace: revert "ptrace_detach: the wrong wakeup breaks the ERESTARTxxx logic"Oleg Nesterov1-0/+2
2009-05-11CRED: Rename cred_exec_mutex to reflect that it's a guard against ptraceDavid Howells1-4/+5
2009-05-07Merge branch 'tracing/hw-branch-tracing' into tracing/coreIngo Molnar1-10/+0
2009-04-27ptrace: ptrace_attach: fix the usage of ->cred_exec_mutexOleg Nesterov1-2/+2
2009-04-24Merge commit 'v2.6.30-rc3' into tracing/hw-branch-tracingIngo Molnar1-12/+11
2009-04-13ptrace: fix exit_ptrace() vs ptrace_traceme() raceOleg Nesterov1-3/+4
2009-04-08ptrace: some checkpatch fixesRoland McGrath1-9/+7
2009-04-07x86, ptrace: add bts context unconditionallyMarkus Metzger1-10/+0
2009-04-03Merge branch 'core-cleanups-for-linus' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-2/+0
2009-04-02ptrace_untrace: fix the SIGNAL_STOP_STOPPED checkOleg Nesterov1-3/+7
2009-04-02ptrace_detach: the wrong wakeup breaks the ERESTARTxxx logicOleg Nesterov1-4/+0
2009-04-02forget_original_parent: split out the un-ptrace partOleg Nesterov1-2/+76
2009-04-02ptrace: fix possible zombie leak on PTRACE_DETACHOleg Nesterov1-2/+7
2009-04-02ptrace: kill __ptrace_detach(), fix ->exit_state checkOleg Nesterov1-13/+9
2009-03-10ptrace: remove a useless gotoAmérico Wang1-2/+0
2009-01-14[CVE-2009-0029] System call wrappers part 27Heiko Carstens1-1/+1
2008-12-28Merge branch 'tracing-core-for-linus' of git://git.kernel.org/pub/scm/linux/k...Linus Torvalds1-0/+12
2008-12-20x86, bts: add fork and exit handlingMarkus Metzger1-0/+12
2008-12-04Merge branch 'master' into nextJames Morris1-2/+2
2008-11-30remove __ARCH_WANT_COMPAT_SYS_PTRACEChristoph Hellwig1-2/+2
2008-11-14CRED: Inaugurate COW credentialsDavid Howells1-0/+9
2008-11-14CRED: Use RCU to access another task's creds and to release a task's own credsDavid Howells1-9/+13
2008-11-14CRED: Separate task security context from task_structDavid Howells1-9/+10
2008-11-14CRED: Wrap task credential accesses in the core kernelDavid Howells1-6/+9
2008-10-20make ptrace_untrace() staticAdrian Bunk1-1/+1
2008-08-14security: Fix setting of PF_SUPERPRIV by __capable()David Howells1-3/+2
2008-07-26tracehook: wait_task_inactiveRoland McGrath1-1/+1
2008-07-16ptrace children revampRoland McGrath1-13/+24
2008-07-14Security: split proc ptrace checking into read vs. attachStephen Smalley1-7/+8
2008-05-01make generic sys_ptrace unconditionalChristoph Hellwig1-2/+0
2008-04-30ptrace: permit ptracing of /sbin/initOleg Nesterov1-8/+0
2008-04-30ptrace: ptrace_attach: use send_sig_info() instead force_sig_specific()Oleg Nesterov1-2/+1
2008-04-30ptrace: __ptrace_unlink: use the ptrace_reparented() helperOleg Nesterov1-1/+1
2008-04-28ptrace: conditionalize compat_ptrace_requestRoland McGrath1-5/+2
2008-04-21ptrace: compat_ptrace_request siginfoRoland McGrath1-13/+35
2008-02-08ptrace_check_attach: remove unneeded ->signal != NULL checkOleg Nesterov1-2/+5
2008-02-08kill PT_ATTACHEDOleg Nesterov1-4/+2
2008-02-06kernel/ptrace.c should #include <linux/syscalls.h>Adrian Bunk1-0/+1
2008-02-06use __set_task_state() for TRACED/STOPPED tasksOleg Nesterov1-6/+4
2008-02-01Merge branch 'task_killable' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-4/+4
2008-01-30x86: compat_sys_ptraceRoland McGrath1-0/+46
2008-01-30x86: compat_ptrace_requestRoland McGrath1-0/+38
2008-01-30x86: ptrace_request peekdata/pokedataRoland McGrath1-0/+7
2008-01-30ptrace: generic PTRACE_SINGLEBLOCKRoland McGrath1-1/+14
2008-01-30ptrace: generic resumeRoland McGrath1-0/+61