rb_safe_level 226 array.c if (!OBJ_UNTRUSTED(ary) && rb_safe_level() >= 4) rb_safe_level 415 dir.c if (!OBJ_UNTRUSTED(dir) && rb_safe_level() >= 4) rb_safe_level 625 dir.c if (rb_safe_level() >= 4 && !OBJ_UNTRUSTED(dir)) { rb_safe_level 453 encoding.c return rb_require_safe(enclib, rb_safe_level()); rb_safe_level 75 eval_jump.c link->safe = rb_safe_level(); rb_safe_level 106 eval_jump.c volatile int safe = rb_safe_level(); rb_safe_level 86 ext/curses/curses.c if (!OBJ_TAINTED(obj) && rb_safe_level() >= 4)\ rb_safe_level 663 ext/curses/curses.c if (!OBJ_TAINTED(obj) && rb_safe_level() >= 4)\ rb_safe_level 10427 ext/ripper/ripper.c if ((!compile_for_eval || rb_parse_in_main()) && rb_safe_level() == 0) { rb_safe_level 5027 ext/ripper/ripper.y if ((!compile_for_eval || rb_parse_in_main()) && rb_safe_level() == 0) { rb_safe_level 271 ext/socket/socket.c if (rb_safe_level() >= 4 && !OBJ_TAINTED(sock)) { rb_safe_level 295 ext/socket/socket.c if (rb_safe_level() >= 4 && !OBJ_TAINTED(sock)) { rb_safe_level 313 ext/socket/socket.c if (rb_safe_level() >= 4 && !OBJ_TAINTED(sock)) { rb_safe_level 1407 ext/socket/socket.c if (rb_safe_level() >= 4 && !OBJ_TAINTED(sock)) { rb_safe_level 2480 ext/tk/tcltklib.c if (rb_safe_level() >= 4 || (rb_safe_level() >=1 && OBJ_TAINTED(vflags))) { rb_safe_level 3206 ext/tk/tcltklib.c if (rb_safe_level() >= 4 || Tcl_IsSafe(interp)) { rb_safe_level 5399 ext/tk/tcltklib.c if (rb_safe_level() >= 4) { rb_safe_level 5402 ext/tk/tcltklib.c rb_safe_level()); rb_safe_level 6228 ext/tk/tcltklib.c if (rb_safe_level() != q->safe_level) { rb_safe_level 6379 ext/tk/tcltklib.c callq->safe_level = rb_safe_level(); rb_safe_level 6710 ext/tk/tcltklib.c if (rb_safe_level() != q->safe_level) { rb_safe_level 6854 ext/tk/tcltklib.c evq->safe_level = rb_safe_level(); rb_safe_level 8116 ext/tk/tcltklib.c if (rb_safe_level() != q->safe_level) { rb_safe_level 8260 ext/tk/tcltklib.c ivq->safe_level = rb_safe_level(); rb_safe_level 2737 ext/win32ole/win32ole.c if (rb_safe_level() > 0 && OBJ_TAINTED(svr_name)) { rb_safe_level 3225 ext/win32ole/win32ole.c if (rb_safe_level() > 0 && OBJ_TAINTED(svr_name)) { rb_safe_level 3231 ext/win32ole/win32ole.c if (rb_safe_level() > 0 && OBJ_TAINTED(host)) { rb_safe_level 8176 ext/win32ole/win32ole.c if (rb_safe_level() > 0 && OBJ_TAINTED(itf)) { rb_safe_level 4509 file.c if (rb_safe_level() >= 2 && OBJ_TAINTED(fname)) { rb_safe_level 4569 file.c if (rb_safe_level() >= 1 && OBJ_TAINTED(path)) { rb_safe_level 4577 file.c if (rb_safe_level() >= 1 && !fpath_check(f)) { rb_safe_level 4585 file.c if (rb_safe_level() >= 4) { rb_safe_level 4612 file.c if (rb_safe_level() >= 1 && !fpath_check(f)) { rb_safe_level 443 gc.c (rb_thread_raised_p(th, RAISED_NOMEMORY) && rb_safe_level() < 4)) { rb_safe_level 2299 gc.c block = rb_ary_new3(2, INT2FIX(rb_safe_level()), block); rb_safe_level 2355 gc.c args[2] = (VALUE)rb_safe_level(); rb_safe_level 239 hash.c if (!OBJ_UNTRUSTED(hash) && rb_safe_level() >= 4) rb_safe_level 2045 hash.c if (rb_safe_level() >= 4) { rb_safe_level 390 include/ruby/ruby.h int rb_safe_level(void); rb_safe_level 506 include/ruby/ruby.h if (rb_safe_level() >= 3) FL_SET(obj, FL_TAINT | FL_UNTRUSTED);\ rb_safe_level 225 io.c if (!OBJ_UNTRUSTED(io) && rb_safe_level() >= 4) rb_safe_level 3275 io.c if (rb_safe_level() >= 4 && !OBJ_UNTRUSTED(io)) { rb_safe_level 3358 io.c if (rb_safe_level() >= 4 && !OBJ_UNTRUSTED(io)) { rb_safe_level 3416 io.c if (rb_safe_level() >= 4 && !OBJ_UNTRUSTED(io)) { rb_safe_level 5200 io.c if (rb_safe_level() >= 4 && rb_safe_level 430 load.c return rb_require_safe(fname, rb_safe_level()); rb_safe_level 548 load.c saved.safe = rb_safe_level(); rb_safe_level 602 load.c return rb_require_safe(fn, rb_safe_level()); rb_safe_level 477 node.h #define NOEX_WITH_SAFE(n) NOEX_WITH(n, rb_safe_level()) rb_safe_level 781 object.c if (rb_safe_level() >= 4 && !OBJ_UNTRUSTED(obj)) { rb_safe_level 10359 parse.c if ((!compile_for_eval || rb_parse_in_main()) && rb_safe_level() == 0) { rb_safe_level 5027 parse.y if ((!compile_for_eval || rb_parse_in_main()) && rb_safe_level() == 0) { rb_safe_level 1222 proc.c safe = rb_safe_level(); rb_safe_level 1223 proc.c if (rb_safe_level() < 4) { rb_safe_level 988 process.c if (rb_safe_level() > 0) { rb_safe_level 1353 re.c if (rb_safe_level() >= 3) rb_safe_level 2307 re.c if (!OBJ_UNTRUSTED(obj) && rb_safe_level() >= 4) rb_safe_level 55 safe.c return INT2NUM(rb_safe_level()); rb_safe_level 81 safe.c if (level <= rb_safe_level()) { rb_safe_level 84 safe.c rb_id2name(rb_frame_callee()), rb_safe_level()); rb_safe_level 88 safe.c rb_safe_level()); rb_safe_level 103 safe.c if (rb_safe_level() > 0 && OBJ_TAINTED(x)) { rb_safe_level 863 signal.c vm->trap_list[sig].safe = rb_safe_level(); rb_safe_level 1143 string.c if (!OBJ_UNTRUSTED(str) && rb_safe_level() >= 4) rb_safe_level 147 struct.c if (!OBJ_UNTRUSTED(s) && rb_safe_level() >= 4) rb_safe_level 1893 thread.c if (rb_safe_level() >= 4 && th != GET_THREAD()) { rb_safe_level 1938 thread.c if (rb_safe_level() >= 4 && th != GET_THREAD()) { rb_safe_level 63 time.c if (!OBJ_UNTRUSTED(time) && rb_safe_level() >= 4) rb_safe_level 683 variable.c if (rb_safe_level() >= 4) rb_safe_level 758 variable.c if (rb_safe_level() >= 4) rb_safe_level 1012 variable.c if (!OBJ_UNTRUSTED(obj) && rb_safe_level() >= 4) rb_safe_level 1234 variable.c if (!OBJ_UNTRUSTED(obj) && rb_safe_level() >= 4) rb_safe_level 1369 variable.c st_insert(tbl, id, (st_data_t)rb_node_newnode(NODE_MEMO, fn, rb_safe_level(), 0)); rb_safe_level 1427 variable.c safe = rb_safe_level(); rb_safe_level 1537 variable.c if (!OBJ_UNTRUSTED(mod) && rb_safe_level() >= 4) rb_safe_level 1700 variable.c if (!OBJ_UNTRUSTED(klass) && rb_safe_level() >= 4) rb_safe_level 1955 variable.c if (!OBJ_UNTRUSTED(mod) && rb_safe_level() >= 4) rb_safe_level 806 vm_eval.c if (rb_safe_level() >= 4) { rb_safe_level 872 vm_eval.c volatile int safe = rb_safe_level(); rb_safe_level 934 vm_eval.c if (rb_safe_level() >= 4) { rb_safe_level 961 vm_eval.c if (rb_safe_level() >= 4) { rb_safe_level 109 vm_method.c if (rb_safe_level() >= 4 && rb_safe_level 313 vm_method.c if (rb_safe_level() >= 4 && !OBJ_UNTRUSTED(klass)) { rb_safe_level 480 vm_method.c if (rb_safe_level() >= 4 && !OBJ_UNTRUSTED(klass)) { rb_safe_level 817 vm_method.c if (rb_safe_level() >= 4 && !OBJ_UNTRUSTED(self)) {