include/linux/signal.h
Source file repositories/reference/linux-study-clean/include/linux/signal.h
File Facts
- System
- Linux kernel
- Corpus path
include/linux/signal.h- Extension
.h- Size
- 14116 bytes
- Lines
- 494
- Domain
- Core OS
- Bucket
- Core Kernel Interface
- Inferred role
- Core OS: implementation source
- Status
- source implementation candidate
Why This File Exists
Core operating-system implementation surface: boot, tasks, memory, VFS, syscall-facing interfaces, synchronization, credentials, and isolation.
- Core operating-system implementation surface: boot, tasks, memory, VFS, syscall-facing interfaces, synchronization, credentials, and isolation.
- Touches user memory; correctness depends on fault-safe copying and privilege boundary handling.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
linux/bug.hlinux/list.hlinux/signal_types.hlinux/string.hlinux/bitops.h
Detected Declarations
struct task_structstruct timespecstruct pt_regsstruct seq_fileenum siginfo_layoutenum pid_typefunction copy_siginfofunction clear_siginfofunction copy_siginfo_to_externalfunction sigaddsetfunction sigdelsetfunction sigismemberfunction sigisemptysetfunction sigequalsetsfunction namefunction sigemptysetfunction sigfillsetfunction sigaddsetmaskfunction sigdelsetmaskfunction sigtestsetmaskfunction siginitsetfunction siginitsetinvfunction init_sigpendingfunction valid_signalfunction allow_signalfunction allow_kernel_signalfunction disallow_signalfunction sigaltstack_size_valid
Annotated Snippet
static inline bool sigaltstack_size_valid(size_t size) { return true; }
#endif /* !CONFIG_DYNAMIC_SIGFRAME */
#ifdef CONFIG_PROC_FS
struct seq_file;
extern void render_sigset_t(struct seq_file *, const char *, sigset_t *);
#endif
#ifndef arch_untagged_si_addr
/*
* Given a fault address and a signal and si_code which correspond to the
* _sigfault union member, returns the address that must appear in si_addr if
* the signal handler does not have SA_EXPOSE_TAGBITS enabled in sa_flags.
*/
static inline void __user *arch_untagged_si_addr(void __user *addr,
unsigned long sig,
unsigned long si_code)
{
return addr;
}
#endif
#endif /* _LINUX_SIGNAL_H */
Annotation
- Immediate include surface: `linux/bug.h`, `linux/list.h`, `linux/signal_types.h`, `linux/string.h`, `linux/bitops.h`.
- Detected declarations: `struct task_struct`, `struct timespec`, `struct pt_regs`, `struct seq_file`, `enum siginfo_layout`, `enum pid_type`, `function copy_siginfo`, `function clear_siginfo`, `function copy_siginfo_to_external`, `function sigaddset`.
- Atlas domain: Core OS / Core Kernel Interface.
- Implementation status: source implementation candidate.
- This snippet crosses the user/kernel memory boundary; validate fault handling and access checks before translating the pattern.
Implementation Notes
- This generated page is the file-by-file coverage layer; curated subsystem chapters should link here when they synthesize a multi-file control flow.
- Core OS pages should be promoted from atlas-only to deep-reviewed when they explain data structures, invariants, locking, lifecycle, and C implementation snippets.
- Driver-family pages are intentionally pattern-oriented unless they are part of the selected PCIe/NVMe representative device path.