Skip to contentSkip to conversation

y2038:mutex_timedlock for timespec64

PATCH Superseded Song Chen 1 participant 1 message May 25, 2021

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore

Song Chen

author
#0 lore raw

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.

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 | 139 ++++++++++++++++++++++++++++++++-
 7 files changed, 182 insertions(+), 2 deletions(-)
Signature · 1 line
2.7.4