Home
last modified time | relevance | path

Searched refs:has_brk (Results 1 – 1 of 1) sorted by relevance

/linux-6.12.1/tools/testing/selftests/nolibc/
Dnolibc-test.c999 int has_brk; in run_syscall() local
1013 has_brk = brk(0) == 0; in run_syscall()
1030 CASE_TEST(sbrk_0); EXPECT_PTRNE(has_brk, sbrk(0), (void *)-1); break; in run_syscall()
1031 …if ((p1 = p2 = sbrk(4096)) != (void *)-1) p2 = sbrk(-4096); EXPECT_SYSZR(has_brk, (p2 == (void *)-… in run_syscall()
1032 CASE_TEST(brk); EXPECT_SYSZR(has_brk, brk(sbrk(0))); break; in run_syscall()