Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/PitchBlackRecoveryProject/android_system_vold


https://github.com/PitchBlackRecoveryProject/android_system_vold

Move over to the C++ Fstab class

Test: build and boot
Change-Id: Id3850c9c133f6644073a2439368501253a2a94a9

4c5bde2b9258ccd8a023acfaf47d66758d88f828 authored about 6 years ago
Merge "Remove secontext.h, secontext.cpp, hash.h" am: eb00112e09 am: f058440b3b

am: b6bd5f21b8

Change-Id: I6e11c6a1d7633ef4e5f9c9d2f7fff19306c7753b

4341439292609723a67eb4931fdb936d35f729bc authored about 6 years ago
Merge "Remove secontext.h, secontext.cpp, hash.h" am: eb00112e09

am: f058440b3b

Change-Id: I339fb6d110cc76ae7bc650736f94880789b0d5a4

b6bd5f21b87196914f8f32f81d215ed9f1d81b25 authored about 6 years ago
Merge "Remove secontext.h, secontext.cpp, hash.h"

am: eb00112e09

Change-Id: Ie24ba4a5336a3a8537b43fa2996e53b0dbd85d74

f058440b3b1dd2b0fd700e60948f7bb723f696ed authored about 6 years ago
Merge "Remove secontext.h, secontext.cpp, hash.h"

eb00112e09551e1957e9e119c58005992dee720b authored about 6 years ago
Remove secontext.h, secontext.cpp, hash.h

cryptfs.cpp and MetadataCrypt.cpp can use android::vold::sFsckContext directly.
hash.h is unusef...

7f3ab95b8d9184114277104c29bbbd2064fe5bc5 authored about 6 years ago
Merge "cryptfs: improve logging of dm-crypt device creation" am: f028d279ae am: 26aaaeaf10

am: 71c2640ac0

Change-Id: Ifed1e1242cd0e5e6fec7cbd710a8a9cb1dcb67a6

447ee25b01256b0f77f55466708c4fff44a78254 authored about 6 years ago
Merge "cryptfs: improve logging of dm-crypt device creation" am: f028d279ae

am: 26aaaeaf10

Change-Id: I214cc397a8a20eb3cce0c3f41b069fb4fc4fe3c2

71c2640ac0c59a76f24805ee0b988f63281d110c authored about 6 years ago
Merge "cryptfs: improve logging of dm-crypt device creation"

am: f028d279ae

Change-Id: I348e4a6ac62cdd8575e1cdd0602a73442459d0de

26aaaeaf10a5389d61b03bf9db56c631df199800 authored about 6 years ago
Merge "cryptfs: improve logging of dm-crypt device creation"

f028d279ae5d610b99007d0c9790a3bd8f27c94f authored about 6 years ago
Merge "cryptfs: round down dm-crypt device size to crypto sector boundary" am: e7205eaa44 am: b45636cd35

am: 4b42da8e1a

Change-Id: I350a4a6cc8ed052ec5ac2208add168f6a0b5ba92

182d358d238625284cf913ceb54ef9dd3e11f9f9 authored about 6 years ago
Merge "cryptfs: round down dm-crypt device size to crypto sector boundary" am: e7205eaa44

am: b45636cd35

Change-Id: I8361f350fdc16079e9cff61d161af5f0641865d1

4b42da8e1ac59692276aea05197fe9bd336cec96 authored about 6 years ago
Merge "cryptfs: round down dm-crypt device size to crypto sector boundary"

am: e7205eaa44

Change-Id: I4e1a75d8c34388c1b75ce4d9797f21530d01d1ac

b45636cd35342bce9601604d39df541010d679b0 authored about 6 years ago
Merge "cryptfs: round down dm-crypt device size to crypto sector boundary"

e7205eaa447cdaa76c4a72362c788d0155384979 authored about 6 years ago
cryptfs: improve logging of dm-crypt device creation

Log the main configuration of the dm-crypt device -- the name, the
cipher, the keysize, the real...

e1a7e772699216121dd8fa774381ffeedb076139 authored about 6 years ago
cryptfs: round down dm-crypt device size to crypto sector boundary

This is needed to make adoptable storage volumes work with a 4K crypto
sector size when the bloc...

ed45ec3ae8bf2c18f72550bdf660035e2fee6dc4 authored about 6 years ago
Merge "Preserve options on remount in commitChanges" am: aaac873faf am: b6c1c24f86

