Searched refs:SAFE_FOPEN (Results 1 – 10 of 10) sorted by relevance
/external/ltp/testcases/kernel/syscalls/copy_file_range/ |
D | copy_file_range01.c | 71 fp1 = SAFE_FOPEN(fname1, "r"); in check_file_content() 75 fp2 = SAFE_FOPEN(fname2, "r"); in check_file_content()
|
/external/ltp/lib/newlib_tests/ |
D | test14.c | 31 SAFE_FOPEN("foo", "r"); in cleanup()
|
/external/ltp/include/ |
D | tst_safe_stdio.h | 25 #define SAFE_FOPEN(path, mode) \ macro
|
/external/ltp/include/old/ |
D | old_safe_stdio.h | 25 #define SAFE_FOPEN(cleanup_fn, path, mode) \ macro
|
/external/ltp/testcases/cve/ |
D | cve-2016-10044.c | 51 f = SAFE_FOPEN("/proc/self/maps", "r"); in run()
|
D | stack_clash.c | 101 fh = SAFE_FOPEN("/proc/self/maps", "r"); in read_stack_addr_from_proc()
|
/external/ltp/lib/ |
D | tst_virt.c | 37 cpuinfo = SAFE_FOPEN(NULL, "/proc/cpuinfo", "r"); in is_kvm()
|
/external/ltp/testcases/kernel/device-drivers/acpi/ |
D | ltp_acpi.c | 49 FILE *f = SAFE_FOPEN(cleanup, name, "r"); in read_sysfs_file()
|
/external/ltp/testcases/kernel/syscalls/futex/ |
D | futex_wake04.c | 100 fp = SAFE_FOPEN(cleanup, PATH_MEMINFO, "r"); in read_hugepagesize()
|
/external/ltp/testcases/kernel/firmware/fw_load_user/ |
D | fw_load.c | 205 FILE *f = SAFE_FOPEN(cleanup, fi->file, "w"); in create_firmware()
|