Skip to contentSkip to conversation

y2038:mutex_timedlock for timespec64

PATCH Superseded Song Chen 1 participant 1 message Jun 3, 2021

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore

Song Chen

author
#0 lore raw

v2 cover y2038:mutex_timedlock for timespec64

This patch serial is aimed to introduce a new syscall mutex_timedlock64 which is specific for 64-bit time_t.

---
v2:
1, new revision regarding review comments

Song Chen (3):
y2038: cobalt/posix/mutex: Adding mutex_timedlock64
y2038: lib/cobalt/mutex: dispatch mutex_timedlock
y2038: testsuite/smokey/y2038: testcase for mutex_timedlock64

 include/cobalt/uapi/syscall.h          |   1 +
 kernel/cobalt/posix/mutex.c            |  22 +++++-
 kernel/cobalt/posix/mutex.h            |   7 ++
 kernel/cobalt/posix/syscall32.c        |   7 ++
 kernel/cobalt/posix/syscall32.h        |   4 +
 lib/cobalt/mutex.c                     |   4 +
 testsuite/smokey/y2038/syscall-tests.c | 136 +++++++++++++++++++++++++++++++++
 7 files changed, 180 insertions(+), 1 deletion(-)
Signature · 1 line
2.7.4