mirror of
https://github.com/termux-pacman/glibc-packages.git
synced 2025-03-16 07:20:58 +00:00
bump(gpkg/glibc): 2.39 (#198)
This commit is contained in:
gpkg/glibc
_Fork.c.patchaarch64-arch-syscall.h.patchaccept.c.patcharm-arch-syscall.h.patchbuild.shchmod.c.patchclock_gettime.c.patchdisable-clone3.patchdl-tls_init_tp.c.patchfaccessat.c.patchfchmodat.c.patchfstatat64.c.patchftruncate.c.patchfxstat64.c.patchfxstatat64.c.patchgetXXbyYY.c.patchgetXXbyYY_r.c.patchgetgrgid.c.patchgetgrnam.c.patchgetpwnam.c.patchgetpwuid.c.patchi386-arch-syscall.h.patchi386-syscalls.list.patchlinux-Makefile.patchlocal-setxid.h.patchlxstat64.c.patchmisc-Makefile.patchmisc-Versions.patchnss-Makefile.patchpidfd.h.patchpthread_create.c.patchrecv.c.patchreenable_DT_HASH.patchrmdir.c.patchrseq-internal.h.patchsend.c.patchsetdirs.patchsetegid.c.patchsetgid.c.patchsetresgid.c.patchsetuid.c.patchshmat.c.patchshmctl.c.patchshmdt.c.patchshmget.c.patchspawni.c.patchstatx.c.patchsyscall.S.patchtst-rseq-disable.c.patchtst-rseq.h.patchunistd.h.patchx86_64-arch-syscall.h.patchxstat64.c.patch
@ -1,5 +1,5 @@
|
||||
--- glibc-2.38/sysdeps/nptl/_Fork.c 2021-08-02 01:33:43.000000000 +0000
|
||||
+++ glibc-2.38/sysdeps/nptl/_Fork.c.path 2022-01-20 08:39:46.858400434 +0000
|
||||
--- glibc-2.39/sysdeps/nptl/_Fork.c 2021-08-02 01:33:43.000000000 +0000
|
||||
+++ glibc-2.39/sysdeps/nptl/_Fork.c.path 2022-01-20 08:39:46.858400434 +0000
|
||||
@@ -44,8 +44,6 @@
|
||||
self->robust_prev = &self->robust_head;
|
||||
#endif
|
||||
|
@ -1,12 +1,12 @@
|
||||
--- glibc-2.38/sysdeps/unix/sysv/linux/aarch64/arch-syscall.h 2023-07-31 20:54:16.000000000 +0300
|
||||
+++ glibc-2.38/sysdeps/unix/sysv/linux/aarch64/arch-syscall.h.patch 2023-11-10 23:47:19.646988223 +0300
|
||||
--- glibc-2.39/sysdeps/unix/sysv/linux/aarch64/arch-syscall.h 2024-01-31 03:34:58.000000000 +0300
|
||||
+++ glibc-2.39/sysdeps/unix/sysv/linux/aarch64/arch-syscall.h.patch 2024-02-10 14:53:07.470125337 +0300
|
||||
@@ -1,5 +1,4 @@
|
||||
/* AUTOGENERATED by update-syscall-lists.py. */
|
||||
-#define __NR_accept 202
|
||||
#define __NR_accept4 242
|
||||
#define __NR_acct 89
|
||||
#define __NR_add_key 217
|
||||
@@ -17,9 +16,7 @@
|
||||
@@ -18,9 +17,7 @@
|
||||
#define __NR_clock_nanosleep 115
|
||||
#define __NR_clock_settime 112
|
||||
#define __NR_clone 220
|
||||
@ -16,7 +16,7 @@
|
||||
#define __NR_connect 203
|
||||
#define __NR_copy_file_range 285
|
||||
#define __NR_delete_module 106
|
||||
@@ -35,7 +32,6 @@
|
||||
@@ -36,7 +33,6 @@
|
||||
#define __NR_exit 93
|
||||
#define __NR_exit_group 94
|
||||
#define __NR_faccessat 48
|
||||
@ -24,15 +24,23 @@
|
||||
#define __NR_fadvise64 223
|
||||
#define __NR_fallocate 47
|
||||
#define __NR_fanotify_init 262
|
||||
@@ -62,7 +58,6 @@
|
||||
#define __NR_fsync 82
|
||||
#define __NR_ftruncate 46
|
||||
@@ -44,7 +40,6 @@
|
||||
#define __NR_fchdir 50
|
||||
#define __NR_fchmod 52
|
||||
#define __NR_fchmodat 53
|
||||
-#define __NR_fchmodat2 452
|
||||
#define __NR_fchown 55
|
||||
#define __NR_fchownat 54
|
||||
#define __NR_fcntl 25
|
||||
@@ -66,7 +61,6 @@
|
||||
#define __NR_futex 98
|
||||
#define __NR_futex_requeue 456
|
||||
#define __NR_futex_wait 455
|
||||
-#define __NR_futex_waitv 449
|
||||
#define __NR_futex_wake 454
|
||||
#define __NR_get_mempolicy 236
|
||||
#define __NR_get_robust_list 100
|
||||
#define __NR_getcpu 168
|
||||
@@ -168,7 +162,6 @@
|
||||
@@ -174,7 +168,6 @@
|
||||
#define __NR_personality 92
|
||||
#define __NR_pidfd_getfd 438
|
||||
#define __NR_pidfd_open 434
|
||||
@ -40,7 +48,7 @@
|
||||
#define __NR_pipe2 59
|
||||
#define __NR_pivot_root 41
|
||||
#define __NR_pkey_alloc 289
|
||||
@@ -205,7 +198,6 @@
|
||||
@@ -211,7 +204,6 @@
|
||||
#define __NR_renameat2 276
|
||||
#define __NR_request_key 218
|
||||
#define __NR_restart_syscall 128
|
||||
@ -48,7 +56,7 @@
|
||||
#define __NR_rt_sigaction 134
|
||||
#define __NR_rt_sigpending 136
|
||||
#define __NR_rt_sigprocmask 135
|
||||
@@ -237,12 +229,8 @@
|
||||
@@ -243,12 +235,8 @@
|
||||
#define __NR_sendto 206
|
||||
#define __NR_set_mempolicy 237
|
||||
#define __NR_set_mempolicy_home_node 450
|
||||
@ -61,7 +69,7 @@
|
||||
#define __NR_setgroups 159
|
||||
#define __NR_sethostname 161
|
||||
#define __NR_setitimer 103
|
||||
@@ -250,14 +238,12 @@
|
||||
@@ -256,14 +244,12 @@
|
||||
#define __NR_setpgid 154
|
||||
#define __NR_setpriority 140
|
||||
#define __NR_setregid 143
|
||||
@ -76,7 +84,7 @@
|
||||
#define __NR_setxattr 5
|
||||
#define __NR_shmat 196
|
||||
#define __NR_shmctl 195
|
||||
@@ -270,7 +256,6 @@
|
||||
@@ -276,7 +262,6 @@
|
||||
#define __NR_socketpair 199
|
||||
#define __NR_splice 76
|
||||
#define __NR_statfs 43
|
||||
|
@ -1,5 +1,5 @@
|
||||
--- glibc-2.38/sysdeps/unix/sysv/linux/accept.c 2023-02-01 06:27:45.000000000 +0300
|
||||
+++ glibc-2.38/sysdeps/unix/sysv/linux/accept.c.patch 2023-06-01 13:54:57.311645074 +0300
|
||||
--- glibc-2.39/sysdeps/unix/sysv/linux/accept.c 2023-02-01 06:27:45.000000000 +0300
|
||||
+++ glibc-2.39/sysdeps/unix/sysv/linux/accept.c.patch 2023-06-01 13:54:57.311645074 +0300
|
||||
@@ -22,13 +22,7 @@
|
||||
int
|
||||
__libc_accept (int fd, __SOCKADDR_ARG addr, socklen_t *len)
|
||||
|
@ -1,5 +1,5 @@
|
||||
--- glibc-2.38/sysdeps/unix/sysv/linux/arm/arch-syscall.h 2023-07-31 20:54:16.000000000 +0300
|
||||
+++ glibc-2.38/sysdeps/unix/sysv/linux/arm/arch-syscall.h.patch 2023-11-10 23:47:29.706988219 +0300
|
||||
--- glibc-2.39/sysdeps/unix/sysv/linux/arm/arch-syscall.h 2024-01-31 03:34:58.000000000 +0300
|
||||
+++ glibc-2.39/sysdeps/unix/sysv/linux/arm/arch-syscall.h.patch 2024-02-10 14:53:14.420125334 +0300
|
||||
@@ -2,7 +2,6 @@
|
||||
#define __NR__llseek 140
|
||||
#define __NR__newselect 142
|
||||
@ -8,7 +8,7 @@
|
||||
#define __NR_accept4 366
|
||||
#define __NR_access 33
|
||||
#define __NR_acct 51
|
||||
@@ -18,24 +17,18 @@
|
||||
@@ -19,24 +18,18 @@
|
||||
#define __NR_capget 184
|
||||
#define __NR_capset 185
|
||||
#define __NR_chdir 12
|
||||
@ -33,7 +33,7 @@
|
||||
#define __NR_connect 283
|
||||
#define __NR_copy_file_range 391
|
||||
#define __NR_creat 8
|
||||
@@ -56,7 +49,6 @@
|
||||
@@ -57,14 +50,12 @@
|
||||
#define __NR_exit 1
|
||||
#define __NR_exit_group 248
|
||||
#define __NR_faccessat 334
|
||||
@ -41,15 +41,22 @@
|
||||
#define __NR_fallocate 352
|
||||
#define __NR_fanotify_init 367
|
||||
#define __NR_fanotify_mark 368
|
||||
@@ -90,7 +82,6 @@
|
||||
#define __NR_ftruncate64 194
|
||||
#define __NR_futex 240
|
||||
#define __NR_fchdir 133
|
||||
#define __NR_fchmod 94
|
||||
#define __NR_fchmodat 333
|
||||
-#define __NR_fchmodat2 452
|
||||
#define __NR_fchown 95
|
||||
#define __NR_fchown32 207
|
||||
#define __NR_fchownat 325
|
||||
@@ -94,7 +85,6 @@
|
||||
#define __NR_futex_requeue 456
|
||||
#define __NR_futex_time64 422
|
||||
#define __NR_futex_wait 455
|
||||
-#define __NR_futex_waitv 449
|
||||
#define __NR_futex_wake 454
|
||||
#define __NR_futimesat 326
|
||||
#define __NR_get_mempolicy 320
|
||||
#define __NR_get_robust_list 339
|
||||
@@ -109,7 +100,6 @@
|
||||
@@ -114,7 +104,6 @@
|
||||
#define __NR_getitimer 105
|
||||
#define __NR_getpeername 287
|
||||
#define __NR_getpgid 132
|
||||
@ -57,7 +64,7 @@
|
||||
#define __NR_getpid 20
|
||||
#define __NR_getppid 64
|
||||
#define __NR_getpriority 96
|
||||
@@ -220,7 +209,6 @@
|
||||
@@ -226,7 +215,6 @@
|
||||
#define __NR_personality 136
|
||||
#define __NR_pidfd_getfd 438
|
||||
#define __NR_pidfd_open 434
|
||||
@ -65,7 +72,7 @@
|
||||
#define __NR_pipe 42
|
||||
#define __NR_pipe2 359
|
||||
#define __NR_pivot_root 218
|
||||
@@ -253,7 +241,6 @@
|
||||
@@ -259,7 +247,6 @@
|
||||
#define __NR_readlinkat 332
|
||||
#define __NR_readv 145
|
||||
#define __NR_reboot 88
|
||||
@ -73,7 +80,7 @@
|
||||
#define __NR_recvfrom 292
|
||||
#define __NR_recvmmsg 365
|
||||
#define __NR_recvmmsg_time64 417
|
||||
@@ -265,8 +252,6 @@
|
||||
@@ -271,8 +258,6 @@
|
||||
#define __NR_renameat2 382
|
||||
#define __NR_request_key 310
|
||||
#define __NR_restart_syscall 0
|
||||
@ -82,7 +89,7 @@
|
||||
#define __NR_rt_sigaction 174
|
||||
#define __NR_rt_sigpending 176
|
||||
#define __NR_rt_sigprocmask 175
|
||||
@@ -295,7 +280,6 @@
|
||||
@@ -301,7 +286,6 @@
|
||||
#define __NR_semop 298
|
||||
#define __NR_semtimedop 312
|
||||
#define __NR_semtimedop_time64 420
|
||||
@ -90,7 +97,7 @@
|
||||
#define __NR_sendfile 187
|
||||
#define __NR_sendfile64 239
|
||||
#define __NR_sendmmsg 374
|
||||
@@ -303,16 +287,9 @@
|
||||
@@ -309,16 +293,9 @@
|
||||
#define __NR_sendto 290
|
||||
#define __NR_set_mempolicy 321
|
||||
#define __NR_set_mempolicy_home_node 450
|
||||
@ -107,7 +114,7 @@
|
||||
#define __NR_setgroups 81
|
||||
#define __NR_setgroups32 206
|
||||
#define __NR_sethostname 74
|
||||
@@ -322,8 +299,6 @@
|
||||
@@ -328,8 +305,6 @@
|
||||
#define __NR_setpriority 97
|
||||
#define __NR_setregid 71
|
||||
#define __NR_setregid32 204
|
||||
@ -116,7 +123,7 @@
|
||||
#define __NR_setresuid 164
|
||||
#define __NR_setresuid32 208
|
||||
#define __NR_setreuid 70
|
||||
@@ -332,8 +307,6 @@
|
||||
@@ -338,8 +313,6 @@
|
||||
#define __NR_setsid 66
|
||||
#define __NR_setsockopt 294
|
||||
#define __NR_settimeofday 79
|
||||
@ -125,7 +132,7 @@
|
||||
#define __NR_setxattr 226
|
||||
#define __NR_shmat 305
|
||||
#define __NR_shmctl 308
|
||||
@@ -355,10 +328,8 @@
|
||||
@@ -361,10 +334,8 @@
|
||||
#define __NR_stat64 195
|
||||
#define __NR_statfs 99
|
||||
#define __NR_statfs64 266
|
||||
|
@ -2,10 +2,9 @@ TERMUX_PKG_HOMEPAGE=https://www.gnu.org/software/libc/
|
||||
TERMUX_PKG_DESCRIPTION="GNU C Library"
|
||||
TERMUX_PKG_LICENSE="GPL-3.0, LGPL-3.0"
|
||||
TERMUX_PKG_MAINTAINER="@termux-pacman"
|
||||
TERMUX_PKG_VERSION=2.38
|
||||
TERMUX_PKG_REVISION=13
|
||||
TERMUX_PKG_VERSION=2.39
|
||||
TERMUX_PKG_SRCURL=https://ftp.gnu.org/gnu/libc/glibc-$TERMUX_PKG_VERSION.tar.xz
|
||||
TERMUX_PKG_SHA256=fb82998998b2b29965467bc1b69d152e9c307d2cf301c9eafb4555b770ef3fd2
|
||||
TERMUX_PKG_SHA256=f77bd47cf8170c57365ae7bf86696c118adb3b120d3259c64c502d3dc1e2d926
|
||||
TERMUX_PKG_DEPENDS="linux-api-headers-glibc"
|
||||
TERMUX_PKG_RECOMMENDS="glibc-runner"
|
||||
TERMUX_PKG_NO_STATICSPLIT=true
|
||||
@ -50,7 +49,7 @@ termux_step_configure() {
|
||||
"aarch64") _configure_flags+=(--enable-memory-tagging --enable-fortify-source);;
|
||||
"arm") _configure_flags+=(--enable-fortify-source);;
|
||||
"x86_64") _configure_flags+=(--enable-cet);;
|
||||
"i686") _configure_flags+=(--enable-cet --enable-fortify-source);;
|
||||
"i686") _configure_flags+=(--enable-fortify-source);;
|
||||
esac
|
||||
|
||||
${TERMUX_PKG_SRCDIR}/configure \
|
||||
@ -68,6 +67,7 @@ termux_step_configure() {
|
||||
--disable-nscd \
|
||||
--disable-profile \
|
||||
--disable-werror \
|
||||
--disable-default-pie \
|
||||
"${_configure_flags[@]}"
|
||||
}
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
--- glibc-2.38/sysdeps/unix/sysv/linux/chmod.c 2023-02-01 06:27:45.000000000 +0300
|
||||
+++ glibc-2.38/sysdeps/unix/sysv/linux/chmod.c.patch 2023-04-05 09:24:47.264497804 +0300
|
||||
--- glibc-2.39/sysdeps/unix/sysv/linux/chmod.c 2023-02-01 06:27:45.000000000 +0300
|
||||
+++ glibc-2.39/sysdeps/unix/sysv/linux/chmod.c.patch 2023-04-05 09:24:47.264497804 +0300
|
||||
@@ -23,11 +23,7 @@
|
||||
int
|
||||
__chmod (const char *file, mode_t mode)
|
||||
|
@ -1,5 +1,5 @@
|
||||
--- glibc-2.38/sysdeps/unix/sysv/linux/clock_gettime.c 2022-07-30 01:03:09.000000000 +0300
|
||||
+++ glibc-2.38/sysdeps/unix/sysv/linux/clock_gettime.c.patch 2022-10-18 22:31:17.784495202 +0300
|
||||
--- glibc-2.39/sysdeps/unix/sysv/linux/clock_gettime.c 2022-07-30 01:03:09.000000000 +0300
|
||||
+++ glibc-2.39/sysdeps/unix/sysv/linux/clock_gettime.c.patch 2022-10-18 22:31:17.784495202 +0300
|
||||
@@ -65,12 +65,6 @@
|
||||
}
|
||||
#endif
|
||||
|
@ -1,5 +1,5 @@
|
||||
--- glibc-2.38/sysdeps/unix/sysv/linux/clone-internal.c 2023-07-31 20:54:16.000000000 +0300
|
||||
+++ glibc-2.38/sysdeps/unix/sysv/linux/clone-internal.c.patch 2023-08-03 16:55:09.661185528 +0300
|
||||
--- glibc-2.39/sysdeps/unix/sysv/linux/clone-internal.c 2023-07-31 20:54:16.000000000 +0300
|
||||
+++ glibc-2.39/sysdeps/unix/sysv/linux/clone-internal.c.patch 2023-08-03 16:55:09.661185528 +0300
|
||||
@@ -80,21 +80,6 @@
|
||||
__clone3_internal (struct clone_args *cl_args, int (*func) (void *args),
|
||||
void *arg)
|
||||
@ -40,8 +40,8 @@
|
||||
return __clone_internal_fallback (cl_args, func, arg);
|
||||
}
|
||||
|
||||
--- glibc-2.38/sysdeps/unix/sysv/linux/spawni.c 2023-07-31 20:54:16.000000000 +0300
|
||||
+++ glibc-2.38/sysdeps/unix/sysv/linux/spawni.c.patch 2023-08-03 17:39:22.694388312 +0300
|
||||
--- glibc-2.39/sysdeps/unix/sysv/linux/spawni.c 2023-07-31 20:54:16.000000000 +0300
|
||||
+++ glibc-2.39/sysdeps/unix/sysv/linux/spawni.c.patch 2023-08-03 17:39:22.694388312 +0300
|
||||
@@ -389,13 +389,6 @@
|
||||
.stack = (uintptr_t) stack,
|
||||
.stack_size = stack_size,
|
||||
|
@ -1,5 +1,5 @@
|
||||
--- glibc-2.38/sysdeps/nptl/dl-tls_init_tp.c 2021-08-02 01:33:43.000000000 +0000
|
||||
+++ glibc-2.38/sysdeps/nptl/dl-tls_init_tp.c.path 2022-01-20 08:42:04.148400381 +0000
|
||||
--- glibc-2.39/sysdeps/nptl/dl-tls_init_tp.c 2021-08-02 01:33:43.000000000 +0000
|
||||
+++ glibc-2.39/sysdeps/nptl/dl-tls_init_tp.c.path 2022-01-20 08:42:04.148400381 +0000
|
||||
@@ -80,14 +80,9 @@
|
||||
pd->robust_head.futex_offset = (offsetof (pthread_mutex_t, __data.__lock)
|
||||
- offsetof (pthread_mutex_t,
|
||||
|
@ -1,5 +1,5 @@
|
||||
--- glibc-2.38/sysdeps/unix/sysv/linux/faccessat.c 2021-08-02 04:33:43.000000000 +0300
|
||||
+++ glibc-2.38/sysdeps/unix/sysv/linux/faccessat.c.patch 2022-02-28 16:09:01.163599293 +0300
|
||||
--- glibc-2.39/sysdeps/unix/sysv/linux/faccessat.c 2021-08-02 04:33:43.000000000 +0300
|
||||
+++ glibc-2.39/sysdeps/unix/sysv/linux/faccessat.c.patch 2022-02-28 16:09:01.163599293 +0300
|
||||
@@ -26,16 +26,6 @@
|
||||
int
|
||||
__faccessat (int fd, const char *file, int mode, int flag)
|
||||
|
33
gpkg/glibc/fchmodat.c.patch
Normal file
33
gpkg/glibc/fchmodat.c.patch
Normal file
@ -0,0 +1,33 @@
|
||||
--- glibc-2.39/sysdeps/unix/sysv/linux/fchmodat.c 2024-01-31 03:34:58.000000000 +0300
|
||||
+++ glibc-2.39/sysdeps/unix/sysv/linux/fchmodat.c.patch 2024-02-10 14:46:34.910125487 +0300
|
||||
@@ -26,7 +26,6 @@
|
||||
#include <sysdep.h>
|
||||
#include <unistd.h>
|
||||
|
||||
-#if !__ASSUME_FCHMODAT2
|
||||
static int
|
||||
fchmodat_fallback (int fd, const char *file, mode_t mode, int flag)
|
||||
{
|
||||
@@ -85,21 +84,13 @@
|
||||
__close_nocancel (pathfd);
|
||||
return ret;
|
||||
}
|
||||
-#endif
|
||||
|
||||
int
|
||||
fchmodat (int fd, const char *file, mode_t mode, int flag)
|
||||
{
|
||||
-#if __ASSUME_FCHMODAT2
|
||||
- return INLINE_SYSCALL_CALL (fchmodat2, fd, file, mode, flag);
|
||||
-#else
|
||||
if (flag == 0)
|
||||
return INLINE_SYSCALL_CALL (fchmodat, fd, file, mode);
|
||||
|
||||
- int r = INLINE_SYSCALL_CALL (fchmodat2, fd, file, mode, flag);
|
||||
- if (r != 0 && errno == ENOSYS)
|
||||
- return fchmodat_fallback (fd, file, mode, flag);
|
||||
- return r;
|
||||
-#endif
|
||||
+ return fchmodat_fallback (fd, file, mode, flag);
|
||||
}
|
||||
libc_hidden_def (fchmodat)
|
@ -1,14 +1,10 @@
|
||||
--- glibc-2.38/sysdeps/unix/sysv/linux/fstatat64.c 2022-07-30 01:03:09.000000000 +0300
|
||||
+++ glibc-2.38/sysdeps/unix/sysv/linux/fstatat64.c.patch 2022-10-07 22:37:40.624262457 +0300
|
||||
@@ -40,48 +40,7 @@
|
||||
--- glibc-2.39/sysdeps/unix/sysv/linux/fstatat64.c 2024-01-31 03:34:58.000000000 +0300
|
||||
+++ glibc-2.39/sysdeps/unix/sysv/linux/fstatat64.c.patch 2024-02-09 11:13:53.292656710 +0300
|
||||
@@ -38,43 +38,6 @@
|
||||
"__blkcnt_t and __blkcnt64_t must match");
|
||||
#endif
|
||||
|
||||
-#if (__WORDSIZE == 32 \
|
||||
- && (!defined __SYSCALL_WORDSIZE || __SYSCALL_WORDSIZE == 32)) \
|
||||
- || defined STAT_HAS_TIME32 \
|
||||
- || (!defined __NR_newfstatat && !defined __NR_fstatat64)
|
||||
-# define FSTATAT_USE_STATX 1
|
||||
-#if FSTATAT_USE_STATX
|
||||
-
|
||||
-static inline int
|
||||
-fstatat64_time64_statx (int fd, const char *file, struct __stat64_t64 *buf,
|
||||
@ -43,10 +39,21 @@
|
||||
-
|
||||
- return r;
|
||||
-}
|
||||
-#else
|
||||
-# define FSTATAT_USE_STATX 0
|
||||
-#endif
|
||||
+#define FSTATAT_USE_STATX 0
|
||||
|
||||
-
|
||||
/* Only statx supports 64-bit timestamps for 32-bit architectures with
|
||||
__ASSUME_STATX, so there is no point in building the fallback. */
|
||||
#if !FSTATAT_USE_STATX || (FSTATAT_USE_STATX && !defined __ASSUME_STATX)
|
||||
@@ -147,11 +110,7 @@
|
||||
int r;
|
||||
|
||||
#if FSTATAT_USE_STATX
|
||||
- r = fstatat64_time64_statx (fd, file, buf, flag);
|
||||
-# ifndef __ASSUME_STATX
|
||||
- if (r == -ENOSYS)
|
||||
- r = fstatat64_time64_stat (fd, file, buf, flag);
|
||||
-# endif
|
||||
+ r = fstatat64_time64_stat (fd, file, buf, flag);
|
||||
#else
|
||||
r = fstatat64_time64_stat (fd, file, buf, flag);
|
||||
#endif
|
||||
|
@ -1,5 +1,5 @@
|
||||
--- glibc-2.38/sysdeps/unix/sysv/linux/ftruncate.c 2023-02-01 06:27:45.000000000 +0300
|
||||
+++ glibc-2.38/sysdeps/unix/sysv/linux/ftruncate.c.patch 2023-06-18 13:16:42.961374902 +0300
|
||||
--- glibc-2.39/sysdeps/unix/sysv/linux/ftruncate.c 2023-02-01 06:27:45.000000000 +0300
|
||||
+++ glibc-2.39/sysdeps/unix/sysv/linux/ftruncate.c.patch 2023-06-18 13:16:42.961374902 +0300
|
||||
@@ -24,12 +24,8 @@
|
||||
int
|
||||
__ftruncate (int fd, off_t length)
|
||||
|
@ -1,5 +1,5 @@
|
||||
--- glibc-2.38/sysdeps/unix/sysv/linux/fxstat64.c 2022-07-30 01:03:09.000000000 +0300
|
||||
+++ glibc-2.38/sysdeps/unix/sysv/linux/fxstat64.c.patch 2022-10-07 22:35:03.954262517 +0300
|
||||
--- glibc-2.39/sysdeps/unix/sysv/linux/fxstat64.c 2022-07-30 01:03:09.000000000 +0300
|
||||
+++ glibc-2.39/sysdeps/unix/sysv/linux/fxstat64.c.patch 2022-10-07 22:35:03.954262517 +0300
|
||||
@@ -50,14 +50,6 @@
|
||||
if (vers == _STAT_VER_KERNEL || vers == _STAT_VER_LINUX)
|
||||
return INLINE_SYSCALL_CALL (fstat, fd, buf);
|
||||
|
@ -1,5 +1,5 @@
|
||||
--- glibc-2.38/sysdeps/unix/sysv/linux/fxstatat64.c 2022-07-30 01:03:09.000000000 +0300
|
||||
+++ glibc-2.38/sysdeps/unix/sysv/linux/fxstatat64.c.patch 2022-10-07 22:31:59.294262587 +0300
|
||||
--- glibc-2.39/sysdeps/unix/sysv/linux/fxstatat64.c 2022-07-30 01:03:09.000000000 +0300
|
||||
+++ glibc-2.39/sysdeps/unix/sysv/linux/fxstatat64.c.patch 2022-10-07 22:31:59.294262587 +0300
|
||||
@@ -44,17 +44,6 @@
|
||||
struct stat64 st64;
|
||||
int r = INLINE_SYSCALL_CALL (fstatat64, fd, file, &st64, flag);
|
||||
|
@ -1,5 +1,5 @@
|
||||
--- glibc-2.38/nss/getXXbyYY.c 2023-07-31 20:54:16.000000000 +0300
|
||||
+++ glibc-2.38/nss/getXXbyYY.c.patch 2023-10-24 09:26:40.776559808 +0300
|
||||
--- glibc-2.39/nss/getXXbyYY.c 2023-07-31 20:54:16.000000000 +0300
|
||||
+++ glibc-2.39/nss/getXXbyYY.c.patch 2023-10-24 09:26:40.776559808 +0300
|
||||
@@ -53,6 +53,10 @@
|
||||
# include <resolv/resolv_context.h>
|
||||
#endif
|
||||
|
@ -1,5 +1,5 @@
|
||||
--- glibc-2.38/nss/getXXbyYY_r.c 2023-07-31 20:54:16.000000000 +0300
|
||||
+++ glibc-2.38/nss/getXXbyYY_r.c.patch 2023-10-26 10:23:01.846548826 +0300
|
||||
--- glibc-2.39/nss/getXXbyYY_r.c 2023-07-31 20:54:16.000000000 +0300
|
||||
+++ glibc-2.39/nss/getXXbyYY_r.c.patch 2023-10-26 10:23:01.846548826 +0300
|
||||
@@ -27,6 +27,9 @@
|
||||
#ifdef NEED__RES
|
||||
# include <resolv/resolv_context.h>
|
||||
|
@ -1,5 +1,5 @@
|
||||
--- glibc-2.38/grp/getgrgid.c 2023-07-31 20:54:16.000000000 +0300
|
||||
+++ glibc-2.38/grp/getgrgid.c.patch 2023-10-24 09:06:25.004991324 +0300
|
||||
--- glibc-2.39/nss/getgrgid.c 2023-07-31 20:54:16.000000000 +0300
|
||||
+++ glibc-2.39/nss/getgrgid.c.patch 2023-10-24 09:06:25.004991324 +0300
|
||||
@@ -24,5 +24,6 @@
|
||||
#define ADD_PARAMS gid_t gid
|
||||
#define ADD_VARIABLES gid
|
||||
@ -7,8 +7,8 @@
|
||||
+#define ANDROID_SYS getgrgid_android
|
||||
|
||||
#include "../nss/getXXbyYY.c"
|
||||
--- glibc-2.38/grp/getgrgid_r.c 2023-07-31 20:54:16.000000000 +0300
|
||||
+++ glibc-2.38/grp/getgrgid_r.c.patch 2023-10-24 10:37:06.021493960 +0300
|
||||
--- glibc-2.39/nss/getgrgid_r.c 2023-07-31 20:54:16.000000000 +0300
|
||||
+++ glibc-2.39/nss/getgrgid_r.c.patch 2023-10-24 10:37:06.021493960 +0300
|
||||
@@ -27,5 +27,6 @@
|
||||
#define BUFLEN NSS_BUFLEN_GROUP
|
||||
#define DEEPCOPY_FN __copy_grp
|
||||
@ -16,8 +16,8 @@
|
||||
+#define ANDROID_SYS getgrgid_android
|
||||
|
||||
#include <nss/getXXbyYY_r.c>
|
||||
--- glibc-2.38/nscd/getgrgid_r.c 2023-07-31 20:54:16.000000000 +0300
|
||||
+++ glibc-2.38/nscd/getgrgid_r.c.patch 2023-10-24 10:36:56.921493963 +0300
|
||||
--- glibc-2.39/nscd/getgrgid_r.c 2023-07-31 20:54:16.000000000 +0300
|
||||
+++ glibc-2.39/nscd/getgrgid_r.c.patch 2023-10-24 10:36:56.921493963 +0300
|
||||
@@ -27,6 +27,7 @@
|
||||
|
||||
#define DEEPCOPY_FN __copy_grp
|
||||
|
@ -1,5 +1,5 @@
|
||||
--- glibc-2.38/grp/getgrnam.c 2023-07-31 20:54:16.000000000 +0300
|
||||
+++ glibc-2.38/grp/getgrnam.c.patch 2023-10-25 12:46:39.218853501 +0300
|
||||
--- glibc-2.39/nss/getgrnam.c 2023-07-31 20:54:16.000000000 +0300
|
||||
+++ glibc-2.39/nss/getgrnam.c.patch 2023-10-25 12:46:39.218853501 +0300
|
||||
@@ -24,5 +24,6 @@
|
||||
#define ADD_PARAMS const char *name
|
||||
#define ADD_VARIABLES name
|
||||
@ -7,8 +7,8 @@
|
||||
+#define ANDROID_SYS getgrnam_android
|
||||
|
||||
#include "../nss/getXXbyYY.c"
|
||||
--- glibc-2.38/grp/getgrnam_r.c 2023-07-31 20:54:16.000000000 +0300
|
||||
+++ glibc-2.38/grp/getgrnam_r.c.patch 2023-10-25 12:47:53.598853472 +0300
|
||||
--- glibc-2.39/nss/getgrnam_r.c 2023-07-31 20:54:16.000000000 +0300
|
||||
+++ glibc-2.39/nss/getgrnam_r.c.patch 2023-10-25 12:47:53.598853472 +0300
|
||||
@@ -24,6 +24,7 @@
|
||||
#define DATABASE_NAME group
|
||||
#define ADD_PARAMS const char *name
|
||||
@ -17,8 +17,8 @@
|
||||
|
||||
#define DEEPCOPY_FN __copy_grp
|
||||
#define MERGE_FN __merge_grp
|
||||
--- glibc-2.38/nscd/getgrnam_r.c 2023-07-31 20:54:16.000000000 +0300
|
||||
+++ glibc-2.38/nscd/getgrnam_r.c.patch 2023-10-25 12:48:59.818853447 +0300
|
||||
--- glibc-2.39/nscd/getgrnam_r.c 2023-07-31 20:54:16.000000000 +0300
|
||||
+++ glibc-2.39/nscd/getgrnam_r.c.patch 2023-10-25 12:48:59.818853447 +0300
|
||||
@@ -23,6 +23,7 @@
|
||||
#define DATABASE_NAME group
|
||||
#define ADD_PARAMS const char *name
|
||||
|
@ -1,5 +1,5 @@
|
||||
--- glibc-2.38/pwd/getpwnam.c 2023-07-31 20:54:16.000000000 +0300
|
||||
+++ glibc-2.38/pwd/getpwnam.c.patch 2023-10-25 12:42:35.608853594 +0300
|
||||
--- glibc-2.39/nss/getpwnam.c 2023-07-31 20:54:16.000000000 +0300
|
||||
+++ glibc-2.39/nss/getpwnam.c.patch 2023-10-25 12:42:35.608853594 +0300
|
||||
@@ -24,5 +24,6 @@
|
||||
#define ADD_PARAMS const char *name
|
||||
#define ADD_VARIABLES name
|
||||
@ -7,8 +7,8 @@
|
||||
+#define ANDROID_SYS getpwnam_android
|
||||
|
||||
#include "../nss/getXXbyYY.c"
|
||||
--- glibc-2.38/pwd/getpwnam_r.c 2023-07-31 20:54:16.000000000 +0300
|
||||
+++ glibc-2.38/pwd/getpwnam_r.c.patch 2023-10-25 12:43:40.708853569 +0300
|
||||
--- glibc-2.39/nss/getpwnam_r.c 2023-07-31 20:54:16.000000000 +0300
|
||||
+++ glibc-2.39/nss/getpwnam_r.c.patch 2023-10-25 12:43:40.708853569 +0300
|
||||
@@ -24,5 +24,6 @@
|
||||
#define ADD_PARAMS const char *name
|
||||
#define ADD_VARIABLES name
|
||||
@ -16,8 +16,8 @@
|
||||
+#define ANDROID_SYS getpwnam_android
|
||||
|
||||
#include <nss/getXXbyYY_r.c>
|
||||
--- glibc-2.38/nscd/getpwnam_r.c 2023-07-31 20:54:16.000000000 +0300
|
||||
+++ glibc-2.38/nscd/getpwnam_r.c.patch 2023-10-25 12:44:19.868853554 +0300
|
||||
--- glibc-2.39/nscd/getpwnam_r.c 2023-07-31 20:54:16.000000000 +0300
|
||||
+++ glibc-2.39/nscd/getpwnam_r.c.patch 2023-10-25 12:44:19.868853554 +0300
|
||||
@@ -23,6 +23,7 @@
|
||||
#define ADD_PARAMS const char *name
|
||||
#define ADD_VARIABLES name
|
||||
|
@ -1,5 +1,5 @@
|
||||
--- glibc-2.38/pwd/getpwuid.c 2023-07-31 20:54:16.000000000 +0300
|
||||
+++ glibc-2.38/pwd/getpwuid.c.patch 2023-10-24 09:08:43.494991271 +0300
|
||||
--- glibc-2.39/nss/getpwuid.c 2023-07-31 20:54:16.000000000 +0300
|
||||
+++ glibc-2.39/nss/getpwuid.c.patch 2023-10-24 09:08:43.494991271 +0300
|
||||
@@ -24,5 +24,6 @@
|
||||
#define ADD_PARAMS uid_t uid
|
||||
#define ADD_VARIABLES uid
|
||||
@ -7,8 +7,8 @@
|
||||
+#define ANDROID_SYS getpwuid_android
|
||||
|
||||
#include "../nss/getXXbyYY.c"
|
||||
--- glibc-2.38/pwd/getpwuid_r.c 2023-07-31 20:54:16.000000000 +0300
|
||||
+++ glibc-2.38/pwd/getpwuid_r.c.patch 2023-10-24 10:40:09.191493890 +0300
|
||||
--- glibc-2.39/nss/getpwuid_r.c 2023-07-31 20:54:16.000000000 +0300
|
||||
+++ glibc-2.39/nss/getpwuid_r.c.patch 2023-10-24 10:40:09.191493890 +0300
|
||||
@@ -24,5 +24,6 @@
|
||||
#define ADD_PARAMS uid_t uid
|
||||
#define ADD_VARIABLES uid
|
||||
@ -16,8 +16,8 @@
|
||||
+#define ANDROID_SYS getpwuid_android
|
||||
|
||||
#include <nss/getXXbyYY_r.c>
|
||||
--- glibc-2.38/nscd/getpwuid_r.c 2023-07-31 20:54:16.000000000 +0300
|
||||
+++ glibc-2.38/nscd/getpwuid_r.c.patch 2023-10-24 11:20:31.865395540 +0300
|
||||
--- glibc-2.39/nscd/getpwuid_r.c 2023-07-31 20:54:16.000000000 +0300
|
||||
+++ glibc-2.39/nscd/getpwuid_r.c.patch 2023-10-24 11:20:31.865395540 +0300
|
||||
@@ -23,6 +23,7 @@
|
||||
#define ADD_PARAMS uid_t uid
|
||||
#define ADD_VARIABLES uid
|
||||
|
@ -1,6 +1,6 @@
|
||||
--- glibc-2.38/sysdeps/unix/sysv/linux/i386/arch-syscall.h 2023-07-31 20:54:16.000000000 +0300
|
||||
+++ glibc-2.38/sysdeps/unix/sysv/linux/i386/arch-syscall.h.patch 2023-11-10 23:47:46.716988212 +0300
|
||||
@@ -18,24 +18,18 @@
|
||||
--- glibc-2.39/sysdeps/unix/sysv/linux/i386/arch-syscall.h 2024-01-31 03:34:58.000000000 +0300
|
||||
+++ glibc-2.39/sysdeps/unix/sysv/linux/i386/arch-syscall.h.patch 2024-02-10 14:53:23.020125331 +0300
|
||||
@@ -19,24 +19,18 @@
|
||||
#define __NR_capget 184
|
||||
#define __NR_capset 185
|
||||
#define __NR_chdir 12
|
||||
@ -25,7 +25,7 @@
|
||||
#define __NR_connect 362
|
||||
#define __NR_copy_file_range 377
|
||||
#define __NR_creat 8
|
||||
@@ -57,7 +51,6 @@
|
||||
@@ -58,7 +52,6 @@
|
||||
#define __NR_exit 1
|
||||
#define __NR_exit_group 252
|
||||
#define __NR_faccessat 307
|
||||
@ -33,15 +33,23 @@
|
||||
#define __NR_fadvise64 250
|
||||
#define __NR_fadvise64_64 272
|
||||
#define __NR_fallocate 324
|
||||
@@ -94,7 +87,6 @@
|
||||
#define __NR_ftruncate64 194
|
||||
#define __NR_futex 240
|
||||
@@ -67,7 +60,6 @@
|
||||
#define __NR_fchdir 133
|
||||
#define __NR_fchmod 94
|
||||
#define __NR_fchmodat 306
|
||||
-#define __NR_fchmodat2 452
|
||||
#define __NR_fchown 95
|
||||
#define __NR_fchown32 207
|
||||
#define __NR_fchownat 298
|
||||
@@ -98,7 +90,6 @@
|
||||
#define __NR_futex_requeue 456
|
||||
#define __NR_futex_time64 422
|
||||
#define __NR_futex_wait 455
|
||||
-#define __NR_futex_waitv 449
|
||||
#define __NR_futex_wake 454
|
||||
#define __NR_futimesat 299
|
||||
#define __NR_get_kernel_syms 130
|
||||
#define __NR_get_mempolicy 275
|
||||
@@ -115,7 +107,6 @@
|
||||
@@ -120,7 +111,6 @@
|
||||
#define __NR_getitimer 105
|
||||
#define __NR_getpeername 368
|
||||
#define __NR_getpgid 132
|
||||
@ -49,7 +57,7 @@
|
||||
#define __NR_getpid 20
|
||||
#define __NR_getpmsg 188
|
||||
#define __NR_getppid 64
|
||||
@@ -239,7 +229,6 @@
|
||||
@@ -245,7 +235,6 @@
|
||||
#define __NR_personality 136
|
||||
#define __NR_pidfd_getfd 438
|
||||
#define __NR_pidfd_open 434
|
||||
@ -57,7 +65,7 @@
|
||||
#define __NR_pipe 42
|
||||
#define __NR_pipe2 331
|
||||
#define __NR_pivot_root 217
|
||||
@@ -288,8 +277,6 @@
|
||||
@@ -294,8 +283,6 @@
|
||||
#define __NR_renameat2 353
|
||||
#define __NR_request_key 287
|
||||
#define __NR_restart_syscall 0
|
||||
@ -66,7 +74,7 @@
|
||||
#define __NR_rt_sigaction 174
|
||||
#define __NR_rt_sigpending 176
|
||||
#define __NR_rt_sigprocmask 175
|
||||
@@ -324,16 +311,9 @@
|
||||
@@ -330,16 +317,9 @@
|
||||
#define __NR_sendto 369
|
||||
#define __NR_set_mempolicy 276
|
||||
#define __NR_set_mempolicy_home_node 450
|
||||
@ -83,7 +91,7 @@
|
||||
#define __NR_setgroups 81
|
||||
#define __NR_setgroups32 206
|
||||
#define __NR_sethostname 74
|
||||
@@ -343,8 +323,6 @@
|
||||
@@ -349,8 +329,6 @@
|
||||
#define __NR_setpriority 97
|
||||
#define __NR_setregid 71
|
||||
#define __NR_setregid32 204
|
||||
@ -92,7 +100,7 @@
|
||||
#define __NR_setresuid 164
|
||||
#define __NR_setresuid32 208
|
||||
#define __NR_setreuid 70
|
||||
@@ -353,8 +331,6 @@
|
||||
@@ -359,8 +337,6 @@
|
||||
#define __NR_setsid 66
|
||||
#define __NR_setsockopt 366
|
||||
#define __NR_settimeofday 79
|
||||
@ -101,7 +109,7 @@
|
||||
#define __NR_setxattr 226
|
||||
#define __NR_sgetmask 68
|
||||
#define __NR_shmat 397
|
||||
@@ -380,12 +356,10 @@
|
||||
@@ -386,12 +362,10 @@
|
||||
#define __NR_stat64 195
|
||||
#define __NR_statfs 99
|
||||
#define __NR_statfs64 268
|
||||
|
@ -1,5 +1,5 @@
|
||||
--- glibc-2.38/sysdeps/unix/sysv/linux/i386/syscalls.list 2023-07-31 20:54:16.000000000 +0300
|
||||
+++ glibc-2.38/sysdeps/unix/sysv/linux/i386/syscalls.list.patch 2023-11-15 22:11:16.522925458 +0300
|
||||
--- glibc-2.39/sysdeps/unix/sysv/linux/i386/syscalls.list 2023-07-31 20:54:16.000000000 +0300
|
||||
+++ glibc-2.39/sysdeps/unix/sysv/linux/i386/syscalls.list.patch 2023-11-15 22:11:16.522925458 +0300
|
||||
@@ -1,9 +1,5 @@
|
||||
# File name Caller Syscall name Args Strong name Weak names
|
||||
|
||||
|
@ -1,11 +1,11 @@
|
||||
--- glibc-2.38/sysdeps/unix/sysv/linux/Makefile 2023-07-31 20:54:16.000000000 +0300
|
||||
+++ glibc-2.38/sysdeps/unix/sysv/linux/Makefile.patch 2023-09-09 00:40:40.109180943 +0300
|
||||
@@ -94,8 +94,6 @@
|
||||
--- src/sysdeps/unix/sysv/linux/Makefile 2024-01-31 03:34:58.000000000 +0300
|
||||
+++ src/sysdeps/unix/sysv/linux/Makefile.patch 2024-02-09 09:06:27.474952654 +0300
|
||||
@@ -95,8 +95,6 @@
|
||||
process_vm_writev \
|
||||
pselect32 \
|
||||
readahead \
|
||||
- setfsgid \
|
||||
- setfsuid \
|
||||
setvmaname \
|
||||
signalfd \
|
||||
splice \
|
||||
sysctl \
|
||||
|
@ -1,5 +1,5 @@
|
||||
--- glibc-2.38/sysdeps/unix/sysv/linux/local-setxid.h 2023-07-31 20:54:16.000000000 +0300
|
||||
+++ glibc-2.38/sysdeps/unix/sysv/linux/local-setxid.h.patch 2023-10-20 12:25:43.428519924 +0300
|
||||
--- glibc-2.39/sysdeps/unix/sysv/linux/local-setxid.h 2023-07-31 20:54:16.000000000 +0300
|
||||
+++ glibc-2.39/sysdeps/unix/sysv/linux/local-setxid.h.patch 2023-10-20 12:25:43.428519924 +0300
|
||||
@@ -1,6 +1,7 @@
|
||||
/* SETxID functions which only have to change the local thread and
|
||||
none of the possible other threads. */
|
||||
|
@ -1,5 +1,5 @@
|
||||
--- glibc-2.38/sysdeps/unix/sysv/linux/lxstat64.c 2022-07-30 01:03:09.000000000 +0300
|
||||
+++ glibc-2.38/sysdeps/unix/sysv/linux/lxstat64.c.patch 2022-10-07 22:27:46.944262684 +0300
|
||||
--- glibc-2.39/sysdeps/unix/sysv/linux/lxstat64.c 2022-07-30 01:03:09.000000000 +0300
|
||||
+++ glibc-2.39/sysdeps/unix/sysv/linux/lxstat64.c.patch 2022-10-07 22:27:46.944262684 +0300
|
||||
@@ -53,18 +53,6 @@
|
||||
if (vers == _STAT_VER_KERNEL)
|
||||
return INLINE_SYSCALL_CALL (newfstatat, AT_FDCWD, name, buf,
|
||||
|
@ -1,5 +1,5 @@
|
||||
--- glibc-2.38/misc/Makefile 2023-07-31 20:54:16.000000000 +0300
|
||||
+++ glibc-2.38/misc/Makefile.patch 2023-12-26 00:08:33.550537534 +0300
|
||||
--- glibc-2.39/misc/Makefile 2023-07-31 20:54:16.000000000 +0300
|
||||
+++ glibc-2.39/misc/Makefile.patch 2023-12-26 00:08:33.550537534 +0300
|
||||
@@ -192,6 +192,7 @@
|
||||
swapon \
|
||||
sync \
|
||||
|
@ -1,5 +1,5 @@
|
||||
--- glibc-2.38/misc/Versions 2023-07-31 20:54:16.000000000 +0300
|
||||
+++ glibc-2.38/misc/Versions.patch 2024-01-01 13:56:26.514498144 +0300
|
||||
--- glibc-2.39/misc/Versions 2023-07-31 20:54:16.000000000 +0300
|
||||
+++ glibc-2.39/misc/Versions.patch 2024-01-01 13:56:26.514498144 +0300
|
||||
@@ -71,7 +71,7 @@
|
||||
# s*
|
||||
sbrk; select; setdomainname; setfsent; sethostent; sethostid; sethostname;
|
||||
|
@ -1,11 +1,10 @@
|
||||
--- glibc-2.38/nss/Makefile 2023-07-31 20:54:16.000000000 +0300
|
||||
+++ glibc-2.38/nss/Makefile.patch 2023-10-24 09:42:50.556559438 +0300
|
||||
@@ -32,7 +32,7 @@
|
||||
nss_readline nss_parse_line_result \
|
||||
nss_fgetent_r nss_module nss_action \
|
||||
nss_action_parse nss_database nss_files_data \
|
||||
- nss_files_functions
|
||||
+ nss_files_functions android_passwd_group
|
||||
--- src/nss/Makefile 2024-01-31 03:34:58.000000000 +0300
|
||||
+++ src/nss/Makefile.patch 2024-02-09 09:09:23.564952587 +0300
|
||||
@@ -53,6 +53,7 @@
|
||||
rewrite_field \
|
||||
valid_field \
|
||||
valid_list_field \
|
||||
+ android_passwd_group \
|
||||
# routines
|
||||
|
||||
# These are the databases that go through nss dispatch.
|
||||
# Caution: if you add a database here, you must add its real name
|
||||
# alias routines:
|
||||
|
@ -1,6 +1,6 @@
|
||||
--- src/sysdeps/unix/sysv/linux/sys/pidfd.h 2023-07-31 20:54:16.000000000 +0300
|
||||
+++ src/sysdeps/unix/sysv/linux/sys/pidfd.h.patch 2023-10-06 17:40:14.819331237 +0300
|
||||
@@ -38,12 +38,4 @@
|
||||
--- src/sysdeps/unix/sysv/linux/sys/pidfd.h 2024-01-31 03:34:58.000000000 +0300
|
||||
+++ src/sysdeps/unix/sysv/linux/sys/pidfd.h.patch 2024-02-09 09:12:20.984952519 +0300
|
||||
@@ -38,14 +38,6 @@
|
||||
extern int pidfd_getfd (int __pidfd, int __targetfd,
|
||||
unsigned int __flags) __THROW;
|
||||
|
||||
@ -12,4 +12,6 @@
|
||||
-extern int pidfd_send_signal (int __pidfd, int __sig, siginfo_t *__info,
|
||||
- unsigned int __flags) __THROW;
|
||||
-
|
||||
#endif /* _PIDFD_H */
|
||||
/* Query the process ID (PID) from process descriptor FD. Return the PID
|
||||
or -1 in case of an error. */
|
||||
extern pid_t pidfd_getpid (int __fd) __THROW;
|
||||
|
@ -1,5 +1,5 @@
|
||||
--- glibc-2.38/nptl/pthread_create.c 2021-08-02 01:33:43.000000000 +0000
|
||||
+++ glibc-2.38/nptl/pthread_create.c.path 2022-01-20 08:16:09.293375256 +0000
|
||||
--- glibc-2.39/nptl/pthread_create.c 2021-08-02 01:33:43.000000000 +0000
|
||||
+++ glibc-2.39/nptl/pthread_create.c.path 2022-01-20 08:16:09.293375256 +0000
|
||||
@@ -366,16 +366,6 @@
|
||||
/* Initialize pointers to locale data. */
|
||||
__ctype_init ();
|
||||
|
@ -1,5 +1,5 @@
|
||||
--- glibc-2.38/sysdeps/unix/sysv/linux/recv.c 2023-02-01 06:27:45.000000000 +0300
|
||||
+++ glibc-2.38/sysdeps/unix/sysv/linux/recv.c.patch 2023-04-07 19:29:20.454418049 +0300
|
||||
--- glibc-2.39/sysdeps/unix/sysv/linux/recv.c 2023-02-01 06:27:45.000000000 +0300
|
||||
+++ glibc-2.39/sysdeps/unix/sysv/linux/recv.c.patch 2023-04-07 19:29:20.454418049 +0300
|
||||
@@ -22,13 +22,7 @@
|
||||
ssize_t
|
||||
__libc_recv (int fd, void *buf, size_t len, int flags)
|
||||
|
@ -1,28 +0,0 @@
|
||||
From 31915e55f9c34f6137ab1c5ac002375a2d5d4589 Mon Sep 17 00:00:00 2001
|
||||
From: Frederik Schwan <frederik.schwan@linux.com>
|
||||
Date: Fri, 4 Aug 2023 15:19:57 +0200
|
||||
Subject: [PATCH] force --hash-style=both to keep compatibility with old niche
|
||||
software
|
||||
|
||||
---
|
||||
Makeconfig | 4 ++++
|
||||
1 file changed, 4 insertions(+)
|
||||
|
||||
diff --git a/Makeconfig b/Makeconfig
|
||||
index 77d7fd14df..2ae67c4beb 100644
|
||||
--- a/Makeconfig
|
||||
+++ b/Makeconfig
|
||||
@@ -378,6 +378,10 @@ relro-LDFLAGS = -Wl,-z,relro
|
||||
LDFLAGS.so += $(relro-LDFLAGS)
|
||||
LDFLAGS-rtld += $(relro-LDFLAGS)
|
||||
|
||||
+hashstyle-LDFLAGS = -Wl,--hash-style=both
|
||||
+LDFLAGS.so += $(hashstyle-LDFLAGS)
|
||||
+LDFLAGS-rtld += $(hashstyle-LDFLAGS)
|
||||
+
|
||||
# Linker options to enable and disable DT_RELR.
|
||||
ifeq ($(have-dt-relr),yes)
|
||||
dt-relr-ldflag = -Wl,-z,pack-relative-relocs
|
||||
--
|
||||
2.41.0
|
||||
|
@ -1,5 +1,5 @@
|
||||
--- glibc-2.38/sysdeps/unix/sysv/linux/rmdir.c 2023-07-31 20:54:16.000000000 +0300
|
||||
+++ glibc-2.38/sysdeps/unix/sysv/linux/rmdir.c.patch 2023-08-03 17:53:35.086156996 +0300
|
||||
--- glibc-2.39/sysdeps/unix/sysv/linux/rmdir.c 2023-07-31 20:54:16.000000000 +0300
|
||||
+++ glibc-2.39/sysdeps/unix/sysv/linux/rmdir.c.patch 2023-08-03 17:53:35.086156996 +0300
|
||||
@@ -24,10 +24,6 @@
|
||||
int
|
||||
__rmdir (const char *path)
|
||||
|
@ -1,5 +1,5 @@
|
||||
--- glibc-2.38/sysdeps/unix/sysv/linux/rseq-internal.h 2022-02-03 05:27:54.000000000 +0000
|
||||
+++ glibc-2.38/sysdeps/unix/sysv/linux/rseq-internal.h.patch 2022-06-17 12:19:02.380504902 +0000
|
||||
--- glibc-2.39/sysdeps/unix/sysv/linux/rseq-internal.h 2022-02-03 05:27:54.000000000 +0000
|
||||
+++ glibc-2.39/sysdeps/unix/sysv/linux/rseq-internal.h.patch 2022-06-17 12:19:02.380504902 +0000
|
||||
@@ -25,28 +25,11 @@
|
||||
#include <stdio.h>
|
||||
#include <sys/rseq.h>
|
||||
|
@ -1,5 +1,5 @@
|
||||
--- glibc-2.38/sysdeps/unix/sysv/linux/send.c 2023-02-01 06:27:45.000000000 +0300
|
||||
+++ glibc-2.38/sysdeps/unix/sysv/linux/send.c.patch 2023-04-07 10:31:50.374430351 +0300
|
||||
--- glibc-2.39/sysdeps/unix/sysv/linux/send.c 2023-02-01 06:27:45.000000000 +0300
|
||||
+++ glibc-2.39/sysdeps/unix/sysv/linux/send.c.patch 2023-04-07 10:31:50.374430351 +0300
|
||||
@@ -22,13 +22,7 @@
|
||||
ssize_t
|
||||
__libc_send (int fd, const void *buf, size_t len, int flags)
|
||||
|
@ -11,24 +11,20 @@ index 4c3521db..06b6faa7 100644
|
||||
if (dirp == NULL)
|
||||
{
|
||||
if (errno == ENOENT)
|
||||
diff --git a/elf/dl-support.c b/elf/dl-support.c
|
||||
index 44a54dea..2cfeee80 100644
|
||||
--- a/elf/dl-support.c
|
||||
+++ b/elf/dl-support.c
|
||||
@@ -304,7 +304,7 @@ _dl_non_dynamic_init (void)
|
||||
_dl_profile_output = getenv ("LD_PROFILE_OUTPUT");
|
||||
if (_dl_profile_output == NULL || _dl_profile_output[0] == '\0')
|
||||
_dl_profile_output
|
||||
- = &"/var/tmp\0/var/profile"[__libc_enable_secure ? 9 : 0];
|
||||
+ = &"@TERMUX_PREFIX@/var/tmp\0/var/profile"[__libc_enable_secure ? 9 : 0];
|
||||
|
||||
if (__libc_enable_secure)
|
||||
{
|
||||
diff --git a/elf/rtld.c b/elf/rtld.c
|
||||
index a91e2a44..382a12f8 100644
|
||||
--- a/elf/rtld.c
|
||||
+++ b/elf/rtld.c
|
||||
@@ -1865,7 +1865,7 @@ dl_main (const ElfW(Phdr) *phdr,
|
||||
@@ -360,7 +360,7 @@
|
||||
._dl_fpu_control = _FPU_DEFAULT,
|
||||
._dl_pagesize = EXEC_PAGESIZE,
|
||||
._dl_inhibit_cache = 0,
|
||||
- ._dl_profile_output = "/var/tmp",
|
||||
+ ._dl_profile_output = "@TERMUX_PREFIX@/var/tmp",
|
||||
|
||||
/* Function pointers. */
|
||||
._dl_debug_printf = _dl_debug_printf,
|
||||
@@ -1862,7 +1862,7 @@ dl_main (const ElfW(Phdr) *phdr,
|
||||
open(). So we do this first. If it succeeds we do almost twice
|
||||
the work but this does not matter, since it is not for production
|
||||
use. */
|
||||
@ -37,15 +33,6 @@ index a91e2a44..382a12f8 100644
|
||||
if (__glibc_unlikely (__access (preload_file, R_OK) == 0))
|
||||
{
|
||||
/* Read the contents of the file. */
|
||||
@@ -2542,7 +2542,7 @@ process_envvars (struct dl_main_state *state)
|
||||
|
||||
/* This is the default place for profiling data file. */
|
||||
GLRO(dl_profile_output)
|
||||
- = &"/var/tmp\0/var/profile"[__libc_enable_secure ? 9 : 0];
|
||||
+ = &"@TERMUX_PREFIX@/var/tmp\0/var/profile"[__libc_enable_secure ? 9 : 0];
|
||||
|
||||
while ((envline = _dl_next_ld_env_entry (&runp)) != NULL)
|
||||
{
|
||||
diff --git a/elf/sprof.c b/elf/sprof.c
|
||||
index 3eaa4758..9a44ac2c 100644
|
||||
--- a/elf/sprof.c
|
||||
|
@ -1,5 +1,5 @@
|
||||
--- glibc-2.38/sysdeps/unix/sysv/linux/setegid.c 2023-07-31 20:54:16.000000000 +0300
|
||||
+++ glibc-2.38/sysdeps/unix/sysv/linux/setegid.c.patch 2023-10-20 13:41:29.056169208 +0300
|
||||
--- glibc-2.39/sysdeps/unix/sysv/linux/setegid.c 2023-07-31 20:54:16.000000000 +0300
|
||||
+++ glibc-2.39/sysdeps/unix/sysv/linux/setegid.c.patch 2023-10-20 13:41:29.056169208 +0300
|
||||
@@ -28,13 +28,7 @@
|
||||
if (gid == (gid_t) ~0)
|
||||
return INLINE_SYSCALL_ERROR_RETURN_VALUE (EINVAL);
|
||||
|
@ -1,5 +1,5 @@
|
||||
--- glibc-2.38/sysdeps/unix/sysv/linux/setgid.c 2023-07-31 20:54:16.000000000 +0300
|
||||
+++ glibc-2.38/sysdeps/unix/sysv/linux/setgid.c.patch 2023-10-20 18:56:19.607101054 +0300
|
||||
--- glibc-2.39/sysdeps/unix/sysv/linux/setgid.c 2023-07-31 20:54:16.000000000 +0300
|
||||
+++ glibc-2.39/sysdeps/unix/sysv/linux/setgid.c.patch 2023-10-20 18:56:19.607101054 +0300
|
||||
@@ -23,11 +23,7 @@
|
||||
int
|
||||
__setgid (gid_t gid)
|
||||
|
@ -1,5 +1,5 @@
|
||||
--- glibc-2.38/sysdeps/unix/sysv/linux/setresgid.c 2023-07-31 20:54:16.000000000 +0300
|
||||
+++ glibc-2.38/sysdeps/unix/sysv/linux/setresgid.c.patch 2023-10-20 13:46:15.746169098 +0300
|
||||
--- glibc-2.39/sysdeps/unix/sysv/linux/setresgid.c 2023-07-31 20:54:16.000000000 +0300
|
||||
+++ glibc-2.39/sysdeps/unix/sysv/linux/setresgid.c.patch 2023-10-20 13:46:15.746169098 +0300
|
||||
@@ -23,11 +23,7 @@
|
||||
int
|
||||
__setresgid (gid_t rgid, gid_t egid, gid_t sgid)
|
||||
|
@ -1,5 +1,5 @@
|
||||
--- glibc-2.38/sysdeps/unix/sysv/linux/setuid.c 2023-07-31 20:54:16.000000000 +0300
|
||||
+++ glibc-2.38/sysdeps/unix/sysv/linux/setuid.c.patch 2023-10-20 18:54:34.107101094 +0300
|
||||
--- glibc-2.39/sysdeps/unix/sysv/linux/setuid.c 2023-07-31 20:54:16.000000000 +0300
|
||||
+++ glibc-2.39/sysdeps/unix/sysv/linux/setuid.c.patch 2023-10-20 18:54:34.107101094 +0300
|
||||
@@ -22,11 +22,7 @@
|
||||
int
|
||||
__setuid (uid_t uid)
|
||||
|
@ -1,5 +1,5 @@
|
||||
--- glibc-2.38/sysdeps/unix/sysv/linux/shmat.c 2023-02-01 06:27:45.000000000 +0300
|
||||
+++ glibc-2.38/sysdeps/unix/sysv/linux/shmat.c.patch 2023-06-08 12:41:26.289174354 +0300
|
||||
--- glibc-2.39/sysdeps/unix/sysv/linux/shmat.c 2023-02-01 06:27:45.000000000 +0300
|
||||
+++ glibc-2.39/sysdeps/unix/sysv/linux/shmat.c.patch 2023-06-08 12:41:26.289174354 +0300
|
||||
@@ -18,25 +18,44 @@
|
||||
#include <ipc_priv.h>
|
||||
#include <sysdep.h>
|
||||
|
@ -1,5 +1,5 @@
|
||||
--- glibc-2.38/sysdeps/unix/sysv/linux/shmctl.c 2023-02-01 06:27:45.000000000 +0300
|
||||
+++ glibc-2.38/sysdeps/unix/sysv/linux/shmctl.c.patch 2023-06-08 12:43:28.639174307 +0300
|
||||
--- glibc-2.39/sysdeps/unix/sysv/linux/shmctl.c 2023-02-01 06:27:45.000000000 +0300
|
||||
+++ glibc-2.39/sysdeps/unix/sysv/linux/shmctl.c.patch 2023-06-08 12:43:28.639174307 +0300
|
||||
@@ -15,277 +15,76 @@
|
||||
License along with the GNU C Library; if not, see
|
||||
<https://www.gnu.org/licenses/>. */
|
||||
|
@ -1,5 +1,5 @@
|
||||
--- glibc-2.38/sysdeps/unix/sysv/linux/shmdt.c 2023-02-01 06:27:45.000000000 +0300
|
||||
+++ glibc-2.38/sysdeps/unix/sysv/linux/shmdt.c.patch 2023-06-08 12:48:00.059174203 +0300
|
||||
--- glibc-2.39/sysdeps/unix/sysv/linux/shmdt.c 2023-02-01 06:27:45.000000000 +0300
|
||||
+++ glibc-2.39/sysdeps/unix/sysv/linux/shmdt.c.patch 2023-06-08 12:48:00.059174203 +0300
|
||||
@@ -18,16 +18,35 @@
|
||||
#include <ipc_priv.h>
|
||||
#include <sysdep.h>
|
||||
|
@ -1,5 +1,5 @@
|
||||
--- glibc-2.38/sysdeps/unix/sysv/linux/shmget.c 2023-02-01 06:27:45.000000000 +0300
|
||||
+++ glibc-2.38/sysdeps/unix/sysv/linux/shmget.c.patch 2023-06-08 12:46:33.199174236 +0300
|
||||
--- glibc-2.39/sysdeps/unix/sysv/linux/shmget.c 2023-02-01 06:27:45.000000000 +0300
|
||||
+++ glibc-2.39/sysdeps/unix/sysv/linux/shmget.c.patch 2023-06-08 12:46:33.199174236 +0300
|
||||
@@ -19,16 +19,151 @@
|
||||
#include <stddef.h>
|
||||
#include <ipc_priv.h>
|
||||
|
@ -1,5 +1,5 @@
|
||||
--- glibc-2.38/sysdeps/unix/sysv/linux/spawni.c 2023-07-31 20:54:16.000000000 +0300
|
||||
+++ glibc-2.38/sysdeps/unix/sysv/linux/spawni.c.patch 2023-10-07 00:31:27.595087508 +0300
|
||||
--- glibc-2.39/sysdeps/unix/sysv/linux/spawni.c 2023-07-31 20:54:16.000000000 +0300
|
||||
+++ glibc-2.39/sysdeps/unix/sysv/linux/spawni.c.patch 2023-10-07 00:31:27.595087508 +0300
|
||||
@@ -264,7 +264,7 @@
|
||||
case spawn_do_closefrom:
|
||||
{
|
||||
|
@ -1,5 +1,5 @@
|
||||
--- glibc-2.38/sysdeps/unix/sysv/linux/statx.c 2022-02-03 08:27:54.000000000 +0300
|
||||
+++ glibc-2.38/sysdeps/unix/sysv/linux/statx.c.patch 2022-10-07 10:17:06.418934334 +0300
|
||||
--- glibc-2.39/sysdeps/unix/sysv/linux/statx.c 2022-02-03 08:27:54.000000000 +0300
|
||||
+++ glibc-2.39/sysdeps/unix/sysv/linux/statx.c.patch 2022-10-07 10:17:06.418934334 +0300
|
||||
@@ -25,14 +25,5 @@
|
||||
statx (int fd, const char *path, int flags,
|
||||
unsigned int mask, struct statx *buf)
|
||||
|
@ -1,5 +1,5 @@
|
||||
--- glibc-2.38/sysdeps/unix/sysv/linux/aarch64/syscall.S 2023-07-31 20:54:16.000000000 +0300
|
||||
+++ glibc-2.38/sysdeps/unix/sysv/linux/aarch64/syscall.S.patch 2023-12-25 22:43:44.138402265 +0300
|
||||
--- glibc-2.39/sysdeps/unix/sysv/linux/aarch64/syscall.S 2023-07-31 20:54:16.000000000 +0300
|
||||
+++ glibc-2.39/sysdeps/unix/sysv/linux/aarch64/syscall.S.patch 2023-12-25 22:43:44.138402265 +0300
|
||||
@@ -26,7 +26,7 @@
|
||||
For kernel entry we need to move the system call nr to x8 then
|
||||
load the remaining arguments to register. */
|
||||
@ -15,8 +15,8 @@
|
||||
b SYSCALL_ERROR
|
||||
-PSEUDO_END (syscall)
|
||||
+PSEUDO_END (syscallS)
|
||||
--- glibc-2.38/sysdeps/unix/sysv/linux/arm/syscall.S 2023-07-31 20:54:16.000000000 +0300
|
||||
+++ glibc-2.38/sysdeps/unix/sysv/linux/arm/syscall.S.patch 2023-12-25 22:45:38.988402221 +0300
|
||||
--- glibc-2.39/sysdeps/unix/sysv/linux/arm/syscall.S 2023-07-31 20:54:16.000000000 +0300
|
||||
+++ glibc-2.39/sysdeps/unix/sysv/linux/arm/syscall.S.patch 2023-12-25 22:45:38.988402221 +0300
|
||||
@@ -21,7 +21,7 @@
|
||||
implement syscall(). It won't work reliably with 64-bit arguments
|
||||
(but that is true on many modern platforms). */
|
||||
@ -32,8 +32,8 @@
|
||||
b PLTJMP(syscall_error)
|
||||
-PSEUDO_END (syscall)
|
||||
+PSEUDO_END (syscallS)
|
||||
--- glibc-2.38/sysdeps/unix/sysv/linux/x86_64/syscall.S 2023-07-31 20:54:16.000000000 +0300
|
||||
+++ glibc-2.38/sysdeps/unix/sysv/linux/x86_64/syscall.S.patch 2023-12-25 23:00:38.685827592 +0300
|
||||
--- glibc-2.39/sysdeps/unix/sysv/linux/x86_64/syscall.S 2023-07-31 20:54:16.000000000 +0300
|
||||
+++ glibc-2.39/sysdeps/unix/sysv/linux/x86_64/syscall.S.patch 2023-12-25 23:00:38.685827592 +0300
|
||||
@@ -26,7 +26,7 @@
|
||||
|
||||
|
||||
@ -49,8 +49,8 @@
|
||||
|
||||
-PSEUDO_END (syscall)
|
||||
+PSEUDO_END (syscallS)
|
||||
--- glibc-2.38/sysdeps/unix/sysv/linux/i386/syscall.S 2023-07-31 20:54:16.000000000 +0300
|
||||
+++ glibc-2.38/sysdeps/unix/sysv/linux/i386/syscall.S.patch 2023-12-25 23:01:40.765827568 +0300
|
||||
--- glibc-2.39/sysdeps/unix/sysv/linux/i386/syscall.S 2023-07-31 20:54:16.000000000 +0300
|
||||
+++ glibc-2.39/sysdeps/unix/sysv/linux/i386/syscall.S.patch 2023-12-25 23:01:40.765827568 +0300
|
||||
@@ -21,7 +21,7 @@
|
||||
more information about the value -4095 used below.*/
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
--- glibc-2.38/sysdeps/unix/sysv/linux/tst-rseq-disable.c 2022-02-03 05:27:54.000000000 +0000
|
||||
+++ glibc-2.38/sysdeps/unix/sysv/linux/tst-rseq-disable.c.patch 2022-06-17 10:38:05.170507213 +0000
|
||||
--- glibc-2.39/sysdeps/unix/sysv/linux/tst-rseq-disable.c 2022-02-03 05:27:54.000000000 +0000
|
||||
+++ glibc-2.39/sysdeps/unix/sysv/linux/tst-rseq-disable.c.patch 2022-06-17 10:38:05.170507213 +0000
|
||||
@@ -38,20 +38,7 @@
|
||||
TEST_COMPARE (__rseq_size, 0);
|
||||
TEST_COMPARE ((int) pd->rseq_area.cpu_id, RSEQ_CPU_ID_REGISTRATION_FAILED);
|
||||
|
@ -1,5 +1,5 @@
|
||||
--- glibc-2.38/sysdeps/unix/sysv/linux/tst-rseq.h 2022-02-03 05:27:54.000000000 +0000
|
||||
+++ glibc-2.38/sysdeps/unix/sysv/linux/tst-rseq.h.patch 2022-06-17 10:35:31.250507272 +0000
|
||||
--- glibc-2.39/sysdeps/unix/sysv/linux/tst-rseq.h 2022-02-03 05:27:54.000000000 +0000
|
||||
+++ glibc-2.39/sysdeps/unix/sysv/linux/tst-rseq.h.patch 2022-06-17 10:35:31.250507272 +0000
|
||||
@@ -30,20 +30,9 @@
|
||||
return THREAD_GETMEM_VOLATILE (THREAD_SELF, rseq_area.cpu_id) >= 0;
|
||||
}
|
||||
|
@ -1,5 +1,5 @@
|
||||
--- glibc-2.38/posix/unistd.h 2023-07-31 20:54:16.000000000 +0300
|
||||
+++ glibc-2.38/posix/unistd.h.patch 2023-12-26 11:16:26.077614803 +0300
|
||||
--- glibc-2.39/posix/unistd.h 2023-07-31 20:54:16.000000000 +0300
|
||||
+++ glibc-2.39/posix/unistd.h.patch 2023-12-26 11:16:26.077614803 +0300
|
||||
@@ -1088,6 +1088,7 @@
|
||||
|
||||
In Mach, all system calls take normal arguments and always return an
|
||||
|
@ -1,5 +1,5 @@
|
||||
--- glibc-2.38/sysdeps/unix/sysv/linux/x86_64/64/arch-syscall.h 2023-07-31 20:54:16.000000000 +0300
|
||||
+++ glibc-2.38/sysdeps/unix/sysv/linux/x86_64/64/arch-syscall.h.patch 2023-11-10 23:47:10.546988226 +0300
|
||||
--- glibc-2.39/sysdeps/unix/sysv/linux/x86_64/64/arch-syscall.h 2024-01-31 03:34:58.000000000 +0300
|
||||
+++ glibc-2.39/sysdeps/unix/sysv/linux/x86_64/64/arch-syscall.h.patch 2024-02-10 14:52:54.410125342 +0300
|
||||
@@ -1,6 +1,5 @@
|
||||
/* AUTOGENERATED by update-syscall-lists.py. */
|
||||
#define __NR__sysctl 156
|
||||
@ -7,7 +7,7 @@
|
||||
#define __NR_accept4 288
|
||||
#define __NR_access 21
|
||||
#define __NR_acct 163
|
||||
@@ -15,8 +14,6 @@
|
||||
@@ -16,8 +15,6 @@
|
||||
#define __NR_capget 125
|
||||
#define __NR_capset 126
|
||||
#define __NR_chdir 80
|
||||
@ -16,7 +16,7 @@
|
||||
#define __NR_chroot 161
|
||||
#define __NR_clock_adjtime 305
|
||||
#define __NR_clock_getres 229
|
||||
@@ -24,9 +21,7 @@
|
||||
@@ -25,9 +22,7 @@
|
||||
#define __NR_clock_nanosleep 230
|
||||
#define __NR_clock_settime 227
|
||||
#define __NR_clone 56
|
||||
@ -26,7 +26,7 @@
|
||||
#define __NR_connect 42
|
||||
#define __NR_copy_file_range 326
|
||||
#define __NR_creat 85
|
||||
@@ -50,7 +45,6 @@
|
||||
@@ -51,7 +46,6 @@
|
||||
#define __NR_exit 60
|
||||
#define __NR_exit_group 231
|
||||
#define __NR_faccessat 269
|
||||
@ -34,15 +34,23 @@
|
||||
#define __NR_fadvise64 221
|
||||
#define __NR_fallocate 285
|
||||
#define __NR_fanotify_init 300
|
||||
@@ -78,7 +72,6 @@
|
||||
#define __NR_fsync 74
|
||||
#define __NR_ftruncate 77
|
||||
@@ -59,7 +53,6 @@
|
||||
#define __NR_fchdir 81
|
||||
#define __NR_fchmod 91
|
||||
#define __NR_fchmodat 268
|
||||
-#define __NR_fchmodat2 452
|
||||
#define __NR_fchown 93
|
||||
#define __NR_fchownat 260
|
||||
#define __NR_fcntl 72
|
||||
@@ -82,7 +75,6 @@
|
||||
#define __NR_futex 202
|
||||
#define __NR_futex_requeue 456
|
||||
#define __NR_futex_wait 455
|
||||
-#define __NR_futex_waitv 449
|
||||
#define __NR_futex_wake 454
|
||||
#define __NR_futimesat 261
|
||||
#define __NR_get_kernel_syms 177
|
||||
#define __NR_get_mempolicy 239
|
||||
@@ -95,7 +88,6 @@
|
||||
@@ -100,7 +92,6 @@
|
||||
#define __NR_getitimer 36
|
||||
#define __NR_getpeername 52
|
||||
#define __NR_getpgid 121
|
||||
@ -50,7 +58,7 @@
|
||||
#define __NR_getpid 39
|
||||
#define __NR_getpmsg 181
|
||||
#define __NR_getppid 110
|
||||
@@ -201,7 +192,6 @@
|
||||
@@ -207,7 +198,6 @@
|
||||
#define __NR_personality 135
|
||||
#define __NR_pidfd_getfd 438
|
||||
#define __NR_pidfd_open 434
|
||||
@ -58,7 +66,7 @@
|
||||
#define __NR_pipe 22
|
||||
#define __NR_pipe2 293
|
||||
#define __NR_pivot_root 155
|
||||
@@ -244,8 +234,6 @@
|
||||
@@ -250,8 +240,6 @@
|
||||
#define __NR_renameat2 316
|
||||
#define __NR_request_key 249
|
||||
#define __NR_restart_syscall 219
|
||||
@ -67,7 +75,7 @@
|
||||
#define __NR_rt_sigaction 13
|
||||
#define __NR_rt_sigpending 127
|
||||
#define __NR_rt_sigprocmask 14
|
||||
@@ -279,13 +267,9 @@
|
||||
@@ -285,13 +273,9 @@
|
||||
#define __NR_sendto 44
|
||||
#define __NR_set_mempolicy 238
|
||||
#define __NR_set_mempolicy_home_node 450
|
||||
@ -81,7 +89,7 @@
|
||||
#define __NR_setgroups 116
|
||||
#define __NR_sethostname 170
|
||||
#define __NR_setitimer 38
|
||||
@@ -293,14 +277,12 @@
|
||||
@@ -299,14 +283,12 @@
|
||||
#define __NR_setpgid 109
|
||||
#define __NR_setpriority 141
|
||||
#define __NR_setregid 114
|
||||
@ -96,7 +104,7 @@
|
||||
#define __NR_setxattr 188
|
||||
#define __NR_shmat 30
|
||||
#define __NR_shmctl 31
|
||||
@@ -315,10 +297,8 @@
|
||||
@@ -321,10 +303,8 @@
|
||||
#define __NR_splice 275
|
||||
#define __NR_stat 4
|
||||
#define __NR_statfs 137
|
||||
|
@ -1,5 +1,5 @@
|
||||
--- glibc-2.38/sysdeps/unix/sysv/linux/xstat64.c 2022-07-30 01:03:09.000000000 +0300
|
||||
+++ glibc-2.38/sysdeps/unix/sysv/linux/xstat64.c.patch 2022-10-07 22:26:06.884262722 +0300
|
||||
--- glibc-2.39/sysdeps/unix/sysv/linux/xstat64.c 2022-07-30 01:03:09.000000000 +0300
|
||||
+++ glibc-2.39/sysdeps/unix/sysv/linux/xstat64.c.patch 2022-10-07 22:26:06.884262722 +0300
|
||||
@@ -52,17 +52,6 @@
|
||||
/* New kABIs which uses generic 64-bit Linux ABI, e.g. aarch64, riscv64. */
|
||||
if (vers == _STAT_VER_KERNEL)
|
||||
|
Reference in New Issue
Block a user