am: a20b92c0b0

Change-Id: Ifcef103b42a92614db1a5d77951f6bf027b92478

c89da3c1c3b98f566a19a1f0dfb25f7259e57957 authored about 6 years ago
Merge "Preserve options on remount in commitChanges" am: aaac873faf

am: b6c1c24f86

Change-Id: I0d7963e307591612e6ab47bff27b49f8f6a1dd2f

a20b92c0b07f5373845f99afc80254e9d9c83ea3 authored about 6 years ago
Merge "Preserve options on remount in commitChanges"

am: aaac873faf

Change-Id: Ie09902ef6111cf2aa57014cb97dcdcbe04ecaf86

b6c1c24f864854399031729774a53ee08db61305 authored about 6 years ago
Merge "Preserve options on remount in commitChanges"

aaac873faf91fd540133e6fe8a041784b4ae16d1 authored about 6 years ago
Preserve options on remount in commitChanges

Copy the existing mount options when remounting f2fs for checkpointing
mode.

Bug: 123376509
Tes...

14ca4acd860a0c55289d69cfa1ca04fa9aa4b306 authored about 6 years ago
Merge "Add supportsCheckpoint" am: 9b2b8fd459 am: 908a4569e9

am: 4cd2102637

Change-Id: I73fea54d60f27468a46bca872ae2f21bdfcb67a1

38a2899523e0098aa5ef3d493040195ef1d32093 authored about 6 years ago
Merge "Add supportsCheckpoint" am: 9b2b8fd459

am: 908a4569e9

Change-Id: I44edd3fed37f5e41c29b8265eb549ab3d39bb0a6

4cd21026371a32d09df0ed6f1be16bdb8bc35ffa authored about 6 years ago
Merge "Add supportsCheckpoint"

am: 9b2b8fd459

Change-Id: I893b20737f20c0a21be2a4068fb8b49cdb54ed80

908a4569e9b64f1c72f007d8e8ce323e6e91452a authored about 6 years ago
Merge "Add supportsCheckpoint"

9b2b8fd4595e5c360faaf8eaa645aaad5529e839 authored about 6 years ago
Add supportsCheckpoint

This returns true if any entries in the fstab have checkpoint=
set.

Test: Call vdc checkpoint s...

9b667fbe416363ff0cb7aeb58e67c9da5ad61a37 authored about 6 years ago
Merge "cryptfs: check for errors in create_encrypted_random_key()" am: f156c40404 am: 8938607c02

am: d043f574a8

Change-Id: I46e5b938b70b3fada8ced6c63a35d62df6a53354

03cd2616b289bb5d1c74b91d1da37bf6c4e0e0ba authored about 6 years ago
Merge "Utils: correctly handle read() errors in ReadRandomBytes()" am: a2bd436594 am: 038a274e8a

am: e5296cc04d

Change-Id: I0f81be91efee4512510d9e0422b96d8e75951cd4

8120a7a670e0fb10ef089d00fb7c32c2f4c413f5 authored about 6 years ago
Merge "cryptfs: check for errors in create_encrypted_random_key()" am: f156c40404

am: 8938607c02

Change-Id: Iaa851a756275b0027e8415e92a6391d4640bbc1f

d043f574a88936c8ff801054b83b4f6057fdbaeb authored about 6 years ago
Merge "Utils: correctly handle read() errors in ReadRandomBytes()" am: a2bd436594

am: 038a274e8a

Change-Id: I64d09e4a3164749a915b079dcffe56940182a7d2

e5296cc04d9bc4f2736d8f7c5a8fdff427dcd14e authored about 6 years ago
Merge "cryptfs: check for errors in create_encrypted_random_key()"

am: f156c40404

Change-Id: I67871c595dfeab96de3096e0bcf61c69261cb9cc

8938607c025982334751c196495ce32168d12870 authored about 6 years ago
Merge "Utils: correctly handle read() errors in ReadRandomBytes()"

am: a2bd436594

Change-Id: If33693132dd4954135070c2681053a49f885ed0e

038a274e8a23319f7185cdf1f78c3a6c625325a2 authored about 6 years ago
Merge "cryptfs: check for errors in create_encrypted_random_key()"

