This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[PATCH 23/23] [AARCH64] Take utmp{,x}.h from s390 port
- From: Yury Norov <ynorov at caviumnetworks dot com>
- To: <libc-alpha at sourceware dot org>, <linux-kernel at vger dot kernel dot org>
- Cc: <arnd at arndb dot de>, <catalin dot marinas at arm dot com>, <marcus dot shawcroft at arm dot com>, <philb at gnu dot org>, <davem at davemloft dot net>, <szabolcs dot nagy at arm dot com>, <maxim dot kuvyrkov at linaro dot org>, <joseph at codesourcery dot com>, <pinskia at gmail dot com>, <bamvor dot zhangjian at huawei dot com>, <schwab at suse dot de>, <fweimer at redhat dot com>, <Prasun dot Kapoor at cavium dot com>, <cmetcalf at mellanox dot com>, <hjl dot tools at gmail dot com>, <adhemerval dot zanella at linaro dot org>, Yury Norov <ynorov at caviumnetworks dot com>
- Date: Tue, 28 Jun 2016 19:39:38 +0300
- Subject: [PATCH 23/23] [AARCH64] Take utmp{,x}.h from s390 port
- Authentication-results: sourceware.org; auth=none
- Authentication-results: spf=none (sender IP is ) smtp dot mailfrom=Yuri dot Norov at caviumnetworks dot com;
- References: <1467131978-669-1-git-send-email-ynorov at caviumnetworks dot com>
- Spamdiagnosticmetadata: NSPM
- Spamdiagnosticoutput: 1:99
aarch64 and ilp32 has different size of time_t. So to have common
layout for struct utmp and utmpx, corresponding headers are taken
from s390 port.
This is temporary solution. Proper solution shoud come from generic
code and also take care on endianness.
Signed-off-by: Yury Norov <ynorov@caviumnetworks.com>
---
sysdeps/unix/sysv/linux/aarch64/bits/utmp.h | 1 +
sysdeps/unix/sysv/linux/aarch64/bits/utmpx.h | 1 +
2 files changed, 2 insertions(+)
create mode 100644 sysdeps/unix/sysv/linux/aarch64/bits/utmp.h
create mode 100644 sysdeps/unix/sysv/linux/aarch64/bits/utmpx.h
diff --git a/sysdeps/unix/sysv/linux/aarch64/bits/utmp.h b/sysdeps/unix/sysv/linux/aarch64/bits/utmp.h
new file mode 100644
index 0000000..a492a0b
--- /dev/null
+++ b/sysdeps/unix/sysv/linux/aarch64/bits/utmp.h
@@ -0,0 +1 @@
+#include <sysdeps/unix/sysv/linux/s390/bits/utmp.h>
diff --git a/sysdeps/unix/sysv/linux/aarch64/bits/utmpx.h b/sysdeps/unix/sysv/linux/aarch64/bits/utmpx.h
new file mode 100644
index 0000000..9e890e7
--- /dev/null
+++ b/sysdeps/unix/sysv/linux/aarch64/bits/utmpx.h
@@ -0,0 +1 @@
+#include <sysdeps/unix/sysv/linux/s390/bits/utmpx.h>
--
2.7.4