Age | Commit message (Collapse) | Author |
|
* commit '929185047856de2ee2a0a4b8638847d8ac524b7f':
Change an argument type to compile against BoringSSL headers.
|
|
Bug: 22373707
Change-Id: I14df7d3b385114f77a6577ddaf3a903307af0f0f
|
|
Bug: 22373707
Change-Id: I5e1ff790d37f14478392272a60d554955753ba5e
|
|
Bug: 22373707
Change-Id: I687dcc8f63d06553905c0ccd5d615a37f155b845
|
|
Bug: 22373707
Change-Id: I330b06e800cf4e7c3baf947d23497fca38471c1b
|
|
Some platforms/archs don't support all legacy syscalls (open, fstat)
whereas others might not support new variants (openat, fstatat,
newfstatat). Furthermore, it is hard to tell how a standard API call
maps to an actual syscall (e.g. open() might use __NR_openat).
This ensures that we allow/deny the complete set of calls covering the
same functionality, whichever is present.
This fixes a build error in aosp_arm64 (__NR_open not supported).
Bug: 22373707
Change-Id: I7a7a32f565bb59739c0d3fb30ee73dcb0efe2f1a
|
|
Some platforms/archs don't support all legacy syscalls (open, fstat)
whereas others might not support new variants (openat, fstatat,
newfstatat). Furthermore, it is hard to tell how a standard API call
maps to an actual syscall (e.g. open() might use __NR_openat).
This ensures that we allow/deny the complete set of calls covering the
same functionality, whichever is present.
This fixes a build error in aosp_arm64 (__NR_open not supported).
Bug: 22373707
Change-Id: I45e86201836b18d5dd1bcd12dd4ffd1ae5071214
|
|
This constant is not defined in BoringSSL, so we don't need to handle
it.
Bug: 22373707
Change-Id: Id587bae5b38889ada14626a47e0d29c38e58c7bf
|
|
For some reason, there's a difference between how OpenSSL and BoringSSL
specify the type of this callback argument ('bio_info_cb *' vs
'bio_info_cb', respectively). While these should generally be
exchangeable, it turns out that using the former type with the latter
headers declarations fails due to an extra dereferencing level.
This fixes the problem with BoringSSL and is backward compatible when
building against OpenSSL.
Bug: 22373707
Change-Id: Ibad02749fc46f7be23d3e5b4fa205da130549c2b
|
|
The tlsdate-helper target fails due to OpenSSL/BoringSSL
incompatibilities and is currently commented out.
Additionally new unprivileged user/group need to be allocated then set
here.
Bug: 22373707
Change-Id: I08b3dfffb0c541ebd493c872de094e25ba7eec32
|
|
This constant HAVE_ANDROID_SYSTEM is never defined; the file in question
(src/common/fmemopen.h) is included anyway when !defined(HAVE_FMEMOPEN).
Bug: 22373707
Change-Id: I6c94118cd304ed311985835ac1218faea147a52c
|
|
Bug: 22373707
Change-Id: I98651768175e88d4ff174e085fab756f4d332dda
|
|
This one happens inside a netlink macro, despite the code seems to abide
by the "declared" types. Regardless, now fixed.
Bug: 22373707
Change-Id: Ib6ca5bd0abe3f7304dd56dad7c57e871d7f56007
|
|
Bug: 22373707
Change-Id: If5ea9ea2885a388419c9cbf0910112b27dd1a536
|
|
This reverts commit c300c30a28a8673d5c53981c72149a9fb6b3d17a.
Change-Id: If1845b4321c360d02f6deef26aea07f7b502c35a
|
|
The tlsdate-helper target fails due to OpenSSL/BoringSSL
incompatibilities and is currently commented out.
Additionally new unprivileged user/group need to be allocated then set
here.
Bug: 22373707
Change-Id: Ie3b7c0a4284dca4bfcbf2be90ec2870471279e75
|
|
Bug: 22373707
Change-Id: I2a68db5a2a4afae896ad46a717ec944dee495730
|
|
These are non-standard functions that may not be supported in all
environments. We replace them with pread/pwrite, which provide similar
atomicity and side-effect semantics, and are also simpler to use.
This also adds EINTR protection around pread.
Bug: 22373707
Change-Id: I78d813c14a958747ed5750e6d00c1ee8fe8031ad
|
|
Also fixes an implicit casting to unsigned of sprintf() return value.
Bug: 22373707
Change-Id: I5f04f0abd0ecd2594e204dcfe70e161db94484d6
|
|
1) Get rid of strchrnul use; this is a non-standard GNU extension that's
being used in one place.
2) Move MIN into src/common/fmemopen.c, where it's actually being used.
Thereafter, remove all includes of src/common/android.h and any mention
of android.c in the build files.
Bug: 22373707
Change-Id: Ide6e47a24291e6971d08b4abae2f1cad9c151e0e
|
|
Change-Id: I1445df690afb8b5a1fe963d9006b9499b18b00d7
|
|
|
|
|
|
|
|
Switch from www.ptb.de which is sending a randomised time to google.com.
|
|
Signed-off-by: david <db@d1b.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|