Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge pull request #244 from sdettmer/dev/sde/faketime_link_flagsdevelop | Wolfgang Hommel | 2020-04-08 | 3 | -2/+7 |
|\ | | | | | Added support for FAKETIME_LINK_FLAGS for #243. | ||||
| * | Added support for FAKETIME_LINK_FLAGS for #243. | Steffen Dettmer | 2020-04-08 | 3 | -2/+7 |
|/ | |||||
* | Unskip file parsing on improper initialization #240 | Wolfgang Hommel | 2020-03-26 | 1 | -28/+45 |
| | |||||
* | Merge pull request #237 from ↵ | Wolfgang Hommel | 2020-03-16 | 1 | -7/+7 |
|\ | | | | | | | | | FeepingCreature/fix/use-pthread-mutex-initializer-again replace global state struct with local state struct holding a pointer to the global mutex variable | ||||
| * | replace global state struct with local state struct holding a pointer to the ↵ | Mathis Beer | 2020-03-16 | 1 | -7/+7 |
|/ | | | | | | | | global mutex variable this fixes the `{ 0 }` initializer not compiling on some platforms fix issue 231 fix issue 235 | ||||
* | Merge pull request #234 from FeepingCreature/fix/use-appropriate-mask-function | Wolfgang Hommel | 2020-03-12 | 1 | -10/+23 |
|\ | | | | | Fix timing issue with multiple threads | ||||
| * | fix threading issue: don't assign to the global lock state struct until ↵ | Mathis Beer | 2020-03-12 | 1 | -3/+5 |
| | | | | | | | | | | | | | | we're safely inside the mutex. Otherwise, we might be overwriting the global lock state from two different threads at once. | ||||
| * | Unlock faketime lock on all return paths from libfaketime.c. | Mathis Beer | 2020-03-12 | 1 | -6/+18 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These gymnastics are necessary because pthread_cleanup_push and pthread_cleanup_pop must match exactly 1:1 and appear at the same level of indentation. This is because pthread_cleanup_push/pop are implemented in such a way that pthread_cleanup_push opens a scope and pthread_cleanup_pop closes it. They're macros with unbalanced brackets. C, ladies and gentlemen. So instead of returning, we have to set a field indicating our intent to return and then jump to the unlock site. | ||||
| * | use pthread_sigmask instead of sigprocmask | Mathis Beer | 2020-03-12 | 1 | -3/+2 |
|/ | | | | pthread_sigmask is the one meant for threaded programs. | ||||
* | Merge pull request #230 from FeepingCreature/fix/block-signals-while-locked | Wolfgang Hommel | 2020-03-03 | 1 | -5/+26 |
|\ | | | | | Fix deadlock issues with signals: block all signals while inside mutex. | ||||
| * | Fix deadlock issues with signals: block all signals while inside mutex. | Mathis Beer | 2020-03-03 | 1 | -5/+26 |
|/ | |||||
* | Merge pull request #229 from FeepingCreature/fix/dont-allocate-stack-buffers | Wolfgang Hommel | 2020-02-20 | 1 | -3/+3 |
|\ | | | | | fake_clock_gettime: avoid placing large buffers on the stack | ||||
| * | fake_clock_gettime: avoid placing large buffers on the stack | Mathis Beer | 2020-02-20 | 1 | -3/+3 |
|/ | |||||
* | Merge pull request #227 from wolfcw/develop | Wolfgang Hommel | 2020-02-14 | 1 | -8/+27 |
|\ | | | | | | | Refresh the monotonic faketime setting envvar when cache expires. | ||||
| * | Merge pull request #225 from tjhowse/develop | Wolfgang Hommel | 2020-02-14 | 1 | -8/+27 |
| |\ | | | | | | | Refresh the monotonic faketime setting envar when cache expires. | ||||
| | * | Refresh the monotonic faketime setting envar when cache expires. | thowse | 2020-02-14 | 1 | -8/+27 |
| |/ | |||||
* | | Merge pull request #220 from aristanemi/mul_overflow_fix | Wolfgang Hommel | 2019-12-17 | 1 | -3/+3 |
|\ \ | | | | | | | timespec multiplication overflow fix | ||||
| * | | time multiplication overflow fix | Abhishek Sunkum Rammurthy | 2019-12-17 | 1 | -3/+3 |
|/ / | | | | | | | | | In 32 bit platforms, timespecmul2() macro function, overflow occurs during multiplication. Size of `long` type in 32 bit platform is 4 bytes, but the size of `long` type in 64 bit platform is 8 bytes. | ||||
* | | Use -DFAKE_FILE_TIMESTAMPS to intercept utime[s](), by @speq, #183 | Wolfgang Hommel | 2019-12-14 | 1 | -0/+75 |
| | | |||||
* | | fix #ifndef for timermul, @speq, #183 | Wolfgang Hommel | 2019-12-14 | 1 | -1/+1 |
|/ | |||||
* | wrap nanosec ops in #ifndef, patch by @paul-j-lucas, #219 | Wolfgang Hommel | 2019-12-14 | 1 | -0/+12 |
| | |||||
* | Merge pull request #218 from wolfcw/revert-178-automake-branch | Wolfgang Hommel | 2019-11-30 | 34 | -10134/+430 |
|\ | | | | | Revert "Automake branch" | ||||
| * | Revert "Automake branch"revert-178-automake-branch | Wolfgang Hommel | 2019-11-30 | 34 | -10134/+430 |
|/ | |||||
* | Merge pull request #178 from manchicken/automake-branch | Wolfgang Hommel | 2019-11-30 | 34 | -430/+10134 |
|\ | | | | | Automake branch | ||||
| * | Merged master in and cleaned up. | Michael D. Stemle, Jr | 2019-11-27 | 29 | -553/+1020 |
| |\ | | | | | | | We no longer need the OSX-specific test. Tests are passing, too. | ||||
| * | | Added a check for missing libtool. | Mike Stemle | 2018-10-11 | 1 | -0/+4 |
| | | | |||||
| * | | Fixed a _bunch_ of autotools bugs. | Michael D. Stemle, Jr | 2018-10-07 | 9 | -39/+120 |
| | | | |||||
| * | | Applying fixes for GNU/Linux, and the MT variant of the library. | Michael D. Stemle, Jr | 2018-10-03 | 2 | -33/+19 |
| | | | |||||
| * | | Fixed a bunch more issues, including prefix-related issues and library ↵ | Michael D. Stemle, Jr | 2018-10-02 | 4 | -12/+15 |
| | | | | | | | | | | | | version breakage. | ||||
| * | | Fixing a couple of issues I just found. | Michael D. Stemle, Jr | 2018-10-02 | 3 | -11/+5 |
| | | | |||||
| * | | Added GNU autotools support. | Michael D. Stemle, Jr | 2018-10-02 | 21 | -8/+10021 |
| | | | |||||
| * | | Removing old makefiles. | Michael D. Stemle, Jr | 2018-10-01 | 7 | -317/+0 |
| | | | |||||
* | | | Create make-test.yml | Wolfgang Hommel | 2019-11-30 | 1 | -0/+23 |
| | | | |||||
* | | | Work around race conditions when semaphore gets deleted by parent process (#217) | Wolfgang Hommel | 2019-11-20 | 1 | -4/+23 |
| | | | |||||
* | | | Merge pull request #215 from wolfcw/develop | Wolfgang Hommel | 2019-11-14 | 2 | -2/+3 |
|\ \ \ | |_|/ |/| | | Merge changes from develop branch | ||||
| * | | Merge pull request #214 from daowens01/unused_variable_compiler_error | Wolfgang Hommel | 2019-11-14 | 1 | -2/+1 |
| |\ \ | | | | | | | | | Wrap user_per_tick_inc_set_backup declaration in ifdef | ||||
| | * | | Wrap user_per_tick_inc_set_backup declaration in ifdef | David Owens | 2019-11-14 | 1 | -2/+1 |
| |/ / | | | | | | | | | | | | | | | | Building without FAKE_STAT defined causes compilation errors due to unused variable user_per_tick_inc_set_backup. Move declaration inside FAKE_STAT section along with the code making use of it. | ||||
| * | | Add macOS / OSX build to .travis.yml | Wolfgang Hommel | 2019-08-23 | 1 | -0/+2 |
| | | | |||||
* | | | Detect and bail out of endless recursive calls to clock_gettime() (#130) | Wolfgang Hommel | 2019-09-05 | 1 | -15/+37 |
| | | | |||||
* | | | Add FAKE_SETTIME to CFLAGS to intercept time-setting calls (#179) | Wolfgang Hommel | 2019-09-03 | 4 | -0/+114 |
| | | | |||||
* | | | Documentation for packagers, esp. about FORCE_PTHREAD_NONVER and ↵ | Wolfgang Hommel | 2019-08-31 | 2 | -0/+68 |
| | | | | | | | | | | | | FORCE_MONOTONIC_FIX | ||||
* | | | Adds FORCE_PTHREAD_NONVER flag for platforms where pthread functions are not ↵ | Wolfgang Hommel | 2019-08-29 | 1 | -1/+1 |
|/ / | | | | | | | intercepted | ||||
* | | Add FORCE_MONOTONIC_FIX to .travis.ymlv0.9.8 | Wolfgang Hommel | 2019-08-23 | 1 | -1/+1 |
| | | |||||
* | | Adding a simple .travis.yml file | Wolfgang Hommel | 2019-08-23 | 1 | -0/+11 |
| | | |||||
* | | Updated documentation regarding compatibility, use on macOS, and contributions | Wolfgang Hommel | 2019-08-23 | 4 | -43/+72 |
| | | |||||
* | | Cleanup old and outdated packaging infos | Wolfgang Hommel | 2019-08-23 | 14 | -422/+0 |
| | | |||||
* | | Updated documentation regarding shared memory, fixed spelling | Wolfgang Hommel | 2019-08-23 | 2 | -2/+28 |
| | | |||||
* | | Fix shared memory cleanup on local creation | Wolfgang Hommel | 2019-08-23 | 1 | -1/+1 |
| | | |||||
* | | Added FAKETIME_COMPILE_CFLAGS to Makefiles | Wolfgang Hommel | 2019-08-23 | 4 | -4/+4 |
| | | |||||
* | | Added FORCE_MONOTONIC_FIX CFLAG to avoid hangs on timedwait (#202 #142) | Wolfgang Hommel | 2019-08-23 | 5 | -3/+21 |
| | |