1. 01 Sep, 2015 1 commit
  2. 15 Jan, 2015 1 commit
  3. 14 Jan, 2015 1 commit
  4. 20 Nov, 2014 1 commit
  5. 19 Nov, 2014 1 commit
    • Martin Storsjo's avatar
      Store inodes in unsigned long long · 006c7975
      Martin Storsjo authored
      In 32 bit ABIs, ino_t is a 32 bit type, while the st_ino field
      in struct stat is 64 bits wide in both 32 and 64 bit processes.
      This means that struct stat can expose inode numbers that are
      truncated when stored in an ino_t.
      
      The SDCard fuse daemon (/system/bin/sdcard) uses raw pointer
      values as inode numbers, so on 64 bit devices, we're very likely
      to observe inodes that need > 32 bits to represent.
      
      The fileHasMoved function in sqlite compares the stored
      inode value with a new one from stat, and when the stored
      value is truncated, this check will falsely indicate that
      the file has been moved. When the fileHasMoved function
      triggers, other functions start returning errors indicating
      that the database is in read-only mode.
      
      NOTE: Bionic differs from glibc in that struct stat's st_ino
      is *always* 64 bits wide, and not the same width as ino_t.
      
      bug: https://code.google.com/p/android/issues/detail?id=79994
      bug: 18434265
      
      (cherry picked from commit eef2c431)
      
      Change-Id: I832e0084e86c9a31519764d87df499ece05b488d
      006c7975
  6. 08 Nov, 2014 1 commit
  7. 06 Nov, 2014 1 commit
  8. 05 Nov, 2014 1 commit
  9. 04 Nov, 2014 1 commit
  10. 03 Nov, 2014 1 commit
  11. 02 Nov, 2014 1 commit
  12. 01 Nov, 2014 1 commit
  13. 30 Oct, 2014 1 commit
  14. 29 Oct, 2014 1 commit
  15. 28 Oct, 2014 1 commit
  16. 27 Oct, 2014 1 commit
  17. 26 Oct, 2014 1 commit
  18. 25 Oct, 2014 1 commit
  19. 23 Oct, 2014 1 commit
  20. 22 Oct, 2014 1 commit
  21. 21 Oct, 2014 1 commit
  22. 20 Oct, 2014 1 commit
  23. 19 Oct, 2014 1 commit
  24. 18 Oct, 2014 1 commit
  25. 16 Oct, 2014 1 commit
  26. 15 Oct, 2014 1 commit
  27. 14 Oct, 2014 1 commit
  28. 13 Oct, 2014 1 commit
  29. 12 Oct, 2014 1 commit
  30. 11 Oct, 2014 1 commit
  31. 09 Oct, 2014 1 commit
  32. 08 Oct, 2014 1 commit
  33. 07 Oct, 2014 1 commit
  34. 06 Oct, 2014 1 commit
  35. 05 Oct, 2014 1 commit
  36. 04 Oct, 2014 1 commit
  37. 02 Oct, 2014 1 commit
  38. 01 Oct, 2014 1 commit
  39. 30 Sep, 2014 1 commit
  40. 29 Sep, 2014 1 commit