Skip to content

Commit

Permalink
Update contrib/libs/linux-headers to 6.6.7
Browse files Browse the repository at this point in the history
commit_hash:495eaa25d72e8f80b0e4624c328677f50a736233
  • Loading branch information
robot-piglet committed Feb 12, 2025
1 parent ed549af commit 9085749
Show file tree
Hide file tree
Showing 23 changed files with 198 additions and 35 deletions.
1 change: 1 addition & 0 deletions build/sysincl/linux-headers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -857,6 +857,7 @@
- linux/prctl.h
- linux/psample.h
- linux/psci.h
- linux/psp-dbc.h
- linux/psp-sev.h
- linux/ptp_clock.h
- linux/ptrace.h
Expand Down
3 changes: 2 additions & 1 deletion contrib/libs/linux-headers/asm-generic/siginfo.h
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,8 @@ typedef struct siginfo {
#define SEGV_ADIPERR 7 /* Precise MCD exception */
#define SEGV_MTEAERR 8 /* Asynchronous ARM MTE error */
#define SEGV_MTESERR 9 /* Synchronous ARM MTE exception */
#define NSIGSEGV 9
#define SEGV_CPERR 10 /* Control protection fault */
#define NSIGSEGV 10

/*
* SIGBUS si_codes
Expand Down
5 changes: 4 additions & 1 deletion contrib/libs/linux-headers/asm-generic/unistd.h
Original file line number Diff line number Diff line change
Expand Up @@ -820,8 +820,11 @@ __SYSCALL(__NR_set_mempolicy_home_node, sys_set_mempolicy_home_node)
#define __NR_cachestat 451
__SYSCALL(__NR_cachestat, sys_cachestat)

#define __NR_fchmodat2 452
__SYSCALL(__NR_fchmodat2, sys_fchmodat2)

#undef __NR_syscalls
#define __NR_syscalls 452
#define __NR_syscalls 453

/*
* 32 bit systems traditionally used different
Expand Down
10 changes: 3 additions & 7 deletions contrib/libs/linux-headers/asm/mman_x86.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,10 @@
#define _ASM_X86_MMAN_H

#define MAP_32BIT 0x40 /* only give out 32bit addresses */
#define MAP_ABOVE4G 0x80 /* only map above 4GB */

#ifdef CONFIG_X86_INTEL_MEMORY_PROTECTION_KEYS
#define arch_calc_vm_prot_bits(prot, key) ( \
((key) & 0x1 ? VM_PKEY_BIT0 : 0) | \
((key) & 0x2 ? VM_PKEY_BIT1 : 0) | \
((key) & 0x4 ? VM_PKEY_BIT2 : 0) | \
((key) & 0x8 ? VM_PKEY_BIT3 : 0))
#endif
/* Flags for map_shadow_stack(2) */
#define SHADOW_STACK_SET_TOKEN (1ULL << 0) /* Set up a restore token in the shadow stack */

#include <asm-generic/mman.h>

Expand Down
12 changes: 12 additions & 0 deletions contrib/libs/linux-headers/asm/prctl_x86.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,21 @@
#define ARCH_MAP_VDSO_32 0x2002
#define ARCH_MAP_VDSO_64 0x2003

/* Don't use 0x3001-0x3004 because of old glibcs */

#define ARCH_GET_UNTAG_MASK 0x4001
#define ARCH_ENABLE_TAGGED_ADDR 0x4002
#define ARCH_GET_MAX_TAG_BITS 0x4003
#define ARCH_FORCE_TAGGED_SVA 0x4004

#define ARCH_SHSTK_ENABLE 0x5001
#define ARCH_SHSTK_DISABLE 0x5002
#define ARCH_SHSTK_LOCK 0x5003
#define ARCH_SHSTK_UNLOCK 0x5004
#define ARCH_SHSTK_STATUS 0x5005

