commit | 79d229fc55b604c88295b810ee8faf586e1933d7 | [log] [tgz] |
---|---|---|
author | Tom Sepez <tsepez@chromium.org> | Tue Dec 12 20:05:37 2017 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Dec 12 20:05:37 2017 |
tree | a140dd5e14c21545bb74c24ee7467ab01264afce | |
parent | ca442712b59b91878b004c35cf967625ac841332 [diff] |
[linux] O_EXCL requirement in brokered open call too restrictive. The restriction is only required when "temporary file" permissions have been granted, since that is what implies no access to pre-existing files. Fixes the issue hit by https://chromium-review.googlesource.com/c/chromium/src/+/818486 in that the network service may try to ensure a file is present via a single call with O_CREAT without knowing if it pre-exists. Change-Id: I3cf3f2389a78a5a46f43505a64d106614e4dcf90 Reviewed-on: https://chromium-review.googlesource.com/820611 Commit-Queue: Tom Sepez <tsepez@chromium.org> Reviewed-by: Jorge Lucangeli Obes <jorgelo@chromium.org> Cr-Commit-Position: refs/heads/master@{#523527}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .