76f6a86de25e1bf74717e047e55fd44b089673f3 |
|
19-Sep-2015 |
Daniel Micay <danielmicay@gmail.com> |
constify JNINativeMethod function pointer tables Change-Id: I4036c924958221cbc644724f8eb01c5de3cd7954
/frameworks/base/core/jni/android_os_SELinux.cpp
|
16d1cce8ffe632c1283375beb4c82c67c43e13dd |
|
13-Mar-2015 |
Stephen Smalley <sds@tycho.nsa.gov> |
Drop unusable SELinux APIs. setSELinuxEnforce is not allowed by policy. get/setBooleanValue and getBooleanNames are moot since SELinux policy booleans are forbidden by CTS. Change-Id: I512953edd1c38828efce698ae8475603775c32e8 Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
/frameworks/base/core/jni/android_os_SELinux.cpp
|
ed6b9dff563c5e22f040ff37e12c0d771e0478ae |
|
21-Nov-2014 |
Andreas Gampe <agampe@google.com> |
Frameworks/base: Consistency in core/jni Make consistent use of core_jni_helpers for registration. Translate some #ifdefs into const bools. Change-Id: I37639aa053dd50f003a552cbd8550dddecc811c5
/frameworks/base/core/jni/android_os_SELinux.cpp
|
cbed4e523b01633414f1a5ccdae180b26df7799e |
|
21-Aug-2014 |
Mathieu Chartier <mathieuc@google.com> |
am be39e991: am 977c4a5b: Merge "Clean up ExceptionOccurred." * commit 'be39e99187eec88222722e9ec4c91f1744731cf4': Clean up ExceptionOccurred.
|
98671c34fa00a79c62ff0d9d874428bed1f86e92 |
|
20-Aug-2014 |
Mathieu Chartier <mathieuc@google.com> |
Clean up ExceptionOccurred. Use ExceptionCheck before ExceptionOccurred since ExceptionCheck doesn't acquire any locks and is faster. Change-Id: Ibd87fd1e33b339bd2a6effa1d20d3253c8a61bdc
/frameworks/base/core/jni/android_os_SELinux.cpp
|
d746057f2414cba2bdc69257cc5be8cb681bb592 |
|
07-Jul-2014 |
Jeff Sharkey <jsharkey@android.com> |
Change new file installs to be cluster-based! Now that all the other pieces are in place, we're ready to start installing new file-based packages as a cluster (the new unified directory-based layout). This greatly simplifies the renaming process. Also add helper methods to ApplicationInfo to give a much clearer mapping between it and internal field names, since we can't change the public API. Add recursive restorecon(). Bug: 14975160 Change-Id: I72a63c5ddbc594c2fec4a91dd59f73ef253fbfd7
/frameworks/base/core/jni/android_os_SELinux.cpp
|
a9bb594da6aff97ba927ba67a34486d0b9c1b4a0 |
|
13-Feb-2014 |
Nick Kralevich <nnk@google.com> |
Merge "Convert all selinux_android_restorecon and _setfilecon calls to new API."
|
d06969518b12afb27a487ae66f8d73a4d3116587 |
|
07-Feb-2014 |
Colin Cross <ccross@android.com> |
frameworks/base: fix errors inside ALOGV Fix errors exposed by adding compile-time checking to disabled ALOGVs. Change-Id: I9beeb5d5df498c63d6bed49734ee80a8e0afcefc
/frameworks/base/core/jni/android_os_SELinux.cpp
|
d8fa586099b73cc8b49e51c675cc8807ef65a4a2 |
|
07-Feb-2014 |
Stephen Smalley <sds@tycho.nsa.gov> |
Convert all selinux_android_restorecon and _setfilecon calls to new API. libselinux selinux_android_restorecon API is changing to the more general interface with flags and dropping the older variants. Also get rid of the old, no longer used selinux_android_setfilecon API and rename selinux_android_setfilecon2 to it as it is the only API in use. Change-Id: I1e71ec398ccdc24cac4ec76f1b858d0f680f4925 Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
/frameworks/base/core/jni/android_os_SELinux.cpp
|
e0dda3c8e2c8341e60383619e4ab780bb3b02403 |
|
29-Jan-2014 |
Stephen Smalley <sds@tycho.nsa.gov> |
Map SELinux log levels to Android log levels. Change-Id: I202c543ca6e4110c4011d1904eada4b75b59ff10 Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
/frameworks/base/core/jni/android_os_SELinux.cpp
|
81ad284517dc80818cd2f3912fbcf9a7b55df119 |
|
22-May-2013 |
Richard Haines <richard_c_haines@btinternet.com> |
Fix SELinux get.. methods aborting on invalid address SELinux get.. JNI need the 'security_context_t tmp' entries set to NULL, otherwise on error freecon() tries to release uninitialised memory causing apps to abort with invalid address. Also fixed getPeerCon ALOGV call as this caused Zyote to abort when verbose logging set. Signed-off-by: Richard Haines <richard_c_haines@btinternet.com>
/frameworks/base/core/jni/android_os_SELinux.cpp
|
cd19e3f2db333afcf84e2d66d9811e6ccae733a2 |
|
19-Oct-2012 |
Kenny Root <kroot@google.com> |
Update SELinux JNI to use helpers Change-Id: Ifc707eafd1ecbba64c93fa2250c4334d0ce40005
/frameworks/base/core/jni/android_os_SELinux.cpp
|
c9a1aabc49d31370e3bf41f85b805499640230b1 |
|
17-Oct-2012 |
Kenny Root <kroot@google.com> |
Remove HAVE_SELINUX guards Change-Id: I6c2161471f657aa1645695ffd56ff434b0c2b426
/frameworks/base/core/jni/android_os_SELinux.cpp
|
554cb0c290406f5bba34908489db5382a69d0a9a |
|
05-Jul-2012 |
rpcraig <rpcraig@tycho.ncsc.mil> |
Introduce a restorecon JNI binding. Label the vmdl.*\.tmp files and the final .apk file differently. Modify the WallpaperManagerService to restorecon the wallpaper file. Signed-off-by: rpcraig <rpcraig@tycho.ncsc.mil> Change-Id: Idfc056e9ec0508d7e11100626a7114f341f1af70
/frameworks/base/core/jni/android_os_SELinux.cpp
|
365861e3aae9cccdb19b8d4ee375c57e0a431f1e |
|
10-Jul-2012 |
Joshua Brindle <jbrindle@tresys.com> |
s/LOG/ALOG/ in HAVE_SELINUX blocks The latest push changed LOG(E|V) to ALOG(E|V) but it was not updated in HAVE_SELINUX blocks. Change-Id: I626588589dd00775ba29f2a256ac29e481598dc3 Signed-off-by: Joshua Brindle <jbrindle@tresys.com>
/frameworks/base/core/jni/android_os_SELinux.cpp
|
c07fca3831baf4d812dd724f506b4ed23dcc39e0 |
|
13-Jan-2012 |
Stephen Smalley <sds@tycho.nsa.gov> |
Add JNI bindings for some of the libselinux interfaces. Change-Id: Ifcc68cb06f9f56a04f3bc64dd9906a9436fabc88
/frameworks/base/core/jni/android_os_SELinux.cpp
|