* [PATCH 0/9] Use 64 bit time_t routines on support
@ 2023-02-13 17:12 Adhemerval Zanella
2023-02-13 17:12 ` [PATCH 1/9] support: Use 64 bit time_t routines on support_descriptors_list (BZ #30111) Adhemerval Zanella
` (8 more replies)
0 siblings, 9 replies; 10+ messages in thread
From: Adhemerval Zanella @ 2023-02-13 17:12 UTC (permalink / raw)
To: libc-alpha
Adhemerval Zanella (9):
support: Use 64 bit time_t routines on support_descriptors_list (BZ
#30111)
support: Use 64 bit time_t routines on support_stat_nanoseconds
support: Use 64 bit time_t routines on test-container
support: Use 64 bit time_t routines on shell-container
support: Use 64 bit time_t routines on delayed_exit
support: Use 64 bit time_t routines on support_process_state_wait
support: Use 64 bit time_t routines on support_process_kill
support: Use 64 bit time_t routines on support_can_chroot
support: Use 64 bit time_t routines on xmkdirp
support/delayed_exit.c | 3 +++
support/shell-container.c | 1 +
support/support_can_chroot.c | 7 +++++--
support/support_descriptors.c | 3 +++
support/support_process_state.c | 3 +++
support/support_stat_nanoseconds.c | 3 +++
support/support_subprocess.c | 3 +++
support/test-container.c | 1 +
support/xmkdirp.c | 3 +++
9 files changed, 25 insertions(+), 2 deletions(-)
--
2.34.1
^ permalink raw reply [flat|nested] 10+ messages in thread
* [PATCH 1/9] support: Use 64 bit time_t routines on support_descriptors_list (BZ #30111)
2023-02-13 17:12 [PATCH 0/9] Use 64 bit time_t routines on support Adhemerval Zanella
@ 2023-02-13 17:12 ` Adhemerval Zanella
2023-02-13 17:12 ` [PATCH 2/9] support: Use 64 bit time_t routines on support_stat_nanoseconds Adhemerval Zanella
` (7 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: Adhemerval Zanella @ 2023-02-13 17:12 UTC (permalink / raw)
To: libc-alpha
The failure only shows if the system time is set past 2038.
Checked on i686-linux-gnu and on system emulated arm-linux-gnueabihf
with time set past y2038.
---
support/support_descriptors.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/support/support_descriptors.c b/support/support_descriptors.c
index 9ccdd1dd5a..7fa3b64034 100644
--- a/support/support_descriptors.c
+++ b/support/support_descriptors.c
@@ -16,6 +16,9 @@
License along with the GNU C Library; if not, see
<https://www.gnu.org/licenses/>. */
+#define _FILE_OFFSET_BITS 64
+#define _TIME_BITS 64
+
#include <dirent.h>
#include <stdio.h>
#include <stdlib.h>
--
2.34.1
^ permalink raw reply [flat|nested] 10+ messages in thread
* [PATCH 2/9] support: Use 64 bit time_t routines on support_stat_nanoseconds
2023-02-13 17:12 [PATCH 0/9] Use 64 bit time_t routines on support Adhemerval Zanella
2023-02-13 17:12 ` [PATCH 1/9] support: Use 64 bit time_t routines on support_descriptors_list (BZ #30111) Adhemerval Zanella
@ 2023-02-13 17:12 ` Adhemerval Zanella
2023-02-13 17:12 ` [PATCH 3/9] support: Use 64 bit time_t routines on test-container Adhemerval Zanella
` (6 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: Adhemerval Zanella @ 2023-02-13 17:12 UTC (permalink / raw)
To: libc-alpha
The failure only shows if the system time is set past 2038.
Checked on i686-linux-gnu and on system emulated arm-linux-gnueabihf
with time set past y2038.
---
support/support_stat_nanoseconds.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/support/support_stat_nanoseconds.c b/support/support_stat_nanoseconds.c
index bf833d6e95..27624daa7b 100644
--- a/support/support_stat_nanoseconds.c
+++ b/support/support_stat_nanoseconds.c
@@ -16,6 +16,9 @@
License along with the GNU C Library; if not, see
<https://www.gnu.org/licenses/>. */
+#define _FILE_OFFSET_BITS 64
+#define _TIME_BITS 64
+
#include <errno.h>
#include <fcntl.h>
#include <support/check.h>
--
2.34.1
^ permalink raw reply [flat|nested] 10+ messages in thread
* [PATCH 3/9] support: Use 64 bit time_t routines on test-container
2023-02-13 17:12 [PATCH 0/9] Use 64 bit time_t routines on support Adhemerval Zanella
2023-02-13 17:12 ` [PATCH 1/9] support: Use 64 bit time_t routines on support_descriptors_list (BZ #30111) Adhemerval Zanella
2023-02-13 17:12 ` [PATCH 2/9] support: Use 64 bit time_t routines on support_stat_nanoseconds Adhemerval Zanella
@ 2023-02-13 17:12 ` Adhemerval Zanella
2023-02-13 17:12 ` [PATCH 4/9] support: Use 64 bit time_t routines on shell-container Adhemerval Zanella
` (5 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: Adhemerval Zanella @ 2023-02-13 17:12 UTC (permalink / raw)
To: libc-alpha
The failure only shows if the system time is set past 2038.
Checked on i686-linux-gnu and on system emulated arm-linux-gnueabihf
with time set past y2038.
---
support/test-container.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/support/test-container.c b/support/test-container.c
index f1a68b224a..4493ec3b6d 100644
--- a/support/test-container.c
+++ b/support/test-container.c
@@ -17,6 +17,7 @@
<https://www.gnu.org/licenses/>. */
#define _FILE_OFFSET_BITS 64
+#define _TIME_BITS 64
#include <array_length.h>
#include <stdio.h>
--
2.34.1
^ permalink raw reply [flat|nested] 10+ messages in thread
* [PATCH 4/9] support: Use 64 bit time_t routines on shell-container
2023-02-13 17:12 [PATCH 0/9] Use 64 bit time_t routines on support Adhemerval Zanella
` (2 preceding siblings ...)
2023-02-13 17:12 ` [PATCH 3/9] support: Use 64 bit time_t routines on test-container Adhemerval Zanella
@ 2023-02-13 17:12 ` Adhemerval Zanella
2023-02-13 17:12 ` [PATCH 5/9] support: Use 64 bit time_t routines on delayed_exit Adhemerval Zanella
` (4 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: Adhemerval Zanella @ 2023-02-13 17:12 UTC (permalink / raw)
To: libc-alpha
The failure only shows if the system time is set past 2038.
Checked on i686-linux-gnu and on system emulated arm-linux-gnueabihf
with time set past y2038.
---
support/shell-container.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/support/shell-container.c b/support/shell-container.c
index e9ac9b6d04..f3227f2ea3 100644
--- a/support/shell-container.c
+++ b/support/shell-container.c
@@ -17,6 +17,7 @@
<https://www.gnu.org/licenses/>. */
#define _FILE_OFFSET_BITS 64
+#define _TIME_BITS 64
#include <stdio.h>
#include <stdlib.h>
--
2.34.1
^ permalink raw reply [flat|nested] 10+ messages in thread
* [PATCH 5/9] support: Use 64 bit time_t routines on delayed_exit
2023-02-13 17:12 [PATCH 0/9] Use 64 bit time_t routines on support Adhemerval Zanella
` (3 preceding siblings ...)
2023-02-13 17:12 ` [PATCH 4/9] support: Use 64 bit time_t routines on shell-container Adhemerval Zanella
@ 2023-02-13 17:12 ` Adhemerval Zanella
2023-02-13 17:12 ` [PATCH 6/9] support: Use 64 bit time_t routines on support_process_state_wait Adhemerval Zanella
` (3 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: Adhemerval Zanella @ 2023-02-13 17:12 UTC (permalink / raw)
To: libc-alpha
The failure only shows if the system time is set past 2038.
Checked on i686-linux-gnu and on system emulated arm-linux-gnueabihf
with time set past y2038.
---
support/delayed_exit.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/support/delayed_exit.c b/support/delayed_exit.c
index e5028bf13f..d53012a8e2 100644
--- a/support/delayed_exit.c
+++ b/support/delayed_exit.c
@@ -16,6 +16,9 @@
License along with the GNU C Library; if not, see
<https://www.gnu.org/licenses/>. */
+#define _FILE_OFFSET_BITS 64
+#define _TIME_BITS 64
+
#include <support/xthread.h>
#include <support/xsignal.h>
--
2.34.1
^ permalink raw reply [flat|nested] 10+ messages in thread
* [PATCH 6/9] support: Use 64 bit time_t routines on support_process_state_wait
2023-02-13 17:12 [PATCH 0/9] Use 64 bit time_t routines on support Adhemerval Zanella
` (4 preceding siblings ...)
2023-02-13 17:12 ` [PATCH 5/9] support: Use 64 bit time_t routines on delayed_exit Adhemerval Zanella
@ 2023-02-13 17:12 ` Adhemerval Zanella
2023-02-13 17:13 ` [PATCH 7/9] support: Use 64 bit time_t routines on support_process_kill Adhemerval Zanella
` (2 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: Adhemerval Zanella @ 2023-02-13 17:12 UTC (permalink / raw)
To: libc-alpha
The failure only shows if the system time is set past 2038.
Checked on i686-linux-gnu and on system emulated arm-linux-gnueabihf
with time set past y2038.
---
support/support_process_state.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/support/support_process_state.c b/support/support_process_state.c
index dc2296f8dd..d371456dcb 100644
--- a/support/support_process_state.c
+++ b/support/support_process_state.c
@@ -16,6 +16,9 @@
License along with the GNU C Library; if not, see
<https://www.gnu.org/licenses/>. */
+#define _FILE_OFFSET_BITS 64
+#define _TIME_BITS 64
+
#include <stdlib.h>
#include <time.h>
#include <string.h>
--
2.34.1
^ permalink raw reply [flat|nested] 10+ messages in thread
* [PATCH 7/9] support: Use 64 bit time_t routines on support_process_kill
2023-02-13 17:12 [PATCH 0/9] Use 64 bit time_t routines on support Adhemerval Zanella
` (5 preceding siblings ...)
2023-02-13 17:12 ` [PATCH 6/9] support: Use 64 bit time_t routines on support_process_state_wait Adhemerval Zanella
@ 2023-02-13 17:13 ` Adhemerval Zanella
2023-02-13 17:13 ` [PATCH 8/9] support: Use 64 bit time_t routines on support_can_chroot Adhemerval Zanella
2023-02-13 17:13 ` [PATCH 9/9] support: Use 64 bit time_t routines on xmkdirp Adhemerval Zanella
8 siblings, 0 replies; 10+ messages in thread
From: Adhemerval Zanella @ 2023-02-13 17:13 UTC (permalink / raw)
To: libc-alpha
The failure only shows if the system time is set past 2038.
Checked on i686-linux-gnu and on system emulated arm-linux-gnueabihf
with time set past y2038.
---
support/support_subprocess.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/support/support_subprocess.c b/support/support_subprocess.c
index 41746f729f..7ff42dbb00 100644
--- a/support/support_subprocess.c
+++ b/support/support_subprocess.c
@@ -16,6 +16,9 @@
License along with the GNU C Library; if not, see
<https://www.gnu.org/licenses/>. */
+#define _FILE_OFFSET_BITS 64
+#define _TIME_BITS 64
+
#include <stdio.h>
#include <signal.h>
#include <time.h>
--
2.34.1
^ permalink raw reply [flat|nested] 10+ messages in thread
* [PATCH 8/9] support: Use 64 bit time_t routines on support_can_chroot
2023-02-13 17:12 [PATCH 0/9] Use 64 bit time_t routines on support Adhemerval Zanella
` (6 preceding siblings ...)
2023-02-13 17:13 ` [PATCH 7/9] support: Use 64 bit time_t routines on support_process_kill Adhemerval Zanella
@ 2023-02-13 17:13 ` Adhemerval Zanella
2023-02-13 17:13 ` [PATCH 9/9] support: Use 64 bit time_t routines on xmkdirp Adhemerval Zanella
8 siblings, 0 replies; 10+ messages in thread
From: Adhemerval Zanella @ 2023-02-13 17:13 UTC (permalink / raw)
To: libc-alpha
The failure only shows if the system time is set past 2038.
Checked on i686-linux-gnu and on system emulated arm-linux-gnueabihf
with time set past y2038.
---
support/support_can_chroot.c | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/support/support_can_chroot.c b/support/support_can_chroot.c
index 7d9f91205d..626022041a 100644
--- a/support/support_can_chroot.c
+++ b/support/support_can_chroot.c
@@ -16,6 +16,9 @@
License along with the GNU C Library; if not, see
<https://www.gnu.org/licenses/>. */
+#define _FILE_OFFSET_BITS 64
+#define _TIME_BITS 64
+
#include <errno.h>
#include <stdio.h>
#include <support/check.h>
@@ -29,14 +32,14 @@ static void
callback (void *closure)
{
int *result = closure;
- struct stat64 before;
+ struct stat before;
xstat ("/dev", &before);
if (chroot ("/dev") != 0)
{
*result = errno;
return;
}
- struct stat64 after;
+ struct stat after;
xstat ("/", &after);
TEST_VERIFY (before.st_dev == after.st_dev);
TEST_VERIFY (before.st_ino == after.st_ino);
--
2.34.1
^ permalink raw reply [flat|nested] 10+ messages in thread
* [PATCH 9/9] support: Use 64 bit time_t routines on xmkdirp
2023-02-13 17:12 [PATCH 0/9] Use 64 bit time_t routines on support Adhemerval Zanella
` (7 preceding siblings ...)
2023-02-13 17:13 ` [PATCH 8/9] support: Use 64 bit time_t routines on support_can_chroot Adhemerval Zanella
@ 2023-02-13 17:13 ` Adhemerval Zanella
8 siblings, 0 replies; 10+ messages in thread
From: Adhemerval Zanella @ 2023-02-13 17:13 UTC (permalink / raw)
To: libc-alpha
The failure only shows if the system time is set past 2038.
Checked on i686-linux-gnu and on system emulated arm-linux-gnueabihf
with time set past y2038.
---
support/xmkdirp.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/support/xmkdirp.c b/support/xmkdirp.c
index 5a47153720..d3009cdf78 100644
--- a/support/xmkdirp.c
+++ b/support/xmkdirp.c
@@ -16,6 +16,9 @@
License along with the GNU C Library; if not, see
<https://www.gnu.org/licenses/>. */
+#define _FILE_OFFSET_BITS 64
+#define _TIME_BITS 64
+
#include <support/support.h>
#include <support/check.h>
#include <support/xunistd.h>
--
2.34.1
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2023-02-13 17:13 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-13 17:12 [PATCH 0/9] Use 64 bit time_t routines on support Adhemerval Zanella
2023-02-13 17:12 ` [PATCH 1/9] support: Use 64 bit time_t routines on support_descriptors_list (BZ #30111) Adhemerval Zanella
2023-02-13 17:12 ` [PATCH 2/9] support: Use 64 bit time_t routines on support_stat_nanoseconds Adhemerval Zanella
2023-02-13 17:12 ` [PATCH 3/9] support: Use 64 bit time_t routines on test-container Adhemerval Zanella
2023-02-13 17:12 ` [PATCH 4/9] support: Use 64 bit time_t routines on shell-container Adhemerval Zanella
2023-02-13 17:12 ` [PATCH 5/9] support: Use 64 bit time_t routines on delayed_exit Adhemerval Zanella
2023-02-13 17:12 ` [PATCH 6/9] support: Use 64 bit time_t routines on support_process_state_wait Adhemerval Zanella
2023-02-13 17:13 ` [PATCH 7/9] support: Use 64 bit time_t routines on support_process_kill Adhemerval Zanella
2023-02-13 17:13 ` [PATCH 8/9] support: Use 64 bit time_t routines on support_can_chroot Adhemerval Zanella
2023-02-13 17:13 ` [PATCH 9/9] support: Use 64 bit time_t routines on xmkdirp Adhemerval Zanella
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).