Skip to content

Instantly share code, notes, and snippets.

@invisiblek
Created November 28, 2016 19:38
Show Gist options
  • Save invisiblek/c747ba152502ba8602a6ea73569af47f to your computer and use it in GitHub Desktop.
Save invisiblek/c747ba152502ba8602a6ea73569af47f to your computer and use it in GitHub Desktop.
diff --git a/core/jni/fd_utils-inl.h b/core/jni/fd_utils-inl.h
index 37e01ba..f5f625f 100644
--- a/core/jni/fd_utils-inl.h
+++ b/core/jni/fd_utils-inl.h
@@ -364,6 +364,7 @@ class FileDescriptorTable {
// /proc/self/fd for the list of open file descriptors and collects
// information about them. Returns NULL if an error occurs.
static FileDescriptorTable* Create() {
+ ALOGE("SUPER SECRET FDPATH: %s", kFdPath);
DIR* d = opendir(kFdPath);
if (d == NULL) {
ALOGE("Unable to open directory %s: %s", kFdPath, strerror(errno));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment