Skip to content
This repository was archived by the owner on Jan 22, 2025. It is now read-only.

Add reject_all_writable_sections feature gate#21826

Closed
alessandrod wants to merge 1 commit intosolana-labs:masterfrom
alessandrod:writable-data-sections
Closed

Add reject_all_writable_sections feature gate#21826
alessandrod wants to merge 1 commit intosolana-labs:masterfrom
alessandrod:writable-data-sections

Conversation

@alessandrod
Copy link
Copy Markdown
Contributor

Problem

solana-labs/rbpf#240 adds a config option to reject programs with global mutable state.

Summary of Changes

This PR adds a reject_writable_data_sections feature gate, which once turned on rejects programs with global mutable state.

When reject_writable_data_sections is turned on, programs with writable data
sections (global mutable state) are rejected.

See solana-labs/rbpf#240
@alessandrod alessandrod force-pushed the writable-data-sections branch from f902f63 to 59b5aaa Compare December 14, 2021 00:25
@alessandrod alessandrod changed the title Add reject_writable_data_sections feature gate Add reject_all_writable_sections feature gate Dec 14, 2021
@alessandrod
Copy link
Copy Markdown
Contributor Author

Renamed the feature name to reject_all_writable_sections after the changes applied to solana-labs/rbpf#240

@Lichtso
Copy link
Copy Markdown
Contributor

Lichtso commented Dec 14, 2021

Now covered in #21880

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants