Commit Graph

13434 Commits

Author SHA1 Message Date
Bob Owen
41ce6696f9 Bug 1447019 Part 2: Move running from a network drive check into WinUtils. r=jimm 2018-03-27 14:09:32 +01:00
Franziskus Kiefer
806baa5430 Bug 1415279 - Move error strings for certError and netError pages to frontend, r=johannh,keeler,Honza,snorp
This patch moves all TLS error string handling to the frontend.
Dev-tools doesn't show the same error code as the page does anymore but only the error code as string.
All logging of these error messages has been removed.

Bug #: 1415279

Differential Revision: https://phabricator.services.mozilla.com/D607

--HG--
extra : rebase_source : 61e2d94cb21ef4c02b81448531609205c85a9707
2018-03-27 13:31:52 +02:00
ffxbld
5dd69d1516 No bug, Automated HPKP preload list update from host bld-linux64-spot-303 - a=hpkp-update 2018-03-25 13:32:21 -07:00
ffxbld
97b38a3ffb No bug, Automated HSTS preload list update from host bld-linux64-spot-303 - a=hsts-update 2018-03-25 13:32:17 -07:00
shindli
2640499cc4 Merge autoland to mozilla-central. a=merge 2018-03-25 12:32:20 +03:00
ffxbld
854a93183e No bug, Automated HPKP preload list update from host bld-linux64-spot-302 - a=hpkp-update 2018-03-25 00:41:27 -07:00
ffxbld
65b51bcedd No bug, Automated HSTS preload list update from host bld-linux64-spot-302 - a=hsts-update 2018-03-25 00:41:23 -07:00
ffxbld
d380323764 No bug, Automated HPKP preload list update from host bld-linux64-spot-302 - a=hpkp-update 2018-03-24 00:08:51 -07:00
ffxbld
090a596545 No bug, Automated HSTS preload list update from host bld-linux64-spot-302 - a=hsts-update 2018-03-24 00:08:47 -07:00
J.C. Jones
2e7f40ab63 Bug 1445731 - land NSS 1bde21f90bd1 UPGRADE_NSS_RELEASE, r=me
--HG--
extra : rebase_source : b23946c3f8f8ca33b1fe42f67febe604d36c6411
2018-03-22 14:40:30 -07:00
Doug Thayer
7874b62da6 Bug 1444290 - Forget bg SDR runnable reference when dispatching r=froydnj
We're seeing a crash in tests from trying to release the promise in
this runnable from the background thread we create to run this
method. The only way I can see that happening is that the bg thread
loses the race with the main thread to drop its reference to the
runnable, causing it to call the destructor. Rather than calling the
helper that adds a reference to the runnable and then forgets it,
let's just forget it here.

MozReview-Commit-ID: LXpC8Kr2SBb

--HG--
extra : rebase_source : bfed3ed4128c6a3ede6f06feed1f50cb9f30e485
2018-03-22 09:31:40 -07:00
Mathieu Leplatre
76bc359e79 Bug 1397230 - Generalize blocklist clients to remote settings clients r=mgoodwin
MozReview-Commit-ID: 9VAsTFCuZUf

--HG--
rename : services/common/tests/unit/test_blocklist_updater.js => services/common/tests/unit/test_remote_settings_poll.js
extra : rebase_source : 9da338f18f3860e124b315a8be3340997343e2f3
2018-03-13 16:23:57 +01:00
ffxbld
ecdda28482 No bug, Automated HPKP preload list update from host bld-linux64-spot-301 - a=hpkp-update 2018-03-22 13:22:03 -07:00
ffxbld
a305f35f68 No bug, Automated HSTS preload list update from host bld-linux64-spot-301 - a=hsts-update 2018-03-22 13:21:59 -07:00
ffxbld
55d5f75f65 No bug, Automated HPKP preload list update from host bld-linux64-spot-301 - a=hpkp-update 2018-03-21 13:10:14 -07:00
ffxbld
b8bfc106c1 No bug, Automated HSTS preload list update from host bld-linux64-spot-301 - a=hsts-update 2018-03-21 13:10:10 -07:00
Cosmin Sabou
66b7c55e79 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-03-21 00:51:18 +02:00
Cosmin Sabou
52c9a5448e Merge inbound to mozilla-central. a=merge 2018-03-21 00:24:33 +02:00
Cosmin Sabou
0457be96b5 Merge autoland to mozilla-central. a=merge 2018-03-21 00:23:17 +02:00
ffxbld
5fe3417f0b No bug, Automated HPKP preload list update from host bld-linux64-spot-301 - a=hpkp-update 2018-03-20 13:10:29 -07:00
ffxbld
ff82f5097d No bug, Automated HSTS preload list update from host bld-linux64-spot-301 - a=hsts-update 2018-03-20 13:10:25 -07:00
J.C. Jones
7780b45b3a Bug 1445731 - land NSS c5dffd6269ea UPGRADE_NSS_RELEASE, r=me
--HG--
extra : rebase_source : a740ebebda8a9894cfebcff25d21a9430c478f96
2018-03-20 10:17:35 -07:00
J.C. Jones
175c45e2dc Bug 1444440 - Ensure the correct error is emitted for policy distrusts r=keeler
Bug 1441223 added MOZILLA_PKIX_ERROR_ADDITIONAL_POLICY_CONSTRAINT_FAILED to be
emitted when we hit certificates affected by the Symantec distrust.

Since some sites have multiple certificate trust paths possible, sometimes
SEC_ERROR_UNKNOWN_ISSUER is emitted instead of the more specific error.

This patch uses a flag to ensure that the specific error is emitted out of the
Cert Verifier.

--HG--
extra : rebase_source : a961d2e713ae342222d85dff6f83ed3bcaa8006b
2018-03-14 14:01:35 -07:00
Margareta Eliza Balazs
922c555275 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-03-20 19:00:25 +02:00
David Keeler
bade5ee518 bug 1439383 - clean up the load loadable roots thread when we're done with it r=froydnj,jcj
MozReview-Commit-ID: J5GnpwxYguz

--HG--
extra : rebase_source : 14abdefbbee91b13ae26104d093e6fba20432c05
2018-03-16 16:50:19 -07:00
Bob Owen
cf86e40aa1 Bug 1445167 Part 2: Make LOG_FATAL messages in chromium sandbox code crash. r=jld 2018-03-20 10:45:31 +00:00
Bob Owen
af1e9f58c5 Bug 1445167 Part 1: Revert change to make USER_NON_ADMIN a blacklist. r=handyman
This is only used by default in the file content process now and we also have a
FILES_ALLOW_READONLY rule for all paths anyway.
2018-03-20 10:42:05 +00:00
ffxbld
19da7222e8 No bug, Automated HPKP preload list update from host bld-linux64-spot-326 - a=hpkp-update 2018-03-19 13:10:23 -07:00
ffxbld
43d9f7b3ef No bug, Automated HSTS preload list update from host bld-linux64-spot-326 - a=hsts-update 2018-03-19 13:10:19 -07:00
ffxbld
7f196c986b No bug, Automated HPKP preload list update from host bld-linux64-spot-307 - a=hpkp-update 2018-03-17 13:08:00 -07:00
ffxbld
36c23ec671 No bug, Automated HSTS preload list update from host bld-linux64-spot-307 - a=hsts-update 2018-03-17 13:07:56 -07:00
ffxbld
fed3513bca No bug, Automated HPKP preload list update from host bld-linux64-spot-302 - a=hpkp-update 2018-03-16 12:56:58 -07:00
ffxbld
b97ded4fa8 No bug, Automated HSTS preload list update from host bld-linux64-spot-302 - a=hsts-update 2018-03-16 12:56:54 -07:00
Sylvestre Ledru
fa45a3c670 Bug 1443080 - Use the static call for static methods (not instance) r=Ehsan
MozReview-Commit-ID: JwHh4bzxuTR

--HG--
extra : rebase_source : 5f5e37517aa80c2e7b5933962178d761074886e7
2018-03-16 14:29:15 +01:00
Haik Aftandilian
331dda9367 Bug 1444291 - Part 3 - Add read access to the Mac Flash sandbox, support sandbox levels r=Alex_Gaynor
Replace the boolean pref "security.sandbox.mac.flash.enabled"
with "dom.ipc.plugins.sandbox-level.flash" to support sandbox
levels and be consistent with the Windows pref name.

Adds filesystem read access to the sandbox using sandbox extensions
granted by the file dialog machinery (level 1).

Add support for level 2 which blocks read access.

Allow the sandbox to be disabled with MOZ_DISABLE_NPAPI_SANDBOX.


MozReview-Commit-ID: 4rfobEoxQpF

--HG--
extra : rebase_source : 05dc54b46063967e959bc3fced21c61e5463de48
2018-03-15 20:23:19 -07:00
Haik Aftandilian
b8c5b2eae6 Bug 1444291 - Part 2 - Add additional sysctl access to the Mac Flash sandbox r=Alex_Gaynor
Adds additional sysctls that are used by the Flash plugin process and alphabetize the list.

MozReview-Commit-ID: 7CaPtaKe874

--HG--
extra : rebase_source : 909228ef9617029eaf7cb16565751150cd1c7404
2018-03-07 22:07:27 -08:00
Haik Aftandilian
09693ee75d Bug 1444291 - Part 1 - Reduce Mac Flash sandbox cache and temp dir permissions r=Alex_Gaynor
Remove access to DARWIN_USER_CACHE_DIR. Limit DARWIN_USER_TEMP_DIR
access to the FlashTmp subdirectory. Remove xattr read access to
~/Library/Caches/ and ~/Library/Preferences.

MozReview-Commit-ID: 9svk0BoxVXs

--HG--
extra : rebase_source : 5ea9c7ecc0189455eceb190fb300170d42d0b890
2018-03-15 17:33:12 -07:00
Sebastian Hengst
d247fb5f4e Bug 1445763 - Update moz.build meta data with "Firefox Build System". r=froydnj
MozReview-Commit-ID: 3FrWJ6441pe

--HG--
extra : rebase_source : c8f1dc45041132252e28869ada6a386270267431
2018-03-14 21:44:46 +01:00
Coroiu Cristina
62bb56ad86 Backed out 3 changesets (bug 1444291) for bustage at build/src/dom/plugins/ipc/PluginProcessChild.cpp
Backed out changeset 48a9c2131347 (bug 1444291)
Backed out changeset dfc31b6c9f53 (bug 1444291)
Backed out changeset 8ee3e65465ed (bug 1444291)
2018-03-16 03:07:35 +02:00
Haik Aftandilian
3aaa8d9f78 Bug 1444291 - Part 3 - Add read access to the Mac Flash sandbox, support sandbox levels r=Alex_Gaynor
Replace the boolean pref "security.sandbox.mac.flash.enabled"
with "dom.ipc.plugins.sandbox-level.flash" to support sandbox
levels and be consistent with the Windows pref name.

Adds filesystem read access to the sandbox using sandbox extensions
granted by the file dialog machinery (level 1).

Add support for level 2 which blocks read access.

Allow the sandbox to be disabled with MOZ_DISABLE_NPAPI_SANDBOX.


MozReview-Commit-ID: 4rfobEoxQpF

--HG--
extra : rebase_source : 87f2f00867c4522ae3102abbc44fd05db63c7ec7
2018-03-13 15:38:11 -07:00
Haik Aftandilian
d1fbc6bb50 Bug 1444291 - Part 2 - Add additional sysctl access to the Mac Flash sandbox r=Alex_Gaynor
Adds additional sysctls that are used by the Flash plugin process and alphabetize the list.

MozReview-Commit-ID: 7CaPtaKe874

--HG--
extra : rebase_source : 078697987ac7fec77c75953035b924422fc93066
2018-03-07 22:07:27 -08:00
Haik Aftandilian
018807a65d Bug 1444291 - Part 1 - Reduce Mac Flash sandbox cache and temp dir permissions r=Alex_Gaynor
Remove access to DARWIN_USER_CACHE_DIR. Limit DARWIN_USER_TEMP_DIR
access to the FlashTmp subdirectory. Remove xattr read access to
~/Library/Caches/ and ~/Library/Preferences.

MozReview-Commit-ID: 9svk0BoxVXs

--HG--
extra : rebase_source : 669c4fa446c9cab6b32cf60091e91eae2d08625f
2018-03-15 17:33:12 -07:00
Coroiu Cristina
51fd916771 Merge mozilla-central to autoland a=merge on a CLOSED TREE 2018-03-16 01:43:13 +02:00
J.C. Jones
7c82a66a30 Bug 1445731 - land NSS f0d4789c8916 UPGRADE_NSS_RELEASE, r=me
--HG--
extra : rebase_source : e5f6d2e5e607bc624847e5b95904be2901832368
2018-03-15 09:00:48 -07:00
David Keeler
c4fc9f6fe3 bug 1444943 - set NSS_SDB_USE_CACHE to yes if the profile is on an nfs mount r=jcj
MozReview-Commit-ID: 44DxZxmlSlG

--HG--
extra : rebase_source : 46c5860085730c828efd709132ba0e5860762bb5
2018-03-13 13:34:17 -07:00
Andreea Pavel
46575fad3b Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2018-03-15 00:10:23 +02:00
Bob Owen
f2f76a9b94 Bug 1445614: Only warn when SetAlternateDesktop fails. r=jimm 2018-03-14 18:39:36 +00:00
Gurzau Raul
f785df755d Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-03-14 00:44:06 +02:00
Boris Zbarsky
3857fba2a3 Bug 1444686 part 9. Remove use of nsIDOMDataTransfer from nsITreeView. r=mystor
MozReview-Commit-ID: Dpn7YSZpDsc
2018-03-13 16:24:00 -04:00
ffxbld
b5dd183a38 No bug, Automated HPKP preload list update from host bld-linux64-spot-304 - a=hpkp-update 2018-03-13 13:05:28 -07:00
ffxbld
b49fb0c95f No bug, Automated HSTS preload list update from host bld-linux64-spot-304 - a=hsts-update 2018-03-13 13:05:24 -07:00
Andreea Pavel
8fa0b32c84 Merge mozilla-inbound to mozilla-cenral. a=merge 2018-03-13 19:01:32 +02:00
Narcis Beleuzu
298d1d55b5 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-03-13 12:36:54 +02:00
Gian-Carlo Pascutto
4fb9bf8576 Bug 1416016 - Resolve symlinks in the file broker as a last resort. r=jld
MozReview-Commit-ID: B7OMyARk9u8

--HG--
extra : rebase_source : 1106c8f877f748a2ef7e6af3b8e6965a3cf67e33
2018-03-09 21:14:39 +01:00
Jed Davis
0b5eeab7a5 Bug 1445003 - Detect RenderDoc and adjust the sandbox policy so it can work. r=gcp
RenderDoc, a graphics debugging tool, uses a preload library that
creates a listening socket (Internet-domain) early in startup and
accepts connections from the frontend.  If it's detected (via env vars),
we allow accept/accept4 (but not socket/bind/listen), and remain in
the parent process's network namespace so that other processes can
connect to the socket.

This doesn't change the sandbox policy if not running under RenderDoc.

MozReview-Commit-ID: 964RW4BFh4u

--HG--
extra : rebase_source : d4a954e68431d84fa2e0edea4171421a948794af
2018-03-12 20:21:08 -06:00
Noemi Erli
ac0a30f58c Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-03-13 01:16:04 +02:00
Margareta Eliza Balazs
d6d1b8a6a5 Merge inbound to mozilla-central. a=merge 2018-03-13 01:10:10 +02:00
ffxbld
1373cc1dac No bug, Automated HPKP preload list update from host bld-linux64-spot-302 - a=hpkp-update 2018-03-12 12:54:30 -07:00
ffxbld
34f58199be No bug, Automated HSTS preload list update from host bld-linux64-spot-302 - a=hsts-update 2018-03-12 12:54:26 -07:00
ffxbld
426a7d1158 No bug, Automated HPKP preload list update from host bld-linux64-spot-302 - a=hpkp-update 2018-03-11 13:00:15 -07:00
ffxbld
1c871585db No bug, Automated HSTS preload list update from host bld-linux64-spot-302 - a=hsts-update 2018-03-11 13:00:11 -07:00
ffxbld
a815a036e1 No bug, Automated HPKP preload list update from host bld-linux64-spot-302 - a=hpkp-update 2018-03-10 12:28:53 -08:00
ffxbld
88badf8d2f No bug, Automated HSTS preload list update from host bld-linux64-spot-302 - a=hsts-update 2018-03-10 12:28:49 -08:00
Noemi Erli
40b1baaab5 Merge inbound to mozilla-central. a=merge 2018-03-10 11:58:34 +02:00
Jed Davis
6c8bcd4625 Bug 1440206 - Allow brokered access to a subset of connect() in the Linux content sandbox. r=gcp
This is to support WebGL with hybrid graphics drivers that connect to
a secondary X server for GL (Primus and VirtualGL), without allowing
access to arbitrary sockets.  In addition to local X11 connections,
Primus needs to connect to the Bumblebee daemon (otherwise it will exit
the calling process).

The broker support is limited to AF_UNIX, to non-datagram sockets (see
bug 1066750), and to pathname addresses.  Abstract addresses could
theoretically be handled but there isn't currently a compelling reason
to, and the broker very much assumes it's dealing with a C-style string
referring to a filesystem path and not an arbitrary byte sequence
(including NULs).

At a higher level: If the GPU X server is remote then it won't work,
but it won't work anyway because WebGL requires features that aren't
supported by indirect GLX.  If the GPU X server is local but the browser
is inside a chroot, it will fail to connect unless /tmp/.X11-unix is
bind-mounted into the chroot; hopefully this use case is not common.

MozReview-Commit-ID: IvI2jYDRZZ2
2018-03-09 19:31:23 -07:00
ffxbld
1ab76f70a0 No bug, Automated HPKP preload list update from host bld-linux64-spot-302 - a=hpkp-update 2018-03-09 12:00:09 -08:00
ffxbld
1c25759cc3 No bug, Automated HSTS preload list update from host bld-linux64-spot-302 - a=hsts-update 2018-03-09 12:00:05 -08:00
Jed Davis
60310ac5ad Bug 1434392 - Don't preload libmozsandbox in grandchild processes, only the sandboxed children themselves. r=gcp
--HG--
extra : rebase_source : a2c784640c65e0e476fc6ccf8639581462902c86
2018-03-07 18:55:20 -07:00
Kris Maglione
c09b0c1a99 Bug 1446833: Part 2 - Stop using Task.jsm in xpcshell/head.js. r=florian
MozReview-Commit-ID: 6vSpwih9Fnr

--HG--
extra : rebase_source : 9ca452486f144a35514f00742722b6a59efadacd
extra : histedit_source : af6cc6fef47116a4c98113fcd4fd157217a75106
2018-03-18 15:27:04 -07:00
Franziskus Kiefer
253cd4b75b Bug 1443744 - fix shadowing issues in pkix, r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D689
2018-03-07 10:54:59 +01:00
David Keeler
8bcd4a3c85 bug 1435376 - set NSS_SDB_USE_CACHE to yes if the profile is on a remote drive (windows version) r=jcj,mhowell
MozReview-Commit-ID: 4b1v8ypljoR

--HG--
extra : rebase_source : 393d45fd110ad2e3467feb77eadf145bb08ddef2
2018-03-08 15:13:52 -08:00
Gian-Carlo Pascutto
f32916cd1e Bug 1434711 - WebGL causes a crash with the AMDGPU-PRO video driver. r=jld
Factor out the ATI-based driver detection code and use this to set
specific permissions needed by this driver. In passing, unnest some
of the SandboxBroker fallback paths, and make it properly report
the operation in all error paths.

