Re: [PATCH 0/2] io_uring: honour submitter's time namespace for ABS timeouts

From: Maoyi Xie

Date: Wed May 06 2026 - 07:03:07 EST


Hi Pavel,

Thanks for the look. We will turn the reproducers into a
liburing test and send it shortly.

The current shape is two minimal C programs. Each forks into
a fresh user namespace plus time namespace with a -10s
monotonic offset. The child submits either IORING_OP_TIMEOUT
or io_uring_enter with IORING_ENTER_ABS_TIMER and a deadline
of now + 1s. The test asserts the call returns after the
expected ~1000ms rather than after <1ms.

We will reshape that into a single liburing test that
exercises both paths. The test will gate the unshare on
CLONE_NEWUSER | CLONE_NEWTIME availability so it skips
gracefully on kernels without time namespace support. It
will use the standard t_* helpers.

Maoyi
Nanyang Technological University
https://maoyixie.com/