/* ARCH_SHSTK_ features bits */
#define ARCH_SHSTK_SHSTK (1ULL << 0)
#define ARCH_SHSTK_WRSS (1ULL << 1)

#endif /* _ASM_X86_PRCTL_H */
1 change: 1 addition & 0 deletions contrib/libs/linux-headers/asm/unistd-eabi_arm.h
Original file line number Diff line number Diff line change
Expand Up @@ -405,5 +405,6 @@
#define __NR_futex_waitv (__NR_SYSCALL_BASE + 449)
#define __NR_set_mempolicy_home_node (__NR_SYSCALL_BASE + 450)
#define __NR_cachestat (__NR_SYSCALL_BASE + 451)
#define __NR_fchmodat2 (__NR_SYSCALL_BASE + 452)

#endif /* _ASM_UNISTD_EABI_H */
1 change: 1 addition & 0 deletions contrib/libs/linux-headers/asm/unistd-oabi_arm.h
Original file line number Diff line number Diff line change
Expand Up @@ -417,5 +417,6 @@
#define __NR_futex_waitv (__NR_SYSCALL_BASE + 449)
#define __NR_set_mempolicy_home_node (__NR_SYSCALL_BASE + 450)
#define __NR_cachestat (__NR_SYSCALL_BASE + 451)
#define __NR_fchmodat2 (__NR_SYSCALL_BASE + 452)

#endif /* _ASM_UNISTD_OABI_H */
1 change: 1 addition & 0 deletions contrib/libs/linux-headers/asm/unistd_32_powerpc.h
Original file line number Diff line number Diff line change
Expand Up @@ -433,6 +433,7 @@
#define __NR_futex_waitv 449
#define __NR_set_mempolicy_home_node 450
#define __NR_cachestat 451
#define __NR_fchmodat2 452


#endif /* _ASM_UNISTD_32_H */
1 change: 1 addition & 0 deletions contrib/libs/linux-headers/asm/unistd_32_x86.h
Original file line number Diff line number Diff line change
Expand Up @@ -442,6 +442,7 @@
#define __NR_futex_waitv 449
#define __NR_set_mempolicy_home_node 450
#define __NR_cachestat 451
#define __NR_fchmodat2 452


#endif /* _ASM_UNISTD_32_H */
1 change: 1 addition & 0 deletions contrib/libs/linux-headers/asm/unistd_64_powerpc.h
Original file line number Diff line number Diff line change
Expand Up @@ -405,6 +405,7 @@
#define __NR_futex_waitv 449
#define __NR_set_mempolicy_home_node 450
#define __NR_cachestat 451
#define __NR_fchmodat2 452


#endif /* _ASM_UNISTD_64_H */
2 changes: 2 additions & 0 deletions contrib/libs/linux-headers/asm/unistd_64_x86.h
Original file line number Diff line number Diff line change
Expand Up @@ -364,6 +364,8 @@
#define __NR_futex_waitv 449
#define __NR_set_mempolicy_home_node 450
#define __NR_cachestat 451
#define __NR_fchmodat2 452
#define __NR_map_shadow_stack 453


#endif /* _ASM_UNISTD_64_H */
1 change: 1 addition & 0 deletions contrib/libs/linux-headers/asm/unistd_x32_x86.h
Original file line number Diff line number Diff line change
Expand Up @@ -317,6 +317,7 @@
#define __NR_futex_waitv (__X32_SYSCALL_BIT + 449)
#define __NR_set_mempolicy_home_node (__X32_SYSCALL_BIT + 450)
#define __NR_cachestat (__X32_SYSCALL_BIT + 451)
#define __NR_fchmodat2 (__X32_SYSCALL_BIT + 452)
#define __NR_rt_sigaction (__X32_SYSCALL_BIT + 512)
#define __NR_rt_sigreturn (__X32_SYSCALL_BIT + 513)
#define __NR_ioctl (__X32_SYSCALL_BIT + 514)
Expand Down
Loading

0 comments on commit 9085749

Please sign in to comment.