MozReview-Commit-ID: FrRpicj5NF

--HG--
extra : rebase_source : 1410cdddcf1264dc1572f9b9b691f9d08a2061cf
2018-03-29 14:04:46 +02:00
David Parks
6a70261b2b Bug 1450773 - Remove restricting SIDs from NPAPI sandbox outside of nightly builds. r=bobowen
Restricting SIDs, which harden the sandbox, have caused some problems that we are investigating in nightly and that we don't want in beta/release.
2018-04-02 15:27:07 -07:00
Andrea Marchesini
5784769019 Bug 1443079 - nsScriptError.isFromPrivateWindow must match the correct value also in e10s mode, r=smaug 2018-03-13 06:40:38 +01:00
Gian-Carlo Pascutto
dadfe06714 Bug 1438394 - Do SysV IPC check before bailing out early. r=jld
The SandboxLaunchPrepare currently bails out early if it detects a
lack of user namespaces. Hoist the check for drivers needing SysV
IPC up so it's done before that early exit, and the required env
variables get correctly set.

With this we no longer fail with a SIGSYS sandbox error, though
in a debug build we still crash because many assumptions in the
graphics stack get broken when that fails to initialize the driver
for WebGL.

MozReview-Commit-ID: 8n3Hx6VSjTF

--HG--
extra : rebase_source : 99bf2d25a7435b0eb95f186a00cc7723a196be4c
2018-03-07 19:05:00 +01:00
shindli
c2506585bc Merge mozilla-central to autoland. a=merge CLOSED TREE
--HG--
rename : devtools/client/shared/frame-script-utils.js => devtools/client/shared/test/frame-script-utils.js
rename : devtools/client/framework/test/shared-head.js => devtools/client/shared/test/shared-head.js
rename : devtools/client/framework/test/shared-redux-head.js => devtools/client/shared/test/shared-redux-head.js
2018-03-08 02:26:38 +02:00
shindli
8969dbf20d Merge autoland to mozilla-central. a=merge 2018-03-08 02:18:59 +02:00
ffxbld
bc86ab931f No bug, Automated HPKP preload list update from host bld-linux64-spot-302 - a=hpkp-update 2018-03-07 12:18:51 -08:00
ffxbld
44e48d690a No bug, Automated HSTS preload list update from host bld-linux64-spot-302 - a=hsts-update 2018-03-07 12:18:47 -08:00
David Keeler
17ba010a45 bug 1438196 - fix nsSSLIOLayerMethods definitions r=fkiefer
MozReview-Commit-ID: 4Nu51f1DhSV

--HG--
extra : rebase_source : 3fc327b29786086118ca9885483056cef5b83f5a
2018-03-05 09:12:29 -08:00
ffxbld
bbc9137eb2 No bug, Automated HPKP preload list update from host bld-linux64-spot-303 - a=hpkp-update 2018-03-06 11:59:08 -08:00
ffxbld
67924b45ee No bug, Automated HSTS preload list update from host bld-linux64-spot-303 - a=hsts-update 2018-03-06 11:59:05 -08:00
ffxbld
cbcaea058d No bug, Automated HPKP preload list update from host bld-linux64-spot-302 - a=hpkp-update 2018-03-06 07:26:58 -08:00
ffxbld
7790969bc9 No bug, Automated HSTS preload list update from host bld-linux64-spot-302 - a=hsts-update 2018-03-06 07:26:54 -08:00
Cosmin Sabou
c17d867e25 Merge inbound to mozilla-central. a=merge
--HG--
rename : browser/base/content/tabbrowser.js => browser/modules/AsyncTabSwitcher.jsm
2018-03-06 06:27:48 +02:00
Cosmin Sabou
ed1b2a8736 Backed out 4 changesets (bug 1437167) for build bustages on nsUpdateDriver.cpp and WindowsMessageLoop.cpp on a CLOSED TREE.
Backed out changeset b98740e7c639 (bug 1437167)
Backed out changeset 4476e8f51fa6 (bug 1437167)
Backed out changeset c79dc40faa41 (bug 1437167)
Backed out changeset b608d2dcbb86 (bug 1437167)
2018-03-06 00:09:46 +02:00
Nika Layzell
262be91f75 Bug 1437167 - Part 1: Stop using PRIntervalTime as the argument to CondVar::Wait and Monitor::Wait, r=mstange, r=froydnj
MozReview-Commit-ID: BN18I8Q6c7S
2018-03-05 16:00:00 -05:00
Kai Engert
4def6fe1c8 Bug 1432177, land NSS_3_36_RTM, r=franziskus
UPGRADE_NSS_RELEASE
2018-03-05 17:16:06 +01:00
Bob Owen
5f274865e8 Backed out changeset 0036938db4fe (bug 1441598) - for accidental printf. 2018-03-05 08:41:00 +00:00
Bob Owen
5902b80f2b Bug 1441598 Part 2: When cancelling a print make sure the DialogOpened message has been sent. r=jwatt 2018-03-05 08:22:14 +00:00
J.C. Jones
6a6f82c15e Bug 1445731 - land NSS dedf5290c679 UPGRADE_NSS_RELEASE, r=me
--HG--
extra : rebase_source : 79460bf0f6ec7dc53589ae104538f758ee5a7f41
2018-03-26 08:04:57 -07:00
ffxbld
4237a1109c No bug, Automated HPKP preload list update from host bld-linux64-spot-302 - a=hpkp-update 2018-03-04 12:09:52 -08:00
ffxbld
846e06e651 No bug, Automated HSTS preload list update from host bld-linux64-spot-302 - a=hsts-update 2018-03-04 12:09:48 -08:00
ffxbld
5b2843fac4 No bug, Automated HPKP preload list update from host bld-linux64-spot-324 - a=hpkp-update 2018-03-04 00:46:29 -08:00
ffxbld
7d339c345c No bug, Automated HSTS preload list update from host bld-linux64-spot-324 - a=hsts-update 2018-03-04 00:46:25 -08:00
shindli
68a1ed26ac Merge autoland to mozilla-central. a=merge 2018-03-03 01:05:23 +02:00
ffxbld
4744487bf0 No bug, Automated HPKP preload list update from host bld-linux64-spot-030 - a=hpkp-update 2018-03-02 12:57:40 -08:00
ffxbld
7bd2ace171 No bug, Automated HSTS preload list update from host bld-linux64-spot-030 - a=hsts-update 2018-03-02 12:57:36 -08:00
Dorel Luca
3ccafa2b66 Merge mozilla-inbound to mozilla-central. a=merge 2018-03-02 00:09:29 +02:00
Dorel Luca
109ad47bbf Merge autoland to mozilla-central. a=merge 2018-03-02 00:05:07 +02:00
ffxbld
84c76716c7 No bug, Automated HPKP preload list update from host bld-linux64-spot-302 - a=hpkp-update 2018-03-01 12:02:34 -08:00
ffxbld
e775e30412 No bug, Automated HSTS preload list update from host bld-linux64-spot-302 - a=hsts-update 2018-03-01 12:02:30 -08:00
Sebastian Hengst
118e03a936 merge mozilla-central to mozilla-inbound 2018-03-01 20:32:20 +02:00
Masatoshi Kimura
b1b043af08 Bug 1442266 - Stop including unnecessary <iostream>. r=froydnj
MozReview-Commit-ID: B0JDqyBanFE

