forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reland "Linux sandbox: broker inotify_add_watch"
This reverts commit 749b7f3. Reverted due to crbug.com/1400475, an Android test failure. Relanding without change after landing https://crrev.com/c/4103180 which disables the syscall broker on Android. Original change's description: > Revert "Linux sandbox: broker inotify_add_watch" > > This reverts commit 714634b. > > Reason for revert: Android test failure (crbug/1400475) > > Original change's description: > > Linux sandbox: broker inotify_add_watch > > > > This CL adds support for inotify_add_watch() to the Linux syscall > > broker. > > > > The network service needs FilePathWatcher which uses > > inotify_add_watch(). Based on the nature of FilePathWatcher, it's > > probably not possible to perform inotify_add_watch() before the > > sandboxes engages and so it'll have to be handled by the sandbox. > > > > Because it is a syscall that takes a pathname it needs to be brokered > > by the syscall broker and the pathname matched against an allowlist. > > > > Bug: 1079808 > > Change-Id: I3565057e867c26dc901341846c2f47356e257897 > > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4075489 > > Reviewed-by: Tom Sepez <tsepez@chromium.org> > > Commit-Queue: Matthew Denton <mpdenton@chromium.org> > > Cr-Commit-Position: refs/heads/main@{#1081709} > > Bug: 1079808 > Bug: 1400475 > Change-Id: Ic4f0f45d4cff286c5a4de93f09fb84b7ffb80a4d > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4098648 > Auto-Submit: Nate Fischer <ntfschr@chromium.org> > Commit-Queue: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com> > Commit-Queue: Nate Fischer <ntfschr@chromium.org> > Owners-Override: Nate Fischer <ntfschr@chromium.org> > Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com> > Cr-Commit-Position: refs/heads/main@{#1082181} Bug: 1079808 Bug: 1400475 Change-Id: I17c58f01cb6670325dfadffbe370d040c0c4c123 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4104223 Reviewed-by: Tom Sepez <tsepez@chromium.org> Commit-Queue: Matthew Denton <mpdenton@chromium.org> Cr-Commit-Position: refs/heads/main@{#1084007}
- Loading branch information
Showing
19 changed files
with
888 additions
and
103 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.