Home
last modified time | relevance | path

Searched refs:readlink (Results 1 – 24 of 24) sorted by relevance

/bionic/libc/include/bits/fortify/
Dunistd.h181 ssize_t readlink(const char* path, char* const __pass_object_size buf, size_t size) in readlink() function
183 __error_if_overflows_ssizet(size, readlink) in readlink()
184 __error_if_overflows_objectsize(size, __bos(buf), readlink) { in readlink()
192 return __call_bypassing_fortify(readlink)(path, buf, size); in readlink()
/bionic/tests/
Dbug_26110743_test.cpp40 ssize_t length = readlink(buf, buf2, sizeof(buf2)); in ProcSelfReadlinkBody()
85 ssize_t length = readlink(buf, buf2, sizeof(buf2)); in ProcTaskFdReadlinkBody()
Dclang_fortify_tests.cpp574 EXPECT_FORTIFY_DEATH(readlink("/", small_buffer, sizeof(small_buffer) + 1)); in FORTIFY_TEST()
600 EXPECT_FORTIFY_DEATH_STRUCT(readlink("/", split.tiny_buffer, sizeof(split))); in FORTIFY_TEST()
Dstdlib_test.cpp354 int rc = readlink("/proc/self/exe", executable_path, sizeof(executable_path)); in TEST()
Dstdio_test.cpp2619 ssize_t length = readlink("/dev/stdin", path, sizeof(path)); in TEST()
2623 length = readlink("/dev/stdout", path, sizeof(path)); in TEST()
2627 length = readlink("/dev/stderr", path, sizeof(path)); in TEST()
Dfortify_test.cpp661 ASSERT_FORTIFY(readlink("/dev/null", buf, ct)); in TEST_F()
/bionic/libc/bionic/
Dreadlink.cpp34 ssize_t readlink(const char* path, char* buf, size_t size) { in readlink() function
D__bionic_get_shell_path.cpp48 ssize_t len = readlink("/proc/self/exe", exe_path, sizeof(exe_path)); in init_sh_path()
Drealpath.cpp66 ssize_t l = readlink(fd_path.c_str(), dst, sizeof(dst) - 1); in realpath()
Dpty.cpp98 ssize_t count = readlink(FdPath(fd).c_str(), buf, len); in ttyname_r()
Dfortify.cpp219 return readlink(path, buf, size); in __readlink_chk()
/bionic/libc/
DSECCOMP_ALLOWLIST_COMMON.TXT33 ssize_t readlink:readlink(const char*, char*, size_t) arm,x86,x86_64
Dlibc.map.txt858 readlink;
DAndroid.bp1102 "bionic/readlink.cpp",
/bionic/linker/
Dlinker_main.cpp211 ssize_t path_len = readlink("/init", path, sizeof(path)); in get_executable_info()
225 ssize_t path_len = readlink("/proc/self/exe", path, sizeof(path)); in get_executable_info()
Dlinker.cpp353 auto length = readlink(proc_self_fd, buf, sizeof(buf)); in realpath_fd()
/bionic/libc/include/
Dunistd.h222 ssize_t readlink(const char* __path, char* __buf, size_t __buf_size);
/bionic/libc/malloc_hooks/tests/
Dmalloc_hooks_tests.cpp132 ssize_t path_len = readlink("/proc/self/exe", path, sizeof(path)); in GetExe()
/bionic/tests/headers/posix/
Dunistd_h.c350 FUNCTION(readlink, ssize_t (*f)(const char*, char*, size_t)); in unistd_h()
/bionic/libc/tools/
Dposix-2013.txt839 readlink
/bionic/tools/versioner/platforms/
Dlibc.map.txt858 readlink;
/bionic/benchmarks/linker_relocation/gen/
Dliblinker_reloc_bench_154.S2510 CALL(readlink)
Dliblinker_reloc_bench_070.S2348 DATA_WORD(readlink)
Dliblinker_reloc_bench_151.S13929 CALL(readlink)