syscall_set_arguments(9) suse man page | unix.com

Man Page: syscall_set_arguments

Operating Environment: suse

Section: 9

SYSCALL_SET_ARGUMENT(9) 					   Machine State					   SYSCALL_SET_ARGUMENT(9)

NAME
syscall_set_arguments - change system call parameter value
SYNOPSIS
void syscall_set_arguments(struct task_struct * task, struct pt_regs * regs, unsigned int i, unsigned int n, const unsigned long * args);
ARGUMENTS
task task of interest, must be in system call entry tracing regs task_pt_regs of task i argument index [0,5] n number of arguments; n+i must be [1,6]. args array of argument values to store
DESCRIPTION
Changes n arguments to the system call starting with the i'th argument. Argument i gets value 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_SET_ARGUMENT(9)
Related Man Pages
pvm_reg_tasker(3pvm) - redhat
pvm_tasks(3pvm) - redhat
iv_task_register(3) - debian
pvm_reg_tasker(3pvm) - debian
kernel_thread_w_arg(9r) - osf1
Similar Topics in the Unix Linux Community
Getting command output to putty window title.
Migrating to UNIX
Cut command on RHEL 6.8 compatibility issues
Tar Command
The Future of the PM (Private Message) System at UNIX.com