]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
FreeBSD regtest: disable SYS_sbrk for FreeBSD
authorPaul Floyd <pjfloyd@wanadoo.fr>
Fri, 23 Feb 2024 13:08:45 +0000 (14:08 +0100)
committerPaul Floyd <pjfloyd@wanadoo.fr>
Fri, 23 Feb 2024 13:08:45 +0000 (14:08 +0100)
This syscall has been obsoleted.

memcheck/tests/freebsd/scalar.c

index 5afd0f2946e48613df060870be1c842bcaecae63..3518f361afefd1dbbb1bdcbe0c6bfecb4e1f9839 100644 (file)
@@ -303,9 +303,11 @@ int main(void)
 
    /* obsol vwrite                68 */
 
+#if (FREEBSD_VERS < FREEBSD_15)
    /* SYS_sbrk                    69 */
    GO(SYS_sbrk, "1s 1m");
    SY(SYS_sbrk, x0); FAIL;
+#endif
 
    /* not implemented on OS SYS_sstk 70 */