f156c40404b64d49716777c937572044bb2ac26f authored about 6 years ago
Merge "Utils: correctly handle read() errors in ReadRandomBytes()"

a2bd436594fd32d0a6661f1ede98d693c1ec7ef0 authored about 6 years ago
Create a new MOUNT_EXTERNAL_LEGACY storage mode.

Apps that are already installed on the device before isolated_storage
feature is enabled will be...

5504901bf021742ad94a8a45cc3a7ec280e741f8 authored about 6 years ago
Merge "Create new mount directory /mnt/runtime/full." am: b9fae464fc am: f6c3c77f6c

am: dbd9c5ccbe

Change-Id: I90827fdccc294641db0cecaaa523140e9cb9d0fd

811de623a0e74c439cf51926b7ddc8738ecab0d2 authored about 6 years ago
Merge "Create new mount directory /mnt/runtime/full." am: b9fae464fc

am: f6c3c77f6c

Change-Id: Idb4f70a870dbb5187170272e8d35cf45fc4ec8c4

dbd9c5ccbe4d67698c87da3c8079487cf7553a99 authored about 6 years ago
Merge "Create new mount directory /mnt/runtime/full."

am: b9fae464fc

Change-Id: I33a72f65d938bfb3132b6440e5cd1d9e791600c6

f6c3c77f6c0cd2b19502aca8459f267d0b44a2d6 authored about 6 years ago
Merge "Create new mount directory /mnt/runtime/full."

b9fae464fce3d03754d9d300d2f0dc4cfddc01b6 authored about 6 years ago
Create new mount directory /mnt/runtime/full.

This will be used for system internals to access
secondary volumes without having to bypass sdca...

dd4bb173439e7dcd2abc05e06405ebf933b8d1f7 authored about 6 years ago
Merge "Use "sys.isolated_storage_snapshot" prop to check for the feature."

5ee228e3db5a9acac99f8ac1a159c84e5c0c56d1 authored about 6 years ago
cryptfs: check for errors in create_encrypted_random_key()

When generating the key and salt we weren't checking for an error
opening or reading from /dev/u...

3a2f7db477288c181c5450a22e089dd2dbaf637c authored about 6 years ago
Utils: correctly handle read() errors in ReadRandomBytes()

read() returns -1 on error, so we need to use a signed type.

Test: Booted device with FDE
Chang...

0ef7bfd59c0a97b39b2e1152da30db4e96e3a915 authored about 6 years ago
Merge "Update VolumeManager to use UnmountTreeWithPrefix."

8f1cc56c12f4e32d291f1b9a2fac111da36d0482 authored about 6 years ago
Use "sys.isolated_storage_snapshot" prop to check for the feature.

StorageManager.hasIsolatedStorage() has already been updated to use
this, so most callers are al...

34b437b3019663e752f4be884b8827ecc1346935 authored about 6 years ago
Update VolumeManager to use UnmountTreeWithPrefix.

Bug: 122905493
Test: manual
Change-Id: Ia6aa1d400277a76dfd2c1db87c613d7e692b0b5c

6bf148081389e402a887a43b2e47defe69621244 authored about 6 years ago
[automerger skipped] Merge "DO NOT MERGE - Skip pie-platform-release (PPRL.190105.001) in master" am: 9f7aa175a0 -s ours am: e317e3d03b -s ours

am: 6653c9067a -s ours
am skip reason: subject contains skip directive

Change-Id: Icc02fbabc39fb...

ae12ae34f6dd76c397f15d582f848e57de655ea9 authored about 6 years ago
[automerger skipped] Merge "DO NOT MERGE - Skip pie-platform-release (PPRL.190105.001) in master" am: 9f7aa175a0 -s ours

am: e317e3d03b -s ours
am skip reason: subject contains skip directive

Change-Id: I25a393ce31a2b...

6653c9067af5f590f89e002ddb5b4de869c9c45c authored about 6 years ago
[automerger skipped] Merge "DO NOT MERGE - Skip pie-platform-release (PPRL.190105.001) in master"

am: 9f7aa175a0 -s ours
am skip reason: subject contains skip directive

Change-Id: Ia43ba3dfaad4b...

e317e3d03b2095e01a6df529260484736c1ca55b authored about 6 years ago
Merge "DO NOT MERGE - Skip pie-platform-release (PPRL.190105.001) in master"

