aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-08-27am 92918504: Change an argument type to compile against BoringSSL headers.Gilad Arnold
* commit '929185047856de2ee2a0a4b8638847d8ac524b7f': Change an argument type to compile against BoringSSL headers.
2015-08-27Use a group name that actually exists.Gilad Arnold
Bug: 22373707 Change-Id: I14df7d3b385114f77a6577ddaf3a903307af0f0f
2015-08-27More signed/unsigned comparison and function pointer fixes.Gilad Arnold
Bug: 22373707 Change-Id: I5e1ff790d37f14478392272a60d554955753ba5e
2015-08-27Build tlsdated unit tests.Gilad Arnold
Bug: 22373707 Change-Id: I687dcc8f63d06553905c0ccd5d615a37f155b845
2015-08-27Eliminate GNU old-style field initialization.Gilad Arnold
Bug: 22373707 Change-Id: I330b06e800cf4e7c3baf947d23497fca38471c1b
2015-08-26Properly handle legacy/new syscalls.Gilad Arnold
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
2015-08-26Properly handle legacy/new syscalls.Gilad Arnold
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
2015-08-26Handle absence of BIO_CTRL_DUP.Gilad Arnold
This constant is not defined in BoringSSL, so we don't need to handle it. Bug: 22373707 Change-Id: Id587bae5b38889ada14626a47e0d29c38e58c7bf
2015-08-26Change an argument type to compile against BoringSSL headers.Gilad Arnold
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
2015-08-26Build tlsdate and tlsdated in AOSP (resubmitted).Gilad Arnold
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
2015-08-26Remove an unused #ifdef.Gilad Arnold
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
2015-08-26Use correct AUDIT_ARCH_ constants for mips32/64 and arm64.Gilad Arnold
Bug: 22373707 Change-Id: I98651768175e88d4ff174e085fab756f4d332dda
2015-08-26Fix another signed/unsigned comparison.Gilad Arnold
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
2015-08-26Remove unused variables.Gilad Arnold
Bug: 22373707 Change-Id: If5ea9ea2885a388419c9cbf0910112b27dd1a536
2015-08-26Revert "Build tlsdate and tlsdated in AOSP."Bart Sears
This reverts commit c300c30a28a8673d5c53981c72149a9fb6b3d17a. Change-Id: If1845b4321c360d02f6deef26aea07f7b502c35a
2015-08-25Build tlsdate and tlsdated in AOSP.Gilad Arnold
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
2015-08-25Remove an accidental semicolon and fix a typo.Gilad Arnold
Bug: 22373707 Change-Id: I2a68db5a2a4afae896ad46a717ec944dee495730
2015-08-25Stop using preadv/pwritev.Gilad Arnold
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
2015-08-25Stop comparing signed and unsigned integers.Gilad Arnold
Also fixes an implicit casting to unsigned of sprintf() return value. Bug: 22373707 Change-Id: I5f04f0abd0ecd2594e204dcfe70e161db94484d6
2015-08-25Remove src/common/android.{h,c}.Gilad Arnold
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
2015-08-24Add copyright noticesWill Drewry
Change-Id: I1445df690afb8b5a1fe963d9006b9499b18b00d7
2015-08-24Import upstream tlsdate with historyWill Drewry
2015-07-06Initial empty repositoryBill Yi
2015-05-28bump to 0.0.13Jacob Appelbaum
2015-05-23Merge pull request #174 from d1b/switch_default_host_to_google\033]2;Jacob Appelbaum\007
Switch from www.ptb.de which is sending a randomised time to google.com.
2015-04-29Switch from www.ptb.de which is sending a randomised time to google.com.david
Signed-off-by: david <db@d1b.org>
2014-10-26ready for 0.0.12 releaseJacob Appelbaum
2014-10-25Update systemd fileJacob Appelbaum
2014-10-25Update CHANGELOGJacob Appelbaum
2014-10-25remove TODO itemJacob Appelbaum
2014-10-22Update CHANGELOGJacob Appelbaum
2014-10-22allow the unprivileged helper to read the timeJacob Appelbaum
2014-10-22add TODO itemJacob Appelbaum
2014-10-22add wad to AUTHORSJacob Appelbaum
2014-10-22bump to 0.0.12Jacob Appelbaum
2014-10-22actually fix output of --showtimeJacob Appelbaum
2014-10-22fix output of --showtimeJacob Appelbaum
2014-10-22Add TODO itemsJacob Appelbaum
2014-10-20Update TODOJacob Appelbaum
2014-10-20prepare for 0.0.11 releaseJacob Appelbaum
2014-10-20cosmetic printing refactorJacob Appelbaum
2014-10-20remove entry that will not make 0.0.11Jacob Appelbaum
2014-10-13disable seccomp in tlsdate-helperJacob Appelbaum
2014-10-13add git-buildpackage to INSTALLJacob Appelbaum
2014-10-13add sys_getuidJacob Appelbaum
2014-10-13seccomp updateJacob Appelbaum
2014-10-13more verbose outputJacob Appelbaum
2014-10-13reformat seccomp tlsdate-helperJacob Appelbaum
2014-10-13add HAVE_SECCOMP_FILTER to unit testJacob Appelbaum
2014-10-13add seccomp to helper if we need/want itJacob Appelbaum