diff options
| author | Kenny Root <kroot@google.com> | 2012-10-17 09:35:56 -0700 | 
|---|---|---|
| committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2012-10-17 09:35:56 -0700 | 
| commit | 7b88a90da2a27e347fc16c14fa577f4ae1ef07fd (patch) | |
| tree | 419373dc3eb0045ca112fa45e1fa25ffa0166ea6 /debuggerd/tombstone.c | |
| parent | 44f4f8a4d2bef6e9fc37cd50076295102b38828a (diff) | |
| parent | b5982bf7c65b30be981ecfe1847437b05e32b2bb (diff) | |
| download | system_core-7b88a90da2a27e347fc16c14fa577f4ae1ef07fd.zip system_core-7b88a90da2a27e347fc16c14fa577f4ae1ef07fd.tar.gz system_core-7b88a90da2a27e347fc16c14fa577f4ae1ef07fd.tar.bz2 | |
Merge "Remove HAVE_SELINUX guards"
Diffstat (limited to 'debuggerd/tombstone.c')
| -rw-r--r-- | debuggerd/tombstone.c | 4 | 
1 files changed, 0 insertions, 4 deletions
| diff --git a/debuggerd/tombstone.c b/debuggerd/tombstone.c index 012337b..52223da 100644 --- a/debuggerd/tombstone.c +++ b/debuggerd/tombstone.c @@ -35,9 +35,7 @@  #include <corkscrew/demangle.h>  #include <corkscrew/backtrace.h> -#ifdef HAVE_SELINUX  #include <selinux/android.h> -#endif  #include "machine.h"  #include "tombstone.h" @@ -686,12 +684,10 @@ char* engrave_tombstone(pid_t pid, pid_t tid, int signal,      mkdir(TOMBSTONE_DIR, 0755);      chown(TOMBSTONE_DIR, AID_SYSTEM, AID_SYSTEM); -#ifdef HAVE_SELINUX      if (selinux_android_restorecon(TOMBSTONE_DIR) == -1) {          *detach_failed = false;          return NULL;      } -#endif      int fd;      char* path = find_and_open_tombstone(&fd); | 
