Query: syscall_get_return_value
OS: suse
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
SYSCALL_GET_RETURN_V(9) Machine State SYSCALL_GET_RETURN_V(9)NAMEsyscall_get_return_value - get the return value of a traced system callSYNOPSISlong syscall_get_return_value(struct task_struct * task, struct pt_regs * regs);ARGUMENTStask task of interest, must be blocked regs task_pt_regs of taskDESCRIPTIONReturns the return value of the successful system call. This value is meaningless if syscall_get_error returned nonzero. It's only valid to call this when task is stopped for tracing on exit from a system call, due to TIF_SYSCALL_TRACE or TIF_SYSCALL_AUDIT. Kernel Hackers Manual 2.6. July 2010 SYSCALL_GET_RETURN_V(9)