Query: syscall_get_arguments
OS: suse
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
SYSCALL_GET_ARGUMENT(9) Machine State SYSCALL_GET_ARGUMENT(9)NAMEsyscall_get_arguments - extract system call parameter valuesSYNOPSISvoid syscall_get_arguments(struct task_struct * task, struct pt_regs * regs, unsigned int i, unsigned int n, unsigned long * args);ARGUMENTStask task of interest, must be blocked regs task_pt_regs of task i argument index [0,5] n number of arguments; n+i must be [1,6]. args array filled with argument valuesDESCRIPTIONFetches n arguments to the system call starting with the i'th argument (from 0 through 5). Argument i is stored in args[0], and so on. An arch inline version is probably optimal when i and n are constants. It's only valid to call this when task is stopped for tracing on entry to a system call, due to TIF_SYSCALL_TRACE or TIF_SYSCALL_AUDIT. It's invalid to call this with i + n > 6; we only support system calls taking up to 6 arguments. Kernel Hackers Manual 2.6. July 2010 SYSCALL_GET_ARGUMENT(9)
Related Man Pages |
---|
task_current_syscall(9) - suse |
pvm_reg_tasker(3pvm) - redhat |
pvm_tasks(3pvm) - redhat |
struct_utrace_engine_ops(9) - suse |
kernel_thread_w_arg(9r) - osf1 |
Similar Topics in the Unix Linux Community |
---|
Cut command on RHEL 6.8 compatibility issues |
Update kernel Linux without reboot?! |
Docker learning Phase-I |
Shopt -s histappend |
32 bit process addressing more than 4GB |