aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Wailes <chriswailes@google.com>2022-06-21 19:34:56 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2022-06-21 19:34:56 +0000
commit875caa580d4f4b9b4accfe4203a1c532b9fab2d1 (patch)
treec2a2452e3df85d0a86b0ab731e3a3be4929d63f3
parentf25c36deb6e1955c507677702733109818d411ff (diff)
parentdcd1d12cc65c26a7f5bb9c7fd58c494c242e2327 (diff)
downloadlibnativehelper-875caa580d4f4b9b4accfe4203a1c532b9fab2d1.tar.gz
Merge "Remove stack protector from JNI method invocation funciton" am: a3a8422f03 am: 1812518b1d am: dcd1d12cc6
Original change: https://android-review.googlesource.com/c/platform/libnativehelper/+/2129237 Change-Id: Ic811548cc2c07e7d825f7699f0cef9e268f37d68 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
-rw-r--r--include_jni/jni.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include_jni/jni.h b/include_jni/jni.h
index 67417a5..8346ca4 100644
--- a/include_jni/jni.h
+++ b/include_jni/jni.h
@@ -771,6 +771,7 @@ struct _JNIEnv {
CALL_STATIC_TYPE(jfloat, Float)
CALL_STATIC_TYPE(jdouble, Double)
+ __attribute__((no_stack_protector))
void CallStaticVoidMethod(jclass clazz, jmethodID methodID, ...)
{
va_list args;