1SYSCALL_GET_RETURN_V(9)          Machine State         SYSCALL_GET_RETURN_V(9)
2
3
4

NAME

6       syscall_get_return_value - get the return value of a traced system call
7

SYNOPSIS

9       long syscall_get_return_value(struct task_struct * task,
10                                     struct pt_regs * regs);
11

ARGUMENTS

13       task
14           task of interest, must be blocked
15
16       regs
17
18           task_pt_regs of task
19

DESCRIPTION

21       Returns the return value of the successful system call. This value is
22       meaningless if syscall_get_error returned nonzero.
23
24       It's only valid to call this when task is stopped for tracing on exit
25       from a system call, due to TIF_SYSCALL_TRACE or TIF_SYSCALL_AUDIT.
26
27
28
29Kernel Hackers Manual 2.6.       November 2011         SYSCALL_GET_RETURN_V(9)
Impressum