--HG--
extra : rebase_source : dec1e2678083e3fb2b9a6b89322d1fa747ed6d4a
2018-03-01 23:07:56 +09:00
J.C. Jones
8144e93399 Bug 1442075 - Enforce Symantec distrust in Firefox 60 r=keeler
Per the Consensus plan, this patch enforces the distrust of Syamntec roots from
Bug 1409257. It is ultimately destined for Firefox 60.

MozReview-Commit-ID: 8Vpxdflk9Wu

--HG--
extra : rebase_source : 39dddbdc5fd18a692c0588c57c7fd8c4604ea76c
2018-03-01 17:09:21 -07:00
David Keeler
83942e01e1 bug 1441223 - add a new (overridable) error code to describe extra policy constraint failures r=jcj
Certificate verification failures that result from additional policy constraint
failures now use the error code
"MOZILLA_PKIX_ERROR_ADDITIONAL_POLICY_CONSTRAINT_FAILED" (also known as
"Result::ERROR_ADDITIONAL_POLICY_CONSTRAINT_FAILED", depending on the context).

MozReview-Commit-ID: 9rE7gRBapRF

--HG--
extra : rebase_source : 9a60900a86f9eebab58b973f3e8f776b2481a1ff
2018-02-27 11:21:51 -08:00
Bob Owen
8efbee5948 Bug 1441801 Part 2: Fix line endings in sandboxBroker.cpp. r=jimm 2018-03-01 14:37:26 +00:00
Bob Owen
be5a4dadac Bug 1441801 Part 1: Stop using the chromium sandbox DLL blocking mechanism on Nightly. r=jimm 2018-03-01 14:37:25 +00:00
Cosmin Sabou
a97105ec0d Merge inbound to mozilla-central. a=merge 2018-02-28 23:48:29 +02:00
ffxbld
08a7733d6d No bug, Automated HPKP preload list update from host bld-linux64-spot-302 - a=hpkp-update 2018-02-28 12:02:20 -08:00
ffxbld
0799f9b06e No bug, Automated HSTS preload list update from host bld-linux64-spot-302 - a=hsts-update 2018-02-28 12:02:16 -08:00
Florian Quèze
c714053d73 Bug 1433175 - scripted patch to replace Components.classes[, Components.interfaces.nsI, Components.utils. and Components.results. with Cc, Ci, Cu and Cr, r=Mossop. 2018-02-28 18:51:33 +01:00
Sebastian Hengst
769222fadf merge mozilla-inbound to mozilla-central. a=merge
--HG--
rename : browser/base/content/tabbrowser.xml => browser/base/content/tabbrowser.js
2018-02-28 12:54:12 +02:00
Sebastian Hengst
1761ef65c7 merge mozilla-central to mozilla-inbound. CLOSED TREE 2018-02-28 20:19:28 +02:00
Sebastian Hengst
1ded4e973b merge mozilla-central to mozilla-inbound 2018-02-28 12:58:05 +02:00
J.C. Jones
c1babbf4e1 Bug 1437754 - Add a pref and disable the Symantec distrust algorithm r=keeler
This adds the pref "security.pki.distrust_ca_policy" which, if set to 1,
enforces the graduated distrust from Bug 1409257, and if set to 0 (as it is in
this patch) disables that distrust.

This pref is intended to outlast the Symantec distrust, and instead be able to
extend to enable/disable future root policy actions. It would need its own
tests for that, in the future.

MozReview-Commit-ID: BAZfkapysfX

--HG--
extra : rebase_source : 02b00aa486e9f8efb81b32d38d80db5cae86bc6e
2018-02-27 16:04:51 -07:00
Kai Engert
16cfaba763 Bug 1432177, uplift NSS_3_36_BETA3, r=me
UPGRADE_NSS_RELEASE
2018-02-28 11:13:28 +01:00
Honza Bambas
281502cac6 Bug 1363284 - HTTP/2 anonymous/onymous session (connection) coalescing, r=mayhemer
--HG--
extra : rebase_source : 66192a32668de8a9cd99722d1e0860cce2f84030
2018-02-15 09:10:00 +02:00
J.C. Jones
4bc9fe0d27 Bug 1439378 - Re-enable the imminent distrust browser-console test r=fkiefer,keeler
This patch does a few things:
1) It removes the symantecRoot and symantec_affected certs from build/pgo/certs'
   DB.
