函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Test if 'sig' is valid signal. Use this instead of testing _NSIG directly

函数原型:static inline int valid_signal(unsigned long sig)

返回类型:int

参数:

类型参数名称
unsigned longsig
262  返回:如果sig小于等于Most things should be clean enough to redefine this at will, if careis taken to make libc match. 则1否则0
调用者
名称描述
copy_clone_args_from_user
ptrace_detach
ptrace_resume
check_kill_permissionBad permissions for sending the signal* - the caller must hold the RCU read lock
kill_pid_usb_asyncioThe usb asyncio usage of siginfo is wrong
send_sig_info信号发送入口
do_notify_parentLet a parent know about the death of a child.* For a stopped/continued status change, use do_notify_parent_cldstop instead.* Returns true if our parent ignored us and so we've switched to* self-reaping.
do_sigaction信号处理
SYSCALL_DEFINE5
kdb_killkdb_kill - This function implements the 'kill' commands.
____bpf_send_signal
do_mq_notifyNotes: the case when user wants us to deregister (with NULL as pointer)* and he isn't currently owner of notification, will be silently discarded.* It isn't explicitly defined in the POSIX.
do_fcntl