summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteven Moreland2017-04-28 11:38:54 -0500
committerMark Salyzyn2017-05-01 09:40:55 -0500
commit64328403b596acc86c216763a1cb9b7f7f7965ed (patch)
tree035201727c7a09880a05156aca2f657b0b2f62b6 /liblog/include_vndk
parent4c8acafa25ca69fc79ad14916e62e5cca501781f (diff)
downloadplatform-system-core-64328403b596acc86c216763a1cb9b7f7f7965ed.tar.gz
platform-system-core-64328403b596acc86c216763a1cb9b7f7f7965ed.tar.xz
platform-system-core-64328403b596acc86c216763a1cb9b7f7f7965ed.zip
liblog: __android_log_error_write in vndk
Also added log_safetynet.h header. This contains a memory sensitive logging function which is used to detect attack attempts. Fixes: 37442967 Test: liblog-unit-tests on internal marlin Test: build liblog with BOARD_VNDK_VERSION := current on aosp_arm Test: libbinder vendor variant links with BOARD_VNDK_VERSION := current Change-Id: Icfcc2b1acbb3712bf4c84403870dc93401eafb15
Diffstat (limited to 'liblog/include_vndk')
-rw-r--r--liblog/include_vndk/log/log.h1
l---------liblog/include_vndk/log/log_safetynet.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/liblog/include_vndk/log/log.h b/liblog/include_vndk/log/log.h
index f93b3770a..01623df22 100644
--- a/liblog/include_vndk/log/log.h
+++ b/liblog/include_vndk/log/log.h
@@ -8,6 +8,7 @@
8#include <log/log_main.h> 8#include <log/log_main.h>
9#include <log/log_radio.h> 9#include <log/log_radio.h>
10#include <log/log_read.h> 10#include <log/log_read.h>
11#include <log/log_safetynet.h>
11#include <log/log_time.h> 12#include <log/log_time.h>
12 13
13/* 14/*
diff --git a/liblog/include_vndk/log/log_safetynet.h b/liblog/include_vndk/log/log_safetynet.h
new file mode 120000
index 000000000..a4614e76c
--- /dev/null
+++ b/liblog/include_vndk/log/log_safetynet.h
@@ -0,0 +1 @@
../../include/log/log_safetynet.h \ No newline at end of file