ptrace.c (fe00f943e0ef98b4057abcc2940d631a975b43cd) | ptrace.c (3c37026d43c47bec4710cbda286f4a17f416f5e6) |
---|---|
1/* 2 * This file is subject to the terms and conditions of the GNU General Public 3 * License. See the file "COPYING" in the main directory of this archive 4 * for more details. 5 * 6 * Copyright (C) 1992 Ross Biro 7 * Copyright (C) Linus Torvalds 8 * Copyright (C) 1994, 95, 96, 97, 98, 2000 Ralf Baechle --- 275 unchanged lines hidden (view full) --- 284 child->exit_code = SIGKILL; 285 wake_up_process(child); 286 break; 287 288 case PTRACE_DETACH: /* detach a process that was attached. */ 289 ret = ptrace_detach(child, data); 290 break; 291 | 1/* 2 * This file is subject to the terms and conditions of the GNU General Public 3 * License. See the file "COPYING" in the main directory of this archive 4 * for more details. 5 * 6 * Copyright (C) 1992 Ross Biro 7 * Copyright (C) Linus Torvalds 8 * Copyright (C) 1994, 95, 96, 97, 98, 2000 Ralf Baechle --- 275 unchanged lines hidden (view full) --- 284 child->exit_code = SIGKILL; 285 wake_up_process(child); 286 break; 287 288 case PTRACE_DETACH: /* detach a process that was attached. */ 289 ret = ptrace_detach(child, data); 290 break; 291 |
292 case PTRACE_GET_THREAD_AREA: 293 ret = put_user(child->thread_info->tp_value, 294 (unsigned long __user *) data); 295 break; 296 |
|
292 default: 293 ret = ptrace_request(child, request, addr, data); 294 break; 295 } 296 297out_tsk: 298 put_task_struct(child); 299out: --- 57 unchanged lines hidden --- | 297 default: 298 ret = ptrace_request(child, request, addr, data); 299 break; 300 } 301 302out_tsk: 303 put_task_struct(child); 304out: --- 57 unchanged lines hidden --- |