1. 05 Jan, 2015 4 commits
  2. 19 Nov, 2014 6 commits
    • Martin Storsjo's avatar
      am 6fbaf20e: am 006c7975: Store inodes in unsigned long long · 6a9a1e9a
      Martin Storsjo authored
      * commit '6fbaf20e':
        Store inodes in unsigned long long
      6a9a1e9a
    • Martin Storsjo's avatar
      am 006c7975: Store inodes in unsigned long long · 6fbaf20e
      Martin Storsjo authored
      * commit '006c7975':
        Store inodes in unsigned long long
      6fbaf20e
    • Narayan Kamath's avatar
      am a561e9ca: Merge "Store inodes in unsigned long long" · f4f78a3e
      Narayan Kamath authored
      * commit 'a561e9ca':
        Store inodes in unsigned long long
      f4f78a3e
    • Narayan Kamath's avatar
      a561e9ca
    • 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
    • Martin Storsjo's avatar
      Store inodes in unsigned long long · eef2c431
      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
      
      Change-Id: Id79a866c8891d6df47e4eec17ad9eb48e4cb0138
      eef2c431
  3. 12 Sep, 2014 3 commits
  4. 11 Sep, 2014 3 commits
  5. 10 Sep, 2014 1 commit
  6. 09 Sep, 2014 2 commits
  7. 20 Aug, 2014 1 commit
  8. 14 Jul, 2014 6 commits
  9. 10 Jul, 2014 2 commits
  10. 09 Jul, 2014 2 commits
  11. 07 Jun, 2014 3 commits
  12. 29 May, 2014 1 commit
    • Nick Kralevich's avatar
      sqlite: upgrade to SQLite 3.8.4.3 · 8fecf56c
      Nick Kralevich authored
      Downloaded from http://www.sqlite.org/snapshot/sqlite-amalgamation-201405271818.zip
      
        $ sha256sum sqlite-amalgamation-3080403.zip
        8bac4a9cf70270ca514db9b740e0950e7fca0c656119b42454376b7d5769b3d8  sqlite-amalgamation-3080403.zip
      
      dist/orig contains the stock sqlite3 code, as packaged in the ZIP file above.
      
      dist contains a copy of dist/orig, but with the Android.patch file applied.
      Please see Android.patch for a list of differences between stock and
      Android.
      
      Bug: 15288755
      Change-Id: I05f0c302ecb0e6c251cbe8c888f07cf2e0498855
      8fecf56c
  13. 28 May, 2014 3 commits
  14. 23 May, 2014 1 commit
  15. 08 May, 2014 1 commit
  16. 07 May, 2014 1 commit