Граф коммитов

12144 Коммитов

Автор SHA1 Сообщение Дата
Eric Rahm a33f11e0f5 Bug 1391803 - Use nsStringFwd.h for forward declaring string classes. r=froydnj
We should not be declaring forward declarations for nsString classes directly,
instead we should use nsStringFwd.h. This will make changing the underlying
types easier.

--HG--
extra : rebase_source : b2c7554e8632f078167ff2f609392e63a136c299
2017-08-16 16:48:52 -07:00
David Major 406287685a Bug 1391420: Set NO_PGO on a bunch of binaries that we don't ship. r=ted 2017-08-23 15:05:40 -04:00
Sebastian Hengst 142b3bf28b Backed out changeset 109e89a7d561 (bug 1391420) for busting Linux pgo builds. r=backout on a CLOSED TREE
--HG--
extra : amend_source : 6a4421254e4de31071785b73abdd1186638e31f2
2017-08-23 18:12:46 +02:00
David Major 8cb2cb650a Bug 1391420: Set NO_PGO on a bunch of binaries that we don't ship. r=ted 2017-08-23 11:10:39 -04:00
Sebastian Hengst 99e5cb9c14 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: GSKVB94r7Kk
2017-08-23 16:29:51 +02:00
Mark Banner a53020d022 Bug 1392098 - Enable the new ESLint no-useless-run-test rule across the tree. r=mossop
MozReview-Commit-ID: 35MaseieNUk

--HG--
extra : rebase_source : 98eaec6a67fd3b30ea6b0be641f26c3911012fab
2017-08-20 18:52:05 +01:00
Wes Kocher 655a23a70a Merge m-c to autoland, a=merge
MozReview-Commit-ID: CxIXNml1xZW
2017-08-22 17:24:16 -07:00
ffxbld a5363edfb5 No bug, Automated HPKP preload list update from host bld-linux64-spot-305 - a=hpkp-update 2017-08-22 10:07:25 -07:00
ffxbld 3d0753d911 No bug, Automated HSTS preload list update from host bld-linux64-spot-305 - a=hsts-update 2017-08-22 10:07:21 -07:00
Wes Kocher 168eaceb20 Merge m-c to inbound, a=merge
MozReview-Commit-ID: IHPBV4z9vPi
2017-08-22 17:14:32 -07:00
Nicholas Nethercote 092af8e0a1 Bug 1390428 (part 5) - Remove more nsXPIDLCString uses. r=erahm.
These are all simple cases, with similarities to previous patches in this
series.

--HG--
extra : rebase_source : 6ef36382df9fef217d5cb737e218d65ac062f90a
2017-08-16 14:07:18 +10:00
David Keeler 542dc08306 bug 1391404 - fold nsIPKCS11 into nsIPKCS11ModuleDB r=Cykesiopka
This also moves the implementation of nsIPKCS11ModuleDB into its own file.

MozReview-Commit-ID: LYXixzbx3Ia

--HG--
rename : security/manager/ssl/PKCS11.cpp => security/manager/ssl/PKCS11ModuleDB.cpp
rename : security/manager/ssl/PKCS11.h => security/manager/ssl/PKCS11ModuleDB.h
extra : rebase_source : 4df9260809590c8d15432ab4b48d4ca370e7c3a7
2017-08-16 17:06:59 -07:00
Wes Kocher b0c8473e3b Merge autoland to central, a=merge
MozReview-Commit-ID: 6Q3iErm6jCn
2017-08-21 14:30:39 -07:00
ffxbld 48ea452803 No bug, Automated HPKP preload list update from host bld-linux64-spot-301 - a=hpkp-update 2017-08-21 10:16:06 -07:00
ffxbld e66765550e No bug, Automated HSTS preload list update from host bld-linux64-spot-301 - a=hsts-update 2017-08-21 10:16:02 -07:00
Jed Davis a2bdc51dd8 Bug 1384986 - Adjust sandbox policy for dconf's `mkdir -p` behavior. r=gcp
MozReview-Commit-ID: HNvOXNJTc1W

--HG--
extra : rebase_source : 76edd1008731838fc89a5581fee818328d5847e1
2017-08-10 19:02:22 -06:00
Jed Davis 3460ce99ac Bug 1384986 - Prevent sandbox file broker rules from removing rights granted by more general rules. r=gcp
Generally, the intent for the Add* methods is that they always grant
rights in addition to what's already in the policy, not remove them;
this makes subtree rules that overlap single-file rules follow that
principle.

This requires a global analysis because the conflicting rules can be
added in any order.  It does not currently attempt to handle prefix
rules that aren't at a path component boundary, because that's not a
problem we currently have.

MozReview-Commit-ID: 4kv6QoGCBTV

--HG--
extra : rebase_source : 9e41263bbb1c07b8cde40ec2e72d746f17278fcb
2017-08-10 21:38:25 -06:00
Sebastian Hengst e126b4f2a9 merge autoland to mozilla-central. r=merge a=merge
MozReview-Commit-ID: o58z45INT1
2017-08-20 23:21:44 +02:00
ffxbld b258e6864e No bug, Automated HPKP preload list update from host bld-linux64-spot-307 - a=hpkp-update 2017-08-20 10:09:42 -07:00
ffxbld 2e52859c9d No bug, Automated HSTS preload list update from host bld-linux64-spot-307 - a=hsts-update 2017-08-20 10:09:39 -07:00
Phil Ringnalda 9359f5bf39 Merge inbound to m-c, a=merge
MozReview-Commit-ID: LCCoXUsCtmv
2017-08-19 15:29:10 -07:00
Phil Ringnalda 17fd8b2be0 Merge autoland to m-c, a=merge
MozReview-Commit-ID: KDZlJPKkuwR
2017-08-19 15:28:08 -07:00
Sebastian Hengst 4a4349b10c Backed out changeset 10660affe7a3 (bug 1387569) 2017-08-19 20:21:55 +02:00
ffxbld 7d43c93d35 No bug, Automated HPKP preload list update from host bld-linux64-spot-306 - a=hpkp-update 2017-08-19 10:10:48 -07:00
ffxbld 22960f90f0 No bug, Automated HSTS preload list update from host bld-linux64-spot-306 - a=hsts-update 2017-08-19 10:10:45 -07:00
Wes Kocher b1fc5e008c Merge inbound to central, a=merge
MozReview-Commit-ID: 4cWGBbMEU2x
2017-08-18 15:53:07 -07:00
Wes Kocher 5fa2384aeb Merge autoland to central, a=merge
MozReview-Commit-ID: IhZjTRz0dA5
2017-08-18 13:10:54 -07:00
ffxbld 5327d60f27 No bug, Automated HPKP preload list update from host bld-linux64-spot-309 - a=hpkp-update 2017-08-18 10:33:38 -07:00
ffxbld 5e356769cf No bug, Automated HSTS preload list update from host bld-linux64-spot-309 - a=hsts-update 2017-08-18 10:33:34 -07:00
Chris Peterson 9ce1ea9579 Bug 1389851 - sandbox: Suppress -Wunreachable-code-return warning in third-party Chromium sandbox code. r=jld
security/sandbox/chromium/sandbox/linux/seccomp-bpf/trap.cc:277:12: warning: 'return' will never be executed [-Wunreachable-code-return]

This return statement is unreachable because SANDBOX_DIE() is a noreturn function:

https://searchfox.org/mozilla-central/rev/a887f0edbd9f6b176b64111455ba62bb0cf356a6/security/sandbox/chromium/sandbox/linux/seccomp-bpf/trap.cc#270-274

MozReview-Commit-ID: HDxBJe2ZtPN

--HG--
extra : rebase_source : 07f6cbcf901a54901cc5ea85b84030ea27a668ba
extra : source : f39f78b1a9851d97c6fd7dcbbd1d7ba93e933e08
2017-08-09 18:45:16 -07:00
Sebastian Hengst 153fae058e merge mozilla-central to mozilla-inbound. r=merge a=backout on a CLOSED TREE 2017-08-17 19:34:04 +02:00
ffxbld 04391741c9 No bug, Automated HPKP preload list update from host bld-linux64-spot-302 - a=hpkp-update 2017-08-17 10:13:33 -07:00
ffxbld a012130123 No bug, Automated HSTS preload list update from host bld-linux64-spot-302 - a=hsts-update 2017-08-17 10:13:29 -07:00
Franziskus Kiefer 113c7ca5f7 Backed out changeset 0777ec282546 (bug 1386955) due to test bustage UPGRADE_NSS_RELEASE,
--HG--
extra : amend_source : 54f64cfc4296249d79d9374be3c8f2ee89f26400
2017-08-17 16:16:08 +02:00
Carsten "Tomcat" Book 99aa3f8e70 Merge mozilla-central to mozilla-inbound 2017-08-17 13:13:10 +02:00
Franziskus Kiefer 74e77f7e73 Bug 1386955 - land NSS 984849c0a0f1 UPGRADE_NSS_RELEASE, r=me 2017-08-17 11:57:16 +02:00
Nicholas Nethercote 025461bde7 Bug 1390428 (part 1) - Remove many nsXPIDLCString local variables. r=erahm.
These are all easy cases where an nsXPIDLCString local variable is set via
getter_Copies() and then is only used in ways that nsCStrings can also be used
(i.e. no null checks or implicit conversions to |char*|).

