Add mach vendor moz.yaml file for chromium sandbox code
Categories
(Core :: Security: Process Sandboxing, task, P1)
Tracking
()
Tracking | Status | |
---|---|---|
firefox133 | --- | fixed |
People
(Reporter: bobowen, Assigned: bobowen)
References
Details
Attachments
(9 files, 1 obsolete file)
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review |
Using mach vendor
should make the creation of our patched version of chromium's sandbox code formal, reproducible and more self-documenting.
Assignee | ||
Comment 1•2 months ago
|
||
The splitting of patches into a set to get a working build (with_update) and
additional changes (after_update) has never proved very useful.
Assignee | ||
Comment 2•2 months ago
|
||
Assignee | ||
Comment 3•2 months ago
|
||
Changes are because of the removal of some patches that we no longer required.
Assignee | ||
Comment 4•2 months ago
|
||
Often if a patch was a fix taken from upstream we have not added our own patch
if the fix was old enough that we were bound to receive the fix on our next
update anyway.
This approach doesn't work for formal vendoring, so this adds those missing
patches. They are added to a separate "upstream" directory, so future updaters
know that they are likely to be redundant.
One patch has been moved from the existing patches because it is similar to
another and obviously from upstream.
Assignee | ||
Comment 5•2 months ago
|
||
This means we can use wildcards to include them in the moz.yaml file.
Assignee | ||
Comment 6•2 months ago
|
||
Currently the list of patches are sorted after matching, but the documentation
suggests that they should be in the order specified first and only sorted within
a glob.
The flexibility stated in the documentation seems reasonable.
This affects the sorting of other lists as they are converted to paths, but the
order does not matter in the way that they are used.
Assignee | ||
Comment 7•2 months ago
|
||
googlesource only has a base64 encoded raw form, so this patch adds the facility
for a host to specify a function for the copy and decode from the temp download
file. It also allows the individual-files-default-upstream to be an empty str,
because it seems reasonable for a file to be relative to the base vendoring url.
Assignee | ||
Comment 8•2 months ago
|
||
googlesource only has a base64 encoded raw form, so this patch adds the facility
for a host to specify a function for the copy and decode from the temp download
file. It also allows the individual-files-default-upstream to be an empty str,
because it seems reasonable for a file to be relative to the base vendoring url.
Assignee | ||
Comment 9•2 months ago
|
||
Assignee | ||
Comment 10•2 months ago
|
||
Updated•2 months ago
|
Comment 11•2 months ago
|
||
Comment 12•2 months ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/dc73135802bd
https://hg.mozilla.org/mozilla-central/rev/2be65c0c3bba
https://hg.mozilla.org/mozilla-central/rev/7abcbaba8060
https://hg.mozilla.org/mozilla-central/rev/8ae4b8b5e027
https://hg.mozilla.org/mozilla-central/rev/207ba435d2e3
https://hg.mozilla.org/mozilla-central/rev/2801fa633c0a
https://hg.mozilla.org/mozilla-central/rev/b5f60d43810b
https://hg.mozilla.org/mozilla-central/rev/084a63fd203b
https://hg.mozilla.org/mozilla-central/rev/e76f34434abd
Comment 13•2 months ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/dc73135802bd
https://hg.mozilla.org/mozilla-central/rev/2be65c0c3bba
https://hg.mozilla.org/mozilla-central/rev/7abcbaba8060
https://hg.mozilla.org/mozilla-central/rev/8ae4b8b5e027
https://hg.mozilla.org/mozilla-central/rev/207ba435d2e3
https://hg.mozilla.org/mozilla-central/rev/2801fa633c0a
https://hg.mozilla.org/mozilla-central/rev/b5f60d43810b
https://hg.mozilla.org/mozilla-central/rev/084a63fd203b
https://hg.mozilla.org/mozilla-central/rev/e76f34434abd
Description
•