summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge remote-tracking branch 'aosp/pie-gsi' into lineage-16.0-pie-gsilineage-16.0Luca Stefani2019-07-130-0/+0
|\ | | | | | | | | | | * aosp/pie-gsi: Change-Id: I0e4689d3c9585cf59bb50ef13b563a255cbdaa96
| * Snap for 4396096 from 2edb366074e3c3ce4004f383ef20f598fd19769f to pi-releaseandroid-build-team Robot2017-10-151-3/+9
| |\ | | | | | | | | | Change-Id: I154babd1e6838768347c0607faac1512a6cb9495
* | | fsck_msdos: Build static lib for recoveryTom Marshall2019-01-182-8/+17
| |/ |/| | | | | | | | | | | | | * Add libfsck_msdos for recovery multi-call driver. * Rename ask to msdos_ask to avoid conflict with libe2fsk. Change-Id: I3deca5739f99dce2f0f2e861e46f06d6d7f5b582
* | Merge "Use -Werror in external/fsck_msdos" am: b212f4da73 am: b901fc09c3 am: ↵Chih-hung Hsieh2017-10-151-3/+9
|\ \ | |/ |/| | | | | | | | | | | 7bbbf06341 am: 187d924304 Change-Id: Id36ff02f5161ae67674008e2faa7c4ec22ca8f2c
| * Merge "Use -Werror in external/fsck_msdos" am: b212f4da73 am: b901fc09c3Chih-hung Hsieh2017-10-151-3/+9
|/| | | | | | | | | | | am: 7bbbf06341 Change-Id: I3c9a4369c8d0f2d554bde0e442cf5b41eb838974
| * Merge "Use -Werror in external/fsck_msdos" am: b212f4da73Chih-hung Hsieh2017-10-151-3/+9
|/| | | | | | | | | | | am: b901fc09c3 Change-Id: I155929c76d4970d0bc82f55bb14e61d25d6bf0be
| * Merge "Use -Werror in external/fsck_msdos"Chih-hung Hsieh2017-10-151-3/+9
|/| | | | | | | | | | | am: b212f4da73 Change-Id: I3906e679c691df8cdf37c9e14acc38ddd9cc0a0c
| * Merge "Use -Werror in external/fsck_msdos"Chih-hung Hsieh2017-10-131-3/+9
|/|
| * Use -Werror in external/fsck_msdosChih-Hung Hsieh2017-10-101-3/+9
|/ | | | | | | | * Fix old redefined error of LOCAL_CFLAGS. Bug: 66996870 Test: build with WITH_TIDY=1 Change-Id: I8f06425595cf1fbce8d1e124536a5cf1dfdc360b
* Merge \\\\"Suppress warnings in fsck_msdos.\\\\" am: 60112a461a am: ↵Aurimas Liutikas2016-07-071-0/+2
|\ | | | | | | | | | | | | | | e5a5c8b9e9 am: c1e77649e1 am: 9d1e7e4558 Change-Id: I1389e46611343d40af04b2e8f8db9f62660b3f3d
| * Merge \\\"Suppress warnings in fsck_msdos.\\\" am: 60112a461a am: e5a5c8b9e9Aurimas Liutikas2016-07-071-0/+2
| |\ | | | | | | | | | | | | | | | am: c1e77649e1 Change-Id: I7d3a2b753f8aba62a899c793b36232b16420e3f6
| | * Merge \\"Suppress warnings in fsck_msdos.\\" am: 60112a461aAurimas Liutikas2016-07-071-0/+2
| | |\ | | | | | | | | | | | | | | | | | | | | am: e5a5c8b9e9 Change-Id: Ib086590d722c655b907595de08383a5a850e364f
| | | * Merge \"Suppress warnings in fsck_msdos.\"Aurimas Liutikas2016-07-071-0/+2
| | |/| | | | | | | | | | | | | | | | | | | | | am: 60112a461a Change-Id: I1f87d483720ca9535900f141295cddaf21ba5453
| | | * Merge "Suppress warnings in fsck_msdos."Treehugger Robot2016-07-071-0/+2
| | | |\
| | | | * Suppress warnings in fsck_msdos.Aurimas Liutikas2016-07-071-0/+2
| | | |/ | | | | | | | | | | | | | | | | Bug: 29899852 Change-Id: I3452d475d630b9679c46e02b6e08d6584c6c3236
* | | | Merge \\\\"fsck_msdos should admit to using BSD extensions.\\\\" am: ↵Elliott Hughes2016-06-111-1/+1
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0ed8a5037d am: 1be068d4bb am: d30603c635 am: 9251034a78 Change-Id: I9e28f177c9c37f363192874561a65c6b97d6c737
| * | | Merge \\\"fsck_msdos should admit to using BSD extensions.\\\" am: ↵Elliott Hughes2016-06-111-1/+1
|/| | | | |/ / | | | | | | | | | | | | | | | | | | 0ed8a5037d am: 1be068d4bb am: d30603c635 Change-Id: I7b01c6988e27352358ac183d468baf8108aa5154
| * | Merge \\"fsck_msdos should admit to using BSD extensions.\\" am: 0ed8a5037dElliott Hughes2016-06-111-1/+1
|/| | | | | | | | | | | | | | | | | am: 1be068d4bb Change-Id: I155f57ed708e870e5396fd06272edf0db1b4cb4d
| * | Merge \"fsck_msdos should admit to using BSD extensions.\"Elliott Hughes2016-06-111-1/+1
|/| | | |/ | | | | | | | | am: 0ed8a5037d Change-Id: Ic2a7982a4400fe18637a50358bedf306b2369c30
| * Merge "fsck_msdos should admit to using BSD extensions."Treehugger Robot2016-06-111-1/+1
|/|
| * fsck_msdos should admit to using BSD extensions.Elliott Hughes2016-06-101-1/+1
|/ | | | Change-Id: I5ee7faa9f22a0af5609c1b1a692501c783b3d69b
* am b94f2b61: Merge "Detect exFAT filesystems and abort if found"Jean-Baptiste Queru2013-07-080-0/+0
|\ | | | | | | | | * commit 'b94f2b6107f2adfd635fbec55ce6105687eb68b3': Detect exFAT filesystems and abort if found
| * Merge "Detect exFAT filesystems and abort if found"Jean-Baptiste Queru2013-07-081-0/+19
| |\
| | * Detect exFAT filesystems and abort if foundKen Sumrall2013-07-081-0/+19
| |/ | | | | | | | | | | | | | | | | | | If fsck_msdos tries to fix an exFAT filesystem, it will damage it and it won't be mountable on systems that support exFAT. So just abort if the OEM name field is "EXFAT" or an invalid FAT32 Extended BIOS Parameter Block is detected. The test to detect an invalid BIOS Parameter Block was developed by Sony. Change-Id: I09e8457e399239e840c825b858a635a7d9462def
* / Detect exFAT filesystems and abort if foundKen Sumrall2013-06-261-0/+19
|/ | | | | | | | | | If fsck_msdos tries to fix an exFAT filesystem, it will damage it and it won't be mountable on systems that support exFAT. So just abort if the OEM name field is "EXFAT" or an invalid FAT32 Extended BIOS Parameter Block is detected. The test to detect an invalid BIOS Parameter Block was developed by Sony. Change-Id: I09e8457e399239e840c825b858a635a7d9462def
* Merge "Detect and handle invalid number of FATs"Jean-Baptiste Queru2012-05-291-0/+4
|\
| * Detect and handle invalid number of FATsSebastian Rasmussen2012-05-291-0/+4
|/ | | | | | | | | If the number of FATs field in the boot sector is zero, give an appropriate error code. Change-Id: I56545fb322a9d4c94aea8ddbd4879701617100e4 Signed-off-by: Sebastian Rasmussen <sebastian.rasmussen@stericsson.com> Signed-off-by: Christian Bejram <christian.bejram@stericsson.com>
* Merge "Fix division-by-zero when reading partition tables"Jean-Baptiste Queru2012-05-291-6/+11
|\
| * Fix division-by-zero when reading partition tablesSebastian Rasmussen2012-05-071-6/+11
|/ | | | | | | | | | | | | When fsck_msdos was asked to analyze a device that contained a partition table in its first sector fsck_msdos was doing a division-by-zero because of mostly zeroed out fields. This fix postpones the division until it is necessary, while other tests already present detect the zeroed out fields and so fsck_msdos fails in a controlled fashion. Change-Id: Id2274b140449f4470f95a0215277f2f2de4cb7b0 Signed-off-by: Sebastian Rasmussen <sebastian.rasmussen@stericsson.com> Signed-off-by: christian bejram <christian.bejram@stericsson.com>
* Merge "fix possible memory leaking"Jean-Baptiste Queru2012-01-241-0/+2
|\
| * fix possible memory leakingrobert_ch_chou2011-06-041-0/+2
| | | | | | | | Change-Id: Ia10d4d15ca662edadfcd83491d5f2cab19669fef
* | Remove the simulator target from all makefiles.Jeff Brown2011-07-111-4/+0
|/ | | | | | Bug: 5010576 Change-Id: I0d523c2e62cb61d2305c5bf20733bcbeb41dfa89
* Resolve conflicts from merge of b6ee08aa into gingerbread-plus-aospJason Chen2010-11-052-22/+169
|\ | | | | | | Change-Id: Iebd91e356bec8bec29e120aea9bb10bcf02bc356
| * Integrate Samsung fsck_msdos fixes, including problem seeking beyond 4 gigcm-7.1.0gingerbread-releasegingerbreadgb-release-7.2d.moskvitin@samsung.com2010-11-052-22/+156
| | | | | | | | | | Change-Id: I8829a3a2c26625d7405fa0a43da1640ea5c9ffbc Signed-off-by: Mike Lockwood <lockwood@google.com>
* | Fix an out of boundary access in fat.cEthan2010-07-211-10/+12
|/ | | | | | | | | | | | From SD Specifications Part2 - File System For Next Free Cluster, value FFFFFFFFh indicates that there exists no information about the first available (free) cluster. It is a valid value. However fat.c doesn't check the value before use it as array index. This will cause fsck_msdos coredump with some micro sd cards Change-Id: Ibdec1655399d95c3ca98a4f4aaed1fd9bf459f33 Signed-off-by: Ethan <ethan.too@gmail.com>
* Add an empty CleanSpec.mkJean-Baptiste Queru2010-03-081-0/+49
| | | | Change-Id: I97b762bb479d213c8596a34a361dae1456cbeeac
* reconcile main tree with open-source eclairThe Android Open Source Project2010-02-050-0/+0
|\
| * reconcile android-2.1_r1 snapshotThe Android Open Source Project2010-01-290-0/+0
|/|
| * android-2.1_r1 snapshotThe Android Open Source Project2010-01-120-0/+0
| |
* | am c8303378: Add missing license-related filesJean-Baptiste Queru2009-08-262-0/+99
|\| | | | | | | | | | | | | Merge commit 'c8303378f40f96f75c5c353a776fe22e5e6a8fb5' into eclair * commit 'c8303378f40f96f75c5c353a776fe22e5e6a8fb5': Add missing license-related files
| * Add missing license-related filesJean-Baptiste Queru2009-08-262-0/+99
| | | | | | | | BUG=1573996
* | am 4d6d6f8a: fix the issue that variable lfcl in dir.c get enormous value.Shengzhe Zhao2009-08-070-0/+0
|\| | | | | | | | | | | | | Merge commit '4d6d6f8a3674ad67f970e2ae908d34f64e4854cf' * commit '4d6d6f8a3674ad67f970e2ae908d34f64e4854cf': fix the issue that variable lfcl in dir.c get enormous value.
| * fix the issue that variable lfcl in dir.c get enormous value.Shengzhe Zhao2009-08-071-0/+1
| | | | | | | | | | Signed-off-by: Shengzhe Zhao <a18689@motorola.com> Signed-off-by: San Mehat <san@google.com>
* | fix the issue that variable lfcl in dir.c get enormous value.Shengzhe Zhao2009-08-071-0/+1
|/ | | | | Signed-off-by: Shengzhe Zhao <a18689@motorola.com> Signed-off-by: San Mehat <san@google.com>
* fsck_vfat: Lower fat size compare limit from 8192k -> 4096kSan Mehat2009-07-161-2/+4
| | | | Signed-off-by: San Mehat <san@google.com>
* fsck_msdos: Instead of bailing out when we can't reconnect a lost cluster ↵San Mehat2009-07-162-8/+27
| | | | | | | | chain, clear it. Also, use exit code 4 when the FS has been modified in someway. Signed-off-by: San Mehat <san@google.com>
* fsck_msdos: Don't bail out when there are FAT differences - auto-correctSan Mehat2009-07-102-9/+9
| | | | Signed-off-by: San Mehat <san@google.com>
* fsck_msdos: Don't bail out when we find a FAT32 bootblock miscompare.San Mehat2009-06-271-6/+28
| | | | | | Some factory formatted sdcards seem to have a garbage backup block. Signed-off-by: San Mehat <san@google.com>
* msdos_fsck: Don't bail out from the check if readboot() returns !FSFATALSan Mehat2009-06-251-1/+1
| | | | Signed-off-by: San Mehat <san@google.com>
* fsck_msdos: Initial checkinSan Mehat2009-06-259-0/+2657
| | | | Signed-off-by: San Mehat <san@google.com>