Home
last modified time | relevance | path

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

/cts/hostsidetests/security/securityPatch/CVE-2016-8430/
Dpoc.c105 char* dev_path = "/dev/nvhost-vic"; in open_driver() local
106 g_fd = open(dev_path, O_RDONLY); in open_driver()
108 printf("open file(%s) failed, errno=%d\n", dev_path, errno); in open_driver()
111 printf("open file(%s) succ!\n", dev_path); in open_driver()
114 dev_path = "/dev/nvmap"; in open_driver()
115 g_nvmap_fd = open(dev_path, O_RDONLY); in open_driver()
117 printf("open file(%s) failed, errno=%d\n", dev_path, errno); in open_driver()
120 printf("open file(%s) succ!\n", dev_path); in open_driver()
/cts/hostsidetests/security/securityPatch/CVE-2016-8424/
Dpoc.c67 char* dev_path = "/dev/nvmap"; in open_driver() local
68 g_fd = open(dev_path, O_RDWR); in open_driver()
70 printf("[*] open file(%s) failed, errno=%d\n", dev_path, errno); in open_driver()
72 printf("[*] open file(%s) succ!\n", dev_path); in open_driver()
/cts/hostsidetests/security/securityPatch/CVE-2016-9120/
Dpoc.c104 char* dev_path = "/dev/ion"; in open_driver() local
105 g_fd = open(dev_path, O_RDONLY); in open_driver()
107 printf("[*] open file(%s) failed, errno=%d\n", dev_path, errno); in open_driver()
109 printf("[*] open file(%s) succ!\n", dev_path); in open_driver()
/cts/apps/CameraITS/tools/
Dhardware.py249 dev_path = os.path.join(self._USB_DEVICE_SYS_ROOT, dir_entry)
254 inf_dir_list = os.listdir(dev_path)
277 entry[self.KEY_VID] = self._read_sys_hex_attr(dev_path,
279 entry[self.KEY_PID] = self._read_sys_hex_attr(dev_path,
281 entry[self.KEY_SN] = self._read_sys_attr(dev_path,
283 entry[self.KEY_MFG] = self._read_sys_attr(dev_path,
285 entry[self.KEY_PRD] = self._read_sys_attr(dev_path,
287 entry[self.KEY_VER] = self._read_sys_attr(dev_path,
/cts/hostsidetests/security/securityPatch/CVE-2016-8429/
Dpoc.c95 char* dev_path = "/dev/nvmap"; in open_driver() local
96 g_fd = open(dev_path, O_RDWR); in open_driver()
98 printf("[*] open file(%s) failed, errno=%d\n", dev_path, errno); in open_driver()
100 printf("[*] open file(%s) succ!\n", dev_path); in open_driver()
/cts/hostsidetests/security/securityPatch/CVE-2017-0451/
Dpoc.c48 char* dev_path = "/dev/voice_svc"; in main() local
50 g_fd = open(dev_path, O_RDWR); in main()
/cts/hostsidetests/security/securityPatch/CVE-2016-8428/
Dpoc.c115 char* dev_path = "/dev/nvmap"; in open_driver() local
116 g_fd = open(dev_path, O_RDWR); in open_driver()
118 printf("[*] open file(%s) failed, errno=%d\n", dev_path, errno); in open_driver()
120 printf("[*] open file(%s) succ!\n", dev_path); in open_driver()
/cts/hostsidetests/security/securityPatch/CVE-2016-8434/
Dpoc.c105 char* dev_path = "/dev/kgsl-3d0"; in open_driver() local
106 g_fd = open(dev_path, O_RDWR); in open_driver()
/cts/hostsidetests/security/securityPatch/CVE-2016-8460/
Dpoc.c112 char* dev_path = "/dev/nvmap"; in open_driver() local
113 g_fd = open(dev_path, O_RDWR); in open_driver()