diff options
author | Alistair Francis <alistair.francis@wdc.com> | 2020-02-14 11:40:26 -0800 |
---|---|---|
committer | Dmitry V. Levin <ldv@altlinux.org> | 2020-02-26 01:06:39 +0000 |
commit | cc7e890111592b85fc6a0f795349c23aa86d426e (patch) | |
tree | 211a8b946f7b76ffbec4eb30cebee5a324da38be /Makefile.am | |
parent | 2a7ba2a97a23c88b879195467a776608d0f4f87a (diff) | |
download | strace-cc7e890111592b85fc6a0f795349c23aa86d426e.tar.gz |
linux/32: Split 32-bit time_t based syscalls into a separate header
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Starting with Linux kernel v5.1, new 32-bit architectures
do not implement old 32-bit time_t based system calls, so
they should not have the corresponding syscallent records.
* linux/32/syscallent-time32.h: New file, generated using the following
command: grep 'timex\?32)' linux/32/syscallent.h
* Makefile.am (EXTRA_DIST): Add it.
* linux/32/syscallent.h: Replace entries for 32-bit time_t based
syscalls with stub comments using the following command:
sed -i '/timex\?32)/ s/\(^\[[^]]\+\]\)[^"]*"\([^"]\+\)".*/\/\* \1 \2 \*\//'
[HAVE_ARCH_TIME32_SYSCALLS]: Include "32/syscallent-time32.h".
Co-authored-by: Dmitry V. Levin <ldv@altlinux.org>
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am index 9c62218f4..fe3a2c1a1 100644 --- a/Makefile.am +++ b/Makefile.am @@ -443,6 +443,7 @@ EXTRA_DIST = \ linux/32/ioctls_inc_align16.h \ linux/32/ioctls_inc_align32.h \ linux/32/ioctls_inc_align64.h \ + linux/32/syscallent-time32.h \ linux/32/syscallent.h \ linux/64/ioctls_inc.h \ linux/64/syscallent.h \ |