Lines Matching refs:config
20 struct ptrace_sud_config config; in TEST() local
37 memset(&config, 0xff, sizeof(config)); in TEST()
38 config.mode = PR_SYS_DISPATCH_ON; in TEST()
41 (void *)sizeof(config), &config); in TEST()
44 ASSERT_EQ(config.mode, PR_SYS_DISPATCH_OFF); in TEST()
45 ASSERT_EQ(config.selector, 0); in TEST()
46 ASSERT_EQ(config.offset, 0); in TEST()
47 ASSERT_EQ(config.len, 0); in TEST()
49 config.mode = PR_SYS_DISPATCH_ON; in TEST()
50 config.selector = 0; in TEST()
51 config.offset = 0x400000; in TEST()
52 config.len = 0x1000; in TEST()
55 (void *)sizeof(config), &config); in TEST()
59 memset(&config, 1, sizeof(config)); in TEST()
61 (void *)sizeof(config), &config); in TEST()
64 ASSERT_EQ(config.mode, PR_SYS_DISPATCH_ON); in TEST()
65 ASSERT_EQ(config.selector, 0); in TEST()
66 ASSERT_EQ(config.offset, 0x400000); in TEST()
67 ASSERT_EQ(config.len, 0x1000); in TEST()