Re: [PATCH v3 03/30] ntsync: Introduce NTSYNC_IOC_SEM_POST.
From: Greg Kroah-Hartman
Date: Thu Apr 11 2024 - 09:35:38 EST
On Thu, Mar 28, 2024 at 07:05:54PM -0500, Elizabeth Figura wrote:
> This corresponds to the NT syscall NtReleaseSemaphore().
>
> This increases the semaphore's internal counter by the given value, and returns
> the previous value. If the counter would overflow the defined maximum, the
> function instead fails and returns -EOVERFLOW.
>
> Signed-off-by: Elizabeth Figura <zfigura@xxxxxxxxxxxxxxx>
> ---
> drivers/misc/ntsync.c | 72 +++++++++++++++++++++++++++++++++++--
> include/uapi/linux/ntsync.h | 2 ++
> 2 files changed, 71 insertions(+), 3 deletions(-)
As the first 3 patches here looked good to me (see my comments on patch
4), I took them to save you the trouble of constantly refreshing them.
thanks,
greg k-h