-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ChromeOS: don't always restart net service when kerberos enabled
Since the network service sandbox and kerberos are incompatible, a sandboxed network service has to be restarted unsandboxed when an admin enables kerberos (at runtime) on ChromeOS. Chrome was mistakenly restarting the network service the first time an admin enabled kerberos, even if the network service was unsandboxed (i.e. NetworkServiceSandbox feature is disabled). This was unnecessary and tickled another bug (see crbug.com/1494567). So the fix is to set `g_network_service_will_allow_gssapi_library_load` to true for the duration of the process if the network service sandbox is disabled by feature state. Change-Id: Id11919f5dc728192aba18733933aa9c51b979a24 Bug: 1494567, 1474362, b/299795786 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4933285 Commit-Queue: Matthew Denton <mpdenton@chromium.org> Reviewed-by: Felipe Andrade <fsandrade@chromium.org> Reviewed-by: Adam Rice <ricea@chromium.org> Cr-Commit-Position: refs/heads/main@{#1213093}
- Loading branch information
Showing
5 changed files
with
106 additions
and
34 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
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
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
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
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