mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Remove tainted and trusted features
Already these had been announced to be removed in 3.2.
This commit is contained in:
parent
81c248924d
commit
39bc5de833
Notes:
git
2021-12-27 00:34:23 +09:00
14 changed files with 12 additions and 308 deletions
|
@ -202,74 +202,6 @@ VALUE rb_obj_dup(VALUE obj);
|
|||
*/
|
||||
VALUE rb_obj_init_copy(VALUE src, VALUE dst);
|
||||
|
||||
RBIMPL_ATTR_DEPRECATED_EXT(("taintedness turned out to be a wrong idea."))
|
||||
/**
|
||||
* @deprecated This function once was a thing in the old days, but makes no
|
||||
* sense any longer today. Exists here for backwards
|
||||
* compatibility only. You can safely forget about it.
|
||||
*
|
||||
* @param[in] obj Object in question.
|
||||
* @return Verbatim `obj`.
|
||||
*/
|
||||
VALUE rb_obj_taint(VALUE obj);
|
||||
|
||||
RBIMPL_ATTR_PURE()
|
||||
RBIMPL_ATTR_DEPRECATED_EXT(("taintedness turned out to be a wrong idea."))
|
||||
/**
|
||||
* @deprecated This function once was a thing in the old days, but makes no
|
||||
* sense any longer today. Exists here for backwards
|
||||
* compatibility only. You can safely forget about it.
|
||||
*
|
||||
* @param[in] obj Object in question.
|
||||
* @return Always returns ::RUBY_Qfalse.
|
||||
*/
|
||||
VALUE rb_obj_tainted(VALUE obj);
|
||||
|
||||
RBIMPL_ATTR_DEPRECATED_EXT(("taintedness turned out to be a wrong idea."))
|
||||
/**
|
||||
* @deprecated This function once was a thing in the old days, but makes no
|
||||
* sense any longer today. Exists here for backwards
|
||||
* compatibility only. You can safely forget about it.
|
||||
*
|
||||
* @param[in] obj Object in question.
|
||||
* @return Verbatim `obj`.
|
||||
*/
|
||||
VALUE rb_obj_untaint(VALUE obj);
|
||||
|
||||
RBIMPL_ATTR_DEPRECATED_EXT(("trustedness turned out to be a wrong idea."))
|
||||
/**
|
||||
* @deprecated This function once was a thing in the old days, but makes no
|
||||
* sense any longer today. Exists here for backwards
|
||||
* compatibility only. You can safely forget about it.
|
||||
*
|
||||
* @param[in] obj Object in question.
|
||||
* @return Verbatim `obj`.
|
||||
*/
|
||||
VALUE rb_obj_untrust(VALUE obj);
|
||||
|
||||
RBIMPL_ATTR_PURE()
|
||||
RBIMPL_ATTR_DEPRECATED_EXT(("trustedness turned out to be a wrong idea."))
|
||||
/**
|
||||
* @deprecated This function once was a thing in the old days, but makes no
|
||||
* sense any longer today. Exists here for backwards
|
||||
* compatibility only. You can safely forget about it.
|
||||
*
|
||||
* @param[in] obj Object in question.
|
||||
* @return Always returns ::RUBY_Qfalse.
|
||||
*/
|
||||
VALUE rb_obj_untrusted(VALUE obj);
|
||||
|
||||
RBIMPL_ATTR_DEPRECATED_EXT(("trustedness turned out to be a wrong idea."))
|
||||
/**
|
||||
* @deprecated This function once was a thing in the old days, but makes no
|
||||
* sense any longer today. Exists here for backwards
|
||||
* compatibility only. You can safely forget about it.
|
||||
*
|
||||
* @param[in] obj Object in question.
|
||||
* @return Verbatim `obj`.
|
||||
*/
|
||||
VALUE rb_obj_trust(VALUE obj);
|
||||
|
||||
/**
|
||||
* Just calls rb_obj_freeze_inline() inside. Does this make any sens to
|
||||
* extension libraries?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue