[go: up one dir, main page]

Page MenuHomePhabricator

Bug 2077172 - Initialize the TLS I/O layer helpers only in the parent process. r=keeler,#necko-reviewers
AcceptedPublic

Authored by leggert on Tue, Oct 6, 8:24 AM.
Referenced Files
Unknown Object (File)
Sat, Oct 17, 9:04 AM
Unknown Object (File)
Fri, Oct 16, 3:11 AM
Unknown Object (File)
Thu, Oct 15, 6:03 PM
Unknown Object (File)
Thu, Oct 15, 5:30 AM
Unknown Object (File)
Thu, Oct 15, 3:21 AM
Unknown Object (File)
Thu, Oct 15, 12:10 AM
Unknown Object (File)
Wed, Oct 14, 7:11 PM
Unknown Object (File)
Wed, Oct 14, 5:38 PM

Details

Reviewers
keeler
Group Reviewers
necko-reviewers
Bugzilla Bug ID
2077172
Merge Conflict Status
Landing merges cleanly into the target branch
Merges cleanly when merged against target branch tip b4bc69ffcd7b, starting from e08a96ae6182, with 13 parent revision(s) applied first.
Last checked Sat, Oct 17, 12:50 AM
Diff 1408960, based on e08a96ae6182

Diff Detail

Repository
rFIREFOXAUTOLAND firefox-autoland
Branch
HEAD

Event Timeline

leggert created this revision.
phab-bot changed the visibility from "Custom Policy" to "Public (No Login Required)".Tue, Oct 6, 8:24 AM
phab-bot changed the edit policy from "Custom Policy" to "Restricted Project (Project)".
phab-bot removed a project: secure-revision.

Code analysis found 1 defect in diff 1396409:

  • 1 defect found by pnpm-audit (Mozlint)
IMPORTANT: Found 1 defect (error level) that must be fixed before landing.

You can run this analysis locally with:

  • ./mach lint --warnings --outgoing

If you see a problem in this automated review, please report it here.

You can view these defects in the Diff Detail section of Phabricator diff 1396409.

leggert updated this revision to Diff 1396905.
leggert retitled this revision from WIP: Bug 2077172 - Initialize the TLS I/O layer helpers only in the parent process. r=keeler,#necko-reviewers to Bug 2077172 - Initialize the TLS I/O layer helpers only in the parent process. r=keeler,#necko-reviewers.
leggert added reviewers: keeler, necko-reviewers.

Code analysis found 1 defect in diff 1396905:

  • 1 defect found by pnpm-audit (Mozlint)
IMPORTANT: Found 1 defect (error level) that must be fixed before landing.

You can run this analysis locally with:

  • ./mach lint --warnings --outgoing

If you see a problem in this automated review, please report it here.

You can view these defects in the Diff Detail section of Phabricator diff 1396905.

security/manager/ssl/nsNSSComponent.cpp
174–180

Should this go too? Is there going to be a socket process after this?

Address review comments; rebased onto 79a90a9e0a86.

leggert added a subscriber: bwc.
leggert added inline comments.
security/manager/ssl/nsNSSComponent.cpp
174–180

This one has to stay for now. The socket process remains for WebRTC, and the DTLS for WebRTC media runs in it on NSS.

(I'm talking to @bwc about removing WebRTC socket process bits as part of this stack.)

Code analysis found 2 defects in diff 1401212:

  • 2 build errors found by clang-tidy
IMPORTANT: Found 2 defects (error level) that must be fixed before landing.

You can run this analysis locally with:

  • ./mach static-analysis check --outgoing (C/C++)

If you see a problem in this automated review, please report it here.

You can view these defects in the Diff Detail section of Phabricator diff 1401212.

security/manager/ssl/nsNSSComponent.cpp
174–180

Does WebRTC not use nsSSLIOLayerAddToSocket?

leggert added inline comments.
security/manager/ssl/nsNSSComponent.cpp
174–180

I think WebRTC sets up DTLS directly with DTLS_ImportFD AFAICT?

leggert marked an inline comment as done.

Thanks!

security/manager/ssl/nsNSSComponent.cpp
174–180

Oh, right, yeah.

This revision is now accepted and ready to land.Tue, Oct 13, 4:46 PM

This revision requires a Testing Policy Project Tag to be set before landing. Please apply one of testing-approved, testing-exception-unchanged, testing-exception-ui, testing-exception-elsewhere, testing-exception-other. Tip: this Firefox add-on makes it easy!