Re: [PATCH v3 03/30] ntsync: Introduce NTSYNC_IOC_SEM_POST.

Greg Kroah-Hartman
2024-04-11T13:35:15Z

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@codeweavers.com>
> ---
> 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