syscall_get_arguments man page on Scientific

Man page or keyword search:  
man Server   26626 pages
apropos Keyword Search (all sections)
Output format
Scientific logo
[printable version]

SYSCALL_GET_ARGUMENT(9)		 Machine State	       SYSCALL_GET_ARGUMENT(9)

NAME
       syscall_get_arguments - extract system call parameter values

SYNOPSIS
       void syscall_get_arguments(struct task_struct * task,
				  struct pt_regs * regs, unsigned int i,
				  unsigned int n, unsigned long * args);

ARGUMENTS
       task
	   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 values

DESCRIPTION
       Fetches 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.	 November 2013	       SYSCALL_GET_ARGUMENT(9)
[top]

List of man pages available for Scientific

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net