diff options
| author | Thomas Weißschuh <thomas.weissschuh@linutronix.de> | 2026-07-02 10:21:25 +0200 |
|---|---|---|
| committer | Thomas Gleixner <tglx@kernel.org> | 2026-07-07 23:52:53 +0200 |
| commit | dce21fb3d570169388e2e9d8a60e8d42c1c82a51 (patch) | |
| tree | 0932702f1342ec3eb48980e681de18b0c4002a72 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | 0b50763e8439b171d8fe2c6df0d27705fa89f21a (diff) | |
time: Respect COMPAT_32BIT_TIME for old time type functions
The "old" time types use 32-bit seconds which are not y2038-safe.
Respect COMPAT_32BIT_TIME for functions using those types.
time(), stime() and gettimeofday() are disabled completely.
settimeofday() is kept as it is required to do the initial timewarping
after boot. However the 'tv' argument will be rejected.
Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@kernel.org>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/lkml/e9487ebe-3730-438a-9c23-e45f75986ecc@app.fastmail.com/
Link: https://patch.msgid.link/20260702-vdso-compat_32bit_time-v3-1-db9f36d8d432@linutronix.de
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions
