From: Paul Floyd Date: Fri, 10 Dec 2021 21:11:16 +0000 (+0100) Subject: One more FreeBSD scalar fix X-Git-Tag: VALGRIND_3_19_0~49 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d83f4c43e100e3f2fdf1dcd37030d5729091a94e;p=thirdparty%2Fvalgrind.git One more FreeBSD scalar fix Using a 64 bit mask for an int argument was causing an extra Conditional jump error --- diff --git a/memcheck/tests/freebsd/scalar.c b/memcheck/tests/freebsd/scalar.c index 3364625c72..140ee82568 100644 --- a/memcheck/tests/freebsd/scalar.c +++ b/memcheck/tests/freebsd/scalar.c @@ -1731,7 +1731,7 @@ int main(void) /* SYS_posix_openpt 504 */ GO(SYS_posix_openpt, "1s 1m"); - SY(SYS_posix_openpt, x0+0xffff0000); FAIL; + SY(SYS_posix_openpt, x0+0x8); FAIL; // gssd_syscall 505 diff --git a/memcheck/tests/freebsd/scalar.stderr.exp b/memcheck/tests/freebsd/scalar.stderr.exp index e0d65cb3d1..8e7f9fb145 100644 --- a/memcheck/tests/freebsd/scalar.stderr.exp +++ b/memcheck/tests/freebsd/scalar.stderr.exp @@ -4200,9 +4200,6 @@ Syscall param unlinkat(path) points to unaddressable byte(s) Syscall param posix_openpt(oflag) contains uninitialised byte(s) ... -Conditional jump or move depends on uninitialised value(s) - ... - --------------------------------------------------------- 506: SYS_jail_get 3s 1m ---------------------------------------------------------