diff options
author | Elliott Hughes <enh@google.com> | 2011-03-28 15:12:20 -0700 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2011-03-28 15:12:20 -0700 |
commit | 461d0d860814c68154d8dd06d24f94118f33d28a (patch) | |
tree | b93c0e8fe3353a3bb80924a6bf21fc28b573edda /dalvik | |
parent | 4af0d8c99d68bcacff182699527d983a1d34fdbe (diff) | |
download | libcore-461d0d860814c68154d8dd06d24f94118f33d28a.zip libcore-461d0d860814c68154d8dd06d24f94118f33d28a.tar.gz libcore-461d0d860814c68154d8dd06d24f94118f33d28a.tar.bz2 |
Add ioctl(2) for int*.
I'm not adding the "struct ifreq" stuff yet because that's really hairy and I
plan on rewriting the NetworkInterface implementation anyway, so it'll mainly
be based on /proc. With any luck, we won't even need those other ioctls then.
I'm not sure _this_ ioctl is a good idea, but it does seem like a slight
improvement on the old code, and we can always move it back out if/when these
APIs become more public.
Bug: 3107501
Change-Id: Iceac15e4a107c33bfc8795976a747c2ffa59a183
Diffstat (limited to 'dalvik')
-rw-r--r-- | dalvik/src/main/java/dalvik/system/BlockGuard.java | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/dalvik/src/main/java/dalvik/system/BlockGuard.java b/dalvik/src/main/java/dalvik/system/BlockGuard.java index 136bdc1..50d14bc 100644 --- a/dalvik/src/main/java/dalvik/system/BlockGuard.java +++ b/dalvik/src/main/java/dalvik/system/BlockGuard.java @@ -182,10 +182,6 @@ public final class BlockGuard { long offset, long count) throws IOException { return mFileSystem.transfer(fileHandler, socketDescriptor, offset, count); } - - public int ioctlAvailable(FileDescriptor fileDescriptor) throws IOException { - return mFileSystem.ioctlAvailable(fileDescriptor); - } } /** |