process.c (11e4afb49b7fa1fc8e1ffd850c1806dd86a08204) | process.c (c7887325230aec47d47a32562a6e26014a0fafca) |
---|---|
1/* 2 * This file handles the architecture dependent parts of process handling. 3 * 4 * Copyright IBM Corp. 1999,2009 5 * Author(s): Martin Schwidefsky <schwidefsky@de.ibm.com>, 6 * Hartmut Penner <hp@de.ibm.com>, 7 * Denis Joseph Barrow, 8 */ --- 253 unchanged lines hidden (view full) --- 262 current->thread.fp_regs.fpc = 0; 263 if (MACHINE_HAS_IEEE) 264 asm volatile("sfpc %0,%0" : : "d" (0)); 265} 266 267/* 268 * sys_execve() executes a new program. 269 */ | 1/* 2 * This file handles the architecture dependent parts of process handling. 3 * 4 * Copyright IBM Corp. 1999,2009 5 * Author(s): Martin Schwidefsky <schwidefsky@de.ibm.com>, 6 * Hartmut Penner <hp@de.ibm.com>, 7 * Denis Joseph Barrow, 8 */ --- 253 unchanged lines hidden (view full) --- 262 current->thread.fp_regs.fpc = 0; 263 if (MACHINE_HAS_IEEE) 264 asm volatile("sfpc %0,%0" : : "d" (0)); 265} 266 267/* 268 * sys_execve() executes a new program. 269 */ |
270SYSCALL_DEFINE3(execve, char __user *, name, char __user * __user *, argv, | 270SYSCALL_DEFINE3(execve, const char __user *, name, char __user * __user *, argv, |
271 char __user * __user *, envp) 272{ 273 struct pt_regs *regs = task_pt_regs(current); 274 char *filename; 275 long rc; 276 277 filename = getname(name); 278 rc = PTR_ERR(filename); --- 54 unchanged lines hidden --- | 271 char __user * __user *, envp) 272{ 273 struct pt_regs *regs = task_pt_regs(current); 274 char *filename; 275 long rc; 276 277 filename = getname(name); 278 rc = PTR_ERR(filename); --- 54 unchanged lines hidden --- |