All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/7] y2038: cond_wait_prologue64 and related fixes
@ 2022-01-05 14:06 Florian Bezdeka
  2022-01-05 14:06 ` [PATCH 1/7] y2038: cobalt/posix/cond: Adding cond_wait_prologue64 Florian Bezdeka
                   ` (7 more replies)
  0 siblings, 8 replies; 13+ messages in thread
From: Florian Bezdeka @ 2022-01-05 14:06 UTC (permalink / raw)
  To: xenomai

Hi all,

this is the last missing POSIX related y2038 affected syscall in
Xenomai. With this applied we have two Xenomai specific syscalls
missing:

  - sc_cobalt_thread_setschedparam_ex
  - sc_cobalt_thread_getschedparam_ex

While adding tests for the introduced cond_wait_prologue64 I hit a
kernel OOPS due to insuficient validation of user provided pointers.
That has been addressed as well.

This series has been tested against all Xenomai 3.3 supported
architectures / kernels. ipipe based kernels were out of scope (which
should not make any difference).

Best regards,
Florian

Florian Bezdeka (7):
  y2038: cobalt/posix/cond: Adding cond_wait_prologue64
  cobalt: posix/cond: Add missing __user annotation to user provided ptr
  y2038: lib/cobalt: Dispatch cond_wait_prologue
  cobalt: posix/cond: Add missing input validations
  y2038: testsuite/smokey/y2038: Adding tests for cond_wait_prologue64
  y2038: testsuite/smokey/y2038: Add a missing error handling path
  cobalt: Protect __xn_get_user() by access_ok()

 include/cobalt/uapi/syscall.h          |   1 +
 kernel/cobalt/posix/cond.c             |  54 ++++++++++---
 kernel/cobalt/posix/cond.h             |  17 ++++-
 kernel/cobalt/posix/internal.h         |   4 +
 kernel/cobalt/posix/nsem.c             |   3 +-
 kernel/cobalt/posix/syscall32.c        |  15 +++-
 kernel/cobalt/posix/syscall32.h        |   9 ++-
 kernel/cobalt/trace/cobalt-posix.h     |   3 +-
 lib/cobalt/cond.c                      |  21 +++++-
 testsuite/smokey/y2038/syscall-tests.c | 100 ++++++++++++++++++++++++-
 10 files changed, 206 insertions(+), 21 deletions(-)

-- 
2.30.2



^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2022-01-05 16:13 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-05 14:06 [PATCH 0/7] y2038: cond_wait_prologue64 and related fixes Florian Bezdeka
2022-01-05 14:06 ` [PATCH 1/7] y2038: cobalt/posix/cond: Adding cond_wait_prologue64 Florian Bezdeka
2022-01-05 14:06 ` [PATCH 2/7] cobalt: posix/cond: Add missing __user annotation to user provided ptr Florian Bezdeka
2022-01-05 14:06 ` [PATCH 3/7] y2038: lib/cobalt: Dispatch cond_wait_prologue Florian Bezdeka
2022-01-05 14:06 ` [PATCH 4/7] cobalt: posix/cond: Add missing input validations Florian Bezdeka
2022-01-05 14:06 ` [PATCH 5/7] y2038: testsuite/smokey/y2038: Adding tests for cond_wait_prologue64 Florian Bezdeka
2022-01-05 14:06 ` [PATCH 6/7] y2038: testsuite/smokey/y2038: Add a missing error handling path Florian Bezdeka
2022-01-05 14:06 ` [PATCH 7/7] cobalt: Protect __xn_get_user() by access_ok() Florian Bezdeka
2022-01-05 14:43 ` [PATCH 0/7] y2038: cond_wait_prologue64 and related fixes Jan Kiszka
2022-01-05 14:56   ` Bezdeka, Florian
2022-01-05 14:58     ` Jan Kiszka
2022-01-05 15:08       ` Bezdeka, Florian
2022-01-05 16:13         ` Jan Kiszka

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.