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

Remove taint and untrusted flags #7958

Merged
merged 2 commits into from Jun 19, 2023
Merged

Remove taint and untrusted flags #7958

merged 2 commits into from Jun 19, 2023

Conversation

nobu
Copy link
Member

@nobu nobu commented Jun 19, 2023

The FL_TAINT and FL_UNTRUSTED flags have been deprecated and warned since 3.1.
Try to make then 0 as the first step.

nobu added 2 commits June 19, 2023 12:20
These flags do nothing already, and should break nothing.
These macros had been defined to use with `#ifdef`, but should not be
used anymore.
@matzbot matzbot requested a review from a team June 19, 2023 03:21
@maximecb maximecb merged commit 512cac3 into ruby:master Jun 19, 2023
93 checks passed
#define RB_OBJ_TAINTABLE RB_OBJ_TAINTABLE
#define RB_OBJ_TAINTED RB_OBJ_TAINTED
#define RB_OBJ_TAINTED_RAW RB_OBJ_TAINTED_RAW
#define RB_OBJ_TAINT_RAW RB_OBJ_TAINT_RAW
#define RB_OBJ_UNTRUST RB_OBJ_TAINT
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@nobu should we also remove RB_OBJ_UNTRUST and RB_OBJ_UNTRUSTED?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These 2 replace different names.

@nobu nobu deleted the remove-taint branch June 20, 2023 04:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants