golden hour
/usr/include/asm
⬆️ Go Up
Upload
File/Folder
Size
Actions
a.out.h
756 B
Del
OK
amd_hsmp.h
11.28 KB
Del
OK
auxvec.h
546 B
Del
OK
bitsperlong.h
321 B
Del
OK
boot.h
323 B
Del
OK
bootparam.h
8.31 KB
Del
OK
bpf_perf_event.h
40 B
Del
OK
byteorder.h
200 B
Del
OK
debugreg.h
3.25 KB
Del
OK
e820.h
2.52 KB
Del
OK
errno.h
31 B
Del
OK
fcntl.h
31 B
Del
OK
hw_breakpoint.h
69 B
Del
OK
hwcap2.h
324 B
Del
OK
ioctl.h
31 B
Del
OK
ioctls.h
32 B
Del
OK
ipcbuf.h
32 B
Del
OK
ist.h
854 B
Del
OK
kvm.h
20.4 KB
Del
OK
kvm_para.h
4.22 KB
Del
OK
kvm_perf.h
388 B
Del
OK
ldt.h
1.28 KB
Del
OK
mce.h
1.69 KB
Del
OK
mman.h
413 B
Del
OK
msgbuf.h
1.05 KB
Del
OK
msr.h
346 B
Del
OK
mtrr.h
3.9 KB
Del
OK
param.h
31 B
Del
OK
perf_regs.h
1.37 KB
Del
OK
poll.h
30 B
Del
OK
posix_types.h
224 B
Del
OK
posix_types_32.h
765 B
Del
OK
posix_types_64.h
609 B
Del
OK
posix_types_x32.h
581 B
Del
OK
prctl.h
1.08 KB
Del
OK
processor-flags.h
6.97 KB
Del
OK
ptrace-abi.h
1.99 KB
Del
OK
ptrace.h
1.46 KB
Del
OK
resource.h
34 B
Del
OK
sembuf.h
1.04 KB
Del
OK
setup.h
6 B
Del
OK
sgx.h
8.15 KB
Del
OK
shmbuf.h
1.29 KB
Del
OK
sigcontext.h
9.5 KB
Del
OK
sigcontext32.h
271 B
Del
OK
siginfo.h
422 B
Del
OK
signal.h
2.02 KB
Del
OK
socket.h
32 B
Del
OK
sockios.h
33 B
Del
OK
stat.h
3.06 KB
Del
OK
statfs.h
416 B
Del
OK
svm.h
9.59 KB
Del
OK
swab.h
724 B
Del
OK
termbits.h
34 B
Del
OK
termios.h
33 B
Del
OK
types.h
31 B
Del
OK
ucontext.h
2.07 KB
Del
OK
unistd.h
623 B
Del
OK
unistd_32.h
11.8 KB
Del
OK
unistd_64.h
9.7 KB
Del
OK
unistd_x32.h
17.01 KB
Del
OK
vm86.h
3.11 KB
Del
OK
vmx.h
7.29 KB
Del
OK
vsyscall.h
263 B
Del
OK
Edit: ucontext.h
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ #ifndef _ASM_X86_UCONTEXT_H #define _ASM_X86_UCONTEXT_H /* * Indicates the presence of extended state information in the memory * layout pointed by the fpstate pointer in the ucontext's sigcontext * struct (uc_mcontext). */ #define UC_FP_XSTATE 0x1 #ifdef __x86_64__ /* * UC_SIGCONTEXT_SS will be set when delivering 64-bit or x32 signals on * kernels that save SS in the sigcontext. All kernels that set * UC_SIGCONTEXT_SS will correctly restore at least the low 32 bits of esp * regardless of SS (i.e. they implement espfix). * * Kernels that set UC_SIGCONTEXT_SS will also set UC_STRICT_RESTORE_SS * when delivering a signal that came from 64-bit code. * * Sigreturn restores SS as follows: * * if (saved SS is valid || UC_STRICT_RESTORE_SS is set || * saved CS is not 64-bit) * new SS = saved SS (will fail IRET and signal if invalid) * else * new SS = a flat 32-bit data segment * * This behavior serves three purposes: * * - Legacy programs that construct a 64-bit sigcontext from scratch * with zero or garbage in the SS slot (e.g. old CRIU) and call * sigreturn will still work. * * - Old DOSEMU versions sometimes catch a signal from a segmented * context, delete the old SS segment (with modify_ldt), and change * the saved CS to a 64-bit segment. These DOSEMU versions expect * sigreturn to send them back to 64-bit mode without killing them, * despite the fact that the SS selector when the signal was raised is * no longer valid. UC_STRICT_RESTORE_SS will be clear, so the kernel * will fix up SS for these DOSEMU versions. * * - Old and new programs that catch a signal and return without * modifying the saved context will end up in exactly the state they * started in, even if they were running in a segmented context when * the signal was raised.. Old kernels would lose track of the * previous SS value. */ #define UC_SIGCONTEXT_SS 0x2 #define UC_STRICT_RESTORE_SS 0x4 #endif #include <asm-generic/ucontext.h> #endif /* _ASM_X86_UCONTEXT_H */
Save