diff options
author | Sreeram Ramachandran <sreeram@google.com> | 2014-05-12 11:19:16 -0700 |
---|---|---|
committer | Sreeram Ramachandran <sreeram@google.com> | 2014-05-13 11:30:03 -0700 |
commit | ceb5bd787c8ce281e5f4343c5d4f77b41c3e2919 (patch) | |
tree | 4b91184c22597e1757ba036d30e09f5c5e586a74 /libc/arch-arm/syscalls | |
parent | 0ccef7ec5294b34902e07c26db55891d3eddb2be (diff) | |
download | bionic-ceb5bd787c8ce281e5f4343c5d4f77b41c3e2919.zip bionic-ceb5bd787c8ce281e5f4343c5d4f77b41c3e2919.tar.gz bionic-ceb5bd787c8ce281e5f4343c5d4f77b41c3e2919.tar.bz2 |
Introduce netd_client, a dynamic library that talks to netd.
The library exists outside bionic. It is dynamically loaded, to replace selected
standard socket syscalls with versions that talk to netd.
Change connect() to use the library if available.
(cherry picked from commit 3a6b627a14df8111b03e452f2df4b5f4938e0e49)
Change-Id: Ib6198e19dbc306521a26fcecfdf6e8424d163fc9
Diffstat (limited to 'libc/arch-arm/syscalls')
-rw-r--r-- | libc/arch-arm/syscalls/__connect.S (renamed from libc/arch-arm/syscalls/connect.S) | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/arch-arm/syscalls/connect.S b/libc/arch-arm/syscalls/__connect.S index f7a5188..8cb026c 100644 --- a/libc/arch-arm/syscalls/connect.S +++ b/libc/arch-arm/syscalls/__connect.S @@ -2,7 +2,7 @@ #include <private/bionic_asm.h> -ENTRY(connect) +ENTRY(__connect) mov ip, r7 ldr r7, =__NR_connect swi #0 @@ -11,4 +11,4 @@ ENTRY(connect) bxls lr neg r0, r0 b __set_errno -END(connect) +END(__connect) |