pike.git/
src/
interpret_functions.h
Branch:
Tag:
Non-build tags
All tags
No tags
2015-03-16
2015-03-16 17:27:53 by Martin Nilsson <nilsson@opera.com>
e13490f22dcbd7f9da448e031107989d13640d0d (
18
lines) (+
5
/-
13
)
[
Show
|
Annotate
]
Branch:
8.1
Remove deprecated security system.
2820:
struct pike_frame *new_frame; \ INT32 args = DO_NOT_WARN((INT32)(Pike_sp - *--Pike_mark_sp)); \ \
-
DO_IF_SECURITY(CHECK_DATA_SECURITY_OR_ERROR(Pike_fp->current_object, \
-
SECURITY_BIT_CALL, \
-
("Function call permission denied.\n"))); \
-
\
+
FAST_CHECK_THREADS_ON_CALL(); \ check_stack(256); \ \
2869:
Pike_fp=new_frame; \ new_frame->flags=PIKE_FRAME_RETURN_INTERNAL | XFLAGS; \ \
-
DO_IF_SECURITY(
if(
!CHECK_DATA_SECURITY
(Pike_
fp->current
_
object,
\
-
SECURITY_BIT_NOT_SETUID))
\
-
SET_CURRENT_CREDS(Pike_fp->current_object->prot));
\
+
if
(
UNLIKELY
(Pike_
interpreter.trace_level
>
3)) { \
+
fprintf(stderr
,
"-
Addr
=
0x%lx\n",
(unsigned
long)
addr);
\
+
}
\
\
-
\
-
if (UNLIKELY(Pike_interpreter.trace_level > 3)) { \
-
fprintf(stderr, "- Addr = 0x%lx\n", (unsigned long) addr); \
-
} \
-
\
+
FETCH; \
-
JUMP_DONE; \
+
JUMP_DONE;
\
}while(0) /* Assume that the number of arguments is correct */