From: Petr Vorel <pvorel@suse.cz>
To: Andrea Cervesato <andrea.cervesato@suse.com>
Cc: jiaying.song.cn@windriver.com, ltp@lists.linux.it
Subject: Re: [LTP] [PATCH] syscalls/stime: Fix Time Overflow for 2038 Problem on 32-bit Systems
Date: Wed, 7 May 2025 15:43:36 +0200 [thread overview]
Message-ID: <20250507134336.GA131933@pevik> (raw)
In-Reply-To: <725822be-fb0a-4e6c-9497-ef84dbec3412@suse.com>
Hi Andrea,
> Hi!
> I noticed that stime01 is equivalent to settimeofday01 when tst_variant=2.
> So I'm wondering if it makes sense to keep that variant, considering that it
> creates issues in 32bit systems. In my opinion, we should probably remove
> the usage of settimeofday inside stime01 and to keep settimeofday01 instead.
> @Petr @Cyril WDYT?
IMHO it's not the same. settimeofday01.c calls settimeofday() libc wrapper,
but stime01.c in tst_variant=2 calls __NR_settimeofday raw syscall.
Kind regards,
Petr
> Kind regards,
> Andrea Cervesato
--
Mailing list info: https://lists.linux.it/listinfo/ltp
next prev parent reply other threads:[~2025-05-07 13:44 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-04-28 7:38 [LTP] [PATCH] syscalls/stime: Fix Time Overflow for 2038 Problem on 32-bit Systems Jiaying Song via ltp
2025-04-30 7:29 ` Andrea Cervesato via ltp
2025-05-07 7:55 ` Song, Jiaying (CN) via ltp
2025-05-07 13:43 ` Petr Vorel [this message]
2025-07-11 15:32 ` Cyril Hrubis
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250507134336.GA131933@pevik \
--to=pvorel@suse.cz \
--cc=andrea.cervesato@suse.com \
--cc=jiaying.song.cn@windriver.com \
--cc=ltp@lists.linux.it \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox