TASK_CURRENT_SYSCALL - Online Linux Manual PageSection : 9
Updated : June 2018
Source : Kernel Hackers Manual 2.6.
Note : Machine State
NAMEtask_current_syscall − Discover what a blocked task is doing.
SYNOPSISint task_current_syscall(struct task_struct * target, long * callno, unsigned long args[6], unsigned int maxargs, unsigned long * sp, unsigned long * pc);
ARGUMENTStarget thread to examine callno filled with system call number or −1 args[6] filled with maxargs system call arguments maxargs number of elements in args to fill sp filled with user stack pointer pc filled with user PC
DESCRIPTIONIf target is blocked in a system call, returns zero with *callno set to the the call´s number and args filled in with its arguments. Registers not used for system call arguments may not be available and it is not kosher to use struct user_regset calls while the system call is still in progress. Note we may get this result if target has finished its system call but not yet returned to user mode, such as when it´s stopped for signal handling or syscall exit tracing. If target is blocked in the kernel during a fault or exception, returns zero with *callno set to −1 and does not fill in args. If so, it´s now safe to examine target using struct user_regset get calls as long as we´re sure target won´t return to user mode. Returns −EAGAIN if target does not remain blocked. Returns −EINVAL if maxargs is too large (maximum is six). 0
Johanes Gumabo
Data Size : 7,572 byte
man-task_current_syscall.9Build : 2024-12-29, 07:25 :
Visitor Screen : x
Visitor Counter ( page / site ) : 7 / 260,311
Visitor ID : :
Visitor IP : 3.133.126.241 :
Visitor Provider : AMAZON-02 :
Provider Position ( lat x lon ) : 39.962500 x -83.006100 : x
Provider Accuracy Radius ( km ) : 1000 :
Provider City : Columbus :
Provider Province : Ohio , : ,
Provider Country : United States :
Provider Continent : North America :
Visitor Recorder : Version :
Visitor Recorder : Library :
Online Linux Manual Page : Version : Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.29
Online Linux Manual Page : Library : lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page : Library : lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base : Version : Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base : Library : lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36
Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.