Home
last modified time | relevance | path

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

/external/ltp/testcases/kernel/syscalls/copy_file_range/
Dcopy_file_range01.c71 fp1 = SAFE_FOPEN(fname1, "r"); in check_file_content()
75 fp2 = SAFE_FOPEN(fname2, "r"); in check_file_content()
/external/ltp/lib/newlib_tests/
Dtest14.c31 SAFE_FOPEN("foo", "r"); in cleanup()
/external/ltp/include/
Dtst_safe_stdio.h25 #define SAFE_FOPEN(path, mode) \ macro
/external/ltp/include/old/
Dold_safe_stdio.h25 #define SAFE_FOPEN(cleanup_fn, path, mode) \ macro
/external/ltp/testcases/cve/
Dcve-2016-10044.c51 f = SAFE_FOPEN("/proc/self/maps", "r"); in run()
Dstack_clash.c101 fh = SAFE_FOPEN("/proc/self/maps", "r"); in read_stack_addr_from_proc()
/external/ltp/lib/
Dtst_virt.c37 cpuinfo = SAFE_FOPEN(NULL, "/proc/cpuinfo", "r"); in is_kvm()
/external/ltp/testcases/kernel/device-drivers/acpi/
Dltp_acpi.c49 FILE *f = SAFE_FOPEN(cleanup, name, "r"); in read_sysfs_file()
/external/ltp/testcases/kernel/syscalls/futex/
Dfutex_wake04.c100 fp = SAFE_FOPEN(cleanup, PATH_MEMINFO, "r"); in read_hugepagesize()
/external/ltp/testcases/kernel/firmware/fw_load_user/
Dfw_load.c205 FILE *f = SAFE_FOPEN(cleanup, fi->file, "w"); in create_firmware()