-
Notifications
You must be signed in to change notification settings - Fork 5.3k
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
kill OBJ_TAINT etc. #4100
kill OBJ_TAINT etc. #4100
Commits on Jan 20, 2021
-
Configuration menu - View commit details
-
Copy full SHA for dacc4ff - Browse repository at this point
Copy the full SHA dacc4ffView commit details -
Now that RUBY_FL_TAINT is recycled to become new RUBY_FL_SHAREABLE. Setting/clearing this flag from extension libraries break Ractor. Especially problematic one is OBJ_INFECT, which would make non-shareable objects travel across Ractor boundaries. Such operations should just be prohibited.
Configuration menu - View commit details
-
Copy full SHA for 45253cf - Browse repository at this point
Copy the full SHA 45253cfView commit details -
warnings on use of RUBY_FL_TAINT
matz said in [ruby-core:94979]: > 3.0: > * taint/trust/untaint/untrust non-verbose warning when called This is it, for C extensions.
Configuration menu - View commit details
-
Copy full SHA for b8cf304 - Browse repository at this point
Copy the full SHA b8cf304View commit details -
attributes on enumerators are GCC6-ism
See also https://gcc.gnu.org/gcc-6/changes.html Clang has this feature when __has_extension(enumerator_attributes) is set. MSVC has #pragma deprecated instead.
Configuration menu - View commit details
-
Copy full SHA for c5a24b9 - Browse repository at this point
Copy the full SHA c5a24b9View commit details -
win32/file.c:rb_file_expand_path_internal: delete OBJ_TAINT
Makes no sense any longer.
Configuration menu - View commit details
-
Copy full SHA for 2847d85 - Browse repository at this point
Copy the full SHA 2847d85View commit details -
win32/win32.c:getcwd_value: delete OBJ_TAINT
Makes no sense any longer.
Configuration menu - View commit details
-
Copy full SHA for 8e77df9 - Browse repository at this point
Copy the full SHA 8e77df9View commit details
Commits on Jan 26, 2021
-
They are no longer how Object#clone/Object#dup are defined. In fact DUPSETUP is not used from anywhere. CLONESETUP has only one usage. Let's not expose them to extension libraries. cf ruby#4100 (comment)
Configuration menu - View commit details
-
Copy full SHA for 9e083a2 - Browse repository at this point
Copy the full SHA 9e083a2View commit details -
Configuration menu - View commit details
-
Copy full SHA for bb668e1 - Browse repository at this point
Copy the full SHA bb668e1View commit details -
Update include/ruby/internal/fl_type.h
ruby#4100 (review) Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org>
Configuration menu - View commit details
-
Copy full SHA for ecab833 - Browse repository at this point
Copy the full SHA ecab833View commit details