Searched refs:rename_vma (Results 1 – 1 of 1) sorted by relevance
/linux/tools/testing/selftests/prctl/ |
H A D | set-anon-vma-name-test.c | 26 int rename_vma(unsigned long addr, unsigned long size, char *name) in rename_vma() function 94 EXPECT_GE(rename_vma((unsigned long)self->ptr_anon, AREA_SIZE, GOOD_NAME), 0); in TEST_F() 98 EXPECT_EQ(rename_vma((unsigned long)self->ptr_anon, AREA_SIZE, BAD_NAME), -EINVAL); in TEST_F() 101 EXPECT_EQ(rename_vma((unsigned long) self->ptr_not_anon, AREA_SIZE, GOOD_NAME), -EINVAL); in TEST_F()
|