]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ntsync: Introduce NTSYNC_IOC_SEM_READ.
authorElizabeth Figura <zfigura@codeweavers.com>
Fri, 13 Dec 2024 19:34:53 +0000 (13:34 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 8 Jan 2025 12:18:11 +0000 (13:18 +0100)
commita948f4177c3cce5f27648696da95c62c0253a099
treeb61a0e4a36a790d58dd3c372643315d752b5342e
parent12b29d3008e6bd5118af716ae2971fe6823b117a
ntsync: Introduce NTSYNC_IOC_SEM_READ.

This corresponds to the NT syscall NtQuerySemaphore().

This returns the current count and maximum count of the semaphore.

Signed-off-by: Elizabeth Figura <zfigura@codeweavers.com>
Link: https://lore.kernel.org/r/20241213193511.457338-13-zfigura@codeweavers.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/ntsync.c
include/uapi/linux/ntsync.h