commit | 42dbfa51aefa2abe9e732b5161316deb28134759 | [log] [tgz] |
---|---|---|
author | Mike Lockwood <lockwood@android.com> | Tue Jun 22 15:03:53 2010 -0400 |
committer | Mike Lockwood <lockwood@android.com> | Tue Jun 22 16:38:01 2010 -0400 |
tree | 25eb8e5bd3ab57c408c1b310290ed96376732c13 | |
parent | dff6e6e3781de219472589e9629b75de42b624d8 [diff] |
MTP: Use a fd instead of a file path in file transfer ioctls. This restricts the driver to the client's permissions when copying files to avoid potential security problems. Change-Id: I9b3151168d334fe4374875804d4ba82bef44db3b Signed-off-by: Mike Lockwood <lockwood@android.com>