Searched refs:O_NOFOLLOW (Results 1 – 13 of 13) sorted by relevance
/system/core/base/ |
D | file.cpp | 49 TEMP_FAILURE_RETRY(open(path.c_str(), O_RDONLY | O_CLOEXEC | O_NOFOLLOW)); in ReadFileToString() 84 open(path.c_str(), O_WRONLY | O_CREAT | O_TRUNC | O_CLOEXEC | O_NOFOLLOW, in WriteStringToFile() 112 open(path.c_str(), O_WRONLY | O_CREAT | O_TRUNC | O_CLOEXEC | O_NOFOLLOW, in WriteStringToFile()
|
/system/core/include/utils/ |
D | Compat.h | 40 #define O_NOFOLLOW 0 macro
|
/system/netd/server/ |
D | main.cpp | 44 const int PID_FILE_FLAGS = O_CREAT | O_TRUNC | O_WRONLY | O_NOFOLLOW | O_CLOEXEC;
|
/system/core/init/ |
D | util.cpp | 155 int fd = TEMP_FAILURE_RETRY(open(path, O_RDONLY|O_NOFOLLOW|O_CLOEXEC)); in read_file() 178 int fd = TEMP_FAILURE_RETRY(open(path, O_WRONLY|O_CREAT|O_NOFOLLOW|O_CLOEXEC, 0600)); in write_file()
|
D | property_service.cpp | 86 pa_workspace.fd = open(PROP_FILENAME, O_RDONLY | O_NOFOLLOW | O_CLOEXEC); in property_init() 456 int fd = openat(dirfd(dir.get()), entry->d_name, O_RDONLY | O_NOFOLLOW); in load_persistent_properties()
|
D | init.cpp | 668 open("/dev/hw_random", O_RDONLY | O_NOFOLLOW | O_CLOEXEC)); in mix_hwrng_into_linux_rng_action() 681 open("/dev/urandom", O_WRONLY | O_NOFOLLOW | O_CLOEXEC)); in mix_hwrng_into_linux_rng_action()
|
/system/vold/ |
D | TrimTask.cpp | 120 int fd = open(path.c_str(), O_RDONLY | O_DIRECTORY | O_CLOEXEC | O_NOFOLLOW); in run()
|
D | Utils.cpp | 354 int fd = TEMP_FAILURE_RETRY(open("/dev/urandom", O_RDONLY | O_CLOEXEC | O_NOFOLLOW)); in ReadRandomBytes()
|
D | VolumeManager.cpp | 1244 int fd = open(ftsent->fts_accpath, O_NOFOLLOW | O_CLOEXEC); in fixupAsecPermissions()
|
/system/core/libcutils/ |
D | fs.c | 215 if ((next_fd = openat(fd, segment, O_NOFOLLOW | O_CLOEXEC)) == -1) { in fs_mkdirs()
|
/system/core/debuggerd/ |
D | tombstone.cpp | 729 *fd = open(path, O_CREAT | O_EXCL | O_WRONLY | O_NOFOLLOW | O_CLOEXEC, 0600); in find_and_open_tombstone() 744 *fd = open(path, O_CREAT | O_TRUNC | O_WRONLY | O_NOFOLLOW | O_CLOEXEC, 0600); in find_and_open_tombstone()
|
/system/core/sdcard/ |
D | sdcard.c | 443 int fd = open(path, O_RDWR | O_CREAT | O_EXCL | O_NOFOLLOW, mode); in touch()
|
/system/security/keystore/ |
D | keystore.cpp | 2287 int fd = TEMP_FAILURE_RETRY(open(filename.string(), O_NOFOLLOW, O_RDONLY)); in getmtime()
|