NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

PR/59129 CVS commit: src



The following reply was made to PR kern/59129; it has been noted by GNATS.

From: "Taylor R Campbell" <riastradh%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc: 
Subject: PR/59129 CVS commit: src
Date: Wed, 5 Mar 2025 12:02:00 +0000

 Module Name:	src
 Committed By:	riastradh
 Date:		Wed Mar  5 12:02:00 UTC 2025
 
 Modified Files:
 	src/sys/kern: sys_futex.c
 	src/sys/sys: futex.h
 	src/tests/lib/libc/sys: t_futex_ops.c
 
 Log Message:
 futex(2): Sign-extend FUTEX_WAKE_OP oparg/cmparg as Linux does.
 
 Also mask off bits in the FUTEX_OP macro as Linux does so that passing
 negative arguments works like in Linux.
 
 PR kern/59129: futex(3): missing sign extension in FUTEX_WAKE_OP
 
 
 To generate a diff of this commit:
 cvs rdiff -u -r1.22 -r1.23 src/sys/kern/sys_futex.c
 cvs rdiff -u -r1.6 -r1.7 src/sys/sys/futex.h
 cvs rdiff -u -r1.13 -r1.14 src/tests/lib/libc/sys/t_futex_ops.c
 
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.
 


Home | Main Index | Thread Index | Old Index