[RFC PATCH glibc v3] mach: Add CLOCK_MONOTONIC case in clock_gettime()

2025-01-05 Thread Zhaoming Luo
mach: Add CLOCK_MONOTONIC case in clock_gettime() The Mach RPC host_get_uptime64() is implemented. It returns the elapsed time value since bootup. See https://git.savannah.gnu.org/cgit/hurd/gnumach.git/commit/?id=fc494bfe3fb6363e1077dc035eb119970d84a9d1 In this patch, the RPC is used to implemen

[PATCH mig] header: add definitions for RPC presence and IDs

2025-01-05 Thread Luca Dariz
This allows to check at compilation time for some rpc (as done in glibc for thread_set/get_name() and host_page_size()). Also the IDs can be useful for testing purposes, or when assembling messages manually. --- header.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/header.c b/he