diff options
author | Bill Richardson <wfrichar@chromium.org> | 2014-09-24 00:23:56 -0700 |
---|---|---|
committer | chrome-internal-fetch <chrome-internal-fetch@google.com> | 2014-09-25 20:27:13 +0000 |
commit | b0f1cc5e22e87a3ef1655643116991673dd1b531 (patch) | |
tree | aadadd044cc0262ac401c8bf2087ed58127c21ab /tests | |
parent | 6f72ffa8037acb69de4fc4346783ea10298a7e57 (diff) | |
download | vboot-b0f1cc5e22e87a3ef1655643116991673dd1b531.tar.gz |
futility: do traversal of a buffer, not a file
We have been traversing things by passing a file descriptor. Now
the caller should mmap the file first. This will allow the caller
to determine the file type before traversing into it, so we can
check args.
BUG=none
BRANCH=ToT
TEST=make runtests
Signed-off-by: Bill Richardson <wfrichar@chromium.org>
Change-Id: If69799bde0133689dc9fb5111e6ecb5ac61639c7
Reviewed-on: https://chromium-review.googlesource.com/219649
Reviewed-by: Randall Spangler <rspangler@chromium.org>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions