Searched refs:O_NOFOLLOW (Results 1 – 15 of 15) sorted by relevance
66 static_assert(O_NOFOLLOW == 00400000);77 O_NOFOLLOW | O_CLOEXEC | O_DIRECT | __O_SYNC | O_PATH;
64 fd = TEMP_FAILURE_RETRY(open(filename, O_RDONLY | O_CLOEXEC | O_NOFOLLOW)); in insmod()
47 unique_fd fd(TEMP_FAILURE_RETRY(open("/dev/urandom", O_RDONLY | O_CLOEXEC | O_NOFOLLOW))); in getRandomBytes()
187 unique_fd ufd(open(profile.c_str(), O_WRONLY | O_NOFOLLOW | O_CLOEXEC)); in clear_profile()398 flags |= O_NOFOLLOW; in open_profile()805 O_WRONLY | O_CREAT | O_TRUNC | O_NOFOLLOW, 0644)); in dump_profiles()813 unique_fd apk_fd(open(code_path.c_str(), O_RDONLY | O_NOFOLLOW)); in dump_profiles()843 unique_fd in_fd(open(system_profile.c_str(), O_RDONLY | O_NOFOLLOW | O_CLOEXEC)); in copy_system_profile()1934 dex_metadata.reset(TEMP_FAILURE_RETRY(open(dex_metadata_path, O_RDONLY | O_NOFOLLOW)), in dexopt()2256 unique_fd fd(TEMP_FAILURE_RETRY(open(dex_path.c_str(), O_RDONLY | O_CLOEXEC | O_NOFOLLOW))); in hash_secondary_dex_file()2819 open(dex_metadata->c_str(), O_RDONLY | O_NOFOLLOW))); in prepare_app_profile()2820 unique_fd apk_fd(TEMP_FAILURE_RETRY(open(code_path.c_str(), O_RDONLY | O_NOFOLLOW))); in prepare_app_profile()
593 subfd = openat(dfd, name, O_RDONLY | O_DIRECTORY | O_NOFOLLOW | O_CLOEXEC); in _delete_dir_contents()808 fd = openat(dfd, name, O_RDONLY | O_DIRECTORY | O_NOFOLLOW | O_CLOEXEC); in delete_dir_contents_fd()858 int fsfd = openat(sdfd, name, O_RDONLY | O_NOFOLLOW | O_CLOEXEC); in _copy_dir_files()859 int fdfd = openat(ddfd, name, O_WRONLY | O_NOFOLLOW | O_CLOEXEC | O_CREAT, 0600); in _copy_dir_files()1367 O_RDONLY | O_DIRECTORY | O_NOFOLLOW | O_CLOEXEC)); in collect_profiles()
4027 unique_fd pathFd(open(filePath.c_str(), O_RDONLY | O_CLOEXEC | O_NOFOLLOW | O_PATH)); in enableFsverity()
267 return Open(path, O_WRONLY | O_CREAT | O_TRUNC | O_CLOEXEC | O_NOFOLLOW, in OpenForWrite()272 return Open(path, O_RDONLY | O_CLOEXEC | O_NOFOLLOW); in OpenForRead()417 … TEMP_FAILURE_RETRY(open(abs_path.c_str(), O_RDONLY | O_CLOEXEC | O_NOFOLLOW | O_NONBLOCK))); in GetDumpFds()1050 O_WRONLY | O_CREAT | O_TRUNC | O_CLOEXEC | O_NOFOLLOW, in DumpIncidentReport()1073 O_WRONLY | O_CREAT | O_TRUNC | O_CLOEXEC | O_NOFOLLOW, in DumpNetstatsProto()1114 O_WRONLY | O_CREAT | O_TRUNC | O_CLOEXEC | O_NOFOLLOW, in DumpVisibleWindowViews()1449 O_WRONLY | O_CREAT | O_TRUNC | O_CLOEXEC | O_NOFOLLOW, in DumpHals()2637 open(paths[i].c_str(), O_WRONLY | O_CREAT | O_TRUNC | O_CLOEXEC | O_NOFOLLOW, in DumpstateBoard()3507 open(outPath.c_str(), O_WRONLY | O_CREAT | O_TRUNC | O_CLOEXEC | O_NOFOLLOW, in MaybeSnapshotSystemTraceAsync()4487 O_WRONLY | O_CREAT | truncate_flag | O_CLOEXEC | O_NOFOLLOW, in _redirect_to_file()
1040 O_WRONLY | O_CREAT | O_TRUNC | O_CLOEXEC | O_NOFOLLOW, in CreateFd()1314 O_WRONLY | O_CREAT | O_TRUNC | O_CLOEXEC | O_NOFOLLOW, in CreateFd()1702 O_WRONLY | O_CREAT | O_TRUNC | O_CLOEXEC | O_NOFOLLOW, in CreateOutputFile()
60 O_WRONLY | O_CREAT | O_TRUNC | O_CLOEXEC | O_NOFOLLOW, in OpenForWrite()
520 public static final int O_NOFOLLOW = placeholder(); field in OsConstants
577 O_CREAT | O_WRONLY | O_NOFOLLOW | O_CLOEXEC | O_APPEND, in dumpTraces()
441 initConstant(env, c, "O_NOFOLLOW", O_NOFOLLOW); in OsConstants_initConstants()
137 int ret = TEMP_FAILURE_RETRY(open("/dev/urandom", O_RDONLY | O_CLOEXEC | O_NOFOLLOW)); in getRandomBytes()
AndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
27893 field public static final int O_NOFOLLOW;