9f7aa175a0fa2a96f4fe14cdc64011c229b457a7 authored about 6 years ago
Merge "Add UnmountTreeWithPrefix util method." am: 2e9aafb620 am: 5e10de1301

am: 8bdc5e6de8

Change-Id: I0c3a14b70c07a6b97cb429350eda653f6fb5954a

64918e6e4e95abf79275919e8e585ce47f55f66a authored about 6 years ago
Merge "Add UnmountTreeWithPrefix util method." am: 2e9aafb620

am: 5e10de1301

Change-Id: I9d8f2350f41372b4ad3e037c440c8d922874c410

8bdc5e6de8db6c8dc6df993535345e1950efb35b authored about 6 years ago
Merge "Add UnmountTreeWithPrefix util method."

am: 2e9aafb620

Change-Id: Ifc0d514634e700875aa70d0e24952fc24780cb4d

5e10de1301ebe2d1b5bbff1c5fcff9264940ffd3 authored about 6 years ago
Merge "Add UnmountTreeWithPrefix util method."

2e9aafb6207ec11fa51e5f6a22386b502e46fdfc authored about 6 years ago
Merge "Create subdirs in system_ce/ for multi-user backup" am: 625203444b am: 33a5634374

am: 2506860cfb

Change-Id: I116438108a176deb90eaf724ac8ddd66d597a129

89fd2f0d39fe17f92729d41a3c7130d1e1bcaf41 authored about 6 years ago
Merge "Create subdirs in system_ce/ for multi-user backup" am: 625203444b

am: 33a5634374

Change-Id: I34ff23afb41fb25ec2df8cab5994663938407350

2506860cfb260fc0ca918ae94366cb5553db9a31 authored about 6 years ago
Merge "Create subdirs in system_ce/ for multi-user backup"

am: 625203444b

Change-Id: Ifb251a875ae2245254ff113c81cac8a9205daf17

33a5634374ed3305334df77926978ed4af8eac60 authored about 6 years ago
Merge "Create subdirs in system_ce/ for multi-user backup"

625203444b1094856a66791b909251b7ab7ad746 authored about 6 years ago
Create subdirs in system_ce/ for multi-user backup

Backup system service bookkeeping is being moved to per-user CE
directories to support multiple ...

66176c55e9f4926678df26a71e6afe8a1c20540e authored about 6 years ago
Merge "vold_prepare_subdirs: prepare /data/misc_[ce|de]/rollback." am: 3cc1866454 am: 2cc1d4e458

am: 142afc926f

Change-Id: Iddeb8e2722162edcd5929a9e9684d3c7fcfcd0ba

5b43da67faf5346714c495326f6c3d056556c3bd authored about 6 years ago
Merge "vold_prepare_subdirs: prepare /data/misc_[ce|de]/rollback." am: 3cc1866454

am: 2cc1d4e458

Change-Id: I06d27746ff0c3b406312e805df075f8373caf16e

142afc926f2e675737fc3783aa2e3b27f82aa66d authored about 6 years ago
Merge "vold_prepare_subdirs: prepare /data/misc_[ce|de]/rollback."

am: 3cc1866454

Change-Id: I1fe5887b2d4a0c222e95e594562f368587e069c5

2cc1d4e45889b35dfd0887733559b2f735c8f1bd authored about 6 years ago
Merge "vold_prepare_subdirs: prepare /data/misc_[ce|de]/rollback."

3cc1866454fde5aa68ba2317963de31fd8e5ac13 authored about 6 years ago
Add UnmountTreeWithPrefix util method.

Add a utility method to unmount all mountpoints
that start with a prefix.

Bug: 122905493
Test: ...

295fb241e2969de56bf696b54af816cb1d1b1c81 authored about 6 years ago
Merge "Checkpoints: Support validation and roll forward on fail" am: 9ff07121ff am: aa4aa48be5

am: c7c8ce19e1

Change-Id: I048286d22d4ec064a8128df89e56c8c731734437

875f374790518beda18f06aaab4e905d8335bc6f authored about 6 years ago
Merge "Checkpoints: Support validation and roll forward on fail" am: 9ff07121ff

am: aa4aa48be5

Change-Id: Iec1ad69b919371963bd21602e17a1e7a233af029

c7c8ce19e1ec57a3767d0f5eb16782abed5051c5 authored about 6 years ago
Merge "Checkpoints: Support validation and roll forward on fail"

am: 9ff07121ff

Change-Id: Ica199c67c5083a5fdb9d08331ff6b2560625fa0e

aa4aa48be51a122a1f6191e8b3a9446765b51d5e authored about 6 years ago
Merge "Checkpoints: Support validation and roll forward on fail"

9ff07121ff2ec1f79621dc93eab917180995091a authored about 6 years ago
Checkpoints: Support validation and roll forward on fail

Test: Rolls backward, and if you hexedit a BOW page, rolls forward
Change-Id: If99a6c3a3bc3f615b...

27691c28838a3a5b005b22608e2455feb99585ee authored about 6 years ago
vold_prepare_subdirs: prepare /data/misc_[ce|de]/rollback.

These directories are managed by installd and used to store
snapshots of application data direct...

a232fd7fc88a95c6997672debf72f953acb8c580 authored about 6 years ago
DO NOT MERGE - Skip pie-platform-release (PPRL.190105.001) in master

Bug: 122685541
Change-Id: I951a35cc32c6dc0a3b051099d687c89a5e38ebbb

723b2545d2428743a5301c1ba982e5a73b5566f1 authored about 6 years ago
[automerger skipped] DO NOT MERGE - Skip pie-platform-release (PPRL.190105.001) into stage-aosp-master am: 9cb14589d0 -s ours

am: 2552f320e4 -s ours
am skip reason: subject contains skip directive

Change-Id: I1f81d4fa8369b...

8485b467d2e85d3f34368f3aebb33cde1e313846 authored about 6 years ago
[automerger skipped] DO NOT MERGE - Skip pie-platform-release (PPRL.190105.001) into stage-aosp-master

am: 9cb14589d0 -s ours
am skip reason: subject contains skip directive

Change-Id: I3302f66d72466...

2552f320e480ab78ad1ddb9310ee3aa55ec99599 authored about 6 years ago
DO NOT MERGE - Skip pie-platform-release (PPRL.190105.001) into stage-aosp-master

Bug: 122685541
Change-Id: I13cf446cf2eec7c730438944365fed5f686c7163

9cb14589d09a66448c613656f5b87a845d6c0afa authored about 6 years ago
Merge "Fsync directories after creating files" am: a892eb154e am: 7c21f0a999

am: ac6adb1763

Change-Id: I386c3d94163037e0fdb1035bba6850e15ca85183

75744cdaf8988aae3bd67cb36429d279eaac248d authored about 6 years ago
Merge "Fsync directories after creating files" am: a892eb154e

am: 7c21f0a999

Change-Id: I0f01c2f65b0a7abdb4dd3a964c046efacaf4a687

ac6adb1763e6dffd064de64dd077cd7fee682e9d authored about 6 years ago
Merge "Fsync directories after creating files"

am: a892eb154e

Change-Id: Ie25f2da2e3340430aea066683acde59b3100aa79

7c21f0a99982a60d973801e17790aeff7420c1c0 authored about 6 years ago
Merge "Fsync directories after creating files"

a892eb154e0b578571674eea5f69fa4fbf7c89da authored about 6 years ago
Fsync directories after creating files

Bug: 120248692
Test: adb shell locksettings set-pin 1111 && \
adb shell "echo b > /proc/sysr...

621d9b9732f929f25df5a7b4f2199bf762dd44dd authored about 6 years ago
Merge "cryptfs: Add error messages when remove dm-crypt device is failed" am: 1ea17070fe am: d9cbff0de3

am: bb508bc1af

Change-Id: I231f040d5352eb2f609b134692c1a409a1b0b970

2f05070e501d1fb20ba543e4f34ec24bc3f38eaf authored about 6 years ago
Merge "cryptfs: Add error messages when remove dm-crypt device is failed" am: 1ea17070fe

am: d9cbff0de3

Change-Id: Ie74b9ffdec80a893cf6893685fe5446d867fa4f0

bb508bc1afe874f35c243cfff3e6dfd21325ff00 authored about 6 years ago
Merge "cryptfs: Add error messages when remove dm-crypt device is failed"

am: 1ea17070fe

Change-Id: Ibdec472b503b20fce0d2025e5ed017fc5c644ee0

d9cbff0de33b71a2786c3ce25512d9484b463d31 authored about 6 years ago
Merge "cryptfs: Add error messages when remove dm-crypt device is failed"

1ea17070fe9a008d1ad5a01b142d7eb67a272c9a authored about 6 years ago
Merge cherrypicks of [5929407, 5929627, 5929597, 5929598] into pi-platform-release

Change-Id: I71193baac96d5936f6e3dd69a7ee37e70d85f898

06084fee42078bf2e0fb1141e9de8dbc8e9daf2b authored about 6 years ago
cryptfs: Allow setting dm-crypt sector size

We add the property ro.crypto.fde_sector_size to allow devices
to pass the "sector_size:<size>" ...

13c6f32d77b3eb15e3ac2317ab3809f522081a48 authored about 6 years ago
cryptfs: Add Adiantum support

Adiantum is a crypto method Android is supporting for devices
which don't have AES CPU instructi...

7f0c5e47547bb6fbdc10ed77edcb401f88ca9dec authored about 6 years ago
cryptfs: Add error messages when remove dm-crypt device is failed

We do not know what happened if remove dm-crypt device is failed, so
the error status added is u...

9d6cc18bf175d742950a424690f0829e86332afb authored about 6 years ago
Merge changes I1c50546e,I8254cb6b,Ib179299a

* changes:
EncryptInplace: Rename variable
Checkpoint: Assure proper buffer alignment
vold...

c13232ea35a69f4c6b6f788178566a31eb1b7dc6 authored about 6 years ago
[automerger skipped] Merge changes I1c50546e,I8254cb6b,Ib179299a,Iec1c2801 am: 2374693556 am: 770b2347cf

am: fc26871602 -s ours

Change-Id: I08122a7d110d1bc5a74d1cb5f629c4edbafc62d2

de83dfef5a4be11552c955917e98124ba579d39b authored about 6 years ago
EncryptInplace: Rename variable

We rename our 'buf' in the inner scope to avoid confusion with
the 'buf' in the outer scope whic...

110acfb8c483660cbe0c0e22aec35bc8cae25eb0 authored about 6 years ago
Checkpoint: Assure proper buffer alignment

We have a char buffer on the stack, which we then cast to a
struct, and then proceed to access e...

4106664485d5e8c39045fd800639daad2bdf7a85 authored about 6 years ago
vold: Pass std::string by const reference

In a couple places, we change to pass a std::string argument
instead of by copy.

Test: TreeHugg...

fef650facd0fecede9859d92f543e054ae7b1306 authored about 6 years ago
Merge changes I1c50546e,I8254cb6b,Ib179299a,Iec1c2801 am: 2374693556

am: 770b2347cf

Change-Id: Ibc1959523ea0d2bd8ebf2f4de79cab46fbae86d0

fc268716021c50b1c01c6a7852037af270b61ecf authored about 6 years ago
Merge changes I1c50546e,I8254cb6b,Ib179299a,Iec1c2801

am: 2374693556

Change-Id: I8f1ee8a77732ff26211d89a06b9ddc973ae1f251

770b2347cf667d6a7555b855d63cab16a4578000 authored about 6 years ago
Merge changes I1c50546e,I8254cb6b,Ib179299a,Iec1c2801

* changes:
EncryptInplace: Rename variable
Checkpoint: Assure proper buffer alignment
vold...

2374693556fdc6eab6e701f478f502441274e109 authored about 6 years ago
Merge "vold: const-ify some of the API"

37fd66f19db161ac8578b38c70b934ef287e0e14 authored about 6 years ago
Merge "Update process mount points when appop gets updated."

dfd8b646210e9f57098fec670a4062bf843aba16 authored about 6 years ago
vold: Pass std::string by const reference

In a couple places, we change to pass a std::string argument
instead of by copy.

Test: TreeHugg...

8ae16db72a259c604eded3532b37f629724a13a9 authored about 6 years ago
Checkpoint: Assure proper buffer alignment

We have a char buffer on the stack, which we then cast to a
struct, and then proceed to access e...

8859c9c9e71a4b81aaa29a26c419a63da536d11c authored about 6 years ago
EncryptInplace: Rename variable

We rename our 'buf' in the inner scope to avoid confusion with
the 'buf' in the outer scope whic...

e0691cc674c27cec08ee4fb94d549e46799637fa authored about 6 years ago