2) It upgrades that DB from the old format to SQLite (and this 8/3 to 9/4).
3) It adds a new cert "imminently_distrusted" to that DB for the bc test.
4) It changes the Subject of the immient distrust test to only have the CN
   field: this is because certutil reorders C to come after CN, and just like
   with the real Symantec certs, I had put C first. So rather than deal with
   importing the end entity for the pgo tests, I decided to just make things
   simple and change the tested subject.
5) Finally, it re-enables the test that was disabled in Bug 1434300.

MozReview-Commit-ID: Bt2RKyInJje

--HG--
rename : build/pgo/certs/cert8.db => build/pgo/certs/cert9.db
rename : build/pgo/certs/key3.db => build/pgo/certs/key4.db
extra : rebase_source : efceb67ae16f0af617bbd8bec201d52eee0f467d
2018-02-26 15:55:35 -07:00
Franziskus Kiefer
2842796e4c Bug 1435713 - fix linter errors, a=bustage 2018-02-28 10:28:11 +01:00
Franziskus Kiefer
49889960b6 Bug 1435713 - collect cert fingerprints for failed CS verifications, r=keeler,francois
Reviewers: keeler, francois

Reviewed By: keeler, francois

Subscribers: francois, ulfr

Bug #: 1435713

Differential Revision: https://phabricator.services.mozilla.com/D623

--HG--
extra : rebase_source : 0142e9d970eb289cf9814ae2c9bdc1f0a2a4ac46
extra : amend_source : bc4b4ca15d167ee9f0574efad7934458e2facd9b
2018-02-28 09:26:30 +01:00
Valentin Gosu
ed218f0a19 Bug 1433958 - Change code that sets nsIURI.scheme to use nsIURIMutator r=mayhemer
MozReview-Commit-ID: GgyIkZSG2y3

--HG--
extra : rebase_source : 5398a29d8cb910c909ed88e1a6cbd9fd63e6b745
2018-02-26 20:43:47 +01:00
Valentin Gosu
7f3b09b694 Bug 1433958 - Change code that sets nsIURI.port to use nsIURIMutator r=mayhemer
MozReview-Commit-ID: 7Lu7JJvDUGF

--HG--
extra : rebase_source : 8d5a9bb1c4a5a525f7c5bc8d07c1e7029d2029a3
2018-02-26 20:43:46 +01:00
J.C. Jones
6d19459740 Bug 1440029 - Add a test for TrustOverrideUtils.h r=keeler
This is the test originally from Bug 1434300 that was pulled due to
Bug 1433015.

MozReview-Commit-ID: IEPCRVdS2v4

--HG--
extra : rebase_source : 843222f36b9fffe73cdf02aebb3f263897a943de
2018-02-21 16:54:52 -05:00
Tiberius Oros
22d5a6c371 Merge autoland to mozilla-central. a=merge 2018-02-27 00:18:03 +02:00
ffxbld
876968b0bb No bug, Automated HPKP preload list update from host bld-linux64-spot-030 - a=hpkp-update 2018-02-26 12:44:28 -08:00
ffxbld
92e1462566 No bug, Automated HSTS preload list update from host bld-linux64-spot-030 - a=hsts-update 2018-02-26 12:44:24 -08:00
ffxbld
f3a601c889 No bug, Automated HPKP preload list update from host bld-linux64-spot-302 - a=hpkp-update 2018-02-25 11:53:31 -08:00
ffxbld
a8acc056c9 No bug, Automated HSTS preload list update from host bld-linux64-spot-302 - a=hsts-update 2018-02-25 11:53:27 -08:00
Patrick McManus
4ece6279ba Bug 1439105 - Ban H2 Client Certs Post Handshake r=bagder,keeler
MozReview-Commit-ID: Dfx5bB5NOBp

