Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updates for several Chromium CheriABI dependencies #190

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

gcjenkinson
Copy link

@gcjenkinson gcjenkinson commented Feb 10, 2025

Updates to graphics/cairo, x11-toolkits/pango, and x11-toolkits/gtk found when developing the DSbD showcase Chromium demo.

Changes to the glib type GType require that all of the clients of glib ensure that object type ids preserve capabilities when they are initialised. There are likely other ports that require a similar set of changes.

@gcjenkinson gcjenkinson marked this pull request as ready for review February 10, 2025 20:52
@gcjenkinson gcjenkinson marked this pull request as draft February 10, 2025 20:59
@gcjenkinson gcjenkinson force-pushed the chromium-cheriabi-dependencies branch from 48e02f9 to 0b3e518 Compare February 12, 2025 15:37
The updated patch preserves capabilities when PACK/UNPACKing entries in
the gtk CSS cache.

Increment the PORTREVISION as a result of the fixes.

Updated patch for x11-toolkits/gtk30 generated from [1].

[1] https://github.com/CTSRD-CHERI/gtk/tree/3484d7910eb7e1de7139cef1538f1297da1531dd
The updated patch changes the use of types in the template file
from `gsize` to `GType`. This ensures capability provenance for
`gobject` type identifiers.

Increment the PORTREVISION as a result of the fixes.

Updated patch for x11-toolkits/pango generated from [1].

[1] https://github.com/CTSRD-CHERI/pango/tree/f8c406e8f3df35c4804175909927252499cc7282
The updated patch changes the use of types in the template file
from `gsize` to `GType`. This ensures capability provenance for
`gobject` type identifiers. As well as ensuring correct alignment for
allocation from a pool allocator.s

Increment the PORTREVISION as a result of the fixes.

Updated patch for graphics/cairo generated from [1].

[1] https://github.com/CTSRD-CHERI/cairo/tree/8a00e6f765793459d00238f3fff57969154561f6
@gcjenkinson gcjenkinson force-pushed the chromium-cheriabi-dependencies branch from 0b3e518 to 11b9892 Compare February 12, 2025 15:50
@gcjenkinson gcjenkinson marked this pull request as ready for review February 12, 2025 15:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant