函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\include\asm\syscall.h Create Date:2022-07-27 08:10:41
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Only the low 32 bits of orig_ax are meaningful, so we return int.* This importantly ignores the high bits on 64-bit, so comparisons* sign-extend the low 32 bits.

函数原型:static inline int syscall_get_nr(struct task_struct *task, struct pt_regs *regs)

返回类型:int

参数:

类型参数名称
struct task_struct *task
struct pt_regs *regs
50  返回:* On syscall entry, this is syscall#. On CPU exception, this is error code. * On hw interrupt, it's IRQ number:
调用者
名称描述
collect_syscall
handle_signal自定义信号处理函数
do_signal信号处理入口
trace_get_syscall_nr