--HG--
extra : rebase_source : ec0984aec6625950b139c06a4ae3da69f49afdf3
2018-02-17 08:10:13 -05:00
ffxbld
dbacae538a No bug, Automated HPKP preload list update from host bld-linux64-spot-324 - a=hpkp-update 2018-02-24 12:01:40 -08:00
ffxbld
da2f635f78 No bug, Automated HSTS preload list update from host bld-linux64-spot-324 - a=hsts-update 2018-02-24 12:01:36 -08:00
Sebastian Hengst
7be9fed7d0 merge mozilla-inbound to mozilla-central. a=merge 2018-02-24 02:58:35 +02:00
Florian Quèze
682b1ec3b2 Bug 1440284 - change this.EXPORTED_SYMBOLS back to var EXPORTED_SYMBOLS in JS modules, r=mccr8. 2018-02-23 20:50:01 +01:00
ffxbld
57247f5331 No bug, Automated HPKP preload list update from host bld-linux64-spot-302 - a=hpkp-update 2018-02-23 11:48:18 -08:00
ffxbld
37e4f549d7 No bug, Automated HSTS preload list update from host bld-linux64-spot-302 - a=hsts-update 2018-02-23 11:48:14 -08:00
ffxbld
0b6ee32aee No bug, Automated HPKP preload list update from host bld-linux64-spot-324 - a=hpkp-update 2018-02-22 11:50:18 -08:00
ffxbld
b779a894df No bug, Automated HSTS preload list update from host bld-linux64-spot-324 - a=hsts-update 2018-02-22 11:50:13 -08:00
Csoregi Natalia
dd63683685 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-02-21 23:52:24 +02:00
Csoregi Natalia
3011413f82 Merge inbound to mozilla-central. a=merge 2018-02-21 23:50:20 +02:00
Csoregi Natalia
4ae2fa641b Merge autoland to mozilla-central. a=merge 2018-02-21 23:49:19 +02:00
ffxbld
36baa4e37e No bug, Automated HPKP preload list update from host bld-linux64-spot-326 - a=hpkp-update 2018-02-21 11:46:16 -08:00
ffxbld
9c7bbae0ca No bug, Automated HSTS preload list update from host bld-linux64-spot-326 - a=hsts-update 2018-02-21 11:46:12 -08:00
Felipe Gomes
d261cc7c57 Bug 1429148 - Policy: Don't let a Master Password to be set. r=keeler
MozReview-Commit-ID: 8Adqg0KU7cZ

--HG--
extra : rebase_source : ec20e2f117d974edaa5df844091a086d12607771
2018-02-20 20:46:11 -03:00
Felipe Gomes
254ff126ef Bug 1429148 - Add nsIPK11Token.isInternalKeyToken. r=keeler,MattN
MozReview-Commit-ID: Gdd7MxDXoTC

--HG--
extra : rebase_source : a367c07755046657d7f2133d4858ea6e6b0c219a
2018-02-20 20:43:41 -03:00
ffxbld
2284608f88 No bug, Automated HPKP preload list update from host bld-linux64-spot-302 - a=hpkp-update 2018-02-20 11:59:25 -08:00
ffxbld
c098f7cf06 No bug, Automated HSTS preload list update from host bld-linux64-spot-302 - a=hsts-update 2018-02-20 11:59:21 -08:00
David Keeler
889e55fc5b bug 1439732 - fixup for backing out bug 1415991 post bug 1421084 (so Firefox 60 only) r=jcj
MozReview-Commit-ID: 4Hn9mt1TWwN

--HG--
extra : amend_source : 4cb25adb27986ec650d85762aecb5aae0cd29502
2018-02-20 12:28:01 -08:00
David Keeler
1d724da30f Backed out changeset 0a5795108e0a
MozReview-Commit-ID: DT67yB63lSn

--HG--
extra : rebase_source : ae106a256be2361a116cd1a14adb5a6d4b49ebe3
2018-02-20 12:21:55 -08:00
Jed Davis
9bdbd2d99f Bug 1438389 - Quietly disallow chown() in sandboxed content processes. r=gcp
Also covers fchownat() and attempts to be ready for newer archs like ARM64.

Bonus fix: extend bug 1354731 (mknod) fix to cover mknodat so this part
of the policy isn't glaringly inconsistent about "at" syscalls.

Tested locally by attaching gdb and injecting syscalls.

MozReview-Commit-ID: CCOk0jZVoG4

--HG--
extra : rebase_source : 1d0cafd9d91586eaec0233ff15b3bbb1ef7485f0
2018-02-15 16:10:00 -07:00