Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\signal.h Create Date:2022-07-28 05:38:52
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Test if 'sig' is valid signal. Use this instead of testing _NSIG directly

Proto:static inline int valid_signal(unsigned long sig)

Type:int

Parameter:

TypeParameterName
unsigned longsig
262  Return If sig <= Most things should be clean enough to redefine this at will, if careis taken to make libc match. Then 1 Else 0
Caller
NameDescribe
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_infoThese are for backward compatibility with the rest of the kernel source.
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