summaryrefslogtreecommitdiffstats
path: root/toolbox/dd.c
Commit message (Collapse)AuthorAgeFilesLines
* Refresh toolbox.Elliott Hughes2014-07-241-1313/+0
| | | | | | | | | | Use more upstream NetBSD, and update those things that were already NetBSD. Note that unlike bionic, the upstream-netbsd directory isn't pristine; we have changes marked by __ANDROID__. Bug: 16493461 Change-Id: I99762bfe02caa0945ea4a184670888a4b5435a1d
* toolbox: turn on -WerrorMark Salyzyn2014-05-141-11/+11
| | | | | | | | | - Deal with some signedness issues - Deal with some size issues - Deal with NULL pointer issues - Deal with some -Wunused issues Change-Id: I1479dd90d690084491bae3475f2c547833519a57
* system/core 64-bit cleanup.Elliott Hughes2014-01-161-3/+0
| | | | | | | | | This cleans up most of the size-related problems in system/core. There are still a few changes needed for a clean 64-bit build, but they look like they might require changes to things like the fastboot protocol. Change-Id: I1560425a289fa158e13e2e3173cc3e71976f92c0
* use lseek64 to resolve offset oveflowJongrak Kwon2013-04-171-4/+4
| | | | | | | | The offset variable in lseek is 32 bit and get easily overflow when accessing with large offset in dd command. Use lseek64 to resolve it. Change-Id: Ib75d9dcb587004a6851365ab5bb8584ce1010b57
* Add mode when open(O_CREAT) is used.Nick Kralevich2012-06-261-2/+3
| | | | | | | | | | When creating a new file using open(..., O_CREAT), it is an error to fail to specify a creation mode. If a mode is not specified, a random stack provided value is used as the "mode". This will become a runtime error in a future version of Android. Change-Id: I00609f37d2ea68e21b6404d542830386be354202
* Enable conv=fdatasync in dd.Jeff Sharkey2012-05-291-49/+6
| | | | | | | Matches behavior of coreutils dd. Also removes unsupported conversions. Change-Id: I9ed5a7d43b5b083041b261ce70f6c835b41dc7ac
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-0/+1358
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-1358/+0
|
* Initial ContributionThe Android Open Source Project2008-10-211-0/+1358