ptrace32.c (09276d905ef7498212ef69d5c324d027dc405896) | ptrace32.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 --- 254 unchanged lines hidden (view full) --- 263 case PTRACE_KILL: 264 ret = 0; 265 if (child->exit_state == EXIT_ZOMBIE) /* already dead */ 266 break; 267 child->exit_code = SIGKILL; 268 wake_up_process(child); 269 break; 270 | 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 --- 254 unchanged lines hidden (view full) --- 263 case PTRACE_KILL: 264 ret = 0; 265 if (child->exit_state == EXIT_ZOMBIE) /* already dead */ 266 break; 267 child->exit_code = SIGKILL; 268 wake_up_process(child); 269 break; 270 |
271 case PTRACE_GET_THREAD_AREA: 272 ret = put_user(child->thread_info->tp_value, 273 (unsigned int __user *) (unsigned long) data); 274 break; 275 |
|
271 case PTRACE_DETACH: /* detach a process that was attached. */ 272 ret = ptrace_detach(child, data); 273 break; 274 275 case PTRACE_GETEVENTMSG: 276 ret = put_user(child->ptrace_message, 277 (unsigned int __user *) (unsigned long) data); 278 break; --- 12 unchanged lines hidden --- | 276 case PTRACE_DETACH: /* detach a process that was attached. */ 277 ret = ptrace_detach(child, data); 278 break; 279 280 case PTRACE_GETEVENTMSG: 281 ret = put_user(child->ptrace_message, 282 (unsigned int __user *) (unsigned long) data); 283 break; --- 12 unchanged lines hidden --- |