In every case the patch trivially replaces the nsXPIDLCString with an
nsCString. (Also, there are a couple of unused nsXPIDLCString variables that
the patch simply removes.)
2017-08-16 13:58:35 +10:00
Sylvestre Ledru e15bcf0f43 Bug 1387569 - Also enable -Wno-implicit-fallthrough for gcc for a chromium file (exists from gcc 7) r=gcp
MozReview-Commit-ID: cuQuFcAnWL

--HG--
extra : rebase_source : 37dec684e14b1d02dab04729c718b5da1fcb25a4
2017-08-06 19:06:36 +02:00
Phil Ringnalda 366675feaa Merge m-c to autoland
MozReview-Commit-ID: GCxEZcmHL2w
2017-08-19 15:34:44 -07:00
Sylvestre Ledru 7b612087c3 Bug 1387569 - Also enable -Wno-implicit-fallthrough for gcc for a chromium file (exists from gcc 7) r=gcp
MozReview-Commit-ID: cuQuFcAnWL

--HG--
extra : rebase_source : d67074f94feabc1b32f64e6e988fa2222db626d7
2017-08-06 19:06:36 +02:00
Wes Kocher c043502159 Merge m-c to autoland, a=merge
MozReview-Commit-ID: 7sFZmPUXSx6
2017-08-18 17:21:29 -07:00
Phil Ringnalda 1ca83fd296 Backed out 5 changesets (bug 1387569) for Windows static build bustage
Backed out changeset eeda521ba0ad (bug 1387569)
Backed out changeset 8d23caf2ccc7 (bug 1387569)
Backed out changeset b5f969313f81 (bug 1387569)
Backed out changeset f642bc883aa5 (bug 1387569)
Backed out changeset 20151eabffea (bug 1387569)

MozReview-Commit-ID: IH0XXePvhiL
2017-08-19 12:20:26 -07:00
Sylvestre Ledru deeb6caa20 Bug 1387569 - Also enable -Wno-implicit-fallthrough for gcc for a chromium file (exists from gcc 7) r=gcp
MozReview-Commit-ID: cuQuFcAnWL

--HG--
extra : rebase_source : 28b30810aa4cf45d1d393bd94815b39ca81f43da
2017-08-06 19:06:36 +02:00
Wes Kocher 366445521c Merge m-c to autoland, a=merge
MozReview-Commit-ID: DjSlrmDFfe3
2017-08-16 17:14:41 -07:00
Wes Kocher 9aa04a95f3 Merge autoland to central, a=merge
MozReview-Commit-ID: Fv1T41t9Gof
2017-08-16 15:30:39 -07:00
ffxbld 5ce320a16f No bug, Automated HPKP preload list update from host bld-linux64-spot-302 - a=hpkp-update 2017-08-16 10:10:45 -07:00
ffxbld 8b97f39049 No bug, Automated HSTS preload list update from host bld-linux64-spot-302 - a=hsts-update 2017-08-16 10:10:42 -07:00
Wes Kocher 9a955fd0b3 Backed out 2 changesets (bug 1380701) for bustage in SandboxBroker a=backout
Backed out changeset 6cef83dd4d11 (bug 1380701)
Backed out changeset 4456ebfe5657 (bug 1380701)

MozReview-Commit-ID: Cnfj7TZvCbv
2017-08-16 09:46:48 -07:00
Nicholas Nethercote a83fefd956 Bug 1390036 (part 1) - Remove most remaining uses of nsXPIDLString. r=erahm.
CompareCacheHashEntry::mCrit[] is the only case where the nsXPIDLString-ness
was important. The patch adds an explicit SetIsVoid() call to that class's
constructor and changes some null checks to IsVoid() checks.

--HG--
extra : rebase_source : e68befcde4dd098bac2a550bc666eaf3bf1298d7
2017-08-11 18:31:22 +10:00
Jed Davis 898bd21752 Bug 1380701 - Remove the file broker protocol support for two-path operations. r=gcp
Now that all of the operations that took two paths are removed, we can
have less string manipulation running on untrusted inputs in a trusted
context.

Note that the path isn't null-terminated in transit, because we know
the message length and there's no longer any need to delimit anything.
(This is how the protocol worked before the two-path operations were
added.)

MozReview-Commit-ID: 5VHkMoPlWmU

--HG--
extra : rebase_source : 2108a4f7c7bf5098f2ef63786c3675367bd56e19
2017-08-16 15:09:56 -06:00